-
Notifications
You must be signed in to change notification settings - Fork 65
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
Windowing from dicom tags #442
Conversation
✅ Deploy Preview for volview-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
a683ae2
to
0f1175d
Compare
Some additional pieces I would love feedback on:
|
b1345cb
to
fd352f3
Compare
fd352f3
to
fd5fd81
Compare
Functionality looks good so far! We can discuss styling the menu after I finish going through your code. |
Great start! A few minor tweaks
Also, Default and Default Width/Level (if it is read from the dicom) shouldn't be under CT Presets. It seems more appropriate under Auto Window / Level. It could replace the Default (currently 0.1 and 99.9) in the list. For data without a default, have the default (the value of this selection) be the full range. I don't think we need a reset buttong. Right now it is possible to select something in Auto and in CT Presets. Both circles remain selected - so I don't know which W/L is actually being shown. All circles (under Auto and CT Presets) should be exclusive - only one should ever be lit. If the user changes W/L manually, then no preset should be lit (no circle filled-in). |
eb60f44
to
fa342ca
Compare
All cleaned up 👍
Yes, these are the DICOM tags (if any)
Fixed
Thanks! Done.
Fixed
This reset button lets users get back to the starting point (full data range). Requested in #401, added in #437.
Fixed
This is now the behavior |
ea19bf7
to
1c40985
Compare
UI tweak: if we don't have any presets, I'd suggest hiding the "Presets" expansion panel. |
There should always be presets...the ones based on percentiles.
S
…On Thu, Oct 12, 2023, 8:31 AM Forrest Li ***@***.***> wrote:
UI tweak: if we don't have any presets, I'd suggest hiding the "Presets"
expansion panel.
—
Reply to this email directly, view it on GitHub
<#442 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACEJLZQKJSEGR2UJ4M3GRLX7AENLAVCNFSM6AAAAAA5RPP63OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJZHA2TONRQGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I think @floryst's comment meant just the section with the CT Preset values. So for non-CT images we'd change from disabled to hidden. |
Yes, thanks for the clarification @bnmajor. I did intend to convey what your graphics indicate. |
5c5b2d9
to
28d0451
Compare
Fixed and rebased |
Looks great! A few suggestions:
Thanks!! |
f5617eb
to
ccd1f3d
Compare
Please include the tooltip - it is a nice convenience for the (inquisitive)
user!
…On Wed, Oct 18, 2023 at 4:54 PM Brianna Major ***@***.***> wrote:
I also like the Low, Medium, High contrast settings. Let's use them!
Awesome! Let me know if you want the tooltip or not and I'll push that
change.
Compatibility with Slicer is not critical by any means - in general it
should not be our guide. Instead, compatibility with traditional
radiological viewers should be our guide, e.g., Osirix is one of the best
examples available, with outstanding radiological/clinical adoption.
Great, thanks for clarifying! 🙂
—
Reply to this email directly, view it on GitHub
<#442 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACEJL5UQK2BFMQ3YLAIDR3YAA6YRAVCNFSM6AAAAAA5RPP63OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRZGMYDKMBSGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Stephen R. Aylward, Ph.D.
Chair, MONAI Advisory Board
Senior Director, Strategic Initiatives, Kitware
|
Looks like e2e tests should pass after #458 (update to 117 and pin version) is merged |
c2ad2d0
to
8cdc6eb
Compare
LGTM once rebased on main! |
There are currently four default auto ranges available to users that will exclude either the tail 0.1%, 1%, 2%, or 5% of the data values.
If there are DICOM tags for window width and level tags list those for the user to select from.
Make sure that we'll catch typing errors in case we ever rename 'Default' to something else.
Users should not be able to select a percentile range AND preset or tag - only one or the other.
This provides better visibility in the event it needs updating.
We now use the first window/level tag by default.
Replace instead with an option to use the full data range that lives under the "auto" menu. This also renames the auto options to low/medium/high contrast.
8cdc6eb
to
6ca7d71
Compare
Rebased! |
Adds support for automatically reducing the range of data, setting width/level from presets, and setting width/level from tags.
Fixes #181, #270, #6