Click or drag to resize

XImgprocInvokeWeightedMedianFilter Method

http://www.emgu.com
Applies weighted median filter to an image.

Namespace:  Emgu.CV.XImgproc
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntax
public static void WeightedMedianFilter(
	IInputArray joint,
	IInputArray src,
	IOutputArray dst,
	int r,
	double sigma = 25.5,
	WMFWeightType weightType = WMFWeightType.Exp,
	Mat mask = null
)

Parameters

joint
Type: Emgu.CVIInputArray
Joint 8-bit, 1-channel or 3-channel image.
src
Type: Emgu.CVIInputArray
Source 8-bit or floating-point, 1-channel or 3-channel image.
dst
Type: Emgu.CVIOutputArray
Destination image.
r
Type: SystemInt32
Radius of filtering kernel, should be a positive integer.
sigma (Optional)
Type: SystemDouble
Filter range standard deviation for the joint image.
weightType (Optional)
Type: Emgu.CV.XImgprocWMFWeightType
The type of weight definition
mask (Optional)
Type: Emgu.CVMat
A 0-1 mask that has the same size with I. This mask is used to ignore the effect of some pixels. If the pixel value on mask is 0, the pixel will be ignored when maintaining the joint-histogram. This is useful for applications like optical flow occlusion handling.
Remarks
For more details about this implementation, please see: Qi Zhang, Li Xu, and Jiaya Jia. 100+ times faster weighted median filter (wmf). In Computer Vision and Pattern Recognition (CVPR), 2014 IEEE Conference on, pages 2830–2837. IEEE, 2014.
See Also