Function create_graph_segmentation
Source pub fn create_graph_segmentation(
sigma: f64,
k: f32,
min_size: i32,
) -> Result<Ptr<GraphSegmentation>>
Expand description
Creates a graph based segmentor
§Parameters
- sigma: The sigma parameter, used to smooth image
- k: The k parameter of the algorythm
- min_size: The minimum size of segments
§C++ default parameters
- sigma: 0.5
- k: 300
- min_size: 100