Commit 22aa7bb1d7cc627095c59cc0d434faa2489789a8

Authored by Thiago Franco de Moraes
1 parent da3de98a

updating scalar range

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
invesalius/control.py
@@ -572,6 +572,8 @@ class Controller(): @@ -572,6 +572,8 @@ class Controller():
572 self.Slice.window_level = wl 572 self.Slice.window_level = wl
573 self.Slice.window_width = ww 573 self.Slice.window_width = ww
574 574
  575 + scalar_range = self.matrix.min(), self.matrix.max()
  576 +
575 Publisher.sendMessage('Update threshold limits list', scalar_range) 577 Publisher.sendMessage('Update threshold limits list', scalar_range)
576 578
577 return self.matrix, self.filename, dicom 579 return self.matrix, self.filename, dicom