49 of 95
Reference Manual ATOM one SSM500
Cb’ = Cb * cos (offset * 90 / 128) + Cr * sin (offset * 90 / 128)
Cr’ = -Cb * sin (offset * 90 / 128) + Cr * cos (offset * 90 / 128)
Neutral value is 0.
Value
Reset
Minimal
Maximal
value
0
-128 (-90 degree)
127 (+89 degree)
Example Pseudo Code:
float hue = 22.1f;
// hue = 22.1°
float h = hue * 128.0f / 90.0f;
// h = 31.43111...
int value = (int) round( h );
// value = 31
# post_hue 31
10.15
wb <frames>
Lets the white balance run for the given amount of frames. The frames parameter is
optional, if not specified the white balance will run for 200 frames.
Value
Default
Minimal
Maximal
frames (optional)
200
1
1000
10.16
awb <flag>
Enables continuous auto white balance.
Switching from disabled to enable will first reset the white balance gains to the calibrated
defaults specified by the white balance preset (see wb_preset command below). This is
done to make sure that the AWB has a valid starting point and converges fast.
Flag
Function
0 (reset)
disable
1
enable
10.17
awb_speed <speed>
Sets the control speed of the continuous auto white balance.
Value
Reset
Minimal
Maximal
speed
0
0 (slow)
2 (fast)
10.18
wb_preset <id>
Set calibrated white balance presets (gains, color-cross matrices and offsets).
List of calibrated presets: