SoThresholdingByCriterionProcessing Class Reference
[Binarization]

ImageViz SoThresholdingByCriterionProcessing engine More...

#include <ImageViz/Engines/ImageSegmentation/Binarization/SoThresholdingByCriterionProcessing.h>

Inheritance diagram for SoThresholdingByCriterionProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  ComparisonCriterion {
  LESS_THAN = 0,
  LESS_THAN_OR_EQUAL_TO = 1,
  EQUAL_TO = 2,
  GREATER_THAN_OR_EQUAL_TO = 3,
  GREATER_THAN = 4,
  NOT_EQUAL_TO = 5
}

Public Member Functions

 SoThresholdingByCriterionProcessing ()

Public Attributes

SoSFImageDataAdapter inGrayImage
SoSFEnum comparisonCriterion
SoSFFloat comparisonValue
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outBinaryImage

Detailed Description

ImageViz SoThresholdingByCriterionProcessing engine

The SoThresholdingByCriterionProcessing engine performs a criterion based thresholding on an image. For each voxel, if the input value meets the specified criterion, then the output is set to 1, otherwise it is set to 0.

SEE ALSO

SoThresholdingProcessing.

FILE FORMAT/DEFAULT


Library references: threshold_criterion


Member Enumeration Documentation

Enumerator:
LESS_THAN 

Voxels having a value less than the supplied value are set to 1, others are set to 0.

LESS_THAN_OR_EQUAL_TO 

Voxels having a value less than or equal to the supplied value are set to 1, others are set to 0.

EQUAL_TO 

Voxels having a value equal to the supplied value are set to 1, others are set to 0.

GREATER_THAN_OR_EQUAL_TO 

Voxels having a value greater than or equal to the supplied value are set to 1, others are set to 0.

GREATER_THAN 

Voxels having a value greater than the supplied value are set to 1, others are set to 0.

NOT_EQUAL_TO 

Voxels having a value different from the supplied value are set to 1, others are set to 0.


Constructor & Destructor Documentation

SoThresholdingByCriterionProcessing::SoThresholdingByCriterionProcessing (  ) 

Constructor.


Member Data Documentation

Criterion of comparison.

Use enum ComparisonCriterion. Default is LESS_THAN

Threshold level.

Default value is 0.0f.

Input grey level image.

Default value is NULL. Supported types include: grayscale binary label image.

The output binary image.

Default value is NULL. Supported types include: binary image.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/