
46 of 73
Reference Manual ATOM one 4K mini
You can dump one segment by specifying one segment only.
=> mcc_set 3
mcc_set 3 16384 0
OK
Examples of setting hue and saturation of a color phase:
float saturation = 1.23f;
// saturation of 1.23
float s = saturation * 4096.0f;
// s = 5038.08
int value = (int) round( s );
// value = 5038
float hue = 1.1f;
// hue rotation by =+1.1°
float h = hue * 16384 / 90;
// h = 200.2489
int value = (int) round( h );
// value = 200
float hue = -4.3f;
// hue rotation=-4.3°
float h = hue * 16384 / 90;
// h = -782.7911
int value = (int) round( h );
// value = -783
9.39 lsc <enable> <k> <offset> <slope>
Due to the physical properties of the lenses used in optical imaging a reduction of the
luminescence occurs from the middle of the image sensor to its borders. This is commonly
known as vignetting. This effect can be separated into natural and artificial vignetting, both
can be corrected using the Lens Shading Correction module. Please note that this is an
advanced feature that requires the right measurement equipment to be setup correctly
(see setup instructions at the end of this chapter).
The lens shading correction uses a correction function to increase the gain in the outer
image areas. The parameter k configures the natural vignetting compensation (cos4
compensation), a higher value will result in a higher compensation. The parameters offset
and slope configure the artificial vignetting compensation. If the value for offset is
increased, the radius where the compensation starts will be increased (moved to the
image border). The higher the slope, the stronger is the compensation. The values k and
slope range from 0.0 to 2.0, the offset from 0.0 to 1.0. Please not that all values have to be
passed as fixed point numbers in Q2.30 format, that means a value of 0.67 equals:
0.67 * 2^30 = 719407022
Value
Minimal
Maximal
Default
Comment
Enable
0
1
0
Enables or disables the lens shading