Table Of Contents

ROI Profile (G Dataflow)

Last Modified: June 25, 2019

Calculates the profile of the pixels along the boundary of an ROI descriptor.

This node also returns information such as pixel statistics and the coordinates of the pixels along the ROI boundary.

connector_pane_image
datatype_icon

image in

Reference to the source image.

datatype_icon

ROI descriptor

Input that defines the region of interest.

datatype_icon

global rectangle

Minimum rectangle required to contain all of the contours in the ROI.

datatype_icon

Contours

Individual shapes that define an ROI.

datatype_icon

ID

Object specifying if contour is the external or internal edge of an ROI.

datatype_icon

Type

Shape type of the contour.

datatype_icon

Coordinates

Relative position of the contour.

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

image out

Reference to the source image.

datatype_icon

pixel coordinates

Array containing the spatial coordinates of each pixel along the ROI boundary.

datatype_icon

ROI graph

Cluster that contains the ROI profile with an x-origin at 0 and an increment of 1.

datatype_icon

x0

Output that always returns 0.

datatype_icon

dx

Output that always returns 1.

datatype_icon

pixels line

ROI profile calculated in an array where elements represent the pixel values belonging to the specified vector.

datatype_icon

ROI pixel statistics

Cluster containing relevant information about the pixels found along the ROI boundary.

datatype_icon

min

Smallest pixel value found in the ROI profile.

datatype_icon

max

Largest pixel value found in the ROI profile.

datatype_icon

mean

Mean value of the pixels found in the ROI profile.

datatype_icon

std dev

Standard deviation from the ROI profile.

datatype_icon

count

Count of pixels found in the ROI profile.

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.
datatype_icon

bounding rectangle

Cluster that contains the coordinates of a bounding rectangle for the ROI in the image.

datatype_icon

x1Left

X-coordinate of the top-left corner of the rectangle.

datatype_icon

y1Top

Y-coordinate of the top-left corner of the rectangle.

datatype_icon

x2Right

X-coordinate of the bottom-right corner of the rectangle.

datatype_icon

y2Bottom

Y-coordinate of the bottom-right corner of the rectangle.

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