31
5
Select the data for applying defect correction. To
apply the pixels detected in steps
3
and
4
, select
DefectPatternDetected. To apply factory settings,
select DefectPatternFactory. To apply values that
have been saved, select DefectPatternUser.
> DefectPatternLoad = DefectPatternDetected
6
Turn on defect correction.
> DefectCorrection = True
7
Save the settings. To repeat defect detection without
saving, repeat steps
1
to
6
.
> DefectPatternSave = True
Read the status to determine whether the save
operation is finished.
> DefectPatternSave (readout)
True (executing)
False (exit)
The value False is returned when finished.
Note
The upper limit of defect detection points is 2047 for
white and black defect points combined. Correction
cannot be performed over the upper limit. The detected
defect points can be confirmed using
DefectDetectionResult. If the upper limit is exceeded,
defect detection will fail or abnormal defect detection
will occur, and the value of DefectDetectionResult will
be set to –1. Defect detection should be performed with
the camera mode set to NORMAL. For details, see
“Camera Mode” (page 12).
Shading Correction
Depending on the characteristics of the lens, shading
caused by a drop in the amount of light around the lens,
or light source variation, can be corrected. You can save
up to 31 user-defined patterns.
There are two shading correction modes. In peak
detection mode, you can adjust for the brightest level of
the screen. In average detection mode, you can adjust for
the average value of brightness for the whole screen.
Set the camera mode to NORMAL. For details, see
“Camera Mode” (page 12).
Feature
Parameter
Setting
DefectPatternLoad DefectPattern
Factory (0)
Factory setting
DefectPattern
User (1)
User setting
DefectPattern
Detected (2)
Data detected using
DefectDetectionMode
Feature
Parameter
Setting
ShadingDetection
Mode
ShadingDetectionOff
(0)
Check that the
detection is
completed
ShadingDetectionBy
PeakValue (1)
Start detection
(peak detection)
ShadingDetectionBy
AverageValue (2)
Start detection
(average detection)
Feature
Parameter
Setting
Shading
Correction
False (0) Correction
off
True (1)
Correction on
Feature
Parameter
Setting
ShadingPattern
Select
0 to 30
Shading pattern
selection
Feature
Parameter
Setting
ShadingPattern
Save
ShadingPatternSaveOff
(0)
Check that shading
pattern saving is
finished
ShadingPatternSaveOn
(1)
Start shading
pattern saving
Feature
Parameter
Setting
ShadingPattern
Load
Load shading
pattern
Feature
Parameter
Setting
ShadingDetect
Color
Red
Red
Green Green
Blue
Blue
Luminance
Luminance