Closed heckflosse closed 1 year ago
I created dnggainmap branch. Code is ready to test, but not ready to merge (too verbose, gui needs some changes etc.)
Just found an unusual usage of GainMap that wouldn't work with this implementation, or with ART's. Not sure how common this is, I had never seen it in any other files. This one is in OpcodeList3 and is intended to be applied to each color channel after demosaic.
https://discuss.pixls.us/t/looking-for-samples-smartphone-dngs-with-embedded-gainmap/27296/12
I started work on dng gainmap support.
Here's a first result, left without gainmap, right with:
The implementation is different to the ART implementation (well, at least for now) and runs only once over the rawdata array, while the ART implementation needs to run twice (cache-wise). This is still wip, but a PR will follow soon.