Commit da3de98a64792ffe9ff6c9a159a40709c637e584
1 parent
fce40bdf
Exists in
master
and in
50 other branches
updating scalar_range when the dicom has gantry tilt
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/data/slice_.py
| @@ -487,6 +487,7 @@ class Slice(object): | @@ -487,6 +487,7 @@ class Slice(object): | ||
| 487 | 487 | ||
| 488 | def GetSlices(self, orientation, slice_number, number_slices, | 488 | def GetSlices(self, orientation, slice_number, number_slices, |
| 489 | inverted=False, border_size=1.0): | 489 | inverted=False, border_size=1.0): |
| 490 | + print "min max ->", self.matrix.min(), self.matrix.max() | ||
| 490 | if self.buffer_slices[orientation].index == slice_number and \ | 491 | if self.buffer_slices[orientation].index == slice_number and \ |
| 491 | self._type_projection == const.PROJECTION_NORMAL: | 492 | self._type_projection == const.PROJECTION_NORMAL: |
| 492 | if self.buffer_slices[orientation].vtk_image: | 493 | if self.buffer_slices[orientation].vtk_image: |