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
guideInputArrayguided 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.
srcInputArrayfiltering image with any numbers of channels.
dstOutputArrayoutput image.
radiusintradius of Guided Filter.
epsdoubleregularization term of Guided Filter. eps^2 is similar to the sigma in the color space into bilateralFilter.
dDepthintoptional depth of the output image.