ACM100
The Max Q field specifies the Q value for gray level zero. This forms the starting point for the Q function.
Note: if the Min_Q value is set to be higher than the Max_Q value, the result will be a flat threshold at
the Min_Q value.
[11:0] Max_Q:
0x04 Gain/Gamma Control
Bit Definition
15
0
14
0
13
0
12
0
11
1
10
0
9
1
8
1
7
1
6
1
5
0
4
0
3
0
2
1
1
1
0
0
Reserved
GAMMA_SKIP
MAX_GAMMA
GAMMA
GAMMA_EN
The Gain/Gamma Control register is used to specify parameters that affect the gamma control of the camera as well as the digital
gain. The bits are defined as follows:
[15] Reserved:
This bit is reserved for future use and should not be set. To ensure compatibility with future releases,
we recommend using a read/modify/write operation to preserve the status of this bit.
This field specifies the frequency at which gamma may be updated by the automatic control algorithm
(when enabled.) The default is set to 2 to account for a one frame latency between the calculation
of a new value and its effect. Lower values may result in an overshoot in the response to a step
change in image lighting.
[14:11]GAMMA_SKIP:
These bits define the maximum gamma code that will be available to the algorithm controlling the
dynamic range of the sensor. Changes to this parameter will take affect on the next full frame of video.
[10:6]MAX_GAMMA:
[5:1] GAMMA:
These bits specify the value of gamma to be used when user gamma is enabled. Increasing values
of gamma represent increasing amounts of signal compression – resulting in increased dynamic
range. Values of 3 and below are linear and the maximum value of 31 represents the maximum
dynamic range of the sensor. Changes to this field take affect immediately – even in the middle of a
frame. This may result in a frame with the top and bottom portions of the image being taken with
different gamma settings.
[0] GAMMA_EN:
Writing a ‘1’ to this bit will enable the use of the gamma value specified in the GAMMA field of this
register to be used in place of the value calculated by the Autobrite algorithm. This may result in a
frame with the top and bottom portions of the image being taken with different gamma settings
0x05 Merge Bins Control 2
Bit Definition
15
14
0
13
1
12
1
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
1
3
0
2
0
1
0
0
0
0
Reserved
User_Curve_En Draw_Enable
Min_Q
The Merge Bins Control register is used to enable and control the behavior of the merge bins contrast enhancement algorithm.
The merge bins algorithm can be controlled by specifying a Q function that indicates how strongly gray levels should be affected
by the algorithm. The Q function can be specified in one of several methods as shown in Figure 13.
Document Number: 001-05325 Rev. **
Page 11 of 20