Class SoObjectCountQuantification
- 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.SoObjectCountQuantification
-
- All Implemented Interfaces:
SafeDisposable
public class SoObjectCountQuantification extends SoImageVizEngine
SoObjectCountQuantification
engine computes the number of objects in an image. TheSoObjectCountQuantification
engine computes the number of objects in a binary image or a labelled image. The number of objects is equal to the maximum grey level value of the labelled image.Note - If the input image is a binary image the engine first computes the labelled image, and then computes its maximum.
- If the input image is a label image the engine makes a copy of it.
File format/default:
ObjectCountQuantification {
inObjectImage NULL
Library references: number
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoObjectCountQuantification.SbObjectCountDetail
Results details of objects count global measure.-
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
inObjectImage
The input binary or label image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outLabelImage
The output image.SoImageVizEngineAnalysisOutput<SoObjectCountQuantification.SbObjectCountDetail>
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 SoObjectCountQuantification()
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
-
inObjectImage
public final SoSFImageDataAdapter inObjectImage
The input binary or label image. Default value is NULL. Supported types include: binary label color image.
-
outLabelImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
The output image. Default value is NULL. Supported types include: label image.
-
outResult
public final SoImageVizEngineAnalysisOutput<SoObjectCountQuantification.SbObjectCountDetail> outResult
The output measure result. Default value is NULL.
-
-