Class SoAreaQuantification2d
- 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.SoAreaQuantification2d
-
- All Implemented Interfaces:
SafeDisposable
public class SoAreaQuantification2d extends SoImageVizEngine
SoAreaQuantification2d
engineSoAreaQuantification2d
computes the area of the pixels object. For an introduction, see section Image Analysis.In the continuous, or theoretical, case, area is defined as:
In the discrete, or actual, case, area is approximated by the number of pixels in X:
Where :
The area measure can be weighted by a size factor which characterizes the area of a single pixel. In which case, the measure is physically homogeneous to the area.
On a binary image, this module returns the number of non zero pixels in the image. Computed area takes into account pixel size.
See also:
SoIntensityIntegralQuantification2d
,SoIntensityIntegralQuantification3d
.File format/default:
AreaQuantification2d {
inImage NULL
Library references: area
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoAreaQuantification2d.SbArea2DDetail
Results details of 2d Area measurement.-
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 binary image.SoImageVizEngineAnalysisOutput<SoAreaQuantification2d.SbArea2DDetail>
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 SoAreaQuantification2d()
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 binary image. Default value is NULL. Supported types include: binary color image.
-
outResult
public final SoImageVizEngineAnalysisOutput<SoAreaQuantification2d.SbArea2DDetail> outResult
The output measure result. Default value is NULL.
-
-