- SS-HQ1 Application Notes -
Ver.1.0.0 January 7, 2005
162
Setting procedure
The SS-HQ1 has two adjustment modes for performing static detection and compensation.
1. Normal static detection and compensation mode : In this mode, detection results are manually written to EEPROM.
2. One-push static detection and compensation mode : In this mode, detection results are automatically written to EEPROM.
Table 11.2-10 Parameters for setting static detection
Parameter
Description
ADJMODE
CAT12_Byte2_bit0-7 Switches the adjustment mode
BLMDETFIN
CAT12_Byte4_bit6
Static detection end flag
BLMDETAGC CAT21_Byte1_bit0-7 AGC
gain
setting for static detection operation
OPSHBLMDET CAT21_Byte2_bit0
Static automatic EEPROM writing function ON/OFF
0[h]:OFF/1[h]:ON
Preparations:
Shield the CCD from light by, for example, closing the lens iris.
1. Normal static detection and compensation mode
(OPSHBLMDET=0[h])
1. Set OPSHBLMDET to 0[h]. (Sets normal static detection and compensation mode.) (See Table 11.2-10)
2. Turn ON the blemish compensation function. (DEFON=1[h]) (SeeTable 11.2-3)
3. Set the blemish detection area. (See Table 11.2-1)
4. Use DETREFL/M and LARGEREFL/M to set the detection threshold levels. (See Table 11.2-5)
5. Use BLMDETAGC to set the AGC gain to be applied during blemish detection. (See Table 11.2-10)
6. Set ADJMODE to 22[h] (ADJMODE=22[h]).
(Starts blemish detection and compensation.) (See Table 11.2-10)
7. Read the parameters. If BLMDETFIN=1[h],detection and compensation are terminated. (See Table 11.2-10)
8. The values of Bytes 20-147 in CAT11 BLMDET1 (parameters for storing detection results) are written to
EEPROM.
9. Set ADJMODE to 0[h] (ADJMODE=0[h]). (Resets the normal operation mode.) (See Table 11.2-10)
2. One-push static detection and compensation mode
(OPSHBLMDET=1[h])
1. Set OPSHBLMDET to 1[h]. (Sets one-push static detection and compensation mode.) (See Table 11.2-10)
2. Turn ON the blemish compensation function. (DEFON=1[h]) (See Table 11.2-3)
3. Set the blemish detection area. (See Table 11.2-1)
4. Use DETREFL/M and LARGEREFL/M to set the detection threshold levels. (See Table 11.2-5)
5. Use BLMDETAGC to set the AGC gain to be applied during blemish detection. (See Table 11.2-10)
6. Set ADJMODE to 22[h] (ADJMODE=22[h]).
(Starts blemish detection and compensation.) (See Table 11.2-10)
7. Read the parameters. If BLMDETFIN=1[h],detection and compensation are terminated. (See Table 11.2-10)
8. ADJMODE to 0[h] (ADJMODE=0[h]). (Resets the normal operation mode.) (See Table 11.2-10)
* Note: After executing adjustment mode, be sure to reset the normal operation mode in order to execute
adjustment mode again. The above procedure is also described in Adjustment Operation Mode.