Click or drag to resize
OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures Namespace

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

Classes
  ClassDescription
Public classSoFilterAnalysisQuantification

OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures.SoFilterAnalysisQuantification engine removes from the input label analysis labels whose measure does not fulfill a filter formula.

Public classSoFilterByMeasureProcessing

OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures.SoFilterByMeasureProcessing engine allows filtering objects given a target measure and a filter criterion.

Public classSoLabelAnalysisQuantification

OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures.SoLabelAnalysisQuantification engine performs measurements on objects from a label image.

Public classSoLabelFilteringAnalysisQuantification

OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures.SoLabelFilteringAnalysisQuantification engine computes measurements on objects from a label image and filters the result according to a given formula.

Public classSoLabelFilteringProcessing

OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures.SoLabelFilteringProcessing engine filters objects from a label image according to a given formula.

Public classSoMeasureImageProcessing

OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures.SoMeasureImageProcessing engine allows to replace all labels of the input image by the result of an individual measure.

Public classSoSieveLabelingProcessing

OIV.ImageViz.Engines.ImageAnalysis.IndividualMeasures.SoSieveLabelingProcessing engine produces a new label image by grouping labels of the input label image.

Enumerations
Remarks

For an introduction, see section OIV.ImageViz.Engines.ImageAnalysis

Most of these engines have a field to set one or several input OIV.ImageViz.Nodes.Measures.

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"