Hello again,
I've found my mistake! Instead of using the brainmask from reconall for the target, I used the brain from the fsl ouput of BET. This is a mistake, since the two brains aren't aligned. I've corrected the mistake and now it works.
Regards, Glad
On 07/13/2017 11:02 PM, Paul Glad Mihai wrote:
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
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.