Hi Daniel

The patches are a somewhat different format than surfaces, so you need to load 
the surface that you cut it from first, then load the patch afterwards. I would 
think you could flatten anything if you have the right files in the right 
places (like the smoothwm as you mentioned)

Cheers
Bruce

From: freesurfer-boun...@nmr.mgh.harvard.edu 
<freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Glen, Daniel (NIH/NIMH) 
[E]
Sent: Friday, April 18, 2025 5:19 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] mris_flatten limitations


        External Email - Use Caution
I would like to abuse mris_flatten with a non-cerebrum surface. Will this work? 
It works for a sphere, but if I make cuts on more complicated shapes, it fails 
after hundreds of iterations with a "Segmentation fault". Are there any special 
tricks? Each patch file of cuts requires a different ?h.smoothwm file or 
h?.smoothwm file. If I copy the original surface to that requested file, the 
program continues. Is this correct? How can I predict this? I did manage to get 
one to make a flat.3D file, but display in Freeview or info from mris_info 
fails for that output, first using up large amounts of memory then crashes with 
another segmentation fault .

Thanks,
Daniel

_______________________________________________
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to