Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Geometry 2D Spatial Transforms » AlignSegment
Moves a segment from a local coordinate system to the absolute one.
Name | Type | Description | |
---|---|---|---|
inSegment | Segment2D | ||
inAlignment | CoordinateSystem2D | Coordinate system to align to | |
inInverse | Bool | Switches to the inverse transform | |
outAlignedSegment | Segment2D |
Applications
Required when there is a segment defined in a local coordinate system, but the next image-related filter in the program does not have any inAlignment input.
Description
AlignSegment aligns the inSegment to the inAlignment coordinate system. The input segment is translated, rotated and scaled.
The inAlignment is usually a coordinate system found by some template matching algorithm.
Examples
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- RotateSegment – Rotates a segment clockwise around a center point.
- TranslateSegment – Translates a segment by a vector.
- AlignPath – Moves a path from a local coordinate system to the absolute one.