bio_volumentations.conversion package

bio_volumentations.conversion.transforms module

class bio_volumentations.conversion.transforms.ConversionToFormat(always_apply: bool = False, p: float = 1)[source]

Bases: DualTransform

Check 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).

apply(volume, **params)[source]
apply_to_mask(mask, **params)[source]
class bio_volumentations.conversion.transforms.NoConversion[source]

Bases: DualTransform

An identity transform.

apply(volume, **params)[source]
apply_to_mask(mask, **params)[source]