CoBrALab / antsRegistration-MAGeT

A reimplementation of MAGeTbrain using only ANTs tools.
Other
16 stars 6 forks source link

Ensure agnostic input/output filetypes. #13

Closed gdevenyi closed 7 years ago

gdevenyi commented 8 years ago

We should be able to do nifti and minc (inputs) using these tools. Ensure that this is the case.

Useful generic extension stripper:

basename $file | sed -r 's/\.(mnc|nii|nii.gz)$//g'
gdevenyi commented 8 years ago

Best for extracting filenames and extensions.

http://stackoverflow.com/a/965069/4130016

gdevenyi commented 8 years ago

Need to add .nrrd option