Quantify

Description

Quantifies the contents of an image or the regions within an image. The region definition is performed with a labeled image mask. Each region of the mask has a single unique value. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8 and I16.
Documentation illustration (illustration unavailable in the archive). Image Mask : class,
type accepted U8 and I16.

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Global Report : cluster, contains the quantification data relative to all the regions within an image, or to the entire image if the Image Mask is not connected.

Documentation illustration (illustration unavailable in the archive). Mean Value : float, mean value of the pixels.
Documentation illustration (illustration unavailable in the archive).
Standard Variation : float,
pixel values indicates the distribution of the values in relation to the average. The higher this value, the better the distribution of the pixel values.
Documentation illustration (illustration unavailable in the archive).
Min Value : float,
returns the smallest pixel value.
Documentation illustration (illustration unavailable in the archive).
Max Value : float,
returns the largest pixel value.
Documentation illustration (illustration unavailable in the archive).
Area (calibrated) : float,
returns the analyzed surface area in user-defined units.
Documentation illustration (illustration unavailable in the archive).
Area (pixels) : integer,
returns the analyzed surface area in pixels.
Documentation illustration (illustration unavailable in the archive).
Percentage : float,
returns the percentage of the analyzed surface in relation to the complete image.
Documentation illustration (illustration unavailable in the archive).
Calibration Valid : boolean,
indicates whether the calibration information is valid. If the calibration information is invalid for any of the regions, Calibration Valid boolean is false.

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). Region Reports : array, contains the quantification data relative to each region within an image. Each pixel in the image mask indicates, by its pixel value, to which region the corresponding pixel in the image belongs. The nth element in this array contains the data regarding the nth + 1 region. The size of this array is equal to 2Bit Depth – 1. If the Image Mask is not connected, this array is empty. The quantification data is still returned for the entire image in the Global Report.

Documentation illustration (illustration unavailable in the archive). Mean Value : float, mean value of the pixels.
Documentation illustration (illustration unavailable in the archive).
Standard Variation : float,
pixel values indicates the distribution of the values in relation to the average. The higher this value, the better the distribution of the pixel values.
Documentation illustration (illustration unavailable in the archive).
Min Value : float,
returns the smallest pixel value.
Documentation illustration (illustration unavailable in the archive).
Max Value : float,
returns the largest pixel value.
Documentation illustration (illustration unavailable in the archive).
Area (calibrated) : float,
returns the analyzed surface area in user-defined units.
Documentation illustration (illustration unavailable in the archive).
Area (pixels) : integer,
returns the analyzed surface area in pixels.
Documentation illustration (illustration unavailable in the archive).
Percentage : float,
returns the percentage of the analyzed surface in relation to the complete image.
Documentation illustration (illustration unavailable in the archive).
Calibration Valid : boolean,
indicates whether the calibration information is valid. If the calibration information is invalid for any of the regions, Calibration Valid boolean is false.

Documentation illustration (illustration unavailable in the archive).

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision ​library to run it).