Add new comment

Determining 'Correctness' of white level values

Hello,

I am currently using libraw to read metadata from a number of different images, and have been trying to create automated tests for my code. I have seen some information on how libraw is returns Black Level values, and have been able to either use the output from exiftool, or the raw CFA data to confirm that it is returning data as expected. However, I have not seen much about how libraw gathers/calculates white-level values, and so I am uncertain on how to determine the expected WL values in my tests. Maybe I have missed this in the documentation, but any clarity on how the white-levels are read would be helpful.

Thanks in advance.

Forums: