HfsSegmentPerformSegmentGpu Method |
http://www.emgu.com
Segmentation with gpu
Namespace:
Emgu.CV.Hfs
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic Mat PerformSegmentGpu(
IInputArray src,
bool ifDraw = true
)
Public Function PerformSegmentGpu (
src As IInputArray,
Optional ifDraw As Boolean = true
) As Mat
public:
Mat^ PerformSegmentGpu(
IInputArray^ src,
bool ifDraw = true
)
member PerformSegmentGpu :
src : IInputArray *
?ifDraw : bool
(* Defaults:
let _ifDraw = defaultArg ifDraw true
*)
-> Mat
Parameters
- src
- Type: Emgu.CVIInputArray
The input image - ifDraw (Optional)
- Type: SystemBoolean
if draw the image in the returned Mat. if this parameter is false, then the content of the returned Mat is a matrix of index, describing the region each pixel belongs to. And it's data type is CV_16U. If this parameter is true, then the returned Mat is a segmented picture, and color of each region is the average color of all pixels in that region. And it's data type is the same as the input image
Return Value
Type:
MatSegmentation result
See Also