-
Notifications
You must be signed in to change notification settings - Fork 151
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
Lung segmentation - extra segment outsize the body mass #22
Comments
Hi, thanks for reporting this. That's weird, post-processing should take care of this. Are you eventually using an older version? Otherwise this is a bug. Could you eventually share such a case? |
Hello, I am indeed using the latest version Line 200 in 1018e41
in the case that the left/right lung are touching then they both belong to the same label mask and therefore the second largest region is outside of the lung region. I hope this helps. |
Absolutely! Thank you so much! Will fix that shortly... |
Should be fixed. Let me know if there are any other issues... |
Indeed it is fixed for the examples I checked. Cool 👌 |
Dear @JoHof,
thanks for sharing this work. I am posting this issue just because it seems like a simple fix that can increase the robustness of the whole pipeline. While checking the performance on some scans I figured than in some cases, the model produced an additional segment outside of the body mass along with the left/right labels. I found cases with both 1 and 2 as label for this extra segment. Here is an example:
I would guess that a simple counting of the connected components in the final segmentation could fix this issue.
The text was updated successfully, but these errors were encountered: