Table Of Contents

Particle Analysis Report (G Dataflow)

Last Modified: June 25, 2019

Returns the number of particles detected in a binary image and an array of reports containing the most commonly used particle measurements.

This node modifies the source image. If you need the original source image, create a copy of the image using the Copy Image node before using this node.

connector_pane_image
datatype_icon

image in

Reference to the source image.

datatype_icon

connectivity 4/8?

Boolean value that specifies the mode of connectivity used by the algorithm for particle detection.

8 (TRUE) Particle detection is performed in connectivity mode 8.
4 (FALSE) Particle detection is performed in connectivity mode 4.

The connectivity mode directly determines whether an adjacent pixel belongs to the same particle or a different particle.

Default: 8

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 image input.

datatype_icon

particle reports (pixel)

Array that returns a set of uncalibrated pixel measurements from the detected particles.

datatype_icon

area

Area of the particle.

datatype_icon

number of holes

Number of holes in the particle.

Holes as small as one pixel can be detected inside a particle.

datatype_icon

bounding rect

Smallest rectangle with sides parallel to the x-axis and y-axis that completely encloses the particle.

datatype_icon

center of mass

Point representing the average position of the total mass of the particle, assuming every point in the particle has a constant density.

center of mass can be located outside the particle if the particle is not convex.

datatype_icon

orientation

Angle of the line passing through the particle center of mass with the lowest moment of inertia.

datatype_icon

dimensions

Width and height of bounding rect.

datatype_icon

particle reports (real-world)

Array that returns a set of calibrated real-world measurements from the detected particles.

If the image has no calibration information, uncalibrated pixel measurements are returned.

datatype_icon

area

Area of the particle.

datatype_icon

number of holes

Number of holes in the particle.

Holes as small as one pixel can be detected inside a particle.

datatype_icon

bounding rect

Smallest rectangle with sides parallel to the x-axis and y-axis that completely encloses the particle.

datatype_icon

center of mass

Point representing the average position of the total mass of the particle, assuming every point in the particle has a constant density.

center of mass can be located outside the particle if the particle is not convex.

datatype_icon

orientation

Angle of the line passing through the particle center of mass with the lowest moment of inertia.

datatype_icon

dimensions

Width and height of bounding rect.

datatype_icon

number of particles

Number of particles detected in the image.

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

valid calibration flags

Boolean that indicates if the calibration information for a particle is valid.

valid calibration flags has one Boolean for each report in particle report (real-world). If the image has no calibration information, uncalibrated pixel measurements are returned. particle report (real-world) contains measurements for every particle regardless of whether the particle has valid or invalid calibration information.

TRUE Calibration information is valid.
FALSE Calibration information is invalid for any pixel in the particle.

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