Class SoCompareValueQuantification
- 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.SoCompareValueQuantification
-
- All Implemented Interfaces:
SafeDisposable
public class SoCompareValueQuantification extends SoImageVizEngine
SoCompareValueQuantification
engine applies a comparison test between an image and a constant value. TheSoCompareValueQuantification
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.File format/default:
CompareValueQuantification {
computeMode MODE_AUTO inImage NULL operandValue 0.0f comparisonCriterion NOT_EQUAL_TO
Library references: comparevalue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoCompareValueQuantification.ComparisonCriterions
static class
SoCompareValueQuantification.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<SoCompareValueQuantification.ComparisonCriterions>
comparisonCriterion
Select the comparison test to perform between image and value.SoSFEnum<SoImageVizEngine.ComputeModes>
computeMode
Select the compute Mode (2D or 3D or AUTO) .SoSFImageDataAdapter
inImage
The input image operand.SoSFFloat
operandValue
The floating value to compare.SoImageVizEngineAnalysisOutput<SoCompareValueQuantification.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 SoCompareValueQuantification()
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
-
inImage
public final SoSFImageDataAdapter inImage
The input image operand. Default value is NULL. Supported types include: grayscale binary label color image.
-
operandValue
public final SoSFFloat operandValue
The floating value to compare. Default value is 0.0f.
-
comparisonCriterion
public final SoSFEnum<SoCompareValueQuantification.ComparisonCriterions> comparisonCriterion
Select the comparison test to perform between image and value. . Default is NOT_EQUAL_TO
-
outResult
public final SoImageVizEngineAnalysisOutput<SoCompareValueQuantification.SbCompareDetail> outResult
The output measure result. Default value is NULL.
-
-