-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add transform to ignore tumors smaller than x mm^3 #3808
Comments
Since I've been playing with ITK for these kinds of post processing tasks lately, I wanted to share that it's potentially an option here. It could allow for some flexibility/genericness with respect to the segment shape properties the user chooses to base their filter on: physical size, perimeter, centroid location, etc. examples, assuming
|
MONAI/monai/transforms/utils.py Lines 1002 to 1004 in c68e922
the |
Should we compute the volume from the number of voxels, or should we require the user to calculate it themselves? Either way it's a trivial calculation, but the large majority of our codebase is in image space (aside from |
closing because of inactivity and alternate solutions exist. |
Is your feature request related to a problem? Please describe.
Feature request from Ahmed: I just faced another interesting use case. Similar to
keep largest connected component
, Sometimes we want to ignore tumors that are smaller thanx mm^3
.If you can implement this as a post transform it would be great.
The text was updated successfully, but these errors were encountered: