Click or drag to resize

CvXImgProcCreateDTFilter Method

Factory method, create instance of DTFilter and produce initialization routines.

Namespace:  OpenCvSharp.XImgProc
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static DTFilter CreateDTFilter(
	InputArray guide,
	double sigmaSpatial,
	double sigmaColor,
	EdgeAwareFiltersList mode = EdgeAwareFiltersList.DTF_NC,
	int numIters = 3
)

Parameters

guide
Type: OpenCvSharpInputArray
guided image (used to build transformed distance, which describes edge structure of guided image).
sigmaSpatial
Type: SystemDouble
sigma_H parameter in the original article, it's similar to the sigma in the coordinate space into bilateralFilter.
sigmaColor
Type: SystemDouble
sigma_r parameter in the original article, it's similar to the sigma in the color space into bilateralFilter.
mode (Optional)
Type: OpenCvSharp.XImgProcEdgeAwareFiltersList
one form three modes DTF_NC, DTF_RF and DTF_IC which corresponds to three modes for filtering 2D signals in the article.
numIters (Optional)
Type: SystemInt32
optional number of iterations used for filtering, 3 is quite enough.

Return Value

Type: DTFilter

[Missing <returns> documentation for "M:OpenCvSharp.XImgProc.CvXImgProc.CreateDTFilter(OpenCvSharp.InputArray,System.Double,System.Double,OpenCvSharp.XImgProc.EdgeAwareFiltersList,System.Int32)"]

See Also