No.11S098-03
63
STC-GE33OX/GEC33OX
Users guide Rev. 1.03
Command No.
40H:[7..0]
D7 to D4: No function
Sets always 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 setting. Do not set these value)
41H:GainR1
[7..0]
* CCD_R:
Red of the CCD output image data
42H:GainGr1
[7..0]
* CCD_Gr:
Gr of the CCD output image data
43H:GainB1
[7..0]
* CCD_B:
Blue of the CCD output image data
Command descriptions
[White balance mode] Initial data: 00H
[Preset_1 white balance (Red gain)] Initial data: 0, data range: 0 to 255
[Preset_1 white balance (Gr gain)] Initial data: 0, data range: 0 to 255
Sets the Red gain for the preset_1 white balance.
Sets the white balance mode for the color camera.
D[7..0]
* When use the push to set white balance, set the white balance mode as
"Push to set white balance" then change "0" to "1" for Push to set white balance operation.
Sets the Gr gain for the preset_1 white balance.
Sets the Blue gain for the preset_1 white balance.
[Preset_1 white balance (Blue gain)] Initial data: 0, data range: 0 to 255
Gr of the camera output image data =
(CCD_Gr - CLAMP Level) x (1 + GainGr1[7..0] / 64) + CLAMP Level
* CLAMP Level:
Clamp level (The calculated value of 38H)
Blue of the camera output image data =
(CCD_R - CLAMP Level) x (1 + GainR1[7..0] / 64) + CLAMP Level
* CLAMP Level:
Clamp level (The calculated value of 38H)
Red of the camera output image data =
(CCD_B - CLAMP Level) x (1 + GainB1[7..0] / 64) + CLAMP Level
* CLAMP Level:
Clamp level (The calculated value of 38H)
D7 D6 D5 D4 D3 D2 D1 D0