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.flirt2aff(mat_file, in_file, ref_file)[source]

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

Parameters

mat_file : str

filename of output ‘-omat’ transformation file from FSL flirt.

in_file : str

filename of the image passed to flirt as the ‘-in’ image.

ref_file : str

filename of the image passed to flirt as the ‘-ref’ image.

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