(
self,
keys: KeysCollection,
roi_scale: Sequence[float] | float,
max_roi_scale: Sequence[float] | float | None = None,
random_center: bool = True,
random_size: bool = False,
allow_missing_keys: bool = False,
lazy: bool = False,
)
| 731 | """ |
| 732 | |
| 733 | def __init__( |
| 734 | self, |
| 735 | keys: KeysCollection, |
| 736 | roi_scale: Sequence[float] | float, |
| 737 | max_roi_scale: Sequence[float] | float | None = None, |
| 738 | random_center: bool = True, |
| 739 | random_size: bool = False, |
| 740 | allow_missing_keys: bool = False, |
| 741 | lazy: bool = False, |
| 742 | ) -> None: |
| 743 | cropper = RandScaleCrop(roi_scale, max_roi_scale, random_center, random_size, lazy=lazy) |
| 744 | super().__init__(keys, cropper=cropper, allow_missing_keys=allow_missing_keys, lazy=lazy) |
| 745 | |
| 746 | |
| 747 | class RandSpatialCropSamplesd(Randomizable, MapTransform, LazyTransform, MultiSampleTrait): |
nothing calls this directly
no test coverage detected