KernelHeight Property

Applies To
Vision Objects: DefectFinder

Description
Sets / returns the intensity of vertical de-noising for DefectFinder.

Usage

VGet  Sequence.Object.KernelHeight, var
VSet  Sequence.Object.KernelHeight, 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 vertical de-noising for DefectFinder. Setting value ranges from 1 to 15. Setting the KernelHeight 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 KernelHeight value. Adjust to an appropriate value according to the size of defect to be detected.

See Also
DefectFinder Object, KernelWidth Property