http://www.emgu.com
Smooths image using one of several methods. Every of the methods has some features and restrictions listed below Blur with no scaling works with single-channel images only and supports accumulation of 8-bit to 16-bit format (similar to cvSobel and cvLaplace) and 32-bit floating point to 32-bit floating-point format. Simple blur and Gaussian blur support 1- or 3-channel, 8-bit and 32-bit floating point images. These two methods can process images in-place. Median and bilateral filters work with 1- or 3-channel 8-bit images and can not process images in-place.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvSmooth(
	IntPtr src,
	IntPtr dst,
	SMOOTH_TYPE type,
	int param1,
	int param2,
	double param3,
	double param4
)
Visual Basic
Public Shared Sub cvSmooth ( 
	src As IntPtr,
	dst As IntPtr,
	type As SMOOTH_TYPE,
	param1 As Integer,
	param2 As Integer,
	param3 As Double,
	param4 As Double
)
Visual C++
public:
static void cvSmooth(
	IntPtr src, 
	IntPtr dst, 
	SMOOTH_TYPE type, 
	int param1, 
	int param2, 
	double param3, 
	double param4
)
F#
static member cvSmooth : 
        src : IntPtr * 
        dst : IntPtr * 
        type : SMOOTH_TYPE * 
        param1 : int * 
        param2 : int * 
        param3 : float * 
        param4 : float -> unit 

Parameters

src
Type: System..::..IntPtr
The source image
dst
Type: System..::..IntPtr
The destination image
type
Type: Emgu.CV.CvEnum..::..SMOOTH_TYPE
Type of the smoothing
param1
Type: System..::..Int32
The first parameter of smoothing operation
param2
Type: System..::..Int32
The second parameter of smoothing operation. In case of simple scaled/non-scaled and Gaussian blur if param2 is zero, it is set to param1
param3
Type: System..::..Double
In case of Gaussian kernel this parameter may specify Gaussian sigma (standard deviation). If it is zero, it is calculated from the kernel size: sigma = (n/2 - 1)*0.3 + 0.8, where n=param1 for horizontal kernel, n=param2 for vertical kernel. With the standard sigma for small kernels (3x3 to 7x7) the performance is better. If param3 is not zero, while param1 and param2 are zeros, the kernel size is calculated from the sigma (to provide accurate enough operation).
param4
Type: System..::..Double
In case of non-square Gaussian kernel the parameter may be used to specify a different (from param3) sigma in the vertical direction

See Also