clinicadl.transforms.config.RandomAffineConfig

clinicadl.transforms.config.RandomAffineConfig[source]

Config class for torchio.transforms.RandomAffine.

The keys of the input DataPoint on which the transforms will be applied can be specified via include (only these keys will be transformed) or exclude (all the keys except these ones will be transformed).

copy argument determines if the raw input DataPoint will be returned (False), or a copy (True).

parameter scales: Union[NonNegativeFloat, tuple[float, float], Tuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat], Tuple[float, float, float, float, float, float]] = 0.1
parameter degrees: Union[NonNegativeFloat, tuple[float, float], Tuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat], Tuple[float, float, float, float, float, float]] = 10
parameter translation: Union[NonNegativeFloat, tuple[float, float], Tuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat], Tuple[float, float, float, float, float, float]] = 0
parameter isotropic: bool = False
parameter center: CenterMode = 'image'
parameter default_pad_value: Union[float, RandomAffinePaddingMode] = 'minimum'
parameter image_interpolation: InterpolationMode = 'linear'
parameter label_interpolation: InterpolationMode = 'nearest'
parameter check_shape: bool = True
parameter include: Optional[Sequence[str]] = None
parameter exclude: Optional[Sequence[str]] = None
parameter copy_: bool = False (alias 'copy')