Can't change the windowing of CT

Operating system:Windows 10
Slicer version: 4.11
Hi,
I installed the latest nightly build. After importing Dicom data, I am unable to change the windowing of CT sets, though zoom works. It was working fine previously. Also I am unable to work with surface cut in this build. I can just drop fiducial points, but nothing works to select area of interest.

Would appreciate help to fix this.
Thanks,
Sarv

Yes, this is a new thing - you need to enable window/level mode:

image

Personally, I’m thinking it should be enabled by default for backwards compatibility for long-time users. Or perhaps the setting should persist across runs.

Here are some polls in case anyone wants to express their opinion:

Should Window/Level mode be on or off by default?

  • Default off (like current nightly)
  • Default on like before
0 voters

Should the state be preserved across runs?

  • Persist across runs
  • Always reset to default
0 voters

Yes, this is a new behavior, but it is necessary because there were many complaints about accidentally change window/level. Accidental changes have become even more frequent since the introduction of the numerous new mouse gestures in markups, slice intersection rotation (Ctrl + Alt + Left-click-and-drag), etc. and a dedicated mouse mode also allows regional auto-window/level (Ctrl + Left-click-and-drag) and reset (double-click).

It requires one single click to switch to window/level adjustment mode. You can also add this single line to your .slicerrc file (menu: Edit / Application settings / Application startup script):

slicer.app.applicationLogic().GetInteractionNode().SetCurrentInteractionMode(slicer.vtkMRMLInteractionNode.AdjustWindowLevel)

1 Like

For now I have switched back to 4.10 as 4.11 was crashing and windowing is working fine in it.

Thanks,
Sarv

Slicer-4.11 is under heavy development, so it is expected to be unstable for probably a few months, but window/level adjustment already works better in 4.11:

  • You can easily enable/disable window/level adjustment by clicking on the toolbar
  • Ctrl + Left-click-and-drag sets optimal window/level based on the selected region
  • Double-click resets default window/level
1 Like

Hey @lassoan I’ve been testing the nightly build and overall impressed with changes, no matter what the default window adjustment mode. I am just wondering if you think the default behavior of Ctrl + Left-click-and-drag should create a region using click origin as the center point of the rectangular region (currently) or should it rather be a corner of created region? For me it seemed a little unintuitive, but you have definitely tested it longer so maybe at the end it will be better.

First I used first click as corner but it was harder to set the region: I often had to redraw the rectangle because it included too much or not enough of the background. Since starting point was a corner of the rectangle, it was always somewhat off from the point of interest - typically in an empty area. It was hard to remember where exactly I started dragging last time and make a larger or smaller rectangle on the next attempt.

In contrast, I can now start dragging the mouse from the point of interest, which is easy to remember and find again. Therefore, it is easier to resize (and if needed redraw) the rectangle.

I could add Ctrl+Shift+Left-click-and-drag shortcut for drawing rectangle by marking corners if you really want to try it yourself.