Table of Contents

Class DTFilter

Namespace
Emgu.CV.XImgproc
Assembly
Emgu.CV.dll

Interface for realizations of Domain Transform filter.

public class DTFilter : UnmanagedObject, IDisposable
Inheritance
DTFilter
Implements
Inherited Members

Constructors

DTFilter(IInputArray, double, double, Mode, int)

Create instance of DTFilter and produce initialization routines.

public DTFilter(IInputArray guide, double sigmaSpatial, double sigmaColor, DTFilter.Mode mode = Mode.NC, int numIters = 3)

Parameters

guide IInputArray

Guided image (used to build transformed distance, which describes edge structure of guided image).

sigmaSpatial double

Parameter in the original article, it's similar to the sigma in the coordinate space into bilateralFilter.

sigmaColor double

Parameter in the original article, it's similar to the sigma in the color space into bilateralFilter.

mode DTFilter.Mode

One form three modes DTF_NC, DTF_RF and DTF_IC which corresponds to three modes for filtering 2D signals in the article.

numIters int

Optional number of iterations used for filtering, 3 is quite enough.

Methods

DisposeObject()

Release the unmanaged memory associated with this object

protected override void DisposeObject()

Filter(IInputArray, IOutputArray, DepthType)

Produce domain transform filtering operation on source image.

public void Filter(IInputArray src, IOutputArray dst, DepthType dDepth = DepthType.Default)

Parameters

src IInputArray

Filtering image with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels.

dst IOutputArray

Destination image.

dDepth DepthType

Optional depth of the output image. dDepth can be set to Default, which will be equivalent to src.depth().