carina-studio / PixelViewer

A cross-platform image viewer which supports reading raw Luminance/YUV/RGB/ARGB/Bayer pixels data from file and rendering it.
https://carina-studio.github.io/PixelViewer/
MIT License
225 stars 36 forks source link

Can't do black level correction (blc) to bayer raw. #6

Closed siyhust closed 1 year ago

siyhust commented 1 year ago

for sensor raw (bayer), we should do blc before adjust the color and luma, otherwise the contrast after adjustment will be a problem.

could you please add blc function? Thanks.

carina-studio commented 1 year ago

Support black/white level correction: