Inês,

Alternatively, the usage of mris_convert that you want is:

  mris_convert -c lh.thickness lh.white lh.thickness.asc

then, after altering the .asc file, to convert back:

  mris_convert -c lh.thickness.asc lh.white lh.thickness

See mris_convert --help.  The surface file is needed so as it has
something to load into (you can use lh.inflated, or lh.pial, it doesnt
matter).

Nick


On Tue, 2007-07-31 at 12:18 +0100, Inês Souta wrote:
> Hello,
> 
> I was trying to create a cortical thickness map with constant values
> in order to perform some tests. At first I tried using mris_convert. I
> converted my thickness file into ascii:
> 
> mris_convert lh.thickness lh.thickess.asc
> 
> then I used matlab to change all the values in the last column to 2,0.
> I tried to convert the ascii file back to surface file by doing
> 
> mris_convert lh.thicness.asc lh.thickness
> 
> but I got "Segmentation fault". How can I convert may ascii file into
> a surface one? 
> 
> After failling to acomplish this, I tried using the save_mgh and
> load_mgh file, nevertheless I'm not quite sure which input values are
> needed. Where can I put my fake values in the save_mgh file? And what
> is "vol"? 
> 
> Thanks,
> 
> Ines
> _______________________________________________
> 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

Reply via email to