-
Notifications
You must be signed in to change notification settings - Fork 30
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
[TODO] Ability to write GainMap #36
Comments
You can contribute or you can sponsor prioritizing implement GainMap write feature |
You can use a simpler opcode called "FixVignetteRadial" to correct the camera shading. Have a look at my project DngOpcodesEditor to try out that opcode. |
Interesting! > DngOpcodesEditor. BTW, I think usually many cameras(includes Android's DNG support) only provide GainMap opcode. |
Hello @syoyo, |
Thanks! Good to know! > I have seen many smartphones using FixVignetteRadial, some drones use WarpRectilinear and GainMap |
You can already find a working implementation of the opcode in the repository. Some border cases are not handled yet, but seems working. |
It would be nice if you wrote an algorithm that can convert gainmaps back and forth with this opcode |
@syoyo Do you have an use case for this scenario? The conversion FixVignetteRadial->GainMap is feasible, but you can have only have an approximation from GainMap to FixVignetteRadial. For example DJI uses the GainMap to fix vignetting, correct aberration and balance a bit colors at the same time. |
Please, provide ability to write GainMap into dng file.
This is a necessary thing when creating a dng file with camera lens shading.
The text was updated successfully, but these errors were encountered: