You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
RemoveSmallObjects is a great transform that is very much needed. However its arg is
min_size (int) – objects smaller than this size (in pixel) are removed.
Tumors and organs in medical are measured in mm^3 or CC^3. As radiologist same remove tumors that are smaller than 3 mm
Describe alternatives you've considered
I had to use a transform to resample to 1x1x1 so the pixel count is 1mm^3 remove the tumors then resample back to org size. Instead this should be a simple multiplication as we have the dims actual measurements in the metadata
The text was updated successfully, but these errors were encountered:
Fixes#7034.
### Description
Add `in_mm3` in `remove_small_objects`, if `in_mm3=True`, `min_size`
will be divided by pixdim when the image is MetaTensor.
### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.
---------
Signed-off-by: KumoLiu <[email protected]>
Describe the solution you'd like
RemoveSmallObjects is a great transform that is very much needed. However its arg is
min_size (int) – objects smaller than this size (in pixel) are removed.
Tumors and organs in medical are measured in mm^3 or CC^3. As radiologist same remove tumors that are smaller than 3 mm
Describe alternatives you've considered
I had to use a transform to resample to 1x1x1 so the pixel count is 1mm^3 remove the tumors then resample back to org size. Instead this should be a simple multiplication as we have the dims actual measurements in the metadata
The text was updated successfully, but these errors were encountered: