Click or drag to resize

Cv2EdgePreservingFilter Method

Filtering is the fundamental operation in image and video processing. Edge-preserving smoothing filters are used in many different applications @cite EM11 .

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void EdgePreservingFilter(
	InputArray src,
	OutputArray dst,
	EdgePreservingMethods flags = EdgePreservingMethods.RecursFilter,
	float sigmaS = 60f,
	float sigmaR = 0.4f
)

Parameters

src
Type: OpenCvSharpInputArray
Input 8-bit 3-channel image.
dst
Type: OpenCvSharpOutputArray
Output 8-bit 3-channel image.
flags (Optional)
Type: OpenCvSharpEdgePreservingMethods
Edge preserving filters
sigmaS (Optional)
Type: SystemSingle
Range between 0 to 200.
sigmaR (Optional)
Type: SystemSingle
Range between 0 to 1.
See Also