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

Method __init__

monai/transforms/croppad/dictionary.py:645–653  ·  view source on GitHub ↗
(
        self,
        keys: KeysCollection,
        roi_scale: Sequence[float] | float,
        allow_missing_keys: bool = False,
        lazy: bool = False,
    )

Source from the content-addressed store, hash-verified

643 """
644
645 def __init__(
646 self,
647 keys: KeysCollection,
648 roi_scale: Sequence[float] | float,
649 allow_missing_keys: bool = False,
650 lazy: bool = False,
651 ) -> None:
652 cropper = CenterScaleCrop(roi_scale, lazy=lazy)
653 super().__init__(keys, cropper=cropper, allow_missing_keys=allow_missing_keys, lazy=lazy)
654
655
656class RandSpatialCropd(RandCropd):

Callers

nothing calls this directly

Calls 2

CenterScaleCropClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected