Skip to content

Add min_size_in_mm to RemoveSmallObjects transform #7034

@AHarouni

Description

@AHarouni

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions