Table Of Contents

Fit Contour (Fit Contour (Ellipse)) (G Dataflow)

Last Modified: June 25, 2019

Fits a contour with an ellipse.

connector_pane_image
datatype_icon

contour image in

Reference to the image containing a contour.

datatype_icon

pixel radius

Acceptable distance, in pixels, that a point determined to belong to the ellipse can be from the perimeter of the ellipse.

datatype_icon

reject outliers

Boolean input that controls whether to use every given radial point or only a subset of the points to fit the ellipse.

True The algorithm determines the best subset of points to use and ignores the outliers (the points outside the subset).
False The algorithm uses every given point.
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 a contour.

datatype_icon

ellipse

Best-fit ellipse.

datatype_icon

center

Coordinates of the center of the ellipse.

datatype_icon

Angle

Orientation of the major axis with respect to the horizontal.

datatype_icon

Major Radius

Length of the semi-major axis.

datatype_icon

Minor Radius

Length of the semi-minor axis.

datatype_icon

Start Angle

First angle of the circular strip.

The angle is measured counterclockwise from the x-axis of a coordinate system centered on the center of the ellipse.

datatype_icon

End Angle

Second angle of the circular strip.

The angle is measured counterclockwise from the x-axis of a coordinate system centered on the center of the ellipse.

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