From c915aef7591c809dc3c3540de72038e0e11a3f01 Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Wed, 23 Jul 2014 05:08:52 +0530 Subject: [PATCH] Updated bento file --- bento.info | 3 +++ skimage/graph/graph_cut.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bento.info b/bento.info index 227e51e8..d0891272 100644 --- a/bento.info +++ b/bento.info @@ -154,6 +154,9 @@ Library: Extension: skimage.feature._hessian_det_appx Sources: skimage/exposure/_hessian_det_appx.pyx + Extension: skimage.graph._ncut_cy + Sources: + skimage/graph/_ncut_cy.pyx Executable: skivi Module: skimage.scripts.skivi diff --git a/skimage/graph/graph_cut.py b/skimage/graph/graph_cut.py index 5b7ff974..acb7d481 100644 --- a/skimage/graph/graph_cut.py +++ b/skimage/graph/graph_cut.py @@ -67,7 +67,7 @@ def cut_threshold(labels, rag, thresh): return map_array[labels] -def cut_n(labels, rag, thresh=0.0001, num_cuts=10): +def cut_n(labels, rag, thresh=0.001, num_cuts=10): """Perform Normalized Graph cut on the Region Adjacency Graph. Given an image's labels and its similarity RAG, recursively perform