SoCompareImageQuantification engine applies a comparison test between two images More...
#include <ImageViz/Engines/ImageAnalysis/Statistics/SoCompareImageQuantification.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 | |
SoCompareImageQuantification () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inImage1 |
SoSFImageDataAdapter | inImage2 |
SoSFEnum | comparisonCriterion |
SoImageVizEngineAnalysisOutput < SbCompareDetail > | outResult |
The SoCompareImageQuantification engine computes the number of pixels/voxels which pass a comparison test between two images and . The comparison criteria include: Less-than, Less-or-Equal, Equal-to, Greater-or-Equal, Greater-Than Not-Equalto.
computeMode | MODE_AUTO |
inImage1 | NULL |
inImage2 | NULL |
comparisonCriterion | NOT_EQUAL_TO |
SoCompareImageQuantification::SoCompareImageQuantification | ( | ) |
Constructor.
Select the comparison test to perform between images.
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 1st input image.
Default value is NULL. Supported types include: grayscale binary label color image.
The 2nd input image.
Default value is NULL. Supported types include: grayscale binary label color image.
The output measure result.
Default value is NULL.