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
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
Hi Nick,
I did one pass at supporting a "both" prefix for both hemis combined. Can you make the output "both.pial.gii" and let's adopt that convention?
thanks Bruce
On Fri, 9 Dec 2011, Nick Schmansky wrote:
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
freesurfer@nmr.mgh.harvard.edu