tcamdutils-cuda¶
Overview¶
tcamdutils-cuda is a gstreamer-1.0 module with graphics card support through the CUDA platform that includes a multitude of image enhancement/conversion algorithms. These include format conversions like debayering, white balance and additional functionality. In combination with tcamtegrasrc it is possible to use and process directly the raw image data from The Imaging Source MIPI cameras. The video output can be kept directly in the NVMemory, for example to execute further GPU operations with the data, or it can be written into the CPU memory.
Using the tcamdutils-cuda gstreamer element¶
gst-launch-1.0 tcamtegrasrc ! "video/x-bayer(memory:NVMM),format=rggb12" ! tcamdutils-cuda ! ximagesink
Camera Configuration via tcamprop Interface¶
The list of camera properties configurable through the tcamprop interface depends on the connected gstreamer element.
Property | Type | Unit/Values |
---|---|---|
Denoise | Float | Controls the strength of the denoise algorithm. |
Hue | Float | Controls the hue of the image. |
Gamma | Float | Controls the gamma correction of pixel intensity. This is typically used to compensate for non-linearity of the display system (such as CRT). |
Saturation | Float | Controls the saturation of the image. |
Sharpness | Float | Controls the strength of the Sharpness algorithm. |
Troubleshooting¶
To get extended debug output, start the GStreamer pipeline with the GST_DEBUG variable defined:
GST_DEBUG=tcamdutils-cuda:5 gst-launch-1.0 tcamtegrasrc ! "video/x-bayer(memory:NVMM),format=rggb12" ! tcamdutils-cuda ! videoconvert ! ximagesink
This launches the pipeline with the debug level for tcamdutils-cuda set to 5 (debug). Multiple status messages will be printed to the console, potentially giving hints to what is not working correctly.