Menu

Module providing common Brain MRI Augmentation Methods for PyTorch.

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 brainrise.spatial.RandomFlip(axis=None, seed=None)[source]

Apply a random mirror flip.

__init__(axis=None, seed=None)[source]

Init class.

Parameters

axis : int, default None

apply flip on the specified axis. If not specified, randomize the flip axis.

seed : int, default None

seed to control random number generator.

Follow us

© 2023, brainrise developers