9.Software Tools
© China Daheng Group, Inc. Beijing Image Vision Technology Branch 171
Step5:
Check “StaticDefectCorrection” to execute Static Defect Correction
Step6: When the device supports Static Defect Correction and the merged number is less than 1023, the
user can through the "Save to Device" to write the statistics of the defect pixel information into the device,
and it will still be valid after power off and restart
Step7: The user can click the "Save to File" to save the statistics of defect pixel information to a file. For
details, please see section 9.5.2.4
9.5.2.2. Acquisition Images
1) When the device is in the stop acquisition mode, click
“Catch”, the image will be displayed in the
GalaxyView acquisition GUI.
2) When the device is in the acquisition mode
, click “Catch” to complete the image acquisition.
3) When counting defect pixels, it is required to acquisition images with uniform gray scale. For example,
use bright field images when detecting dark defect pixels, and use dark field images when detecting
bright defect pixels.
4) When the threshold is fixed, the number of defect pixels will be affected by the exposure time and
gain. The greater the value of exposure time and gain, the greater the number of defect pixels.
5) The counted defect pixels by the device under the maximum resolution are applicable to any ROI
image. The counted defect pixels by the device in the ROI are only applicable to the image in the ROI.
9.5.2.3. Static Defect Correction
1) "StaticDefectCorrection"
is
divided
into
“StaticDefectCorrection
(software)
”
and
“StaticDefectCorrection (hardware)”
2) When the device perform Static Defect Correction, the plugin will give priority to hardware to
implement Static Defect Correction, which will be displayed as "StaticDefectCorrection (hardware)",
otherwise it will be displayed as "StaticDefectCorrection (software)"
3) The condition for the device to perform Static Defect Correction is that the device supports the Static
Defect Correction function and the number of defect pixels is less than 1023.
4) When the device is in the acquisition mode, the user can check or uncheck "Static Defect Correction"
to check the correction result.
9.5.2.4. How to use defect pixel data file
1) The format of the defect
pixel data file is “.dp” and the default save path is under the installation
package directory:
*\Daheng Imaging\GalaxySDK\Demo\Win64\resource\gxplugins\DefectPixelCorrection;
2) When you need to use the SDK to implement the Static Defect Correction function, you can read the
saved defect pixel data file and call the function of the image processing library:
DxStaticDefectPixelCorrection to realize the Static Defect Correction of the image.