Re: [Freesurfer] surfaces and gifti

2011-12-09 Thread Nick Schmansky
this should work:

mris_convert --combinesurfs ./lh.pial ./rh.pial ./pial.gii

notice the output name has ./ in it, to override an old freesurfer-ism
of appending a default hemi.  also note that .gz is not necessary as
gzip is the freesurfer default for gifti.

however, freesurfers implementation doesnt support storing all the info
in one file.  the spec does allow this though, and there might be a way
to do it with gifti_tool (but my attempts with -infile and -write_gifti
failed).  but since the gifti file format is xml, there may a
straightforward programmatic way to combine all the independently
created gifti data files into one.  but lastly, i dont know if any of
the other gifti people have combined hemi info.

n.

On Fri, 2011-12-09 at 05:55 +0100, Satrajit Ghosh wrote:
 hi all,
 
 
 this command: mris_convert --combinesurfs lh.pial rh.pial pial.gii.gz
 
 
 resulted in lh.pial.gii.gz (the help says it should generate
 pial.gii.gz).
 
 
 a related question. once i have this gifti file how do i get
 annotations+curvature info also into the file? (the gifti schema
 supports this right?)
 
 
 essentially i am looking for a way to bundle the surface information
 into a single gifti container.
 
 cheers,
 
 satra
 
 
 ___
 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


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] surfaces and gifti

2011-12-08 Thread Satrajit Ghosh
hi all,

this command: mris_convert --combinesurfs lh.pial rh.pial pial.gii.gz

resulted in lh.pial.gii.gz (the help says it should generate pial.gii.gz).

a related question. once i have this gifti file how do i get
annotations+curvature info also into the file? (the gifti schema supports
this right?)

essentially i am looking for a way to bundle the surface information into a
single gifti container.

cheers,

satra
___
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.