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

Invalid(?) RTstructs generated #253

Closed
Renal-Of-Loon opened this issue Jan 9, 2024 · 1 comment
Closed

Invalid(?) RTstructs generated #253

Renal-Of-Loon opened this issue Jan 9, 2024 · 1 comment

Comments

@Renal-Of-Loon
Copy link
Contributor

Hello,

So I am not 100% certain if this belongs here or not, but I believe that it should at least be mentioned.

As it currently stands, Totalsegmentator can generate RTstructs (when using dicom as output), that seem to be invalid. In some cases a volume slice will only have 2 pixels of a volume/segmentation/organ, which translates to a 2 point polygon in the RTstruct, which is... not a valid polygon.

I am unsure if this should be an issue addressed by rt-utils or a post-process done by totalsegmentator, however. The issue has been brought up on the rt-utils package, here: qurit/rt-utils#87

I imagine a "simple" postprocessing of checking if each slice has at least a count > 2 of an ROI would resolve the issue; but I am unsure of a nice fast way of doing this.

@wasserth
Copy link
Owner

Thanks for mentioning this. TotalSegmentator depends on rt-utils for generating RTstructs. It does not make sense to implement my own logic around that. So I have to wait for them to fix this problem.

@wasserth wasserth closed this as completed Aug 7, 2024
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

No branches or pull requests

2 participants