Table of Contents

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

src InputArray

Source 8-bit 3-channel image.

dst OutputArray

Destination image of the same size and type as src.

d int

Diameter of each pixel neighborhood that is used during filtering. Must be greater or equal 3.

threshold double

Threshold, which distinguishes between noise, outliers, and data.