public class SoAreaQuantification2d extends SoImageVizEngine
SoAreaQuantification2d
engine SoAreaQuantification2d
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
Modifier and Type | Class and Description |
---|---|
static class |
SoAreaQuantification2d.SbArea2DDetail
Results details of 2d Area measurement.
|
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFImageDataAdapter |
inImage
The input binary image.
|
SoImageVizEngineAnalysisOutput<SoAreaQuantification2d.SbArea2DDetail> |
outResult
The output measure result.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAreaQuantification2d()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFImageDataAdapter inImage
public final SoImageVizEngineAnalysisOutput<SoAreaQuantification2d.SbArea2DDetail> outResult
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com