PyTorch toolbox to work with spherical surfaces.
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the gallery for the big picture.
-
class
surfify.augmentation.utils.BaseTransformer[source]¶ Class that can be used to register a sequence of transformations.
-
class
Transform(transform, probability, randomize_per_channel)¶ -
property
probability¶ Alias for field number 1
-
property
randomize_per_channel¶ Alias for field number 2
-
property
transform¶ Alias for field number 0
-
property
-
register(transform, probability=1, randomize_per_channel=True)[source]¶ Register a new transformation.
- Parameters
transform : RandomAugmentation instance
a transformation.
probability : float, default 1
the transform is applied with the specified probability.
randomize_per_channel : bool, default True
a parameter to control if the randomization of tranformation parameters must be applied channel-wise.
-
class
Follow us