Add new comment

I think you need to remove

I think you need to remove data scaling from your code or adjust it based on real source data range, not any assumptions.

In this particular case: assuming that source data is within 0..2^14-1 range is incorrect.

-- Alex Tutubalin @LibRaw LLC