Why I get the sensor raw data file is loss the blue color at jetson TX1 R28.2?

Why I get the sensor raw data file is loss the blue color at jetson TX1 R28.2?

I use the imx219 mipi sensor.

this is imx219 raw data file picture.

External Media

this is imx219 test_pattern picture(100 % color bars).
External Media

this I get imx219 raw data file is imx219_raw.rar

How can I fix this?



imx219_raw.rar (23.6 KB)

I had that exact problem in the past too, I think it was caused by using the wrong bayer pattern. The ISP only supports a few, so I had to adjust my camera’s readout to match.

What do you have for your pixel phase? ex “rggb”

hello sensor_test,

please share the command you’re using to dump the raw files.
also, may I know which tools you’re used for raw file viewing?
thanks

pixel_t is set to “bayer_rggb”.

pixel_t = "bayer_rggb";

Hello JerryChang,

I use this command to dump raw file.

v4l2-ctl -d /dev/video0 --stream-mmap --stream-count=1 --stream-to=imx219.raw

I use the xnview V2.44 tools to view the raw file.

hello sensor_test,

please test again to dump the raw file given more options,
for example,

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw

also, I’ve download xnview and it seems only few channels types for debayering.
please try to view raw files with 7yuv.
thanks

Hi JerryChang,

I use this command get raw file.

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw

the raw file is test.raw.

test.rar (23.6 KB)

hello sensor_test,

please check the attach image file,
you could also refer to the format configurations on the top-right.
External Media

by the way,
according to your debayer result,
I think there’s should be some buffer alignment issue. (additional vertical line on the right-hand side)
could you please confirm the test-pattern output resolution,
thanks

Hi JerryChang,

I can not upload the source raw file.maybe it is large 4.0M.
I upload test.zip for compressor test.raw file.
I confirm the test-pattern output resolution is 1920 x1080.

test.zip (29.1 KB)

Which format is the raw file?
BGRA8888?

please check your sensor specification,
generally, your settings of pixel_t = “bayer_rggb”; should be 10-bit RGGB.

Helly JerryChang,

you say “I think there’s should be some buffer alignment issue. (additional vertical line on the right-hand side)”
How can i fix this?