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

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

Syntax

C#
public static void MeanShiftSegmentation(
	IntPtr src,
	IntPtr dst,
	int sp,
	int sr,
	int minsize,
	ref MCvTermCriteria criteria
)
Visual Basic
Public Shared Sub MeanShiftSegmentation ( 
	src As IntPtr,
	dst As IntPtr,
	sp As Integer,
	sr As Integer,
	minsize As Integer,
	ByRef criteria As MCvTermCriteria
)
Visual C++
public:
static void MeanShiftSegmentation(
	IntPtr src, 
	IntPtr dst, 
	int sp, 
	int sr, 
	int minsize, 
	MCvTermCriteria% criteria
)
F#
static member MeanShiftSegmentation : 
        src : IntPtr * 
        dst : IntPtr * 
        sp : int * 
        sr : int * 
        minsize : int * 
        criteria : MCvTermCriteria byref -> unit 

Parameters

src
Type: System..::..IntPtr
Source GpuImage. Only CV 8UC4 images are supported for now.
dst
Type: System..::..IntPtr
Segmented Image. Will have the same size and type as src. Note that this is an Image type and not GpuImage 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