-
Notifications
You must be signed in to change notification settings - Fork 314
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
[Bug] Stack Segmention Error #1639
Comments
This is probably an issue with the metadata, likely all the frames have the same imagePositionPatient. Is this multiframe data? |
@sedghi Yse, this is multiframe data,but there is no imagePositionPatient tag in the metadata. Most XA modality data does not have this tag. Perhaps Cornerstone think that metadata contains the same imagePositionPatient. I also find that if the metadata contains ImageOrientationPatient tag, the segmentationTool does not work, as reported at [Bug] Stack Labelmap Segmentation error #1591 . I would like to know if I can change the 'segmentationImageId' I am using myself.Like viewport.setImageIdIndex(6). |
I cant really replicate this in latest ohif @sedghi viewer-dev.ohif.org/local CleanShot.2024-12-06.at.09.09.47.mp4 |
I want to know if OHIF did anything special to handle it. The different is i use wadouri for loading data. |
I opened it , but since it is working (at least in OHIF) it is not a priority for us, you can look at OHIF code to see what is happening |
Describe the Bug
I encounter this issue when using Segmentation Tool (labelmap) in the stack viewport. After drawing a ROI at only one specific slice, the ROI would exist at all slices.
I tried 'csToolsSegmentation. state. getCurrentLabelmapiImageIdForViewport' (activeViewportId, 'MY_SGMENTION-ID') and found that function did not change when moving to next slice using StackScrollTool.
I think the reason is that when I changed the image slice, the 'segmentationImageId(derived:9a66f6a5-5411-42d0-b654-9f4a77c133d6)' did not change.
I would like to know if I can change the 'segmentationImageId' myself.
I created an anonymous data for debugging purposes.
sub_with_pid_c.zip
I think the stack viewport may not support certain XA modality data.
Steps to Reproduce
1.use wadouri load this data
2.use BrushTool or RectangleScissorsTool
3.use StackScrollTool
The current behavior
The expected behavior
d
OS
d
Node version
d
Browser
d
The text was updated successfully, but these errors were encountered: