8000 Merge pull request #5131 from grlee77/mark_boundary_fix · scikit-image/scikit-image@66c271e · GitHub
[go: up one dir, main page]

Skip to content

Commit 66c271e

Browse files
authored
Merge pull request #5131 from grlee77/mark_boundary_fix
consistent zoom boundary behavior across SciPy versions
2 parents e0ad3f6 + 9062e0e commit 66c271e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skimage/segmentation/boundaries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def mark_boundaries(image, label_img, color=(1, 1, 0),
221221
# the RGB information. ``ndi.zoom`` then performs the (cubic)
222222
# interpolation, filling in the values of the interposed pixels
223223
marked = ndi.zoom(marked, [2 - 1/s for s in marked.shape[:-1]] + [1],
224-
mode='reflect')
224+
mode='mirror')
225225
boundaries = find_boundaries(label_img, mode=mode,
226226
background=background_label)
227227
if outline_color is not None:

0 commit comments

Comments
 (0)
0