PyTorch toolbox to work with spherical surfaces.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
- surfify.augmentation.utils.multichannel_augmentation(augmentation, randomize_per_channel=True)[source]ΒΆ
Decorator to transform an augmentation to a multichannel one.
- Parameters:
augmentation : RandomAugmentation class
the augmentation class.
randomize_per_channel : bool, default True
optionnaly randomizes the augmentation parameter for each channel.
- Returns:
MultiChannelAugmentation : child class of augmentation
augmentation applicable to multi channel data.
Follow us