(
self,
keys: KeysCollection,
roi_size: Sequence[int] | int,
max_roi_size: Sequence[int] | int | None = None,
random_center: bool = True,
random_size: bool = False,
allow_missing_keys: bool = False,
lazy: bool = False,
)
| 688 | """ |
| 689 | |
| 690 | def __init__( |
| 691 | self, |
| 692 | keys: KeysCollection, |
| 693 | roi_size: Sequence[int] | int, |
| 694 | max_roi_size: Sequence[int] | int | None = None, |
| 695 | random_center: bool = True, |
| 696 | random_size: bool = False, |
| 697 | allow_missing_keys: bool = False, |
| 698 | lazy: bool = False, |
| 699 | ) -> None: |
| 700 | cropper = RandSpatialCrop(roi_size, max_roi_size, random_center, random_size, lazy=lazy) |
| 701 | super().__init__(keys, cropper=cropper, allow_missing_keys=allow_missing_keys, lazy=lazy) |
| 702 | |
| 703 | |
| 704 | class RandScaleCropd(RandCropd): |
nothing calls this directly
no test coverage detected