Click or drag to resize

Cv2PyrMeanShiftFiltering Method

Performs initial step of meanshift segmentation of an image.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.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: OpenCvSharpInputArray
The source 8-bit, 3-channel image.
dst
Type: OpenCvSharpOutputArray
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