About RoiCenterCrop #3273
-
In my project, the ROI is bilateral asymmetric, similar to the breast area, and the ROI class is the same "1". |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @ericspod @dongyang0122 @wyli , I feel this question is related to some research discussion, could you please help share some experience here? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Perhaps CropForeground is what you want. You can provide a callable to choose another criteria if you want, by default it's |
Beta Was this translation helpful? Give feedback.
Perhaps CropForeground is what you want. You can provide a callable to choose another criteria if you want, by default it's
is_positive
based on an input label in a particular channel. If you're using dictionary based transformsCropForegroundD
is what you'd want. Docs here: https://docs.monai.io/en/latest/transforms.html#cropforeground