Skip to content
Discussion options

You must be logged in to vote

Hi @YerePhy ,

Thanks for your interest here.
In RandCropByLabelClasses, we have the logic to automatically adjust the crop center based on image size:
https://github.com/Project-MONAI/MONAI/blob/dev/monai/transforms/utils.py#L425

Thanks.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@YerePhy
Comment options

@Nic-Ma
Comment options

@Nic-Ma
Comment options

@YerePhy
Comment options

Answer selected by YerePhy
Comment options

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

@Sembelawi
Comment options

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