Chris Oswald commited on
Commit
8dbc1e8
1 Parent(s): b31174f

removed conversion of images to unsigned bytes

Browse files
Files changed (1) hide show
  1. SPIDER.py +2 -2
SPIDER.py CHANGED
@@ -55,8 +55,8 @@ def standardize_3D_image(
55
  image = np.transpose(image, axes=[1, 2, 0])
56
  # Resize image
57
  image = skimage.transform.resize(image, resize_shape)
58
- # Rescale to UInt8 type
59
- image = skimage.img_as_ubyte(image)
60
  return image
61
 
62
 
 
55
  image = np.transpose(image, axes=[1, 2, 0])
56
  # Resize image
57
  image = skimage.transform.resize(image, resize_shape)
58
+ # # Rescale to UInt8 type
59
+ # image = skimage.img_as_ubyte(image)
60
  return image
61
 
62