Menu

Deep learning for NeuroImaging in Python.

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.

Init class.

class Transform(transform, probability, randomize_per_channel)

Create new instance of Transform(transform, probability, randomize_per_channel)

probability

Alias for field number 1

randomize_per_channel

Alias for field number 2

transform

Alias for field number 0

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.

Follow us

© 2025, nidl developers