PDF: 4749051511/Source: 7788125767
Aptina reserves the right to change products or specifications without notice.
MT9T111_DG - Rev. B 9/10 EN
112
©2007 Aptina Imaging Corporation. All rights reserved.
MT9T111: Developer Guide
Gamma
Preliminary
Gamma/Contrast Manual Control
To select manual gamma/contrast curve control the following steps are necessary:
1. Enable manual control of the gamma curve selection by setting driver ID 15, offset
0x09 to 4:
1a. VAR8 = 15, 0x09, 0x04 // (1) LL_GAMMA_SELECT
2. Select the desired gamma/contrast curve by changing the driver ID 15, offset 0x0A
variable to the desired position based on start_gamma_bm, mid_gamma_bm or
stop_gamma_bm
Gamma/Contrast Automatic Control
To enable automatic selection, the following steps are necessary:
1. Enable manual control of the gamma curve selection by setting driver ID 15, offset
0x09 (0x08 in rev2) to 0:
1a. VAR8 = 15, 0x09, 0x00 // (1) LL_GAMMA_SELECT
The gamma curve can be disabled (gamma of 1) by setting 0x3210[7] = 0.
Example: Gamma Control
The following example settings show the registers related to gamma control in the
MT9T111.
[Contrast Control]
VAR8 = 15, 0x08, 0x01
// LL_GAMMA_SELECT --> select contrast gamma, change to 0 for auto control
VAR8 = 15, 0x0B, 0x00 // LL_GAMMA_CONTRAST_CURVE_0
VAR8 = 15, 0x0C, 0x0B // LL_GAMMA_CONTRAST_CURVE_1
VAR8 = 15, 0x0D, 0x1F // LL_GAMMA_CONTRAST_CURVE_2
VAR8 = 15, 0x0E, 0x3C // LL_GAMMA_CONTRAST_CURVE_3
VAR8 = 15, 0x0F, 0x60 // LL_GAMMA_CONTRAST_CURVE_4
VAR8 = 15, 0x10, 0x7D // LL_GAMMA_CONTRAST_CURVE_5
VAR8 = 15, 0x11, 0x95 // LL_GAMMA_CONTRAST_CURVE_6
VAR8 = 15, 0x12, 0xA8 // LL_GAMMA_CONTRAST_CURVE_7
VAR8 = 15, 0x13, 0xB7 // LL_GAMMA_CONTRAST_CURVE_8
VAR8 = 15, 0x14, 0xC3 // LL_GAMMA_CONTRAST_CURVE_9
VAR8 = 15, 0x15, 0xCD // LL_GAMMA_CONTRAST_CURVE_10
VAR8 = 15, 0x16, 0xD6 // LL_GAMMA_CONTRAST_CURVE_11
VAR8 = 15, 0x17, 0xDE // LL_GAMMA_CONTRAST_CURVE_12
VAR8 = 15, 0x18, 0xE5 // LL_GAMMA_CONTRAST_CURVE_13
VAR8 = 15, 0x19, 0xEB // LL_GAMMA_CONTRAST_CURVE_14
VAR8 = 15, 0x1A, 0xF1 // LL_GAMMA_CONTRAST_CURVE_15
VAR8 = 15, 0x1B, 0xF6 // LL_GAMMA_CONTRAST_CURVE_16
VAR8 = 15, 0x1C, 0xFB // LL_GAMMA_CONTRAST_CURVE_17
VAR8 = 15, 0x1D, 0xFF // LL_GAMMA_CONTRAST_CURVE_18
VAR8 = 1, 0x00, 0x06 // SEQ_CMD
[Gamma Correction]
// Contrast Settings