FillHoles Property
Applies To
Vision Objects: Blob, Contour, ImageOp
Description
Sets whether to fill the holes when using the binary image.
Usage
VGet Sequence.Object.FillHoles, var
VSet Sequence.Object.FillHoles, value
- Sequence
- Name of a sequence or 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
- Boolean variable that will contain the value of the property
- value
- Boolean value or expression for the new value of the property.
Values
- 0 - False: Do not fill the holes.
- -1 - True: Fill the holes.
Default: False
Remarks
The FillHoles property is available for the ImageOp objects only in binary operation. The property is always available for the Blob objects. When the FillHoles property is set to "True", the holes in the binary image are filled. The holes are areas that are completely enclosed by the objects.
See Also
ImageOp Object, Blob Object, Contour Object