-
Notifications
You must be signed in to change notification settings - Fork 115
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
Panasonic S5/S1/S1H: Fix Black Point #292
Panasonic S5/S1/S1H: Fix Black Point #292
Conversation
…or check for overflow.
|
Looking at the sample
@ darktable-org/darktable#9285, black level of ~512 does seem about right. This affects literally every RW2 image. I'm not going to be able to check every single one, |
|
Thank you! |
|
Eek fixing an 8 year old change. Yeah I didn't think about the Panasonic m43 cameras. I can sample a few of those images if you want me to. |
The key question is: do we have a full sample set under CC0 license for $CAMERA on RPU? |
|
That's a good question. I see |
|
Just enter the camera name into the search field https://raw.pixls.us/#repo, |
|
And reverted in b701374 / xref darktable-org/darktable#10008. |
-Fix black point by reading shorts/u16 instead of u32. Don't add 15 or check for overflow.
There's discussion in this Darktable issue about this issue.
Jens suggested I check against the white point, but I don't see it in this decoder. There doesn't seem to be a reason why there was addition of 15 or the overflow check. It appears to be wrong assumption as it causes low-light images to be green.
Here's the Exiftools document about Panasonic Raws (RW2) to verify the black levels are shorts.
Let me know if there's any other changes.