Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Geometry 2D Constructions » CreateCoordinateSystemFromTwoPoints

CreateCoordinateSystemFromTwoPoints


Creates a coordinate system with two points on its axes.

Name Type Range Description
inPoint1 Point2D
inPoint2 Point2D
inAngle Real
inScale Real 0.001 -
inScaleDivisor Real 0.001 -
outCoordinateSystem CoordinateSystem2D

Applications

Most often used to define an object alignment from results of two 1D Edge Detection scans, each of which locates one side of a rectangular object.

Hints

  • ConnectinPoint1 and inPoint2 to computed points lying on (respectively) the X and the Y axes of a new coordinate system.
  • Optionally set inAngle to define the rotation.
  • Optionally set inScale and inScaleDivisor to obtain a custom scale.

Remarks

Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of CreateCoordinateSystem filter group.