PixelViewer icon indicating copy to clipboard operation
PixelViewer copied to clipboard

How to render the raw12 data into picture with colors?

Open hahecd opened this issue 1 year ago • 3 comments

Hi,

I don't see any guide about the steps to achieve this so I made this issue. This raw data is generated by a 1920x1542 colored sensor with CSI format of RAW12. I opened it with PixelViewer as figured below: image

This is a monochrome picture with no color rendered. I would expect some picture like below; colored

Attached please find the original raw data file. fubba2.zip

Thanks,

hahecd avatar Aug 21 '24 02:08 hahecd

@hahecd Color will be rendered after selecting BGGR (2x2) Bayer Pattern. image

hamster620 avatar Aug 22 '24 00:08 hamster620

this looked weird! do we have any options to tune the colors (or other aspects) to make it more real? b.t.w what's the correlationship with the Bayer pattern in the Format field and the four character code in the Bayer pattern field?

hahecd avatar Aug 22 '24 02:08 hahecd

Custom or advanced demosaicing algorithm is not aupported yet. Currently the RGB gain is the only way to adjust color generated from bayer pattern image.

hamster620 avatar Aug 27 '24 12:08 hamster620