-
Notifications
You must be signed in to change notification settings - Fork 203
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
DngConverter not writing black level correctly #58
Comments
Hi! Black level equals to 1024 in the output of google's group since they increase the number of gray levels, which is not implemented here. But it's trivially to do and maybe I'll implement it shortly. |
Hi, thank you for quick response! Btw, I’m using libtiff of version 4.0.6 if this is an useful information for you. |
I've checked
I found, that DngConverter doesn't write proper color matrices to merged DNG. :-( Seems, that it's broken now and requires fixing. There are lack of full set of tags now:
I looked at the code and if I've got it right black level in |
Right now I am very limited in time, but maybe you will be able to fix this issue by yourself? |
Thank you for the response. I've downloaded the results and decoded with libraw, eventually I still found black level at 0, that's really weired. But it's not a big deal for now since I do black level substraction before saving.
I set CameraCalibration to identity matrix, Color Matrix to the matrix stored in the data folder(rgb2rgb.txt) and Calibration Illuminant was already set as far as I know (D65). I think that's enough for a color correction process. Is that right? |
Hi, I'm running your latest version under ubuntu with google hdr+ official burst images, I tried to get raw align and merge result by running binary "stack_frames", the bursts of inputs have black level at 64 and white level at 1023, then I used an image previewing software to compare my output with the output of google group (offered together with the bursts), I found out that my output was visually more "purple" which I thought due to wrong black level in the .dng file. I checked the
black_level
array beforeTIFFSetField(tiff, TIFFTAG_BLACKLEVEL, 4, &black_level);
but they were all set to 64 already. Then I set the output .dng as input and got, bl at 0 and wl at 1023 for my output, and bl at 1024 and wl at 16368 for google's output. Could you help me with that? Thank you.The text was updated successfully, but these errors were encountered: