Table Of Contents

Particle Analysis (G Dataflow)

Last Modified: June 25, 2019

Returns the number of particles detected in a binary image and a 2D array of requested measurements about the particle.

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

measurements (pixel)

Array of measurement parameters you can request for each particle.

The parameters are returned as uncalibrated pixel measurements.

datatype_icon

measurements (real-world)

Array of measurement parameters you can request for each particle.

The parameters are returned as calibrated real-world measurements. If image in does not have any attached calibration information, the node returns pixel measurements.

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

datatype_icon

particle measurements (pixel)

2D array that returns the requested pixel measurements from the detected particles.

The array has one column for each measurement requested in measurements (pixel) and one row for each particle detected.

datatype_icon

particle measurements (real-world)

2D array that returns the requested calibrated real-world measurements from the detected particles.

The array has one column for each measurement requested in particle measurments (real-world) and one row for each particle detected. If image indoes not have any attached calibration information, the node returns pixel measurements.

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