Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-09 Thread Bruce Fischl
not and keep the topology (there is some decimation that is used in the EEG/MEG inverse stuff, but it's just to generate points, not faces) On Fri, 9 Dec 2011, Douglas N Greve wrote: > Bruce, do you have a command to reduce the number of vertices? > > John Griffiths wrote: >> >> >> Ok. Can't s

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-09 Thread Bruce Fischl
it won't On Fri, 9 Dec 2011, John Griffiths wrote: Ok. Can't see any options in mris_smooth info reducing the number of vertices. How would I do that? Ta,             john On 9 December 2011 17:22, Douglas N Greve wrote: Yes, give it both --sval-xyz and --tval-xyz to indicate that t

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-09 Thread Douglas N Greve
Bruce, do you have a command to reduce the number of vertices? John Griffiths wrote: > > > Ok. Can't see any options in mris_smooth info reducing the number of > vertices. How would I do that? > > Ta, >john > > > On 9 December 2011 17:22, Douglas N Greve

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-09 Thread John Griffiths
Ok. Can't see any options in mris_smooth info reducing the number of vertices. How would I do that? Ta, john On 9 December 2011 17:22, Douglas N Greve wrote: > Yes, give it both --sval-xyz and --tval-xyz to indicate that the output is > a surface. We usually use mris_smooth to smoot

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-09 Thread Douglas N Greve
Yes, give it both --sval-xyz and --tval-xyz to indicate that the output is a surface. We usually use mris_smooth to smooth surfaces; I'm not sure whether this use of mri_surf2surf will work properly. doug Bruce Fischl wrote: > Hi John > > Doug can say for sure, but I think you want to give it th

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-07 Thread Bruce Fischl
Hi John Doug can say for sure, but I think you want to give it the switch --sval-xyz so it knows to expect a surface not a scalar field over the surface. cheers Bruce On Wed, 7 Dec 2011, John Griffiths wrote: [ Douglas and Dan - sending this again as I didn't sent it to the list address bef

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-07 Thread John Griffiths
[ Douglas and Dan - sending this again as I didn't sent it to the list address before. Sorry. ] Thanks guys. When I run mri_info on the .mgz file I was using before it seems crash (nothing happens, and have to press ctrl+c to get the console back). So I suppose that partially explains mri_surf2s

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-06 Thread Douglas N Greve
surf2surf actually takes surface overlays (not surfaces themselves) as input, and they can be in any format that FS reads. The wiki is probably not up-to-date as those options are ok. doug Daniel Wakeman wrote: > Hi John, > > It seems weird that you are using .mgz files (this suffix is for > vo

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-06 Thread Douglas N Greve
What is lh.pial_converted.mgz? How big is it? what do get if you run mri_info on it? doug John Griffiths wrote: > Dear list, > > I am having the following memory allocation problem when running > mri_surf2surf. Can't find any mention of this error on the list or the > internet - sorry if I've

Re: [Freesurfer] mri_surf2surf error - Return code 254

2011-12-06 Thread Daniel Wakeman
Hi John, It seems weird that you are using .mgz files (this suffix is for volume files) with mri_surf2surf (whose inputs should be surfaces). Also, it seems that several of the options you are trying I don't believe exist at least according to the wiki (e.g. -cortex -fwhm). Are you sure you are us