Conversion Module
- class bio_volumentations.conversion.transforms.ConversionToFormat(always_apply: bool = True, p: float = 1)[source]
Bases:
DualTransformCheck the very basic assumptions about the input images.
Adds channel dimension to the 3D images without it. Checks that shapes of individual target types are consistent (to some extent).
- Parameters:
always_apply (bool, optional) –
Always apply this transformation in composition.
Defaults to
True.p (float, optional) –
Chance of applying this transformation in composition.
Defaults to
1.
- Targets:
image, mask
- class bio_volumentations.conversion.transforms.NoConversion(always_apply: bool = True, p: float = 1)[source]
Bases:
DualTransformAn identity transform.
- Parameters:
always_apply (bool, optional) –
Always apply this transformation in composition.
Defaults to
True.p (float, optional) –
Chance of applying this transformation in composition.
Defaults to
1.
- Targets:
image, mask