CudaInvokeMeanShiftSegmentation Method |
http://www.emgu.com
Performs mean-shift segmentation of the source image and eleminates small segments.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void MeanShiftSegmentation(
IInputArray src,
IOutputArray dst,
int sp,
int sr,
int minSize,
MCvTermCriteria criteria
)
Public Shared Sub MeanShiftSegmentation (
src As IInputArray,
dst As IOutputArray,
sp As Integer,
sr As Integer,
minSize As Integer,
criteria As MCvTermCriteria
)
public:
static void MeanShiftSegmentation(
IInputArray^ src,
IOutputArray^ dst,
int sp,
int sr,
int minSize,
MCvTermCriteria criteria
)
static member MeanShiftSegmentation :
src : IInputArray *
dst : IOutputArray *
sp : int *
sr : int *
minSize : int *
criteria : MCvTermCriteria -> unit
Parameters
- src
- Type: Emgu.CVIInputArray
Source CudaImage. Only CV 8UC4 images are supported for now. - dst
- Type: Emgu.CVIOutputArray
Segmented Image. Will have the same size and type as src. Note that this is an Image type and not CudaImage type - sp
- Type: SystemInt32
Spatial window radius. - sr
- Type: SystemInt32
Color window radius. - minSize
- Type: SystemInt32
Minimum segment size. Smaller segements will be merged. - criteria
- Type: Emgu.CV.StructureMCvTermCriteria
Termination criteria.
See Also