Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The CubePlusPlus\challenge\make_preview.py make the photo a little white #3

Open
RebornForPower opened this issue Feb 4, 2023 · 1 comment

Comments

@RebornForPower
Copy link

RebornForPower commented Feb 4, 2023

Thanks for sharing your work~
I am the freshman and want to learn the color constancy. But now I don't know how to generate the original photo by the gt.csv and *.png. I have tried to restore it but get the wrong result. My result is a little white than the original photo. (The photo is from the simplecube++ and the code is reference from the CubePlusPlus\challenge\make_preview.py

This is my result:


image

but the original photo is:


image

Thanks~

@RebornForPower RebornForPower changed the title Is there a code that can generate the original photo? The CubePlusPlus\challenge\make_preview.py make photo a little white Feb 4, 2023
@RebornForPower RebornForPower changed the title The CubePlusPlus\challenge\make_preview.py make photo a little white The CubePlusPlus\challenge\make_preview.py make the photo a little white Feb 4, 2023
@savfod
Copy link
Collaborator

savfod commented Feb 4, 2023

Hi!

We rendered the JPG images in the Cube++ dataset with the open-source program, called dcraw. The SimpleCube++ images are just the downscaled and cropped versions of the Cube++ ones. See the detailed dataset description and dataset generating code.

The function in challenge/make_preview.py was provided for IEC#2 (2020) challenge as a pure python script, which can be easily reproduced. Therefore, the results from dcraw processing may appear better. The baseline pipeline from the NIR#3 (2022) challenge is also available.

Beware, the JPG images are included to the dataset for visualization purposes only. As there is no physically accurate way to render RAW image as a JPG one, the result heavily relies on the processing algorithm used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants