CvPyrMeanShiftFiltering Method (CvArr, CvArr, Double, Double, Int32, CvTermCriteria) OpenCvSharp Class Library
Does meanshift image segmentation.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void PyrMeanShiftFiltering(
	CvArr src,
	CvArr dst,
	double sp,
	double sr,
	int maxLevel,
	CvTermCriteria termcrit
)

Parameters

src
Type: OpenCvSharpCvArr
The source 8-bit 3-channel image.
dst
Type: OpenCvSharpCvArr
The destination image of the same format and the same size as the source.
sp
Type: SystemDouble
The spatial window radius.
sr
Type: SystemDouble
The color window radius.
maxLevel
Type: SystemInt32
Maximum level of the pyramid for the segmentation.
termcrit
Type: OpenCvSharpCvTermCriteria
Termination criteria: when to stop meanshift iterations.
See Also

Reference