public class SoErosionSquareColorProcessing2d extends SoImageVizEngine
SoErosionSquareColorProcessing2d engine
The SoErosionSquareColorProcessing2d engine performs an erosion on a true-color image.
For an introduction, see:
This engine performs an erosion on a true-color image, composed of 3 channels: red, green and blue. The minimum 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 minimum Luminance or Saturation. With this method, no new color is created.
See also:
SoDilationSquareColorProcessing2d.
File format/default:
ErosionSquareColorProcessing2d {
| inColorImage | NULL |
| elementSize | 3 |
| criterionPlane | LUMINANCE |
Library references: colorerode
| Modifier and Type | Class and Description |
|---|---|
static class |
SoErosionSquareColorProcessing2d.CriterionPlanes |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFEnum<SoErosionSquareColorProcessing2d.CriterionPlanes> |
criterionPlane
The plane to compute criterion.
|
SoSFInt32 |
elementSize
The half size of the structuring element.
|
SoSFImageDataAdapter |
inColorImage
The input color image.
|
static int |
LUMINANCE
Deprecated.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outColorImage
The output color image.
|
static int |
SATURATION
Deprecated.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoErosionSquareColorProcessing2d()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluatecopy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int LUMINANCE
SoErosionSquareColorProcessing2d.CriterionPlanes.LUMINANCE instead.@Deprecated public static final int SATURATION
SoErosionSquareColorProcessing2d.CriterionPlanes.SATURATION instead.public final SoSFImageDataAdapter inColorImage
public final SoSFInt32 elementSize
public final SoSFEnum<SoErosionSquareColorProcessing2d.CriterionPlanes> criterionPlane
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outColorImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com