Table Of Contents

Line Profile (G Dataflow)

Last Modified: October 26, 2017

Calculates the profile of a line of pixels.

The relevant pixel information is taken from the specified line vector.

connector_pane_image
datatype_icon

image in

Reference to the source image.

datatype_icon

line coordinates

Array specifying the pixel coordinates that form the end points of the line.

A line with the coordinates (0, 0, 0, 255) is formed from 256 pixels. Any pixels designated by line coordinates that lie outside the actual image are set to 0 in pixels line.

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

line information

Cluster containing relevant information about the pixels found in the specified vector.

datatype_icon

min

Smallest pixel value found in the line profile.

datatype_icon

max

Largest pixel value found in the line profile.

datatype_icon

mean

Mean value of the pixels found in the line profile.

datatype_icon

std dev

Standard deviation from the line profile.

datatype_icon

count

Number of pixels found in the line profile.

datatype_icon

line graph

Cluster that contains the line 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

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

datatype_icon

bounding rectangle

Cluster that contains the coordinates of a bounding rectangle for the line 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.

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