Class SoLocalStatisticsProcessing
- 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.imagefiltering.texturefilters.SoLocalStatisticsProcessing
-
- All Implemented Interfaces:
SafeDisposable
@Deprecated(since="2023.2") public class SoLocalStatisticsProcessing extends SoImageVizEngine
Deprecated.As of Open Inventor 2023.2. ImageViz API is replaced by the new ImageDev toolkit.SoLocalStatisticsProcessing
engine.SoLocalStatisticsProcessing
image filter computes statistics on a sliding window.The
SoLocalStatisticsProcessing
filter computes for each voxel of an image the value of a selected statistical operator on a predefined neighborhood. It creates a result image where output pixel values are only function of the corresponding pixel values in the input image and its neighborhood of a given size. These output values are extracted from local histograms which are arrays representing the number of pixels per value in the neighborhood. In the equations of each statistical operator description,corresponds to the probability to have a pixel with value
(i.e., the number of pixels of value
divided by the total number of pixels in the neighborhood).
Available statistical operators are:
- MEAN
- VARIANCE
- SKEWNESS
- KURTOSIS
- VARIATION
- CONTRAST
- ENERGY
- ENTROPY
File format/default:
LocalStatisticsProcessing {
computeMode MODE_AUTO statisticalOperator MEAN inImage NULL kernelSize 3 kernelShape BALL
Library references: lcontrast lenergy lentropy lkurtosis lmean lskewness lvariance lvariation lcontrast3d lenergy3d lentropy3d lkurtosis3d lmean3d lskewness3d lvariance3d lvariation3d
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoLocalStatisticsProcessing.KernelShapes
Deprecated.static class
SoLocalStatisticsProcessing.StatisticalOperators
Deprecated.-
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<SoImageVizEngine.ComputeModes>
computeMode
Deprecated.Select the compute Mode (2D or 3D or AUTO) .SoSFImageDataAdapter
inImage
Deprecated.The input image.SoSFEnum<SoLocalStatisticsProcessing.KernelShapes>
kernelShape
Deprecated.Shape of the neighborhood.SoSFInt32
kernelSize
Deprecated.Specifies the size of the kernel.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
Deprecated.The output image.SoSFEnum<SoLocalStatisticsProcessing.StatisticalOperators>
statisticalOperator
Deprecated.Select the first order measure to compute.-
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 SoLocalStatisticsProcessing()
Deprecated.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
Deprecated.Select the compute Mode (2D or 3D or AUTO) . Default is MODE_AUTO
-
statisticalOperator
public final SoSFEnum<SoLocalStatisticsProcessing.StatisticalOperators> statisticalOperator
Deprecated.Select the first order measure to compute. . Default is MEAN
-
inImage
public final SoSFImageDataAdapter inImage
Deprecated.The input image. Default value is NULL. Supported types include: grayscale binary label color image.
-
kernelSize
public final SoSFInt32 kernelSize
Deprecated.Specifies the size of the kernel. The value of kernelSize is actually the 'half' kernel size. For example, kernelSize = 1 applies a 3x3(x3) pixel kernel in 2D(3D) when kernelShape is CUBE. Default value is 3.
-
kernelShape
public final SoSFEnum<SoLocalStatisticsProcessing.KernelShapes> kernelShape
Deprecated.Shape of the neighborhood. . Default is BALL
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Deprecated.The output image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-