Click or drag to resize

CvXImgProcGuidedFilter Method

Simple one-line Guided Filter call. If you have multiple images to filter with the same guided image then use GuidedFilter interface to avoid extra computations on initialization stage.

Namespace:  OpenCvSharp.XImgProc
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void GuidedFilter(
	InputArray guide,
	InputArray src,
	OutputArray dst,
	int radius,
	double eps,
	int dDepth = -1
)

Parameters

guide
Type: OpenCvSharpInputArray
guided image (or array of images) with up to 3 channels, if it have more then 3 channels then only first 3 channels will be used.
src
Type: OpenCvSharpInputArray
filtering image with any numbers of channels.
dst
Type: OpenCvSharpOutputArray
output image.
radius
Type: SystemInt32
radius of Guided Filter.
eps
Type: SystemDouble
regularization term of Guided Filter. eps^2 is similar to the sigma in the color space into bilateralFilter.
dDepth (Optional)
Type: SystemInt32
optional depth of the output image.
See Also