Commit da3de98a64792ffe9ff6c9a159a40709c637e584

Authored by Thiago Franco de Moraes
1 parent fce40bdf

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 487  
488 488 def GetSlices(self, orientation, slice_number, number_slices,
489 489 inverted=False, border_size=1.0):
  490 + print "min max ->", self.matrix.min(), self.matrix.max()
490 491 if self.buffer_slices[orientation].index == slice_number and \
491 492 self._type_projection == const.PROJECTION_NORMAL:
492 493 if self.buffer_slices[orientation].vtk_image:
... ...