Augmentations
Deprecated.
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.
NormalizeConfig
Bases: TransformConfig
Pydantic model used to represent Normalize transformation.
The Normalize transform is a zero mean and unit variance transformation.
Attributes:
-
name(Literal['Normalize']) –Name of the transformation.
-
mean(float) –Mean value for normalization.
-
std(float) –Standard deviation value for normalization.
model_dump(**kwargs)
validate_means_stds()
TransformConfig
Bases: BaseModel
Pydantic model used to represent a transformation.
The model_dump method is overwritten to exclude the name field.
Attributes:
-
name(str) –Name of the transformation.