KernelWidth Property
Applies To
Vision Objects: DefectFinder
Description
Sets / returns the intensity of horizontal de-noising at DefectFinder.
Usage
VGet Sequence.Object.KernelWidth, var
VSet Sequence.Object.KernelWidth, value
- Sequence
- String variable containing a sequence name.
- Object
- Name of an object or string variable containing an object name. The object must exist in the specified sequence.
- var
- Integer variable that will contain the value of the property.
- value
- Integer value or expression for the new value of the property.
Values
Integer from 1 to 15
Default: 3
Remarks
Sets and returns the intensity of horizontal de-noising at DefectFinder. Setting value ranges from 1 to 15. Setting the KernelWidth property to “15” sets the de-noising intensity to maximum. Although a large setting value reduces the influence of noise, it also rejects small defects. Therefore, detectable defect size needs to be larger than the KernelWidth value. Adjust to an appropriate value according to the size of defect to be detected.
See Also
DefectFinder Object, KernelHeight Property