Commit cd42e3af31fca064855349c4ef366113a099e319
1 parent
6513e235
Exists in
master
Removed some debug prints
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
invesalius/data/slice_.py
@@ -629,7 +629,6 @@ class Slice(object): | @@ -629,7 +629,6 @@ class Slice(object): | ||
629 | tmp_array = np.array(self.matrix[slice_number:slice_number + number_slices]) | 629 | tmp_array = np.array(self.matrix[slice_number:slice_number + number_slices]) |
630 | if np.any(self.q_orientation[1::]): | 630 | if np.any(self.q_orientation[1::]): |
631 | transforms.apply_view_matrix_transform(self.matrix, self.spacing, M, slice_number, orientation, self.interp_method, self.matrix.min(), tmp_array) | 631 | transforms.apply_view_matrix_transform(self.matrix, self.spacing, M, slice_number, orientation, self.interp_method, self.matrix.min(), tmp_array) |
632 | - print ">>>", tmp_array.min(), tmp_array.max() | ||
633 | if self._type_projection == const.PROJECTION_NORMAL: | 632 | if self._type_projection == const.PROJECTION_NORMAL: |
634 | n_image = tmp_array.squeeze() | 633 | n_image = tmp_array.squeeze() |
635 | else: | 634 | else: |
@@ -889,7 +888,6 @@ class Slice(object): | @@ -889,7 +888,6 @@ class Slice(object): | ||
889 | self.current_mask.matrix[n+1, 1:, 1:] = m | 888 | self.current_mask.matrix[n+1, 1:, 1:] = m |
890 | else: | 889 | else: |
891 | slice_ = self.buffer_slices[orientation].image | 890 | slice_ = self.buffer_slices[orientation].image |
892 | - print ">>>", slice_, index | ||
893 | self.buffer_slices[orientation].mask = (255 * ((slice_ >= thresh_min) & (slice_ <= thresh_max))).astype('uint8') | 891 | self.buffer_slices[orientation].mask = (255 * ((slice_ >= thresh_min) & (slice_ <= thresh_max))).astype('uint8') |
894 | 892 | ||
895 | # Update viewer | 893 | # Update viewer |