Class SoNagaoFilterProcessing2d
- 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.smoothinganddenoising.SoNagaoFilterProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
public class SoNagaoFilterProcessing2d extends SoImageVizEngine
SoNagaoFilterProcessing2d
engine. TheSoNagaoFilterProcessing2d
engine computes a mean neighbors value around a central pixel.For an introduction to image filters, see section Images Filters.
This engine uses an adaptive 5x5 neighborhood geometry to compute a mean neighbors value around a central pixel. For each pixel, the used geometry is selected, among a predefined set, with respect to a minimum variance criterion. User can optionally switch this criterion to a minimum range criterion.
Four neighborhood geometry types are supported by this filter:
- The Tsuji-Tomita neighborhoods: a set of five 3x3 sub neighborhoods among the 5x5 main neighborhoods.
- The Nagao neighborhood with a set of nine 7 pixels sub neighborhoods among the 5x5 main neighborhoods:
- The Nagao neighborhood with a set of nine 9 pixels sub neighborhoods among the 5x5 main neighborhoods:
- The Nagmod neighborhood: a set of nine 3x3 sub neighborhoods among the 5x5 main neighborhoods
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoNagaoFilterProcessing2d.FilterMethods
static class
SoNagaoFilterProcessing2d.FilterTypes
-
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<SoNagaoFilterProcessing2d.FilterMethods>
filterMethod
Select the filter method.SoSFEnum<SoNagaoFilterProcessing2d.FilterTypes>
filterType
Select the filter type.SoSFImageDataAdapter
inImage
The input image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
The output image.-
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 SoNagaoFilterProcessing2d()
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 image. Default value is NULL. Supported types include: grayscale binary label color image.
-
filterType
public final SoSFEnum<SoNagaoFilterProcessing2d.FilterTypes> filterType
Select the filter type. . Default is TSUJI
-
filterMethod
public final SoSFEnum<SoNagaoFilterProcessing2d.FilterMethods> filterMethod
Select the filter method. . Default is VARIANCE
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
The output image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-