Chris Oswald commited on
Commit
9821c1a
1 Parent(s): 8c545f6
Files changed (1) hide show
  1. SPIDER.py +2 -1
SPIDER.py CHANGED
@@ -96,7 +96,8 @@ def standardize_3D_mask(
96
  resize_shape,
97
  order=0,
98
  preserve_range=True,
99
- mode='edge',
 
100
  )
101
  # Rescale to UInt8 type (required for PyArrow and PIL)
102
  mask = skimage.img_as_ubyte(mask)
 
96
  resize_shape,
97
  order=0,
98
  preserve_range=True,
99
+ mode='constant',
100
+ cval=0,
101
  )
102
  # Rescale to UInt8 type (required for PyArrow and PIL)
103
  mask = skimage.img_as_ubyte(mask)