Class SoIntensityHistogramQuantification
- 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.globalmeasures.SoIntensityHistogramQuantification
-
- All Implemented Interfaces:
SafeDisposable
public class SoIntensityHistogramQuantification extends SoImageVizEngine
SoIntensityHistogramQuantification
engine. This engine computes the histogram of a gray level image. For each gray level i of the input image, the number of pixels with intensity i is computed.Note: After the engine executes, the
outResult
field contains multiple instances ofSbIntensityHistogramDetail
, one for each bin of the histogram. Get the number of bins by calling the getNumDetails() method on the outResult field.See example: $OIVHOME/examples/source/ImageViz/ResultsDisplay/ImageHistogram
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoIntensityHistogramQuantification.RangeModes
static class
SoIntensityHistogramQuantification.SbIntensityHistogramDetail
Results details ofSoIntensityHistogramQuantification
.-
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 SoSFImageDataAdapter
inImage
The input gray scale image.SoSFVec2i32
intensityRangeInput
The minimal and maximal value of the histogram when the rangeMode field is set to OTHER.SoImageVizEngineAnalysisOutput<SoIntensityHistogramQuantification.SbIntensityHistogramDetail>
outResult
The output histogram.SoSFEnum<SoIntensityHistogramQuantification.RangeModes>
rangeMode
This parameter defines if the histogram has to be computed between the minimum and maximum input intensities (MIN_MAX) or inside a predefined range (OTHER).-
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 SoIntensityHistogramQuantification()
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
-
inImage
public final SoSFImageDataAdapter inImage
The input gray scale image. Default value is NULL. Supported types include: grayscale binary label image.
-
rangeMode
public final SoSFEnum<SoIntensityHistogramQuantification.RangeModes> rangeMode
This parameter defines if the histogram has to be computed between the minimum and maximum input intensities (MIN_MAX) or inside a predefined range (OTHER). . Default is MIN_MAX
-
intensityRangeInput
public final SoSFVec2i32 intensityRangeInput
The minimal and maximal value of the histogram when the rangeMode field is set to OTHER. This field is unused if rangeMode is set to MIN_MAX. Default value isSbVec2i32(0,255)
.
-
outResult
public final SoImageVizEngineAnalysisOutput<SoIntensityHistogramQuantification.SbIntensityHistogramDetail> outResult
The output histogram. Default value is NULL.
-
-