clinicadl.transforms.config.ResampleConfig

clinicadl.transforms.config.ResampleConfig[source]

Config class for torchio.transforms.Resample.

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 target: Union[PositiveFloat, Tuple[PositiveFloat, PositiveFloat, PositiveFloat], str, Path, Tuple[Tuple[PositiveInt, PositiveInt, PositiveInt], ndarray]] = 1
parameter pre_affine_name: Optional[str] = None
parameter image_interpolation: InterpolationMode = 'linear'
parameter label_interpolation: InterpolationMode = 'nearest'
parameter scalars_only: bool = False
parameter include: Optional[Sequence[str]] = None
parameter exclude: Optional[Sequence[str]] = None
parameter copy_: bool = False (alias 'copy')