public class SoDoBFilterProcessing extends SoImageVizEngine
SoDoBFilterProcessingengine calculates the difference between two local averages.
For an introduction, see:
SoDoBFilterProcessing calculates the difference between two local averages computed over square neighborhoods of different kernel sizes (Difference Of Boxes) applied on the same image. The operation consists of the same filter performed with two different kernel sizes. Sizes of kernels must be an odd number.
This operation applied to a 1D step edge is shown in the figure below.
Typical size ratios of the neighborhoods (width of /width of ) range between 1.5 and 2.5. and are parametrized by the field
largeBoxSize. For example, kernels of 5x5/3x3 or 9X9/5X5 can be used.
SoDoBFilterProcessing does not compute the Laplacian of an image, but it is a good approximation and has the main advantage of not generating isolated points. To keep a correct representation of the edges and a maximum of detail, do not use very large kernels (3, 5 and 7 are the most frequent values). The deviation between the two masks has a direct effect on the edges. If the difference is too large, the edges are very thick and all small details disappear. If the difference is small (less than 4), the edges are very thin and details more precise.
Library references: dob_filter dob_filter3d
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
|Modifier and Type||Field and Description|
Select the compute Mode (2D or 3D or AUTO) .
The input image.
The size of the large box.
The output image.
The size of the small box.
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
|Constructor and Description|
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 SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inImage
public final SoSFInt32 smallBoxSize
public final SoSFInt32 largeBoxSize
Generated on September 3, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com