MinPixelLength Property
Applies To
Vision Objects: Line, LineFinder
Description
Defines the lower length limit for the Line object. For a Line to be found it must have a PixelLength result above the value set for MinPixelLength property.
Usage
VGet Sequence.Object.MinPixelLength, var
VSet Sequence.Object.MinPixelLength , 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
- Real variable that will contain the value of the property.
- value
- Real number or expression for the new value of the property.
Values
0 or higher actual number in pixels
Default: 0
Remarks
The purpose of the MinPixelLength and MaxPixelLength Properties is to set a range for the Line object such that if a line pixellength does not fit within the range then it is considered not found. (i.e. the Found result is returned as "False".)
This is useful when you want to gauge the length of a line in pixels. To gauge a line in Millimeters, see the MinLength and MaxLength properties. The default settings allow most lines to be found.
MinLength Property
MaxLength Property
See Also
Line Object, LineFinder Object, MaxLength Property, MinLength Property, MaxPixelLength Property