Class SoDilationSquareColorProcessing2d
- 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.mathematicalmorphology.erosionanddilation.SoDilationSquareColorProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
public class SoDilationSquareColorProcessing2d extends SoImageVizEngine
SoDilationSquareColorProcessing2d
engine. TheSoDilationSquareColorProcessing2d
engine performs a dilation on a true-color image.For an introduction, see:
- section Morphology
- Introduction and definition for dilations
This engine performs a dilation on a true-color image composed of 3 channels: red, green and blue. The maximum in the neighborhood is either computed on the Luminance or the Saturation of pixels, and the center is set to the pixel which gives the maximum Luminance or Saturation. With this method, no new color is created.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoDilationSquareColorProcessing2d.CriterionPlanes
-
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<SoDilationSquareColorProcessing2d.CriterionPlanes>
criterionPlane
The plane to compute criterion.SoSFInt32
elementSize
The half size of the structuring element.SoSFImageDataAdapter
inColorImage
The input color image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outColorImage
The output color 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 SoDilationSquareColorProcessing2d()
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
-
inColorImage
public final SoSFImageDataAdapter inColorImage
The input color image. Default value is NULL. Supported types include: color image.
-
elementSize
public final SoSFInt32 elementSize
The half size of the structuring element. A structuring element always has an odd side length (3x3, 5x5, etc) which is defined by 2 * elementSize + 1. Default value is 3.
-
criterionPlane
public final SoSFEnum<SoDilationSquareColorProcessing2d.CriterionPlanes> criterionPlane
The plane to compute criterion. . Default is LUMINANCE
-
outColorImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outColorImage
The output color image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-