Hi Sarah It is something like:
100 * (mean(abs(distance error)) / mean(original_distances)) Cheers Bruce From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Sarah Lavelle Sent: Tuesday, November 8, 2022 12:20 PM To: freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] Calculating Distortion in mris_flatten() External Email - Use Caution Hi freesurfers, Does anyone know how to measure the distortion of your inflated surface -> flatmap transformation (using mris_flatten)? When being run, the function outputs "final distance error ...%" in the terminal. What exactly does this mean? and how is this calculated? I would like to research optimal cuts for flatmaps, depending on the region of interest (ROI), so we can minimize the distortion of the ROI itself on the 2D map. If anyone has any ideas on how this can be done or is interested in working with me on this, please contact me via <lavel...@tcd.ie<mailto:lavel...@tcd.ie>> Kind regards, Sarah
_______________________________________________ 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.