Visual Basic |
---|
Public Sub RemoveDust( _ ByVal IPDefectThreshold As Integer, _ ByVal IPDefectFilterAdjustment As Integer, _ ByVal IPDefectSmoothingAdjustment As Integer, _ ByVal IPDefectType As enumDefectType _ ) |
- IPDefectThreshold
An integer value that determines how bright a pixel must be for it to be considered a speck.
Valid range is between -255 and 255.
- IPDefectFilterAdjustment
An integer value that controls where the filter boundary begins relative to the speck for smoothing to occur.
Valid range is between -6 and 2.
- IPDefectSmoothingAdjustment
An integer value that controls how much smoothing is applied to the pixels in the speck or scratch.
Valid range is between -5 and 100.
- IPDefectType
enumDefectType enumeration used in determining whether a dark or light speck is to be removed.Value Description DefectTypeDark A dark defect is to be removed. DefectTypeLight A light defect is to be removed.
Prior to calling RemoveDust, an Area must be set, using the Area method.
Note: Available in Professional Edition.