External Email - Use Caution
Hi Malav, try
mris_diff --min-dist lh.wm.smth5 lh.pial.smth5 1 lh.thickness
The output will be on the pial surface. Reverse the surface order to get it on the white surface
doug


On 5/22/2023 5:48 AM, Malav Shah wrote:

        External Email - Use Caution

Dear freeSurfer team,
I am trying to extract cortical thickness in a postmortem elephant (structural) MRI scan.

I initiated the process with the segmentation of white (wm) and pial matter, using MATLAB image processing tools. Having satisfied white and pial matter labels, I "tesselated" these volumes to generate pial and wm surfaces.
Then, with 'mris_smooth' command, I smoothed these surfaces.
When attempted to estimate cortical thickness between these surfaces (lh.pial.smth5 and lh.wm.smth5), I get the following error.

command: mris_place_surface --thickness lh.pial.smth5 lh.wm.smth5 20 5 lh.thickness
error: No such file or directory
error:
ERROR:
MRISreadVertexPositions(/Volumes/experiment/share/Malav/Ele_ana_cortexMRI/pipelines/dumba_piece/lh.wm.smth5): surfaces differ. Main: 177753 verts 365096 faces, lh.wm.smth5: 145095 verts 298436 faces
Surfaces may be out-of-date

I understand there is a mismatch in the number of nodes of these surfaces. How can I rectify this issue to get to the thickness?
Thanks and regards,
malav

Malav Shah
PhD candidate, Michael Brecht Lab,
Humboldt University zu Berlin.
(+49) 163-216-9391

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1pjZSejN3qAoutdAz4ZgudZ-Fu9A0xaOD1oZyw-rIly2jzHFtOG9oN156MWYnTs-bef79cUtJym0G0xYLHZ0M5gshV7xrOIgi_03Md3YmlYwKACLVq5CDj9rMQZ4MCo1NTP3lR4V1-LEagN0k72Who-h0_u_QMnicijIghq9M_flwMMM0hxxgOZKtYFu5kETqpLaw_ahEzYBoGkKgeIcN4hFI8ZG_K3db_ptYxfRC-ciLyGbnI7yInxbcSvJ_Xs6h/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
_______________________________________________
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