cmu-ci-lab / MitsubaToFRenderer

Mitsuba time-of-flight renderer.
54 stars 22 forks source link

Code file to convert exr data to numpy and gif format. #10

Open kaustubh-sadekar opened 2 years ago

kaustubh-sadekar commented 2 years ago

As many exr images generated using mitsuba renderer have a high dynamic range, I have also added a Reinhard Tonmapping for better visualization of the rendered rgb images.

A code for saving exr data to numpy format would be very useful for python users. Hence creating this PR.

Adding a gif created using this code for the cbox scene. (NOTE: I have skipped initial 500 frames for gif because they were blank, which is expected as these are transient images)

final_output4_all_transients