You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So more than once I've come across series in which direction of the image changes between slices, which maybe is not supposed to happen (video for example). Looking at the source code in StackViewport.ts I see that _updateActorToDisplayImageId(image) is used to
"check if we can reuse the vtkImageData that is in place ... If we cannot reuse it, create a new actor, remove the old one, and reset the camera"
And one of the data atributes used to compare is direction, which of course changes in this case for many slices, and ends up resetting the WindowLevel values. I assume this is the desired behaviour but what would be a good way to go around it? Maybe some sort of viewport configuration?
anonymized_mr.zip
Note: Serie "Axial t1_qtse" changes direction between slices The other one is for reference
Recording.2025-02-06.143038.-.Trim.mp4
Steps to Reproduce
Change window/level
Stack scroll
The current behavior
Window level resets when direction changes
The expected behavior
Be able to avoid window/level reset
OS
Windows 11
Node version
v22.11.0
Browser
Chrome 133.0.6943.53
The text was updated successfully, but these errors were encountered:
Describe the Bug
So more than once I've come across series in which direction of the image changes between slices, which maybe is not supposed to happen (video for example). Looking at the source code in
StackViewport.ts
I see that_updateActorToDisplayImageId(image)
is used to"check if we can reuse the vtkImageData that is in place ... If we cannot reuse it, create a new actor, remove the old one, and reset the camera"
And one of the data atributes used to compare is direction, which of course changes in this case for many slices, and ends up resetting the WindowLevel values. I assume this is the desired behaviour but what would be a good way to go around it? Maybe some sort of viewport configuration?
anonymized_mr.zip
Note: Serie "Axial t1_qtse" changes direction between slices The other one is for reference
Recording.2025-02-06.143038.-.Trim.mp4
Steps to Reproduce
The current behavior
Window level resets when direction changes
The expected behavior
Be able to avoid window/level reset
OS
Windows 11
Node version
v22.11.0
Browser
Chrome 133.0.6943.53
The text was updated successfully, but these errors were encountered: