Hi Bruce,
Thank you for your reply! Would you please give me a hint how does it work, save ras2vox or ras xform into to FS surface file? I searched the archive, googled, did not figure out yet. All the function such as read_susrf.m and write_surf.m only deal with coordinates and faces information. Thank you! Ting On Fri, Nov 21, 2014 05:21 Hi Ting STL may not contain the info for ras2vox transform as it is not a medicalimaging format. We've only supported it in the past for 3D printing and such. You might need to keep track of the ras2vox and restore it when you convert back (e.g. in matlab) cheers Bruce On Fri, Nov 21, 2014 at 12:18 AM, ting xu <xutin...@gmail.com> wrote: > Hi there, > > In my understanding, mris_convert does not change any information > (vertices coordinates and triangles) during converting, right? However, I > observed odd thing as bellow, > > Command I used:* mris_convert subjid/surf/lh.white > subjid/surf/lh.white.stl* > > I convert the white surface to .stl format, then load original white > surface and .stl file in freeview, with subjid/mri/brainmask.mgz as volume > underlay. The shape of lh.white.stl mesh looks the same as original one, > but the position of lh.white.stl was displaced. I attached a screenshot > (yellow one is original white surface, red one is .stl format one). > > I also used freesurfer_read_surf function to read the coordinates and the > faces in matlab, then compare it to .stl coordinate, they are the same. > > I need to use .stl format for my analysis outside freesurfer, then convert > result back to freesurfer format. I am worried whether this would cause any > problems? > > PS, if it is fsaverage template surface, no position shift after format > transform. > > Many thanks if anyone help with this, > > Ting > > >
_______________________________________________ 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.