Method EdgePreservingFilter
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
EdgePreservingFilter(InputArray, OutputArray, int, double)
Smoothes an image using the Edge-Preserving filter.
public static void EdgePreservingFilter(InputArray src, OutputArray dst, int d, double threshold)
Parameters
srcInputArraySource 8-bit 3-channel image.
dstOutputArrayDestination image of the same size and type as src.
dintDiameter of each pixel neighborhood that is used during filtering. Must be greater or equal 3.
thresholddoubleThreshold, which distinguishes between noise, outliers, and data.