MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / __init__

Method __init__

monai/transforms/croppad/dictionary.py:620–624  ·  view source on GitHub ↗
(
        self, keys: KeysCollection, roi_size: Sequence[int] | int, allow_missing_keys: bool = False, lazy: bool = False
    )

Source from the content-addressed store, hash-verified

618 """
619
620 def __init__(
621 self, keys: KeysCollection, roi_size: Sequence[int] | int, allow_missing_keys: bool = False, lazy: bool = False
622 ) -> None:
623 cropper = CenterSpatialCrop(roi_size, lazy=lazy)
624 super().__init__(keys, cropper=cropper, allow_missing_keys=allow_missing_keys, lazy=lazy)
625
626
627class CenterScaleCropd(Cropd):

Callers

nothing calls this directly

Calls 2

CenterSpatialCropClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected