Table Of Contents

Compute Contour Distances (G Dataflow)

Last Modified: October 26, 2017

Compares a target contour with a template contour and calculates the distance between the contours.

connector_pane_image
datatype_icon

contour image in

Reference to the image containing the target contour.

datatype_icon

template image in

Reference to the template image.

datatype_icon

smoothing kernel

Size of the smoothing kernel.

datatype_icon

match setup data

String that contains information from the Setup Match Contour Pattern node.

If this input is not connected, the node uses default parameters for all unconfigured options.

datatype_icon

error in

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.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

contour image out

Reference to the image containing the target contour.

datatype_icon

template image out

Reference to the template image.

datatype_icon

distances (pixel)

Array containing the computed distances.

datatype_icon

template point

Cluster of points that defines the template contour.

datatype_icon

x

X-coordinate of the point.

datatype_icon

y

Y-coordinate of the point.

datatype_icon

target point

Cluster of points that defines the target contour.

datatype_icon

x

X-coordinate of the point.

datatype_icon

y

Y-coordinate of the point.

datatype_icon

distance

Distance, in pixels, between the template contour point and the target contour point.

datatype_icon

distances (real-world)

Array containing the computed distances in calibrated units.

datatype_icon

template point

Cluster of points that defines the template contour.

datatype_icon

x

X-coordinate of the point.

datatype_icon

y

Y-coordinate of the point.

datatype_icon

target point

Cluster of points that defines the target contour.

datatype_icon

x

X-coordinate of the point.

datatype_icon

y

Y-coordinate of the point.

datatype_icon

distance

Distance, in calibrated units, between the template contour point and the target contour point.

datatype_icon

error out

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.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics