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(() => ccontrib.cv_ximgproc_GraphSegmentation_create(sigma, k, minSize, p));
  return GraphSegmentation.fromPointer(p);
}