Add new comment

Please explain you problem

Please explain you problem in more detail.

Generally speaking, any LUT conversion of raw data is very simple
rawdata.raw_image[idx] = LUT[rawdata.raw_image[idx]]

But the LUT values itself will depend on lens flare, themperature and so on....

-- Alex Tutubalin