Re: [Freesurfer] convert gii to mgh/nii.gz (freesurfer surface)

2020-04-17 Thread Tim Schäfer
External Email - Use Caution

You will need to convert it to FreeSurfer surface format (instead of MGH/NIFTI, 
which are volume formats), the standard one is the binary surface format. 
Assuming your file is 'lh.white.gii':

mris_convert lh.white.gii lh.white

or to use the less common ASCII version (I would not recommend that):

mris_convert lh.white.gii lh.white.asc

Best,

Tim

> On April 17, 2020 at 12:38 PM Marina Fernández 
>  wrote:
> 
> 
> External Email - Use Caution
> 
> Hi experts,
> 
> How can I convert a surface in .gii format to a surface in .mgh or nii.gz
> format?
> 
> I tried with mris_convert but it doesn't work.
> 
> 
> Best regards,
> Marina
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

--
Dr. Tim Schäfer
Postdoc Computational Neuroimaging
Department of Child and Adolescent Psychiatry, Psychosomatics and Psychotherapy
University Hospital Frankfurt, Goethe University Frankfurt am Main, Germany

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Re: [Freesurfer] convert gii to mgh/nii.gz (freesurfer surface)

2020-04-17 Thread Bruce Fischl

Hi Marina

can you include command line and full screen output (in text!) so we can 
understand what you mean by "it doesn't work". Also, note that 
.mgh/.nii.gz are volume formats, not surface ones, so you can't convert a 
surface to them. You will need to use our surface format


cheers
Bruce
On Fri, 17 Apr 
2020, Marina Fernández wrote:




External Email - Use Caution

Hi experts,
How can I convert a surface in .gii format to a surface in .mgh or nii.gz
format?

I tried with mris_convert but it doesn't work.


Best regards,
Marina

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

[Freesurfer] convert gii to mgh/nii.gz (freesurfer surface)

2020-04-17 Thread Marina Fernández
External Email - Use Caution

Hi experts,

How can I convert a surface in .gii format to a surface in .mgh or nii.gz
format?

I tried with mris_convert but it doesn't work.


Best regards,
Marina
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer