Hi!
I tried to convert the fsaverage rh.cortex.patch.flat to gifti with mris_convert lh.cortex.patch.flat lh.cortex.patch.flat.gii but gives me the error MRISalloc(16711682, 392): could not allocate vertices Cannot allocate memory
Same error, when I want to load it in tksurfer with tksurfer fsaverage lh cortex.patch.flat
I've got 4GB RAM, this should be enough. In the end, I'd like to display the flat map with an atlas overlayed. So, the number of vertices has to correspond to the number of vertices e.g. in lh.white, correct?
Stephen
Hi Stephan,
the patches are in a somewhat different format than the full surfaces. For mris_convert you need to give it a -p, and for tksurfer you need to load a full surface (e.g. inflated) then load the patch from the file menu.
cheers Bruce On Wed, 15 Jul 2009, Stephan Gerhard wrote:
Hi!
I tried to convert the fsaverage rh.cortex.patch.flat to gifti with mris_convert lh.cortex.patch.flat lh.cortex.patch.flat.gii but gives me the error MRISalloc(16711682, 392): could not allocate vertices Cannot allocate memory
Same error, when I want to load it in tksurfer with tksurfer fsaverage lh cortex.patch.flat
I've got 4GB RAM, this should be enough. In the end, I'd like to display the flat map with an atlas overlayed. So, the number of vertices has to correspond to the number of vertices e.g. in lh.white, correct?
Stephen
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Thanks for the answer, but if I do:
$ mris_convert -p rh.cortex.patch.flat rh.cortex.path.flat.gii
The output is not a valid gifti file, seems to have the same size as the input file and is binary.
But if I do:
$ mris_convert -p rh.cortex.patch.flat rh.cortex.path.flat.asc
The output looks like an ascii file with vertices and triangles, BUT there are values intermingled which I don't use (and also don't know what they mean) --- #!ascii version of patch ./rh.orig. The 1st index is not a vertex number 149765 298087 1 vno=0 -61.857536 13.979113 0.000000 2 vno=1 -26.692211 -61.772915 0.000000 3 vno=2 ... ----
How could I get rid of them? Or better, how can I get a gifti file directly?
Thanks a lot Stephan
Am Mittwoch, den 15.07.2009, 07:56 -0400 schrieb Bruce Fischl:
Hi Stephan,
the patches are in a somewhat different format than the full surfaces. For mris_convert you need to give it a -p, and for tksurfer you need to load a full surface (e.g. inflated) then load the patch from the file menu.
cheers Bruce On Wed, 15 Jul 2009, Stephan Gerhard wrote:
Hi!
I tried to convert the fsaverage rh.cortex.patch.flat to gifti with mris_convert lh.cortex.patch.flat lh.cortex.patch.flat.gii but gives me the error MRISalloc(16711682, 392): could not allocate vertices Cannot allocate memory
Same error, when I want to load it in tksurfer with tksurfer fsaverage lh cortex.patch.flat
I've got 4GB RAM, this should be enough. In the end, I'd like to display the flat map with an atlas overlayed. So, the number of vertices has to correspond to the number of vertices e.g. in lh.white, correct?
Stephen
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
Hi Stephan,
sorry, I missed the fact that you were trying to convert to gifti. I don't think we support patches in gifti format, but Nick (who wrote the gifti code) is on vacation and will get back to you about it next week.
cheers, Bruce
On Wed, 15 Jul 2009, Stephan Gerhard wrote:
Thanks for the answer, but if I do:
$ mris_convert -p rh.cortex.patch.flat rh.cortex.path.flat.gii
The output is not a valid gifti file, seems to have the same size as the input file and is binary.
But if I do:
$ mris_convert -p rh.cortex.patch.flat rh.cortex.path.flat.asc
The output looks like an ascii file with vertices and triangles, BUT there are values intermingled which I don't use (and also don't know what they mean)
#!ascii version of patch ./rh.orig. The 1st index is not a vertex number 149765 298087 1 vno=0 -61.857536 13.979113 0.000000 2 vno=1 -26.692211 -61.772915 0.000000 3 vno=2 ...
How could I get rid of them? Or better, how can I get a gifti file directly?
Thanks a lot Stephan
Am Mittwoch, den 15.07.2009, 07:56 -0400 schrieb Bruce Fischl:
Hi Stephan,
the patches are in a somewhat different format than the full surfaces. For mris_convert you need to give it a -p, and for tksurfer you need to load a full surface (e.g. inflated) then load the patch from the file menu.
cheers Bruce On Wed, 15 Jul 2009, Stephan Gerhard wrote:
Hi!
I tried to convert the fsaverage rh.cortex.patch.flat to gifti with mris_convert lh.cortex.patch.flat lh.cortex.patch.flat.gii but gives me the error MRISalloc(16711682, 392): could not allocate vertices Cannot allocate memory
Same error, when I want to load it in tksurfer with tksurfer fsaverage lh cortex.patch.flat
I've got 4GB RAM, this should be enough. In the end, I'd like to display the flat map with an atlas overlayed. So, the number of vertices has to correspond to the number of vertices e.g. in lh.white, correct?
Stephen
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