dutchconnectomelab / CATO

Toolbox for structural and functional brain connectivity reconstruction.
http://www.dutchconnectomelab.nl/CATO/
Other
15 stars 0 forks source link

Add compatibility for complex vox2ras matrices #33

Closed SiemondeLange closed 1 year ago

SiemondeLange commented 1 year ago

The previous implementation assumed a single term per column in the vox2ras matrix of the segmentationFile NIfTI. However, if a vox2ras matrix with multiple terms was used, CATO would throw an error. This PR adds compatibility for such complex vox2ras matrices. Additionally, the tests have been updated to include these complex vox2ras matrices (with mri_info as reference).