From bf28a38f6e50e3bf806b07b533683a76ebdfbd84 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sun, 2 Dec 2012 16:02:27 -0500 Subject: [PATCH] ENH: Make black the default boundary color for mark_boundaries. This improves visibility in light-colored image regions. Note also that the new behavior matches the behavior from the 0.7 release. --- skimage/segmentation/boundaries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/segmentation/boundaries.py b/skimage/segmentation/boundaries.py index 25656a9b..c5bf985b 100644 --- a/skimage/segmentation/boundaries.py +++ b/skimage/segmentation/boundaries.py @@ -13,7 +13,7 @@ def find_boundaries(label_img): return boundaries -def mark_boundaries(image, label_img, color=(1, 1, 0), outline_color=None): +def mark_boundaries(image, label_img, color=(1, 1, 0), outline_color=(0, 0, 0)): """Return image with boundaries between labeled regions highlighted. Parameters