amazinghaha commited on
Commit
e265f59
·
1 Parent(s): c264484

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -134,6 +134,7 @@ def get_Image_reslice(input_file):
134
 
135
  random_x = np.random.randint(0, Image_3D.shape[2])
136
  image_slice_x = Image_3D[:, :, random_x]
 
137
  # return zoom(image_slice_z, (10 / image_slice_z.shape[0], 10 / image_slice_z.shape[1]), order=3) , \
138
  # zoom(image_slice_y, (10 / image_slice_y.shape[0], 10 / image_slice_y.shape[1]), order=3), \
139
  # zoom(image_slice_x, (10 / image_slice_x.shape[0], 10 / image_slice_x.shape[1]), order=3)
 
134
 
135
  random_x = np.random.randint(0, Image_3D.shape[2])
136
  image_slice_x = Image_3D[:, :, random_x]
137
+ print(random_x)
138
  # return zoom(image_slice_z, (10 / image_slice_z.shape[0], 10 / image_slice_z.shape[1]), order=3) , \
139
  # zoom(image_slice_y, (10 / image_slice_y.shape[0], 10 / image_slice_y.shape[1]), order=3), \
140
  # zoom(image_slice_x, (10 / image_slice_x.shape[0], 10 / image_slice_x.shape[1]), order=3)