GraphSegmentation.create constructor

GraphSegmentation.create({
  1. double sigma = 0.5,
  2. double k = 300,
  3. int minSize = 100,
})

Implementation

factory GraphSegmentation.create({double sigma = 0.5, double k = 300, int minSize = 100}) {
  final p = calloc<cvg.GraphSegmentation>();
  cvRun(() => cffi.ximgproc_GraphSegmentation_Create(sigma, k, minSize, p));
  return GraphSegmentation.fromPointer(p);
}