Weasis icon indicating copy to clipboard operation
Weasis copied to clipboard

Allow for minimum and maximum levels instead of level and window

Open erentar opened this issue 10 months ago • 3 comments

Is your feature request related to a problem? (optional)

It is at times difficult to correctly define a display range with level and window, as the user does not have precise control over which values should be the minimum and maximum values.

Description of the new feature/enhancement

Sliders should be added to define min and max levels alongside level and window. These sliders can be toggled or swapped by a menu or something too, so that the user can choose as they prefer if it is not possible to display all four sliders at once (min, max, level, window).

Proposed technical implementation details (optional)

Image

Here is one implementation already out there. Aliza MS allows you to define a range via the orange box shown over the histogram to precisely define minimum and maximum pixel levels. This makes it much easier to precisely select which range of tissue to look at in detail.

Describe alternatives you've considered (optional)

Image

Here in the image tools section, two more sliders "min" and "max" would be added, making in total four sliders. If this is not possible, an option to toggle between level-window and min-max sliders would be added as a button in this window.

A histogram is nice but not necessary

Additional context (optional)

No response

erentar avatar Feb 11 '25 08:02 erentar

The concept of windowing is a key element in the visualization of medical images. I don't see how adding sliders to the UI will improve the choice of Window/Level. The histogram is still the best approach for understanding how these values change, see the documentation.

nroduit avatar Feb 12 '25 06:02 nroduit

I was unaware of the histogram, thank you.

All I want is to be able to manipulate the min and max values directly rather than going through window and level. Aliza MS allows the user to drag the histogram limits with the mouse, for example. (the level and window values automatically change to adapt the chosen min and max values)

I understand window and level are the medical standard. I do not want them removed. I want this alternative way to dial in the min and max levels to be added alongside the window and level.

erentar avatar Feb 12 '25 11:02 erentar

Adding new UI components can complexify the interface. Our goal is to keep the UI efficient and simple. Sliders alone do not have the option for precise control, but you can use arrow keys on the slider to move with a smaller step (just select the slider and use keys). Additionally, using mouse actions for window/level adjustments can also provide the desired control. In preferences, you can change the sensitivity of mouse actions.

UI changes will only be considered when multiple users raise complaints, and you are the first to do so.

nroduit avatar Feb 15 '25 09:02 nroduit

We're closing this issue due to inactivity over the past several months. If the problem persists or if you have any further information to provide, please feel free to reopen this issue or create a new one. We appreciate your contributions and feedback!

nroduit avatar Jun 19 '25 05:06 nroduit