STC-GE83A
STC-GEC83A
User Guide
33
Rev 1.01
Command No.
Command Description
40H: [7..0]
[White Balance mode] Initial data: 00H
Sets the white balance mode for the color camera.
D[7..0]
D7
D6
D5
D4
D3
D2
D1
D0
D7 to D4:
No Function
Always set as “0000”
D3:
Push to set white balance operation
0: OFF
1: ON
D2 to D0:
White balance mode
000: OFF
001: Preset 1,
010: Preset 2
011: Preset 3
100: Auto white balance
101: Push to set white balance
110 to 111: No Function
(Prohibited settings. Do not set these values)
* When using the push-to-set white balance, set the white balance mode as “Push to set white balance” then change “0” to
“1” for the push-to-set white balance operation.
41H:
GainR1[7..0]
[Preset_1 white balance (Red gain)] Initial data: 0, data range: 0 to 255
Sets the Red gain for the preset_1 white balance.
Red of the camera output image data = (CCD_R – CLAMP Level) x (1+ GainR1[7..0] / 64) + CLAMP Level
* CCD_R: Red of the CCD output image data
* CLAMP Level: Clamp level (The calculated value of 38H)
42H:
GainGr1[7..0]
[Preset_1 white balance (Gr gain)] Initial data: 0, data range: 0 to 255
Sets the Gr gain for the preset_1 white balance.
Gr of the camera output image data = (CCD_Gr – CLAMP Level) x (1+ GainGr1[7..0] / 64) + CLAMP Level
* CCD_Gr: Red of the CCD output image data
* CLAMP Level: Clamp level (The calculated value of 38H)
43H:
GainB1[7..0]
[Preset_1 white balance (Blue gain)] Initial data: 0, data range: 0 to 255
Sets the Blue gain for the preset_1 white balance.
Blue of the camera output image data = (CCD_B – CLAMP Level) x (1+ GainB1[7..0] / 64) + CLAMP Level
* CCD_B: Blue of the CCD output image data
* CLAMP Level: Clamp level (The calculated value of 38H)
44H:
GainGb1[7..0]
[Preset_1 white balance (Gb gain)] Initial data: 0, data range: 0 to 255
Sets the Gb gain for the preset_1 white balance.
Gb of the camera output image data = (CCD_Gb – CLAMP Level) x (1+ GainGb1[7..0] / 64) + CLAMP Level
* CCD_Gb: Gb of the CCD output image data
* CLAMP Level: Clamp level (The calculated value of 38H)