Skip to content

Commit

Permalink
spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
DanicaSTFC committed Sep 10, 2024
1 parent f17a31c commit 1d354c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wrappers/Python/ccpi/viewer/CILViewer2D.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,7 @@ def installImageWithOverlayPipeline(self):

extent[self.sliceOrientation * 2] = self.getActiveSlice()
extent[self.sliceOrientation * 2 + 1] = self.getActiveSlice()

self.voi.SetVOI(extent[0], extent[1], extent[2], extent[3], extent[4], extent[5])

self.voi.SetVOI(extent[0], extent[1], extent[2], extent[3], extent[4], extent[5])
Expand All @@ -1442,7 +1443,6 @@ def installImageWithOverlayPipeline(self):

# set window/level for slice based on values in entire volume:
self.ia.SetInputData(self.voi.GetOutput())

self.ia.Update()
self.style.AutoWindowLevelOnVolumeRange(update_slice=False)
self.InitialLevel = self.getSliceColorLevel()
Expand Down

0 comments on commit 1d354c8

Please sign in to comment.