http://www.emgu.com
Performs mean-shift segmentation of the source image and eleminates small segments.

Namespace: Emgu.CV.OpenCL
Assembly: Emgu.CV.OpenCL (in Emgu.CV.OpenCL.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void MeanShiftSegmentation(
	OclImage<Bgra, byte> src,
	Image<Bgra, byte> dst,
	int sp,
	int sr,
	int minsize,
	MCvTermCriteria criteria
)
Visual Basic
Public Shared Sub MeanShiftSegmentation ( 
	src As OclImage(Of Bgra, Byte),
	dst As Image(Of Bgra, Byte),
	sp As Integer,
	sr As Integer,
	minsize As Integer,
	criteria As MCvTermCriteria
)
Visual C++
public:
static void MeanShiftSegmentation(
	OclImage<Bgra, unsigned char>^ src, 
	Image<Bgra, unsigned char>^ dst, 
	int sp, 
	int sr, 
	int minsize, 
	MCvTermCriteria criteria
)
F#
static member MeanShiftSegmentation : 
        src : OclImage<Bgra, byte> * 
        dst : Image<Bgra, byte> * 
        sp : int * 
        sr : int * 
        minsize : int * 
        criteria : MCvTermCriteria -> unit 

Parameters

src
Type: Emgu.CV.OpenCL..::..OclImage<(Of <(<'Bgra, Byte>)>)>
Source OclImage.
dst
Type: Emgu.CV..::..Image<(Of <(<'Bgra, Byte>)>)>
Segmented Image. Will have the same size and type as src. Note that this is an Image type and not OclImage type
sp
Type: System..::..Int32
Spatial window radius.
sr
Type: System..::..Int32
Color window radius.
minsize
Type: System..::..Int32
Minimum segment size. Smaller segements will be merged.
criteria
Type: Emgu.CV.Structure..::..MCvTermCriteria
Termination criteria.

See Also