From 82c3526f307141fddad3e8c83978997853c81818 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Wed, 12 Dec 2012 14:37:43 +1100 Subject: [PATCH] Tweak join_segmentations example for clarity --- doc/examples/plot_join_segmentations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/examples/plot_join_segmentations.py b/doc/examples/plot_join_segmentations.py index af06cef3..02600ba6 100644 --- a/doc/examples/plot_join_segmentations.py +++ b/doc/examples/plot_join_segmentations.py @@ -37,7 +37,8 @@ seg1 = nd.label(ws == foreground)[0] # make the RGB equivalent of `coins` coins_colour = np.tile(coins[..., np.newaxis], (1, 1, 3)) -seg2 = slic(coins_colour, max_iter=20, sigma=0, convert2lab=False) +seg2 = slic(coins_colour, n_segments=30, max_iter=160, sigma=1, ratio=9, + convert2lab=False) # combine the two segj = join_segmentations(seg1, seg2)