CvPyrSegmentation Method (IplImage, IplImage, CvMemStorage, CvSeq, Int32, Double, Double) OpenCvSharp Class Library
Does image segmentation by pyramids.

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

public static void PyrSegmentation(
	IplImage src,
	IplImage dst,
	CvMemStorage storage,
	out CvSeq comp,
	int level,
	double threshold1,
	double threshold2
)

Parameters

src
Type: OpenCvSharpIplImage
The source image.
dst
Type: OpenCvSharpIplImage
The destination image.
storage
Type: OpenCvSharpCvMemStorage
Storage; stores the resulting sequence of connected components.
comp
Type: OpenCvSharpCvSeq
Pointer to the output sequence of the segmented components.
level
Type: SystemInt32
Maximum level of the pyramid for the segmentation.
threshold1
Type: SystemDouble
Error threshold for establishing the links.
threshold2
Type: SystemDouble
Error threshold for the segments clustering.
See Also

Reference