Menu

Package that provides tools for brain Lithium MRI pre-processing.

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.

limri.regtools.ants2affine(mat_file)[source]

Map from ‘in_file’ image voxels to ‘ref_file’ voxels given mat_file omat Ants affine transformation.

Parameters

mat_file : str

filename of affine transformation file from Ants.

Returns

omat : array (4, 4)

array containing the transform from voxel coordinates in image for ‘in_file’ to voxel coordinates in image for ‘ref_file’.

Follow us

© 2024, Limri developers