On Oct 23, 2020, at 4:56 AM, Ornaith O Reilly <oreillor@tcd.ie> wrote:
External Email - Use Caution
<Image 1 - tksurferfv not working.png><Image 2 - Geometry for patch.png><Image 3 Patch - Error.png><Image 4 -patch created.png>_______________________________________________Hello Freesurfer developers,
I am new to Freesurfer and I'm hoping that someone can help me; I'm attempting to get a flattened patch of an entire hemisphere. Below is a page outlining how to use mris_flatten to achieve this:
I am just trying to achieve this with the tutorial data to start with.
1. First problem is that when I run the command 'tksurferfv bert lh inflated'; I am getting the error outlined in Image 1.
2. I realised that I could create a patch using freeview instead of tksurfer. However I attempted to follow the instructions on the page above to do this and ran into some problems. Image 2 shows an example of the patch that I created and image 3 shows the error that I get when I attempt to press the Press Fill Uncut Area button (I tried this many times and got the same result).
3. However one time I did succeed in making a patch (I don't know what I did differently this time?) - see image 4 attached. I saved it as lh.full.patch.3d. When I tried to run the command mris_flatten :mris_flatten -w 10 lh.full.patch.3d lh.full.flat.patch.3d
I got the output:Ornaiths-MacBook-Air-3:surf ornaithoreilly$ mris_flatten -w 10 lh.full.patch.3d lh.full.flat.patch.3dusing write iterations = 10reading new surface format patch lh.full.patch.3d with 125717 vertices (94.1% of total)reading original vertex positions...minimizing metric distortion induced by projection...MRISunfold() max_passes = 1 -------tol=2.0e-01, sigma=0.0, host=unkno, nav=1024, nbrs=2, l_nlarea=1.000, l_dist=1.000using quadratic fit line minimizationcomplete_dist_mat 0rms 0smooth_averages 0remove_neg 0ico_order 0which_surface 0target_radius 0.000000nfields 0scale 0.000000desired_rms_height -1.000000momentum 0.900000nbhd_size 7max_nbrs 12niterations 40nsurfaces 0SURFACES 3flags 0 (0)use curv 0no sulc 0no rigid align 0mris->nsize 2mris->hemisphere 0randomSeed 0
--------------------/Users/developer/space_freesurfer/build/tulum/trunk/developer-7.1.1/utils/mrisurf_metricProperties.cpp:9034 Error opening parms.fp using filename lh.full.flat.patch.3d.out mode w
The version of Freesurfer and the platform that I'm using is outlined below:1) FreeSurfer version: freesurfer-darwin-macOS-7.1.1-20200811-8b405512) Platform: macOS High Sierra 10.13.6 (17G7024)
If anyone could shed some light on any of these errors or suggest an alternative method it would be greatly appreciated.
Thanks a lot.
Kind Regards
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer