Hi,

I have an issue in using flirt command for FSL (5.0). I used flirt and it works well to co-register an image, say INPUT using REFERENCE and get final co-registered image as OUTPUT and transformation matrix OUTPUT.mat.

Now I have ROIs defined in the INPUT image space, so I tried to transform these ROIs into OUTPUT image space using OUTPUT.mat matrix using following command:

flirt -in ROI.nii -ref REFERENCE.nii -applyxfm -init OUTPUT.mat -out NewROI.nii

But I get following error after I run this:

terminate called after throwing an instance of 'NEWMAT::SingularException'

Aborted (core dumped)

I would really appreciate if someone could help me in figuring this out ?

Thanks,

Sahil

More Sahil Bajaj's questions See All
Similar questions and discussions