RandCropByPosNegLabeld crop position
sharonlee12 opened this issue · comments
Hello, I would like to know if the RandCropByPosNegLabel cropped position can be returned? Or is there a transform that makes it easier to obtain the cropping position?
Hi @sharonlee12, thanks for your interest here.
You can get crop center by using data.meta["crop_center"]
.
MONAI/monai/transforms/croppad/array.py
Line 1220 in 4af2306
Hope it helps, thanks. (convert to discussion for now)