Thank you Bruce! On Wed, Jan 6, 2016 at 8:03 PM, Bruce Fischl <fis...@nmr.mgh.harvard.edu> wrote:
> Hi Peng > > you can use read_wfile to read it into matlab, then save_mgh or MRIwrite > to save them in .mgz format. Note that you will need to make sure that the > vector you are writing is the correct length. The w-files can be sparse > (that is, every vertex doesn't have to have a value), but the .mgz files > cannot be, so you'll need to create a vector that is nvertices in length > (the number of vertices in the surface you are using), then set the entries > in the vertices given to you by read_wfile to the values it gives you > > cheers > Bruce > > > On Tue, 29 Dec 2015, peng wrote: > > Hi Freesurfers, >> I tried to overlay .w file onto a surface, and failed. I dug the >> previous >> posts and know this file format is obsolete now. However I wish to know in >> which version of freeview can I still use this file format, if possible. >> It >> will be great if you can provide the link for it. If this is not possible, >> is there a matlab tool similar to 'write_file.m' so I can output my data >> in >> matlab to the newer format (substitution of w-file)? >> Thanks in advance. >> >> best >> Peng >> >> > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > > The information in this e-mail is intended only for the person to whom it > is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > >
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.