# Individual Measures [Image Analysis]

The Individual Measures category contains analysis engines applying a measurement on each label of the input image. More...

## Classes

class  SoFilterAnalysisQuantification
SoFilterAnalysisQuantification engine removes from the input label analysis labels whose measure does not fulfill a filter formula. More...
class  SoFilterByMeasureProcessing
SoFilterByMeasureProcessing engine allows filtering objects given a target measure and a filter criterion. More...
class  SoLabelAnalysisQuantification
SoLabelAnalysisQuantification engine performs measurements on objects from a label image. More...
class  SoLabelFilteringAnalysisQuantification
SoLabelFilteringAnalysisQuantification engine computes measurements on objects from a label image and filters the result according to a given formula. More...
class  SoLabelFilteringProcessing
SoLabelFilteringProcessing engine filters objects from a label image according to a given formula. More...
class  SoMeasureImageProcessing
SoMeasureImageProcessing engine allows to replace all labels of the input image by the result of an individual measure. More...
class  SoSieveLabelingProcessing
SoSieveLabelingProcessing engine produces a new label image by grouping labels of the input label image. More...

## Detailed Description

The Individual Measures category contains analysis engines applying a measurement on each label of the input image.

For an introduction, see section Image Analysis

Most of these engines have a field to set one or several input measurements.

## Label filtering from an image

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.

### How to define a filter formula

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"
```

Open Inventor Toolkit reference manual, generated on 12 Sep 2019