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.
This commit is contained in:
Tony S Yu
2012-12-02 16:02:27 -05:00
parent a77923fe4c
commit bf28a38f6e
+1 -1
View File
@@ -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