Table of Contents

Method GuidedFilter

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

GuidedFilter(InputArray, InputArray, OutputArray, int, double, int)

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.

public static void GuidedFilter(InputArray guide, InputArray src, OutputArray dst, int radius, double eps, int dDepth = -1)

Parameters

guide InputArray

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 InputArray

filtering image with any numbers of channels.

dst OutputArray

output image.

radius int

radius of Guided Filter.

eps double

regularization term of Guided Filter. eps^2 is similar to the sigma in the color space into bilateralFilter.

dDepth int

optional depth of the output image.