CvArrPyrMeanShiftFiltering Method (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 void PyrMeanShiftFiltering(
	CvArr dst,
	double sp,
	double sr,
	int maxLevel,
	CvTermCriteria termcrit
)

Parameters

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