Argus output stream pixel format with RGB format

I have a Orin nano DEV kit board, below is the system information.

Model: NVIDIA Orin Nano Developer Kit - Jetpack 5.1.1 [L4T 35.3.1]
NV Power Mode[1]: 7W
Serial Number: [XXX Show with: jetson_release -s XXX]

  • 699-level Part Number: 699-13767-0005-300 K.2
  • P-Number: p3767-0005
  • Module: NVIDIA Jetson Orin Nano (Developer kit)
  • SoC: tegra23x
  • CUDA Arch BIN: 8.7
  • Codename: P3768
  • Machine: aarch64
  • System: Linux
  • Distribution: Ubuntu 20.04 focal
  • Release: 5.10.104-tegra
  • Python: 3.8.10
  • Version: 4.2.1
  • Service: Active
  • CUDA: 11.4.315
  • cuDNN:
  • TensorRT:
  • VPI: 2.2.7
  • Vulkan: 1.3.204
  • OpenCV: 4.5.4 - with CUDA: YES

I want to use Argus to capture my CSI camera image and expect the image from capture is RGB format. But looks there is no RGB format for PixelFormat.

Below is PixelFormat types from the header file Argus/Types.h.
DEFINE_UUID(PixelFormat, PIXEL_FMT_UNKNOWN, 00000000,93d5,11e5,0000,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_Y8, 569be14a,93d5,11e5,91bc,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_Y16, 56ddb19c,93d5,11e5,8e2c,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_YCbCr_420_888, 570c10e6,93d5,11e5,8ff3,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_YCbCr_422_888, 573a7940,93d5,11e5,99c2,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_YCbCr_444_888, 576043dc,93d5,11e5,8983,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_JPEG_BLOB, 578b08c4,93d5,11e5,9686,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_RAW16, 57b484d8,93d5,11e5,aeb6,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_P016, 57b484d9,93d5,11e5,aeb6,1c,b7,2c,ef,d4,1e);
DEFINE_UUID(PixelFormat, PIXEL_FMT_LegacyRGBA, 091b5007,6784,4121,94c7,59,0d,29,03,36,72);

I did not find RGB format, only see PIXEL_FMT_LegacyRGBA. Is this true that Argus does not support RGB pixel format?

hello harry_xiaye,

Argus it processed CSI camera with bayer raw formats, it could be Raw10, Raw12…etc.
it’s processed by ISP and convert as YUV buffer for post-processing, display rendering.

may also I know which camera module you’re using? is the sensor driver implementation already complete?
you may see-also developer guide, Approaches for Validating and Testing the V4L2 Driver for several approaches to test your camera steam.

My camera is IMX219, its driver should be working since I can use nvgstcapture command to see the camera working.

hello harry_xiaye,

the output pixel formats is Raw10 for rbpcv2-imx219, it’ll be processed by ISP output as YUV format.
may I know what’s real use-case? please have a try to convert the formats, such as RGBA for your test-pipeline.

We use the IMX219 camera in our board, and want to use Argus API to get capture image, then we will do some image operations(draw something and blend with other image). Those operations are opencv Mat function and the Mat format is RGB. So we hope camera output capture is also RGB data format.

please see-also Topic 165300 to do format conversion.

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