| SelectiveSearchSegmentationStrategyMultipleSetImage Method |
Set a initial image, with a segementation.
Namespace:
OpenCvSharp.XImgProc.Segmentation
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual void SetImage(
InputArray img,
InputArray regions,
InputArray sizes,
int imageId = -1
)
Public Overridable Sub SetImage (
img As InputArray,
regions As InputArray,
sizes As InputArray,
Optional imageId As Integer = -1
)
public:
virtual void SetImage(
InputArray^ img,
InputArray^ regions,
InputArray^ sizes,
int imageId = -1
)
abstract SetImage :
img : InputArray *
regions : InputArray *
sizes : InputArray *
?imageId : int
(* Defaults:
let _imageId = defaultArg imageId -1
*)
-> unit
override SetImage :
img : InputArray *
regions : InputArray *
sizes : InputArray *
?imageId : int
(* Defaults:
let _imageId = defaultArg imageId -1
*)
-> unit
Parameters
- img
- Type: OpenCvSharpInputArray
The input image. Any number of channel can be provided - regions
- Type: OpenCvSharpInputArray
A segementation of the image. The parameter must be the same size of img. - sizes
- Type: OpenCvSharpInputArray
The sizes of different regions - imageId (Optional)
- Type: SystemInt32
If not set to -1, try to cache pre-computations. If the same set og (img, regions, size) is used, the image_id need to be the same.
See Also