http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.3.0.1416 (2.3.0.1416)
Performs mean-shift segmentation of the source image and eleminates small segments.
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static void MeanShiftSegmentation( IntPtr src, IntPtr dst, int sp, int sr, int minsize, MCvTermCriteria criteria ) |
Visual Basic |
---|
Public Shared Sub MeanShiftSegmentation ( _ src As IntPtr, _ dst As IntPtr, _ sp As Integer, _ sr As Integer, _ minsize As Integer, _ criteria As MCvTermCriteria _ ) |
Visual C++ |
---|
public: static void MeanShiftSegmentation( IntPtr src, IntPtr dst, int sp, int sr, int minsize, MCvTermCriteria criteria ) |
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.