spmup icon indicating copy to clipboard operation
spmup copied to clipboard

spmup_auto_reorient does not like defaced anat files

Open Remi-Gau opened this issue 7 years ago • 7 comments

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.

autoreorient_defacing

Remi-Gau avatar Oct 02 '18 10:10 Remi-Gau

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)

CPernet avatar Oct 03 '18 13:10 CPernet

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.

Remi-Gau avatar Oct 03 '18 15:10 Remi-Gau

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 auto_reorient_anat_sub-01-02_bids_7trt

1 subject with MP2RAGE from one of my data set with and without defacing: ditto auto_reorient_anat_sub-02_bids_avt

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. auto_reorient_anat_sub-01-02_bids_ds009

Remi-Gau avatar Oct 06 '18 12:10 Remi-Gau

I will try to play around with the separation parameters when doing the affine registration: maybe this will help.

Remi-Gau avatar Oct 09 '18 09:10 Remi-Gau

is spmup autorient still a pblem? we could try Chris function https://github.com/hMRI-group/hMRI-toolbox/blob/master/hmri_autoreorient.m

CPernet avatar Jan 08 '23 06:01 CPernet

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.

Remi-Gau avatar Jan 19 '23 22:01 Remi-Gau

let's try to use https://github.com/lrq3000/auto_acpc_reorient

CPernet avatar Sep 05 '23 15:09 CPernet