SPRAD86A March 2023 – May 2024 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM67A , AM68A , AM69A
For RGB-IR sensors including the OX05B1S, tune the PCID plug-in first to generate the output 16-bit Bayer raw images that are used to calibrate AWB, CCM, NSF4, and so forth.
To tune PCID, raw images need to be captured at different lighting conditions. The specifics of these lighting conditions are outlined in Capture Raw Images for Different Lighting Conditions. Below is a summary of tuning this plug-in. For more details, refer to the PCID plug-in guide from the help menu.
When tuning RGB-IR sensors, set the black level to 0 while tuning the plug-ins that require the black level value since the black level has already been removed in IR subtraction.
An example of GStreamer pipeline using the OX05B1S follows:
gst-launch-1.0 -v v4l2src device=/dev/video4 io-mode=dmabuf-import ! \ video/x-bayer, width=2592, height=1944, framerate=30/1, format=bggi10 ! queue ! \ tiovxisp sink_0::pool-size=4 sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_OX05B1S" \ dcc-isp-file=/opt/imaging/ox05b1s/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/ox05b1s/linear/dcc_2a.bin format-msb=9 ! queue ! \ tiovxldc dcc-file=/opt/imaging/ox05b1s/linear/dcc_ldc.bin sensor-name=SENSOR_OX05B1S ! \ video/x-raw, format=NV12, width=2592, height=1944 ! queue ! \ tiovxmultiscaler src_0::pool-size=4 target=1 ! video/x-raw, format=NV12, width=1920, height=1080 ! queue ! \ tiperfoverlay location=perf_logs num-dumps=10 ! queue ! kmssink driver-name=tidss force-modesetting=true sync=false
Figure 7-8 and Figure 7-9 show an example of the captured RAW image completely unprocessed by the ISP and the output image of PCID tuning in Bayer pattern format.