Class SoCompareImageQuantification
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.imageanalysis.statistics.SoCompareImageQuantification
-
- All Implemented Interfaces:
SafeDisposable
public class SoCompareImageQuantification extends SoImageVizEngine
SoCompareImageQuantification
engine applies a comparison test between two images. TheSoCompareImageQuantification
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.Note SoCompareImageQuantification
can be useful to check if two images are exactly identical. Both images must have same size and type.File format/default:
CompareImageQuantification {
computeMode MODE_AUTO inImage1 NULL inImage2 NULL comparisonCriterion NOT_EQUAL_TO
Library references: compareimage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoCompareImageQuantification.ComparisonCriterions
static class
SoCompareImageQuantification.SbCompareDetail
Results details of comparison between two images.-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFEnum<SoCompareImageQuantification.ComparisonCriterions>
comparisonCriterion
Select the comparison test to perform between images.SoSFEnum<SoImageVizEngine.ComputeModes>
computeMode
Select the compute Mode (2D or 3D or AUTO) .SoSFImageDataAdapter
inImage1
The 1st input image.SoSFImageDataAdapter
inImage2
The 2nd input image.SoImageVizEngineAnalysisOutput<SoCompareImageQuantification.SbCompareDetail>
outResult
The output measure result.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoCompareImageQuantification()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
computeMode
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
Select the compute Mode (2D or 3D or AUTO) . Default is MODE_AUTO
-
inImage1
public final SoSFImageDataAdapter inImage1
The 1st input image. Default value is NULL. Supported types include: grayscale binary label color image.
-
inImage2
public final SoSFImageDataAdapter inImage2
The 2nd input image. Default value is NULL. Supported types include: grayscale binary label color image.
-
comparisonCriterion
public final SoSFEnum<SoCompareImageQuantification.ComparisonCriterions> comparisonCriterion
Select the comparison test to perform between images. . Default is NOT_EQUAL_TO
-
outResult
public final SoImageVizEngineAnalysisOutput<SoCompareImageQuantification.SbCompareDetail> outResult
The output measure result. Default value is NULL.
-
-