Cv2PyrMeanShiftFiltering Method OpenCvSharp Class Library
Performs initial step of meanshift segmentation of an image.

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

public static void PyrMeanShiftFiltering(
	InputArray src,
	OutputArray dst,
	double sp,
	double sr,
	int maxLevel = 1,
	Nullable<TermCriteria> termcrit = null
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray
The source 8-bit, 3-channel image.
dst
Type: OpenCvSharp.CPlusPlusOutputArray
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 (Optional)
Type: SystemInt32
Maximum level of the pyramid for the segmentation.
termcrit (Optional)
Type: SystemNullableTermCriteria
Termination criteria: when to stop meanshift iterations.
See Also

Reference