Menu

Module providing common Brain MRI Augmentation Methods for PyTorch.

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.

brainrise.transform.striu2mat(striu)[source]ΒΆ

Construct shear matrix from upper triangular vector.

Parameters

striu : array (N,)

vector giving triangle above diagonal of shear matrix.

Returns

SM : array (N, N)

shear matrix.

Follow us

© 2023, brainrise developers