[Freesurfer] converting .img to .mgz
Hi everybody, I ve got a small question on converting .img scans(Analyze) TO .mgz... suppose i have a raw.img(and raw.hdr) file and I want to use recon-all for converting this to .mgz do I just need to do recon-all -i raw.img -s Or is there any other way I can directly use .img files instead of converting to the native .mgz format...? Thanks a lot,in advance Chacko. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Re: [Freesurfer] converting .img to .mgz
that should work. Why do you want another way? Bruce On Thu, 8 Jun 2006, Chacko Cherian wrote: Hi everybody, I ve got a small question on converting .img scans(Analyze) TO .mgz... suppose i have a raw.img(and raw.hdr) file and I want to use recon-all for converting this to .mgz do I just need to do recon-all -i raw.img -s Or is there any other way I can directly use .img files instead of converting to the native .mgz format...? Thanks a lot,in advance Chacko. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Re: [Freesurfer] converting .img to .mgz
You can't use .img files directly in the recon. The cmd line you have will work, or you can mkdir -p subject_name/orig mri_convert raw.img subject_name/orig/001.mgz Note: make sure that you look at 001.mgz in tkmedit to make sure that it is oriented correct, esp if the .img does not have a .mat doug Chacko Cherian wrote: Hi everybody, I ve got a small question on converting .img scans(Analyze) TO .mgz... suppose i have a raw.img(and raw.hdr) file and I want to use recon-all for converting this to .mgz do I just need to do recon-all -i raw.img -s Or is there any other way I can directly use .img files instead of converting to the native .mgz format...? Thanks a lot,in advance Chacko. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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 [EMAIL PROTECTED] Phone Number: 617-724-2358 Fax: 617-726-7422 In order to help us help you, please follow the steps in: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Re: [Freesurfer] converting .img to .mgz
That doesn't seem to work...the error it gives is > > "Unsupported datatype 132" --- Doug Greve <[EMAIL PROTECTED]> wrote: > > You can't use .img files directly in the recon. The > cmd line you have > will work, or you can > > mkdir -p subject_name/orig > mri_convert raw.img subject_name/orig/001.mgz > > Note: make sure that you look at 001.mgz in tkmedit > to make sure that it > is oriented correct, esp if the .img does not have a > .mat > > doug > > > > > Chacko Cherian wrote: > > >Hi everybody, > > > >I ve got a small question on converting .img > >scans(Analyze) TO .mgz... > > > >suppose i have a raw.img(and raw.hdr) file and I > want > >to > >use recon-all for converting this to .mgz do I just > >need to do > >recon-all -i raw.img -s > >Or is there any other way I can directly use .img > >files instead of converting to the native .mgz > >format...? > > > >Thanks a lot,in advance > > > > > >Chacko. > > > > > >__ > >Do You Yahoo!? > >Tired of spam? Yahoo! Mail has the best spam > protection around > >http://mail.yahoo.com > >___ > >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 > [EMAIL PROTECTED] > Phone Number: 617-724-2358 > Fax: 617-726-7422 > > In order to help us help you, please follow the > steps in: > surfer.nmr.mgh.harvard.edu/fswiki/BugReporting > > > ___ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer