mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 19:06:06 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user