| OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures Namespace |
The Individual Measures category contains analysis engines applying a measurement on each label of the input image.
| Class | Description | |
|---|---|---|
| SoFilterAnalysisQuantification | SoFilterAnalysisQuantification engine removes from the input label analysis labels whose measure does not fulfill a filter formula. | |
| SoFilterByMeasureProcessing | SoFilterByMeasureProcessing engine allows filtering objects given a target measure and a filter criterion. | |
| SoLabelAnalysisQuantification | SoLabelAnalysisQuantification engine performs measurements on objects from a label image. | |
| SoLabelFilteringAnalysisQuantification | SoLabelFilteringAnalysisQuantification engine computes measurements on objects from a label image and filters the result according to a given formula. | |
| SoLabelFilteringProcessing | SoLabelFilteringProcessing engine filters objects from a label image according to a given formula. | |
| SoMeasureImageProcessing | SoMeasureImageProcessing engine allows to replace all labels of the input image by the result of an individual measure. | |
| SoSieveLabelingProcessing | SoSieveLabelingProcessing engine produces a new label image by grouping labels of the input label image. |
| Enumeration | Description | |
|---|---|---|
| SoFilterByMeasureProcessingMeasureFilterTypes |
For an introduction, see section Image Analysis
Most of these engines have a field to set one or several input measurements.
Object filtering allows removing or keeping shapes from a binary or label image according to measurement criteria. Some engines need a formula to define the filter to apply.
Following engines filter an image with criteria defined in a formula:
The formula syntax accepts the following list of available mathematical and logical operators:
+ - / * ** : The basic mathematical operators (addition, subtraction, division, multiplication, power)
! : Unary negation
< > <= >= != == : Comparison operators less, greater, less or equal, greater or equal, not equal and equal
&& || and or : Logical operators and, or, and and or
Moreover an element of a distribution can be accessed by the operator []
FeretInputX[2] : The third element of the distribution FeretInputX
e.g., : To define a filter the equivalent diameter measurement for an analysis:
labelFilter->inFilter = SoDataMeasurePredefined.getName(SoDataMeasurePredefined.EQUIVALENT_DIAMETER_2D) + "< 50"