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

Slicer plugin: Keep showing segmentation in 3D when using sam_3d #1789

Merged

Conversation

lassoan
Copy link
Collaborator

@lassoan lassoan commented Nov 28, 2024

In 3D Slicer, when sam_3d result was imported it always removed the closed surface representation, therefore if a user wanted to see the segmentation in 3D then after each sam_3d update the user had to go to "Segment Editor" section and click "Show 3D".

This commit makes the MONAILabel module remember the "Show 3D" state when performing a sam_3d update.

Another small fix is included: when editing the Slicer module's GUI with Qt Designer then the trainWidget always got removed. Fixed it by assigning an appropriate widget class.

lassoan and others added 3 commits November 28, 2024 13:57
In 3D Slicer, when sam_3d result was imported it always removed the closed surface representation, therefore if a user wanted to see the segmentation in 3D then after each sam_3d update the user had to go to "Segment Editor" section and click "Show 3D".

This commit makes the MONAILabel module remember the "Show 3D" state when performing a sam_3d update.
@SachidanandAlle SachidanandAlle merged commit d8099a6 into Project-MONAI:main Nov 28, 2024
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants