SoCompareValueQuantification engine applies a comparison test between an image and a constant value.
More...
#include <ImageViz/Engines/ImageAnalysis/Statistics/SoCompareValueQuantification.h>
Classes | |
| class | SbCompareDetail |
| Results details of comparison between two images. More... | |
Public Types | |
| enum | ComparisonCriterion { LESS_THAN = 0, LESS_OR_EQUAL = 1, EQUAL_TO = 2, GREATER_OR_EQUAL = 3, GREATER_THAN = 4, NOT_EQUAL_TO = 5 } |
Public Member Functions | |
| SoCompareValueQuantification () | |
Public Attributes | |
| SoSFEnum | computeMode |
| SoSFImageDataAdapter | inImage |
| SoSFFloat | operandValue |
| SoSFEnum | comparisonCriterion |
| SoImageVizEngineAnalysisOutput < SbCompareDetail > | outResult |
SoCompareValueQuantification engine applies a comparison test between an image and a constant value.
The SoCompareValueQuantification engine computes the number of pixels which pass a comparison test between between an image
and a constant value
. The comparison criteria include: Less-than, Less-or-Equal, Equal-to, Greater-or-Equal, Greater-Than Not-Equalto.
| computeMode | MODE_AUTO |
| inImage | NULL |
| operandValue | 0.0f |
| comparisonCriterion | NOT_EQUAL_TO |
| SoCompareValueQuantification::SoCompareValueQuantification | ( | ) |
Constructor.
Select the comparison test to perform between image and value.
Use enum ComparisonCriterion. Default is NOT_EQUAL_TO
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input image operand.
Default value is NULL. Supported types include: grayscale binary label color image.
The floating value to compare.
Default value is 0.0f.
The output measure result.
Default value is NULL.