What are mode_type/pixel_phase of monochrome sensors?

Dear forum,

I am bringing up the monochrome version of the Sony IMX296 senor. Its color version has following properties :

dynamic_pixel_bit_depth = "10";
csi_pixel_bit_depth = "10";
mode_type = "bayer";
pixel_phase = "rggb";

I would like to know what will be the correct mode_type and pixel_phase for the monochrome version, please ?

And are monochrome sensors supported by default or should I add the support for them into the official BSP? I am using Jetpack-5.1.2

Best Regards,
Khang

Best Regards,
Khang

The mode_type is correct if it’s Bayer sensor.
For the pixel_phase may need to adjust by checking the sensor out.
And need add below.

Hi @ShaneCCC,

The mode_type is correct if it’s Bayer sensor.

This is where I am still confused: the color version is surely RAW10 Bayer. But for the monochrome version, it is only RAW10.

For the pixel_phase may need to adjust by checking the sensor out.

I found the following example and think that it is a good one : vc_mipi_nvidia/patch/kernel_Xavier_35.4.1+/0001-Added-RAW8-grey-RAW10-y10-RAW12-y12-and-RAW14-y14-fo.patch at master · VC-MIPI-modules/vc_mipi_nvidia · GitHub

Best Regards,
Khang

Hi @ShaneCCC,

By the way talking about the monochrome sensors, there’s an instruction from Vision-Components repository’s README saying that :

As far as I know, OV9281 is also a monochrome sensor but it seems that in order to use gstreamer with nvarguscamerasrc, one has to let its pixel_t to RG8 or RG10. The pixel_t is deprecated and replaced by mode_type, csi_pixel_bit_depth and pixel_phase according to the Sensor Software Driver Programing R35.4.1. So I deduce that I should let them as in the initial comment for being able to use my IMX296LLR monochrome with nvarguscamerasrc.

BTW, 8bit don’t support. Current nvarguscamerasrc support 10/12/14 bits only.

1 Like

Hi @ShaneCCC,

Thanks for the useful information. I will also have the need to bringup the ov9281 for myself as well.

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