Giter Site home page Giter Site logo

Comments (7)

KelSolaar avatar KelSolaar commented on July 17, 2024 1

First light test:

image

The Google Colab notebook to generate the sensitivities data is here: https://colab.research.google.com/drive/18X8ICpZ6MZmWxOzXNpUF0ehb_emfUOf-

It makes me wonder if you have a build of the renderer (or recipe) that works on the Colab VMs? That could be useful! If not I will work on one when I have some spare cycles.

Note that I have an almost exactly 1 stop energy loss between the CMFS and the camera sensitivities that I need to investigate but it reminds me #14. The issue is most likely between the chair and the screen.

from mitsuba2.

KelSolaar avatar KelSolaar commented on July 17, 2024

Another related question is: Recommendations on how to output spectral-images? :)

from mitsuba2.

wjakob avatar wjakob commented on July 17, 2024

Discussing here is fine. But what is a "CMFS"? :-)

from mitsuba2.

KelSolaar avatar KelSolaar commented on July 17, 2024

Hi @wjakob,

First congratulations are in order, and I should have started there! Quite an awesome release, I'm super excited :)

CMFS stands for Colour Matching Functions, I would like to replace the CIE 1931 2 Degree Standard Observer data with cameras sensitivities.

I'm part of an Academy working group trying to come up with a gamut mapping algorithm for scene-referred data, and I would like to generate spectral imagery from multiple camera models.

I have been using existing hyper-spectral images and integrated them with narrow-band LEDs and various camera sensitivities here: https://academy-vwg-gm-hyper-spectral-images.imfast.io/ The problem with that approach (even though it generates offending data as we require) is that it does it too well, the entire image is affected! I would like to generate synthetic data in Mitsuba with mixed lighting and that is where the different sensitivities come to play.

Hope it makes sense!

Cheers,

Thomas

from mitsuba2.

wjakob avatar wjakob commented on July 17, 2024

Hi @KelSolaar,

that makes sense. As a quick-and-dirty solution, you could simply replace the CIE XYZ tables in src/libcore/spectrum.cpp by something else. A cleaner solution, and a technique for outputting arbitrary number of spetral channels should not be too hard by implementing a new meta-integrator that calls a nested "sub-integrator". This is already done in aov.cpp and and would just need some small changes to integrate against different spectral response functions.

Best,
Wenzel

from mitsuba2.

KelSolaar avatar KelSolaar commented on July 17, 2024

As a quick-and-dirty solution, you could simply replace the CIE XYZ tables in src/libcore/spectrum.cpp by something else.

Yeah that is what I have been doing for now (re-compiling is long though).

I reckon it would be 2 new useful features!

from mitsuba2.

Speierers avatar Speierers commented on July 17, 2024

It makes me wonder if you have a build of the renderer (or recipe) that works on the Colab VMs?

Not really. It would be great to have! Feel free to open a PR to add a recipe to the documentation, that would be really useful!

I am going to close this as this is not really an issue.

from mitsuba2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.