Skip to content

Inquiry Regarding Functionality of CropForeground in MONAI Library #7314

@77QiZhang

Description

@77QiZhang

I have been using the CropForeground function to perform background segmentation for extracting foreground information. However, after the cropping operation, I've noticed that the original bounding box coordinates for the background are lost. I am inquiring whether there is a solution within MONAI to perform padding on the cropped background to a specific size while preserving the original background information.

In essence, I aim to pad the cropped background to a predetermined size based on the cropping operation, ensuring retention of the original background information. I would greatly appreciate your guidance or insights regarding any methods or alternative functions within MONAI that could address this requirement.

Thank you for your time and consideration in addressing this query.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions