Re: [Freesurfer] reg-feat2anat: a problem!
Dear Doug, The determinant sign is negative for both example_func and orig.mgz (-73.6 and -1, respecitively). The files differed also in their format, type, vox2ras-fsl and orientation, but I guess it is ok. My feeling was that flirt is unable to fit the brain given the maximum angle of rotation 90, so I doubled this using: re-feat2anat --dof 6 --maxangle 180 --feat run1.feat --subject xx I tried this on several subjects and the registration looks very good: I would not make it better manually. Can I assume it works now? Cheers, Aga -Ursprüngliche Nachricht- Von: Douglas N Greve [mailto:gr...@nmr.mgh.harvard.edu] Gesendet: Mo 2011-02-07 19:36 An: Burzynska, Aga Cc: 'freesurfer@nmr.mgh.harvard.edu' Betreff: Re: [Freesurfer] reg-feat2anat: a problem! That is not a problem. By anatomical I meant the FreeSurfer anatomical (eg, orig.mgz) doug Agnieszka Burzynska wrote: Dear Doug, Thank you a lot! Our feat data is always nifti, but anatomical FSL data is sometimes in the analyze format. Is this already a problem? I will now check the rest. Thank you, cheers, Aga On 2/7/11 4:35 PM, Douglas N Greve gr...@nmr.mgh.harvard.edu wrote: Hi Aga, are you using nifti? If analyze, that could be the problem. Do your functionals and anatomicals have a different sign to their determinants (you can check with mri_info). In principle, reg-feat2anat should handle this but in some cases it does not. The 5.1 version will handle it properly. If they do have the same sign, then look through the log file and find the flirt command. Run that command by itself (you may need to run reg-feat2anat with --nocleanup to keep it from deleting the files). If that fails, then contact the FSL people doug Agnieszka Burzynska wrote: Dear all, I am using the command reg-feat2anat to transform functional data pre-processed in FSL to the anatomical image in Freesurfer. As suggested, I check the registration with reg-feat2anat --feat run2.feat manual. I have 3 runs of functional data for each subject. Surprisingly, some runs are registered well but others not (even of the same subject, so using the same reference anatomical images: see the attached image. Upper row: bad registration of one run and lower row: good registration of another run). I have no problem to manually correct the registrations, it works well, but as I have many subjects, I wonder if there may be a way to change some options of reg-feat2anat to make it work better? Can you see from the attached image what is the problem with my images? (I viewed the functional and anatomical data of a few subjects, some woth good and some with bad registration and see no difference or flip) Thanks a lot for your help! Aga ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html 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. ___ 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.
Re: [Freesurfer] reg-feat2anat: a problem!
Yea, though I might just go to 179 to make sure there's not a flip. doug Burzynska, Aga wrote: Dear Doug, The determinant sign is negative for both example_func and orig.mgz (-73.6 and -1, respecitively). The files differed also in their format, type, vox2ras-fsl and orientation, but I guess it is ok. My feeling was that flirt is unable to fit the brain given the maximum angle of rotation 90, so I doubled this using: re-feat2anat --dof 6 --maxangle 180 --feat run1.feat --subject xx I tried this on several subjects and the registration looks very good: I would not make it better manually. Can I assume it works now? Cheers, Aga -Ursprüngliche Nachricht- Von: Douglas N Greve [mailto:gr...@nmr.mgh.harvard.edu] Gesendet: Mo 2011-02-07 19:36 An: Burzynska, Aga Cc: 'freesurfer@nmr.mgh.harvard.edu' Betreff: Re: [Freesurfer] reg-feat2anat: a problem! That is not a problem. By anatomical I meant the FreeSurfer anatomical (eg, orig.mgz) doug Agnieszka Burzynska wrote: Dear Doug, Thank you a lot! Our feat data is always nifti, but anatomical FSL data is sometimes in the analyze format. Is this already a problem? I will now check the rest. Thank you, cheers, Aga On 2/7/11 4:35 PM, Douglas N Greve gr...@nmr.mgh.harvard.edu wrote: Hi Aga, are you using nifti? If analyze, that could be the problem. Do your functionals and anatomicals have a different sign to their determinants (you can check with mri_info). In principle, reg-feat2anat should handle this but in some cases it does not. The 5.1 version will handle it properly. If they do have the same sign, then look through the log file and find the flirt command. Run that command by itself (you may need to run reg-feat2anat with --nocleanup to keep it from deleting the files). If that fails, then contact the FSL people doug Agnieszka Burzynska wrote: Dear all, I am using the command reg-feat2anat to transform functional data pre-processed in FSL to the anatomical image in Freesurfer. As suggested, I check the registration with reg-feat2anat --feat run2.feat manual. I have 3 runs of functional data for each subject. Surprisingly, some runs are registered well but others not (even of the same subject, so using the same reference anatomical images: see the attached image. Upper row: bad registration of one run and lower row: good registration of another run). I have no problem to manually correct the registrations, it works well, but as I have many subjects, I wonder if there may be a way to change some options of reg-feat2anat to make it work better? Can you see from the attached image what is the problem with my images? (I viewed the functional and anatomical data of a few subjects, some woth good and some with bad registration and see no difference or flip) Thanks a lot for your help! Aga ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html 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. -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Re: [Freesurfer] reg-feat2anat: a problem!
Good point, I will do that! But so far when I looked, the L-R flip did not happen. Thank you! Aga Aga Burzynska Max Planck Institute for Human Development Neurocognition of Decision Making Lentzeallee 94 14195 Berlin Ph: + 49 30 82406 335 -Ursprüngliche Nachricht- Von: Douglas N Greve [mailto:gr...@nmr.mgh.harvard.edu] Gesendet: Mi 2011-02-09 17:11 An: Burzynska, Aga Cc: freesurfer@nmr.mgh.harvard.edu Betreff: Re: AW: [Freesurfer] reg-feat2anat: a problem! Yea, though I might just go to 179 to make sure there's not a flip. doug Burzynska, Aga wrote: Dear Doug, The determinant sign is negative for both example_func and orig.mgz (-73.6 and -1, respecitively). The files differed also in their format, type, vox2ras-fsl and orientation, but I guess it is ok. My feeling was that flirt is unable to fit the brain given the maximum angle of rotation 90, so I doubled this using: re-feat2anat --dof 6 --maxangle 180 --feat run1.feat --subject xx I tried this on several subjects and the registration looks very good: I would not make it better manually. Can I assume it works now? Cheers, Aga -Ursprüngliche Nachricht- Von: Douglas N Greve [mailto:gr...@nmr.mgh.harvard.edu] Gesendet: Mo 2011-02-07 19:36 An: Burzynska, Aga Cc: 'freesurfer@nmr.mgh.harvard.edu' Betreff: Re: [Freesurfer] reg-feat2anat: a problem! That is not a problem. By anatomical I meant the FreeSurfer anatomical (eg, orig.mgz) doug Agnieszka Burzynska wrote: Dear Doug, Thank you a lot! Our feat data is always nifti, but anatomical FSL data is sometimes in the analyze format. Is this already a problem? I will now check the rest. Thank you, cheers, Aga On 2/7/11 4:35 PM, Douglas N Greve gr...@nmr.mgh.harvard.edu wrote: Hi Aga, are you using nifti? If analyze, that could be the problem. Do your functionals and anatomicals have a different sign to their determinants (you can check with mri_info). In principle, reg-feat2anat should handle this but in some cases it does not. The 5.1 version will handle it properly. If they do have the same sign, then look through the log file and find the flirt command. Run that command by itself (you may need to run reg-feat2anat with --nocleanup to keep it from deleting the files). If that fails, then contact the FSL people doug Agnieszka Burzynska wrote: Dear all, I am using the command reg-feat2anat to transform functional data pre-processed in FSL to the anatomical image in Freesurfer. As suggested, I check the registration with reg-feat2anat --feat run2.feat manual. I have 3 runs of functional data for each subject. Surprisingly, some runs are registered well but others not (even of the same subject, so using the same reference anatomical images: see the attached image. Upper row: bad registration of one run and lower row: good registration of another run). I have no problem to manually correct the registrations, it works well, but as I have many subjects, I wonder if there may be a way to change some options of reg-feat2anat to make it work better? Can you see from the attached image what is the problem with my images? (I viewed the functional and anatomical data of a few subjects, some woth good and some with bad registration and see no difference or flip) Thanks a lot for your help! Aga ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html 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. -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html ___ 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
Re: [Freesurfer] reg-feat2anat: a problem!
Hi Aga, are you using nifti? If analyze, that could be the problem. Do your functionals and anatomicals have a different sign to their determinants (you can check with mri_info). In principle, reg-feat2anat should handle this but in some cases it does not. The 5.1 version will handle it properly. If they do have the same sign, then look through the log file and find the flirt command. Run that command by itself (you may need to run reg-feat2anat with --nocleanup to keep it from deleting the files). If that fails, then contact the FSL people doug Agnieszka Burzynska wrote: Dear all, I am using the command reg-feat2anat to transform functional data pre-processed in FSL to the anatomical image in Freesurfer. As suggested, I check the registration with reg-feat2anat --feat run2.feat —manual. I have 3 runs of functional data for each subject. Surprisingly, some runs are registered well but others not (even of the same subject, so using the same reference anatomical images: see the attached image. Upper row: bad registration of one run and lower row: good registration of another run). I have no problem to manually correct the registrations, it works well, but as I have many subjects, I wonder if there may be a way to change some options of reg-feat2anat to make it work better? Can you see from the attached image what is the problem with my images? (I viewed the functional and anatomical data of a few subjects, some woth good and some with bad registration and see no difference or flip) Thanks a lot for your help! Aga ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html ___ 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.
Re: [Freesurfer] reg-feat2anat: a problem!
That is not a problem. By anatomical I meant the FreeSurfer anatomical (eg, orig.mgz) doug Agnieszka Burzynska wrote: Dear Doug, Thank you a lot! Our feat data is always nifti, but anatomical FSL data is sometimes in the analyze format. Is this already a problem? I will now check the rest. Thank you, cheers, Aga On 2/7/11 4:35 PM, Douglas N Greve gr...@nmr.mgh.harvard.edu wrote: Hi Aga, are you using nifti? If analyze, that could be the problem. Do your functionals and anatomicals have a different sign to their determinants (you can check with mri_info). In principle, reg-feat2anat should handle this but in some cases it does not. The 5.1 version will handle it properly. If they do have the same sign, then look through the log file and find the flirt command. Run that command by itself (you may need to run reg-feat2anat with --nocleanup to keep it from deleting the files). If that fails, then contact the FSL people doug Agnieszka Burzynska wrote: Dear all, I am using the command reg-feat2anat to transform functional data pre-processed in FSL to the anatomical image in Freesurfer. As suggested, I check the registration with reg-feat2anat --feat run2.feat ‹manual. I have 3 runs of functional data for each subject. Surprisingly, some runs are registered well but others not (even of the same subject, so using the same reference anatomical images: see the attached image. Upper row: bad registration of one run and lower row: good registration of another run). I have no problem to manually correct the registrations, it works well, but as I have many subjects, I wonder if there may be a way to change some options of reg-feat2anat to make it work better? Can you see from the attached image what is the problem with my images? (I viewed the functional and anatomical data of a few subjects, some woth good and some with bad registration and see no difference or flip) Thanks a lot for your help! Aga ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html ___ 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.
Re: [Freesurfer] reg- feat2anat error-problem
How did you check it? Can you check it with reg-feat2anat --feat Akkaya_Zuhre_1_9++.feat/ --subject akkaya --manxfm func2std doug uzay emir wrote: Hi doug the example_func to standard space registration is correct. I do not know what to do. Uzay Doug Greve [EMAIL PROTECTED] wrote: It sounds like something has to be fixed. Is the example_func to standard space registration correct? If not, then you will need to fix it. That registration is purely FSL. doug uzay emir wrote: Hi, Orientation problem is outlined below. 1-When the target in coronal view, movable(example_func) is sagital. 2- When the target is in sagital view, movable is coronal. 3- axial view is teh same both movable and target but The problem in this situation is that there is an angle between movable and target. I followed all the steps. Right now should I expect that reg-feat2anat solves the big problems or should i have to register manually with tkregister2? Regards Uzay Doug Greve [EMAIL PROTECTED] wrote: What do you mean there was an orientation problem? If you use analyze files, then it relies on the FSL reg to std space being correct. Is it? uzay emir wrote: Thank you,it is working now. However, I have anorientation problem with automatic registration results. This problem has been mentioned before but i could not find any reply. I think this is something related following lines where I found it in the reg- feat2anat log file. Regards Uzay - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - INFO: using NIfTI-1 sform- INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Fri May 18 11:13:12 EEST 2007 /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/orig /home/uzay/freesurfer_3/freesurfer/bin//reg-feat2anat --feat Akkaya_Zuhre_1_9++.feat/ --subject akkaya Linux localhost.localdomain 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 i686 i386 GNU/Linux mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz $Id: mri_convert.c,v 1.141 2007/04/26 05:31:21 greve Exp $ reading from /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz... TR=11.00, TE=4.92, TI=4.92, flip angle=15.00 i_ras = (-1, 2.56273e-11, 6.83856e-10) j_ras = (-1.17877e-09, -2.94451e-16, -1) k_ras = (3.0538e-12, 1, -9.84868e-13) writing to Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz... example_func ras_good_flag --- Initializing exf2anat from crude std2anat tkregister2 --targ /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz --mov /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img --reg Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat --fslregout Akkaya_Zuhre_1_9++.feat//reg/freesurfer/std2anat.fsl.mat --regheader --noedit target volume /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz movable volume /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img reg file Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat LoadVol0 $Id:
Re: [Freesurfer] reg- feat2anat error-problem
Hi doug the example_func to standard space registration is correct. I do not know what to do. Uzay Doug Greve [EMAIL PROTECTED] wrote: It sounds like something has to be fixed. Is the example_func to standard space registration correct? If not, then you will need to fix it. That registration is purely FSL. doug uzay emir wrote: Hi, Orientation problem is outlined below. 1-When the target in coronal view, movable(example_func) is sagital. 2- When the target is in sagital view, movable is coronal. 3- axial view is teh same both movable and target but The problem in this situation is that there is an angle between movable and target. I followed all the steps. Right now should I expect that reg-feat2anat solves the big problems or should i have to register manually with tkregister2? Regards Uzay Doug Greve [EMAIL PROTECTED] wrote: What do you mean there was an orientation problem? If you use analyze files, then it relies on the FSL reg to std space being correct. Is it? uzay emir wrote: Thank you,it is working now. However, I have anorientation problem with automatic registration results. This problem has been mentioned before but i could not find any reply. I think this is something related following lines where I found it in the reg- feat2anat log file. Regards Uzay - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - INFO: using NIfTI-1 sform - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Fri May 18 11:13:12 EEST 2007 /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/orig /home/uzay/freesurfer_3/freesurfer/bin//reg-feat2anat --feat Akkaya_Zuhre_1_9++.feat/ --subject akkaya Linux localhost.localdomain 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 i686 i386 GNU/Linux mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz $Id: mri_convert.c,v 1.141 2007/04/26 05:31:21 greve Exp $ reading from /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz... TR=11.00, TE=4.92, TI=4.92, flip angle=15.00 i_ras = (-1, 2.56273e-11, 6.83856e-10) j_ras = (-1.17877e-09, -2.94451e-16, -1) k_ras = (3.0538e-12, 1, -9.84868e-13) writing to Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz... example_func ras_good_flag --- Initializing exf2anat from crude std2anat tkregister2 --targ /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz --mov /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img --reg Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat --fslregout Akkaya_Zuhre_1_9++.feat//reg/freesurfer/std2anat.fsl.mat --regheader --noedit target volume /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz movable volume /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img reg file Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat LoadVol0 $Id: tkregister2.c,v 1.80 2007/05/11 18:39:00 greve Exp $ Diagnostic Level -1 INFO: loading target /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Ttarg: -1.000 0.000 0.000 128.000; 0.000 0.000 1.000 -128.000; 0.000 -1.000 0.000 128.000; 0.000 0.000 0.000 1.000; INFO: loading
Re: [Freesurfer] reg- feat2anat error-problem
It sounds like something has to be fixed. Is the example_func to standard space registration correct? If not, then you will need to fix it. That registration is purely FSL. doug uzay emir wrote: Hi, Orientation problem is outlined below. 1-When the target in coronal view, movable(example_func) is sagital. 2- When the target is in sagital view, movable is coronal. 3- axial view is teh same both movable and target but The problem in this situation is that there is an angle between movable and target. I followed all the steps. Right now should I expect that reg-feat2anat solves the big problems or should i have to register manually with tkregister2? Regards Uzay Doug Greve [EMAIL PROTECTED] wrote: What do you mean there was an orientation problem? If you use analyze files, then it relies on the FSL reg to std space being correct. Is it? uzay emir wrote: Thank you,it is working now. However, I have anorientation problem with automatic registration results. This problem has been mentioned before but i could not find any reply. I think this is something related following lines where I found it in the reg- feat2anat log file. Regards Uzay - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - INFO: using NIfTI-1 sform - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Fri May 18 11:13:12 EEST 2007 /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/orig /home/uzay/freesurfer_3/freesurfer/bin//reg-feat2anat --feat Akkaya_Zuhre_1_9++.feat/ --subject akkaya Linux localhost.localdomain 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 i686 i386 GNU/Linux mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz $Id: mri_convert.c,v 1.141 2007/04/26 05:31:21 greve Exp $ reading from /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz... TR=11.00, TE=4.92, TI=4.92, flip angle=15.00 i_ras = (-1, 2.56273e-11, 6.83856e-10) j_ras = (-1.17877e-09, -2.94451e-16, -1) k_ras = (3.0538e-12, 1, -9.84868e-13) writing to Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz... example_func ras_good_flag --- Initializing exf2anat from crude std2anat tkregister2 --targ /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz --mov /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img --reg Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat --fslregout Akkaya_Zuhre_1_9++.feat//reg/freesurfer/std2anat.fsl.mat --regheader --noedit target volume /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz movable volume /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img reg file Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat LoadVol0 $Id: tkregister2.c,v 1.80 2007/05/11 18:39:00 greve Exp $ Diagnostic Level -1 INFO: loading target /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Ttarg: -1.000 0.000 0.000 128.000; 0.000 0.000 1.000 -128.000; 0.000 -1.000 0.000 128.000; 0.000 0.000 0.000 1.000; INFO: loading movable /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img Tmov: -2.000 0.000 0.000 91.000; 0.000
Re: [Freesurfer] reg- feat2anat error-problem
Thank you,it is working now. However, I have anorientation problem with automatic registration results. This problem has been mentioned before but i could not find any reply. I think this is something related following lines where I found it in the reg- feat2anat log file. Regards Uzay - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - INFO: using NIfTI-1 sform - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Fri May 18 11:13:12 EEST 2007 /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/orig /home/uzay/freesurfer_3/freesurfer/bin//reg-feat2anat --feat Akkaya_Zuhre_1_9++.feat/ --subject akkaya Linux localhost.localdomain 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 i686 i386 GNU/Linux mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz $Id: mri_convert.c,v 1.141 2007/04/26 05:31:21 greve Exp $ reading from /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz... TR=11.00, TE=4.92, TI=4.92, flip angle=15.00 i_ras = (-1, 2.56273e-11, 6.83856e-10) j_ras = (-1.17877e-09, -2.94451e-16, -1) k_ras = (3.0538e-12, 1, -9.84868e-13) writing to Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz... example_func ras_good_flag --- Initializing exf2anat from crude std2anat tkregister2 --targ /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz --mov /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img --reg Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat --fslregout Akkaya_Zuhre_1_9++.feat//reg/freesurfer/std2anat.fsl.mat --regheader --noedit target volume /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz movable volume /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img reg file Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat LoadVol0 $Id: tkregister2.c,v 1.80 2007/05/11 18:39:00 greve Exp $ Diagnostic Level -1 INFO: loading target /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Ttarg: -1.000 0.000 0.000 128.000; 0.000 0.000 1.000 -128.000; 0.000 -1.000 0.000 128.000; 0.000 0.000 0.000 1.000; INFO: loading movable /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img Tmov: -2.000 0.000 0.000 91.000; 0.000 0.000 2.000 -91.000; 0.000 -2.000 0.000 109.000; 0.000 0.000 0.000 1.000; mkheaderreg = 1, float2int = 0 Computing reg from header (and possibly input matrix) Input registration matrix (computed) 1.000 0.000 0.000 1.414; -0.000 -0.000 1.000 -30.612; 0.000 -1.000 -0.000 -44.496; 0.000 0.000 0.000 1.000; --- Input registration matrix 1.000 0.000 0.000 1.414; -0.000 -0.000 1.000 -30.612; 0.000 -1.000 -0.000 -44.496; 0.000 0.000 0.000 1.000; subject = subject-unknown RegMat --- 1.000 0.000 0.000 1.414; -0.000 -0.000 1.000 -30.612; 0.000 -1.000 -0.000 -44.496; 0.000 0.000 0.000 1.000; register: file Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat written FSLOUTPUTTYPE NIFTI_GZ tkreg2FSL: mov det = -8, ref det = -1 mri_matrix_multiply -fsl -bin -iim Akkaya_Zuhre_1_9++.feat//reg/example_func2standard.mat -iim
Re: [Freesurfer] reg- feat2anat error-problem
What do you mean there was an orientation problem? If you use analyze files, then it relies on the FSL reg to std space being correct. Is it? uzay emir wrote: Thank you,it is working now. However, I have anorientation problem with automatic registration results. This problem has been mentioned before but i could not find any reply. I think this is something related following lines where I found it in the reg- feat2anat log file. Regards Uzay - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - INFO: using NIfTI-1 sform - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file - - INFO: could not find /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file for direction cosine info. INFO: use Analyze 7.5 hdr-hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.mat file __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Fri May 18 11:13:12 EEST 2007 /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/orig /home/uzay/freesurfer_3/freesurfer/bin//reg-feat2anat --feat Akkaya_Zuhre_1_9++.feat/ --subject akkaya Linux localhost.localdomain 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 i686 i386 GNU/Linux mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz mri_convert /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz $Id: mri_convert.c,v 1.141 2007/04/26 05:31:21 greve Exp $ reading from /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz... TR=11.00, TE=4.92, TI=4.92, flip angle=15.00 i_ras = (-1, 2.56273e-11, 6.83856e-10) j_ras = (-1.17877e-09, -2.94451e-16, -1) k_ras = (3.0538e-12, 1, -9.84868e-13) writing to Akkaya_Zuhre_1_9++.feat//reg/freesurfer/tmp/anat.nii.gz... example_func ras_good_flag --- Initializing exf2anat from crude std2anat tkregister2 --targ /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz --mov /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img --reg Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat --fslregout Akkaya_Zuhre_1_9++.feat//reg/freesurfer/std2anat.fsl.mat --regheader --noedit target volume /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz movable volume /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img reg file Akkaya_Zuhre_1_9++.feat//reg/freesurfer/anat2std.register.dat LoadVol0 $Id: tkregister2.c,v 1.80 2007/05/11 18:39:00 greve Exp $ Diagnostic Level -1 INFO: loading target /home/uzay/freesurfer_3/freesurfer/subjects/akkaya/mri/brainmask.mgz Ttarg: -1.000 0.000 0.000 128.000; 0.000 0.000 1.000 -128.000; 0.000 -1.000 0.000 128.000; 0.000 0.000 0.000 1.000; INFO: loading movable /home/uzay/freesurfer_3/freesurfer/fsl/etc/standard/avg152T1_brain.img Tmov: -2.000 0.000 0.000 91.000; 0.000 0.000 2.000 -91.000; 0.000 -2.000 0.000 109.000; 0.000 0.000 0.000 1.000; mkheaderreg = 1, float2int = 0 Computing reg from header (and possibly input matrix) Input registration matrix (computed) 1.000 0.000 0.000 1.414; -0.000 -0.000 1.000 -30.612; 0.000 -1.000 -0.000 -44.496; 0.000 0.000 0.000 1.000; --- Input registration matrix 1.000 0.000 0.000 1.414; -0.000 -0.000 1.000 -30.612; 0.000 -1.000 -0.000 -44.496; 0.000 0.000 0.000 1.000; subject = subject-unknown RegMat --- 1.000 0.000 0.000 1.414; -0.000 -0.000 1.000 -30.612; 0.000 -1.000 -0.000 -44.496; 0.000 0.000 0.000 1.000; register: file