Hello,
I'm getting two different results from the coregistration step. When I run bbregister on the mean epi it coregisters properly and writes out _bbreg.nii. The next step involves registering the realigned epi time series to the T1 image using the same transform matrix calculated from the mean image. But the results fail miserably. I've attached some sample images.
I came across the same result after transforming the matrix it to ITK space and applying the transform using ANTs' applyTransform, which tells me that the ITK conversion works, but this registration goes wrong. Or I may not really understand what I'm doing, lol.
Here are the commands:
bbregister --t2 --epi-mask --init-header --fslmat /data/pt_nmc002/TDMGB_FMRI_coreg/tmp/preproc/_subject_id_sub-01/bbreg/mapflow/_bbreg0/meanusub-01_task-spespk_run-01_bold_bbreg_sub-01.mat --reg /data/pt_nmc002/TDMGB_FMRI_coreg/tmp/preproc/_subject_id_sub-01/bbreg/mapflow/_bbreg0/meanusub-01_task-spespk_run-01_bold_bbreg_sub-01.dat --o /data/pt_nmc002/TDMGB_FMRI_coreg/tmp/preproc/_subject_id_sub-01/bbreg/mapflow/_bbreg0/meanusub-01_task-spespk_run-01_bold_bbreg.nii --mov /data/pt_nmc002/TDMGB_FMRI_coreg/tmp/preproc/_subject_id_sub-01/bbreg/mapflow/_bbreg0/meanusub-01_task-spespk_run-01_bold.nii --s sub-01
mri_vol2vol --fsl /data/pt_nmc002/TDMGB_FMRI_coreg/tmp/preproc/_subject_id_sub-01/bbreg/mapflow/_bbreg0/meanusub-01_task-spespk_run-01_bold_bbreg_sub-01.mat --mov /data/pt_nmc002/TDMGB_FMRI_coreg/tmp/preproc/_subject_id_sub-01/coreg_func/mapflow/_coreg_func0/usub-01_task-spespk_run-01_bold.nii --targ /data/pt_nmc002/TDMGB_FMRI_coreg/tmp/preproc/_subject_id_sub-01/brainextract/sub-01_acq-T1w_brain.nii.gz --o /data/pt_nmc002/TDMGB_FMRI_coreg/tmp/preproc/_subject_id_sub-01/coreg_func/mapflow/_coreg_func0/usub-01_task-spespk_run-01_bold_warped.nii
Regards, Glad