Analytic Geometry
Owning Palette: Machine VisionInstalled With: NI Vision Development ModuleUse Analytic Geometry VIs to derive results from the coordinates of points returned by image analysis and machine vision algorithms. Use these VIs to fit lines, circles, and ellipses to a set of points in the image; compute the area of a polygon represented by a set of points; measure distances between points; and find angles between lines represented by points.
Palette Object | Description |
---|---|
IMAQ Point Distances |
Computes the distance between consecutive pairs of points. |
IMAQ Get Angles |
Computes the angles formed by sets of four points in an image or between sets of two points and a common vertex. |
IMAQ Fit Line |
Finds the line of such quality that best represents a set of points. The resulting line may only take into account a subset of the input points. |
IMAQ Lines Intersection |
Computes the intersection point and the angle between two lines. Each line is specified by any two points that lie on the line. |
IMAQ Perpendicular Line |
Computes a perpendicular line that passes through a point and is perpendicular to a reference line. It also returns the distance from the point to the line. |
IMAQ Bisecting Line |
Computes a line that bisects the two lines specified by Line 1 and Line 2. |
IMAQ Mid Line |
Computes the mid line between a point and a reference line. The mid line is the line that is parallel to the reference line and lies midway between the point and the reference line. |
IMAQ Polygon Area |
Computes the area of a polygon described by the coordinates of its vertices. |
IMAQ Fit Circle 2 |
Finds the circle that best represents a set of points and returns the radius, perimeter, and area of the circle. |
IMAQ Fit Ellipse 2 |
Finds the ellipse that best represents a set of points and returns the center, major and minor axes, perimeter, and area of the ellipse. This VI requires a minimum of five or six points, depending on the value of Reject Outliers. The resulting ellipse may take into account only a subset of the points you provide. |
IMAQ GetPointsOnLine |
Given the endpoints of a line, returns an array of all the points comprising the line. |
IMAQ GetPointsOnContour |
Finds the number of edge segments in an image and returns the coordinates of the pixels in each segment. Any pixel that is greater than zero is considered an edge location. |
IMAQ Build CoordSys (Points) |
Builds a reference for any arbitrary coordinate system with respect to the image plane. |