Open Remi-Gau opened 6 years ago
ooh that it bad -- works ok with mri_deface and others because there are still some face .. funny the affine transform founds a minimum with a tilt! got to think what to do here ?? note I usually use it on T1 and apply on all EPI (which typically are roughly in register)
I guess if we had some skullstrip routine, this could help...
Will test spmup_auto_reorient.m
on some other examples from the bids-examples repo that were defaced differently from mine. As soon as I am done with testing/improving the spmup_BIDS.m
.
Will also test it on some MP2RAGE images I have: their weird noisy background messes up a lot of other softwares so it would be good to check if they are a problem here even before defacing.
OK checked on a few other data sets including MP2RAGE.
2 Subjects (1 and 2) from the 7t_trt BIDS data set: spmup_auto_reorient.m
does not like MP2RAGE
1 subject with MP2RAGE from one of my data set with and without defacing: ditto
2 subjects (1 and 2) from the ds009 BIDS data set with a normal T1w but with a different defacing than the one I used: this looks more acceptable though would require checking on other subjects.
I will try to play around with the separation parameters when doing the affine registration: maybe this will help.
is spmup autorient still a pblem? we could try Chris function https://github.com/hMRI-group/hMRI-toolbox/blob/master/hmri_autoreorient.m
will try to run it on a series of bids dataset to get an idea.
some vanilla T1w and some more exotic MP2RAGE to check.
let's try to use https://github.com/lrq3000/auto_acpc_reorient
Am starting testing spmup on a BIDS data set of mine and it seems that the
spmup_auto_reorient
is not too happy with defaced structurals (see attached check-reg: top left (before reorient) - top right (after reorient)). I was also getting funky results on some EPI that had a restricted field of view.I don't really have a "fix" in mind but I could make a pull request to add a manual_coregistration function that has been circulating for a while in my lab but has not found a home in a github repo yet.