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.Padd(shape, fill_value=0)[source]

Apply a padding.

__init__(shape, fill_value=0)[source]

Init class.

Parameters

shape : list of int

the desired shape.

fill_value : int, default 0

the value used to fill the array.

Follow us

© 2023, brainrise developers