Hi Amanda
mris_convert -c lh.thickness.asc lh.white lh.thickness.mgz
should do the trick
cheers
Bruce
On Mon, 15 Oct
2018, Worker, Amanda wrote:
>
> External Email - Use Caution
>
> How would I do that? mris_convert doesn't seem to take .asc as an input?
>
>
>
> ____________________________________________________________________________________________________
> From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of
> Greve, Douglas N.,Ph.D. <DGREVE@mgh.harvard.edu>
> Sent: 15 October 2018 16:25:51
> To: freesurfer@nmr.mgh.harvard.edu
> Subject: Re: [Freesurfer] Using a .asc file as overlay in freeview/tksurfer
> Not sure. Can you use mris_convert to convert the asc back to a curv file?
>
> On 10/15/2018 11:20 AM, Worker, Amanda wrote:
> >
> > External Email - Use Caution
> >
> > Hello,
> >
> >
> > I am trying to overlay a .asc file in either freeview or tksurfer, but
> > so far having no luck.
> >
> >
> > As practice and to determine the right format, I am simply using
> > lh.thickness, which I've converted to .asc using the following command:
> >
> >
> > % mris_convert -c lh.thickness lh.white lh.thickness.asc
> >
> >
> > I am trying to overlay this onto lh.pial for one subject, however I
> > cannot load the file and I get the following error message:
> >
> >
> > % mri_read(): couldn't determine type of file
> >/data/project/biobank/normative_modelling/DATA/03129b39-45a0-4491-9fdf-c7062a631d19/surf/lh.thickne
> ss.asc
> > surfer: couldn't load
> >/data/project/biobank/normative_modelling/DATA/03129b39-45a0-4491-9fdf-c7062a631d19/surf/lh.thickne
> ss.asc.
> > If you were trying to load a functional volume, make sure
> > you selected the right registration method, and if necessary,
> > that the registration file exists.
> > If you were trying to load a volume-encoded value file,
> > make sure it has the same number of values as this surface
> > does vertices (128970).
> > sclv_read_from_volume: error in FunD_New
> >
> > Interestingly, I can load the file as a curvature file, but then can't
> > play around with the threshold.
> >
> >
> > Do you have any idea what I'm doing wrong? Any help would be appreciated!
> >
> >
> > Thanks,
> >
> >
> > Amanda
> >
> >
> >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> >
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailm
> an%2Flistinfo%2Ffreesurfer&data=01%7C01%7Camanda.worker%40kcl.ac.uk%7C3ac3c35e85fb46f47e2c08d63
> 2b28e63%7C8370cf1416f34c16b83c724071654356%7C0&sdata=p6poNQ0vBOYwWAjR4Ujk5lfKTtIcbEDR6icoWCJ2mz
> 8%3D&reserved=0
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
>
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailm
> an%2Flistinfo%2Ffreesurfer&data=01%7C01%7Camanda.worker%40kcl.ac.uk%7C3ac3c35e85fb46f47e2c08d63
> 2b28e63%7C8370cf1416f34c16b83c724071654356%7C0&sdata=p6poNQ0vBOYwWAjR4Ujk5lfKTtIcbEDR6icoWCJ2mz
> 8%3D&reserved=0
>
>