Hi gurus, The output of mri_robust_register includes some instruction for checking the registration.
In my case the ouput said I could check the registration by running "tkregister2 --mov 0110837_20090425/mri/001.anatomicalspace.mgz --targ 0311501_scan1_20061205/mri/001.anatomicalspace.mgz --lta 0110837_20090425/mri/transforms/robustreg.lta --reg 0110837_20090425/mri/transforms/robustreg.reg"
However, when I run this I get the error that file 0110837_20090425/mri/transforms/robustreg.reg does not exist. Mri_robust_register appears to exit without error and creates the linear transform array file, but it did not create a file called robustreg.reg. Did something go wrong?
Hi Jared,
tkregister2 does not need to read that reg file, it is for output only (if you for example adjust the registration and save the result). I just tried it on FS stable 4.5 and it does not complain if the reg file does not exist. Not sure at all, why you are getting an error. What is the exact output? Which version are you running?
That file robustreg.reg is not created by mri_robust_register and you do not need to worry. You can check the registration also by outputing the source mapped/resampled to the target with the --warp option, or to be fair and resample both images you can move both of them to the half-way space with --halfmov hmov.mgz --halfdst hdst.mgz and then look at the files with tkmedit -f hdst.mgz -aux hmov.mgz
Best, Martin
On Thu, 2009-11-19 at 18:11 -0500, Jared Price wrote:
Hi gurus, The output of mri_robust_register includes some instruction for checking the registration.
In my case the ouput said I could check the registration by running "tkregister2 --mov 0110837_20090425/mri/001.anatomicalspace.mgz --targ 0311501_scan1_20061205/mri/001.anatomicalspace.mgz --lta 0110837_20090425/mri/transforms/robustreg.lta --reg 0110837_20090425/mri/transforms/robustreg.reg"
However, when I run this I get the error that file 0110837_20090425/mri/transforms/robustreg.reg does not exist. Mri_robust_register appears to exit without error and creates the linear transform array file, but it did not create a file called robustreg.reg. Did something go wrong?
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu