Skip to content
Discussion options

You must be logged in to vote

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 transforms CropForegroundD is what you'd want. Docs here: https://docs.monai.io/en/latest/transforms.html#cropforeground

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@XieXiao1997
Comment options

@ericspod
Comment options

Answer selected by ericspod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants