Measures the distance between selected edges with high-precision subpixel accuracy.
You can use different measurement modes with this node, such as measuring distances between points and edges and vice versa. This node also can step and repeat its measurements across the image. Depending on the type of the measurement, this node first determines the relevant edges in the image before computing the distances.
Base coordinate system.
Point cluster that specifies the origin of the base reference coordinate system.
Angle the base reference coordinate system makes with the image coordinate system.
Element defined as direct or indirect.
Cluster containing the options for subpixel analysis.
Method used to perform the interpolation.
Name | Value | Description |
---|---|---|
quadratic | 1 |
Uses the quadratic formula to compute the pixel location |
cubic spline | 2 |
Uses cubic splines to compute the pixel location |
Number of samples to obtain from a pixel.
Reference to the source image.
Array specifying the pixel coordinates that form the end points of the line.
Cluster defining the characteristics of the filter used to detect the edges.
Threshold for the contrast of the edge.
Only edges with a contrast greater than this value are used in the detection process. contrast is defined as the difference between the average pixel intensity before the edge and the average pixel intensity after the edge.
Number of pixels that the node averages to find the contrast at either side of the edge.
Slope of the edge.
This value represents the number of pixels that correspond to the transition area of the edge.
Type of measurement to perform.
Subpixel information is not used when measuring distances between points.
Name | Description |
---|---|
edge to edge | Measures the distance between the first and last edge locations along a line in the image. |
edge to point | Measures the distance between the first edge in the image and the end point of a line. |
point to edge | Measures the distance between the start point of the line and the first edge along the line of the image. |
point to point | Measures the distance between two points in the image. |
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Array of point clusters that specifies the shift in the start and end points of the pixel coordinates.
The offset array is used for repeating the measurement across the image.
New coordinate system.
Point cluster that specifies the origin of the base reference coordinate system.
Angle the base reference coordinate system makes with the image coordinate system.
Element defined as direct or indirect.
Reference to the source image.
Array containing the measured distances.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application