How to enable isp (gamma , shading ......)

I can get the image using this command …

gst-launch-1.0 -vvv nvarguscamerasrc sensor_id=0 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=30/1, format=(string)NV12' ! nvvidconv ! nvegltransform ! nveglglessink -e

In addition, I saw that these parameters can be added. Is the function of these parameters implemented by GPU?
wbmode=1 awblock=true gainrange=“8 8” ispdigitalgainrange=“4 4”

gst-launch-1.0 -vvv nvarguscamerasrc sensor_id=0  wbmode=1 awblock=true gainrange="8 8" ispdigitalgainrange="4 4" ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=30/1, format=(string)NV12,gain=20' ! nvvidconv ! nvegltransform ! nveglglessink -e

In addition, I want to test how much extra time it takes to execute functions such as gamma and shading at the same time, and how to implement it?

Suppose there’s no any API for gamma and shading.
Have a check the MMAPI to confirm.

https://docs.nvidia.com/jetson/l4t-multimedia/group__LibargusAPI.html

Use jetson_multimedia_api_r35.3.1_aarch64.tbz2
There are some examples that can use the ISP algorithm

Tested histogram, denoise, userAutoWhiteBalance seems to have an effect,
Are there other examples of ISP algorithms?

Does executing the ISP algorithm delay the image? Is there any data about it?

No, those are implement by Argus API instead of GPU.
All of the samples are in the MMAPI package.

Is there an example or data of time spent performing complex image processing??
How long will it be delayed to perform the following processing?
Shading
Demosaicing
RGB Gamma Correction
CSC RGB to YUV Matrix
Y Gamma Correction
Y Contrast Enhancement
CSC YUV to RGB Matrix
Distortion

The original test command can be successfully displayed

gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=1 ! 'video/x-raw(memory:NVMM), width=(int)3864, height=(int)2176,format=(string)NV12, framerate=(fraction)60/1'  ! nvvidconv ! xvimagesink -e

but add “videoflip method=clockwise” will fail

gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=1 ! 'video/x-raw(memory:NVMM), width=(int)3864, height=(int)2176,format=(string)NV12, framerate=(fraction)60/1' ! videoflip method=clockwise ! nvvidconv ! xvimagesink -e

WARNING: erroneous pipeline: could not link nvarguscamerasrc0 to videoflip0, videoflip0 can’t handle caps video/x-raw(memory:NVMM), width=(int)3864, height=(int)2176, format=(string)NV12, framerate=(fraction)60/1

Is this not supported by nvarguscamerasrc?

nvarguscamerasrc doesn’t support flip but nvvidconv does.

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