Skip to content

Transform Unions

Source

Type used to represent all transformations users can create.

NORM_AND_SPATIAL_UNION = Annotated[Union[NormalizeConfig, XYFlipConfig, XYRandomRotate90Config], Discriminator('name')] module-attribute

All transforms including normalization.

SPATIAL_TRANSFORMS_UNION = Annotated[Union[XYFlipConfig, XYRandomRotate90Config], Discriminator('name')] module-attribute

Available spatial transforms in CAREamics.