you can try $FREESURFER/matlab/read_patch.m
On 5/25/2022 5:02 PM, Alberto Pisoni wrote:
External Email - Use Caution
Thanks that worked perfectly.
Now that I have my flat patch how can I import it in matlab for some
additional plotting?
Also, I read the wiki but I am not sure if and how I can import an
atlas and create the annotation for the vertexes with that atlas.
Thanks
A
Il giorno mer 25 mag 2022 alle ore 16:19 Fischl, Bruce
<bfis...@mgh.harvard.edu> ha scritto:
Hi Alberto
Usually that means that you missed some cuts and there are still
attachments. Occasionally it is due to a local minimum. You can
try changing the distance preservation matrix to be bigger with
longer range distances. Something like -distances 20 20 (out to 20
neighbors and 20 at each distance) or even largely. The defaults
were set a long time ago when there was much less ram available.
You can also try -dilate 1 to dilate the cuts by 1 vertex,
although then you lose more of the surface
Cheers
Bruce
*From:* freesurfer-boun...@nmr.mgh.harvard.edu
<freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *Alberto Pisoni
*Sent:* Wednesday, May 25, 2022 5:28 AM
*To:* freesurfer@nmr.mgh.harvard.edu
*Subject:* [Freesurfer] mris_flatten distortions
* External Email - Use Caution *
Hi all, I am trying to flatten a whole hemisphere, and i created
the cut patch following the tutorials.
see the result here.
*MailScanner has detected a possible fraud attempt from
"secure-web.cisco.com" claiming to be*
https://drive.google.com/file/d/11co39jCDmQC8VdLrN6iQp-ytWxxz40WY/view?usp=sharing
<https://secure-web.cisco.com/1xjf27LYk5Ie25CTk51Q3cPiwVe-uMjYXB4V0ViZqlanRh7HkTXKDS-1HTcTPXJCxmT3JtXYt-sqlqTYba3y3B2xlT0j5KYd9OUxIUWG4M1l2bD8eJiwJyFN7ULqtMaNqcShZD1j9pfoIDMHkPwLQXeQzBegTua5cg8XJj2IQzIAXpclV-iPlS4zJyPVcu0aZPVRHZpbR59kD4h0kNhV2r27EjnaJQnz6gwXtHebd3zAt9zul6Da9a81ExBbcVBsSEkuKIo56Bk4UAeG4zUFxUaqXh3VdUOKAuLe3rW_KxvppnVmzzBTGolW24VY3i2YqGx-T0DeBXUqluMeJ1ZOfp3e6RoAONlmXcMMUMmP40Ng/https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F11co39jCDmQC8VdLrN6iQp-ytWxxz40WY%2Fview%3Fusp%3Dsharing>
Then I run the command
mris_flatten <input patch> <output patch>
from the surf dir and it works, but when I visualize the patch it
is distorted, like if I did not cut the inflated surface.
*MailScanner has detected a possible fraud attempt from
"secure-web.cisco.com" claiming to be*
https://drive.google.com/file/d/11cOYRjQqXsyPoIly3WiMPVT7vYBK5vFw/view?usp=sharing
<https://secure-web.cisco.com/128ktBKDV9wlBus-Bu1XsphHIMQpHtnuoTRQ6748JzsrgK9lPn_h05GfjIBjSL-QA4cPUy-IFGDhAUETl-kUeOrwC9-ZtdJAVVuZHIDhbFmXrSVogZpjuArXlFgXwcp8YVysQrS1qnDMwIjtXsob18Ruuc-p_jXrL-hKdZXCjWieJ09HVkdLTixeRmLvq-LtP3II8nyipaXht-odxS8YqLRWQLoDV0ra6ge_Vg7HK6AfOM2XAtiAc9PykwlNBwPk9pu5NXGXpPdnAH8RH2h2IrdfshzGVdJgp1mLcOrZj-eoDf1dgP5P3xFHm_ZMuExHuYn801IRrIlJzaJGY9yqhwHiVy6LNQNwDaZqNerVElaE/https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F11cOYRjQqXsyPoIly3WiMPVT7vYBK5vFw%2Fview%3Fusp%3Dsharing>
What am I missing?
The Freesurfer version is 7.2.0 (although I also tried with 6.0)
and the system is a OS 11.6.1 BigSur Macbook Pro with M1 chip.
Thanks
Alberto
------------------------------------------------------
Alberto Pisoni, PhD
Associate Professor
Department of Psychology
University of Milano-Bicocca
Building U6 ~ Room 3139
piazza dell'Ateneo Nuovo 1
20126, Milano, Italy
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
*MailScanner has detected a possible fraud attempt from
"secure-web.cisco.com" claiming to be*
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
<https://secure-web.cisco.com/1r93O2oOGeOsEyNn0wnGrGwVoVfMWacJgyZ1Bj0cs1wPKeBqv6P_vN3YwxO2oH_3wrsuphQm_ea5Nf69yaFMUvTN0OyuUb2Hkl16tBekl8wPP18_V6TEhcsQ9yersMO68iqUWd0ad9QvuEgWx-ZMcZzyh5TzjSY_nlM5dfHbJwqFoqdomrbpctgNUrSdDVdSAeuZfrmiDfo4UeLxWJdvJN_22yORsfvYI-yTGCFgRPsO2MAL0TQvlB4ZlGFkSjCjhR2I9KPoFZKYBkYHAn4kFQdCV1E30ZD7lUvQT4Apfe2P26zoc7ewyKbbDMNNzNJ5VusZyATZMIRnSXG2JipQrzLA7Yb44jEglEo5OPx_l7FU/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer>
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
*MailScanner has detected a possible fraud attempt from
"secure-web.cisco.com" claiming to be*
https://www.massgeneralbrigham.org/complianceline
<https://secure-web.cisco.com/1HmKWIfdd8s0URU64NsFYd-UZLWt-q7e7V_w0--6FshVGw6tYOeSmiNPmzqCHZs9VSiOaxhq4U6gRcA-JKJ2Bgp6Qm9MHCcIxyLV47-M3sA9QBbAx7_ihO93EpWJmw5khMgNxJUuqxMak2MN9QL5halBbsCVAxfBXMiH91ekS8cpLLQnSiqhA-yVCD7TRH0ErXEaUU6jMKBWi34DMh7_4tZupHuETg4by9NLtDssawR8kDiIKHZcUqntHM7hseMm4dwNoI75YQqbX00iOGRYjENQSGrD8PdeMZitDoAoBY-fSKK5IkMiG54SBtZvIaaT_pxSaOX07a6vfVQWx66IcaiREKHNn4a6e4oAlrmoVZqw/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>
<*MailScanner has detected a possible fraud attempt from
"secure-web.cisco.com" claiming to be*
https://www.massgeneralbrigham.org/complianceline
<https://secure-web.cisco.com/1vlLkLW9f2Qg5t6y9_-hrAc6NfdL-NecfjQTEhQSdO7tZxl9_GCCsL6Gquu6RF4KKNRCNUqhGRImPbiRNFcLWFAo88lZqFZfPTxDtzpOg1oTBiwSyK2tLiSeEOagQuGGj27GFwDdTy2Efwh--qib6ddPY9sMo65dBh4vaqWadRGn--p1N453ii5NU9r6W04h-fDul1Yl6I3Qs8yz_Ai1jB1jDeAsV0gqNf35czSWqzVtbCA3P0RXXZ1J747qxP8v3izfQml4s3VuY4B_XWJAyH2Kw5B32Y2vKZ8wfUFfDOh7Gq3M_7hFei15Ec1qt4Ujzj5r5GgQFMu6kW1tBlsGT7_pgjtQU5HN1uGQTiCh0qsA/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>>
.
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.
--
------------------------------------------------------
Alberto Pisoni, PhD
Associate Professor
Department of Psychology
University of Milano-Bicocca
Building U6 ~ Room 3139
piazza dell'Ateneo Nuovo 1
20126, Milano, Italy
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
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.