Vision element types
Miscellaneous functionality related to the types of vision elements.
Types
EVisionElement
This is the enumeration of all the vision element types.
- Boolean - (1) see Boolean
- Number - (2) see Number
- String - (3) see [String](TODO: Add link)
- Probability - (10) see Probability
- Histogram - (11) see Histogram
- Point2d - (100) see Point2d
- Segment2d - (101) see [Segment2d]segment2d
- Line2d - (102) see Line2d
- Rect2d - (103) see [Rect2d](TODO: Add link)
- Ellipse2d - (104) see Ellipse2d
- Path2d - (105) see Path2d
- Shape2d - (106) see [Shape2d](TODO: Add link)
- Vector2d - (107) see [Vector2d](TODO: Add link)
- PatternDescriptor - (150) see [PatternDescriptor](TODO: Add link)
- DistortionData - (151) see [DistortionData](TODO: Add link)
- Ref2d - (152) see [Ref2d](TODO: Add link)
- Image - (300) see Image
Functions
elementTypeToString()
Converts a vision element type to a string. For example, Point2d will return "Point2d".
function elementTypeToString(type: EVisionElement): string;
elementTypeFromString()
Converts a string to a vision element type. For example, "Point2d" will return Point2d.
function elementTypeFromString(typeStr: string): EVisionElement;
listElementTypes()
Returns a list of all vision element types.
function listElementTypes(): EVisionElement[];