Closed make-stronger closed 5 years ago
The lens shading map is not saved in many devices' DNG files so there's currently no support for parsing it
I guess currently this project missing lens correction step so the result seem to be brighter in the center and darkened out.
If have lens shading map, how to convert gainmap function from RS version to OpenGL version? @amirzaidi .
Thanks,
Hi @amirzaidi, i was make a comparison between 2 version of DNGProcessor and apply in https://github.com/googlesamples/android-Camera2Raw to process DNG to JPEG:
RS version OpenGL version JPEG output from device
In RS version, I applied lens shading map and the result is more better.
I know that it is better, the problem is that the gainmap is not included in the output DNG file for the phones where I'm testing on, and is only available as metadata from the Camera2 API. I'd have to make a database of gainmaps for different lenses before I could implement it using these DNG files
https://github.com/amirzaidi/DNGProcessor/commit/b26469a1888c54c4d8ef4585bc4d53ab04902802
Implemented it, but it won't work on many OEM Camera apps
https://github.com/amirzaidi/DNGProcessor/commit/a4cc750c6e84e8adeb88eaa0665bd142ba63ae18
This change fixed the coordinate sampling, so now it actually works...
Hi @amirzaidi, how to apply lenshadingmap with opengl version?