Binning of RGB pixels of Monochrome IMX219 sensor

Hi all,
I have a Monochrome IMX219 sensor in which RGB filters are stripped.

Since previous RGB pixels now capture the same information,
I want to bin 4 pixels(R, G, G, B) to increase the camera’s sensitivity.

Can I bin the (R,G,G,B) pixels of IMX219 sensors?

I would suggest consult with vendor.

1 Like

This might not be correct. The debayering (or demosaicing) process interpolates for keeping the same resolution as the sensor (for example, red value at pixel location for blue or green would be interpolated from the two neighbour red pixels). For green there are two green sensor pixels (sometimes more) fused into one pixel of G plane.

If you want to get full resolution and full scale from your monochrome sensor, you would get it as raw bayer from V4L (if your camera driver has a bypass mode for Argus, you would disable it) and convert each 12bits pixel value into a 16 bits value (this depends on packed or not pixel format) and finally reorder for full monochrome image before further processing.

Obviously it would be easier if your camera module vendor could provide a driver giving Y16 format.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.