GraphSegmentation.Create Method
|
Creates a graph based segmentor
Namespace:
OpenCvSharp.XImgProc.Segmentation
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static GraphSegmentation Create(
double sigma = 0.5,
float k = 300f,
int minSize = 100
)
Public Shared Function Create (
Optional sigma As Double = 0.5,
Optional k As Single = 300F,
Optional minSize As Integer = 100
) As GraphSegmentation
public:
static GraphSegmentation^ Create(
double sigma = 0.5,
float k = 300f,
int minSize = 100
)
static member Create :
?sigma : float *
?k : float32 *
?minSize : int
(* Defaults:
let _sigma = defaultArg sigma 0.5
let _k = defaultArg k 300f
let _minSize = defaultArg minSize 100
*)
-> GraphSegmentation
OpenCvSharp.XImgProc.Segmentation.GraphSegmentation.Create = function(sigma, k, minSize);
Parameters
- sigma (Optional)
- Type: System.Double
The sigma parameter, used to smooth image - k (Optional)
- Type: System.Single
The k parameter of the algorythm - minSize (Optional)
- Type: System.Int32
The minimum size of segments
Return Value
Type:
GraphSegmentation
See Also