Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for minimum and maximum levels instead of level and window #632

Open
erentar opened this issue Feb 11, 2025 · 2 comments
Open

Allow for minimum and maximum levels instead of level and window #632

erentar opened this issue Feb 11, 2025 · 2 comments

Comments

@erentar
Copy link

erentar commented Feb 11, 2025

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

@nroduit
Copy link
Owner

nroduit commented Feb 12, 2025

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.

@erentar
Copy link
Author

erentar commented Feb 12, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants