Hello,
Used below args for configuring and lock the white balance.
wbmode : White balance affects the color temperature of the photo
flags: readable, writable
Enum “GstNvArgusCamWBMode” Default: 1, “auto”
(0): off - GST_NVCAM_WB_MODE_OFF
(1): auto - GST_NVCAM_WB_MODE_AUTO
(2): incandescent - GST_NVCAM_WB_MODE_INCANDESCENT
(3): fluorescent - GST_NVCAM_WB_MODE_FLUORESCENT
(4): warm-fluorescent - GST_NVCAM_WB_MODE_WARM_FLUORESCENT
(5): daylight - GST_NVCAM_WB_MODE_DAYLIGHT
(6): cloudy-daylight - GST_NVCAM_WB_MODE_CLOUDY_DAYLIGHT
(7): twilight - GST_NVCAM_WB_MODE_TWILIGHT
(8): shade - GST_NVCAM_WB_MODE_SHADE
(9): manual - GST_NVCAM_WB_MODE_MANUAL
awblock : set or unset the auto white balance lock
flags: readable, writable
Boolean. Default: false
HW Setup : imx678 + GMSL3 + Jetson orin nx jetpack 6.2
The problem is, able to set modes and lock.
But, when i exposed camera to white paper, WB mode : Auto, the colors & gains are not exactly mapped to white.
When i used WB mode : manual, green is completely dominating. I have attached pic for reference.
What is the best way to set White balance mode?
Auto mode and Manual mode are the same result?
No, above snap shot captured in manual mode. if i used Auto, locked as below.
in both cases, green is dominating. when i was used clear white paper
It’s indoor environment? How about in the outdoor?
Thanks
Suppose you need set the whiteBalanceGains[channel] for your environment in manual mode.
You can reference to userAutoWhiteBalance MMAPI sample code to do it.
Thanks
Hello, I was checked in manual modes,
v4l2-ctl -d /dev/video0 --set-ctrl red_balance=100
unknown control ‘red_balance’
Also, tested using multimedia APIs. But no difference. gain values are not effective to the overlays
What’s I want to explain is when you set AWB to manual mode you need to set the whiteBalanceGains to adjust the color to what you profer.
BTW, I don’t thin using v4l2-ctl can tell any thing here v4l2-ctl won’t invove ISP and 3A alg.
Thanks
ok, I dont see any color shift if i use nvarguscamerasrc, it is shifting only color temperatures. No shift in colors.
My observation is: Using white paper, Locked white balance. Observed other objects colors
- unlocked white balance, using blue sheet, locked white balance
- After locked, Observed objects there is no blue shades /color in the objects. looks same color as i was locked using white paper.
gst-inspect-1.0 nvarguscamerasrc | grep -E “gain|wbmode”
gainrange : Property to adjust gain range
eg: gainrange=“1 16”
ispdigitalgainrange : Property to adjust digital gain range
eg: ispdigitalgainrange=“1 8”
wbmode : White balance affects the color temperature of the photo.
unable to update color gains