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.
Reference to the source image.
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
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.
Default: No error
Reference to the image input.
Array that returns a set of uncalibrated pixel measurements from the detected particles.
Area of the particle.
Number of holes in the particle.
Holes as small as one pixel can be detected inside a particle.
Smallest rectangle with sides parallel to the x-axis and y-axis that completely encloses the particle.
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.
Angle of the line passing through the particle center of mass with the lowest moment of inertia.
Width and height of bounding rect.
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.
Area of the particle.
Number of holes in the particle.
Holes as small as one pixel can be detected inside a particle.
Smallest rectangle with sides parallel to the x-axis and y-axis that completely encloses the particle.
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.
Angle of the line passing through the particle center of mass with the lowest moment of inertia.
Width and height of bounding rect.
Number of particles detected in the image.
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.
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