This algorithm computes a list of measurements for each label of the input image, and generates an output
AnalysisMsr object containing the result values.
If the label input image has a coordinate system unit defined in its calibration property, analysis results
are expressed in this coordinate system unit.
More details about each available measurement can be found in the
NativeMeasurement object.
// Function prototype.publicstaticAnalysisMsrLabelAnalysis(IOLink.ImageView inputLabelImage,IOLink.ImageView inputIntensityImage,AnalysisMsr outputAnalysis =null);
Class Syntax
// Command constructor.LabelAnalysis();/// Gets the inputLabelImage parameter./// The label input image.
std::shared_ptr< iolink::ImageView> inputLabelImage()const;/// Sets the inputLabelImage parameter./// The label input image.void setInputLabelImage( std::shared_ptr< iolink::ImageView> inputLabelImage );/// Gets the inputIntensityImage parameter./// The intensity input image. If it equals null, the label input image will be used as the intensity input image.
std::shared_ptr< iolink::ImageView> inputIntensityImage()const;/// Sets the inputIntensityImage parameter./// The intensity input image. If it equals null, the label input image will be used as the intensity input image.void setInputIntensityImage( std::shared_ptr< iolink::ImageView> inputIntensityImage );/// Gets the outputAnalysis parameter./// The input and output analysis. This object defines the features to measure and stores the results.AnalysisMsr::Ptr outputAnalysis()const;/// Sets the outputAnalysis parameter./// The input and output analysis. This object defines the features to measure and stores the results.void setOutputAnalysis(AnalysisMsr::Ptr outputAnalysis );// Method to launch the command.void execute();
# Property of the inputLabelImage parameter.LabelAnalysis.input_label_image
# Property of the inputIntensityImage parameter.LabelAnalysis.input_intensity_image
# Property of the outputAnalysis parameter.LabelAnalysis.output_analysis
// Method to launch the command.
execute()
// Command constructor.LabelAnalysis()// Property of the inputLabelImage parameter.LabelAnalysis.inputLabelImage
// Property of the inputIntensityImage parameter.LabelAnalysis.inputIntensityImage
// Property of the outputAnalysis parameter.LabelAnalysis.outputAnalysis
// Method to launch the command.Execute()
Parameters
Parameter Name
Description
Type
Supported Values
Default Value
inputLabelImage
The label input image.
Image
Label
nullptr
inputIntensityImage
The intensity input image. If it equals null, the label input image will be used as the intensity input image.
Image
Binary, Label, Grayscale or Multispectral
nullptr
outputAnalysis
The input and output analysis. This object defines the features to measure and stores the results.