The thickness is set to 0 in the portion of the medial wall where there is no cortex. You can just removed values that are exactly 0

On 10/10/2025 11:03 AM, Jonathan P Dyke wrote:

        External Email - Use Caution        

Hi. We have a question about the raw cortical thickness (CT) data exported from FS with read_curv. As an example, I loaded in the “bert” sample dataset, read the left hand cortical thicknesses and then dumped to a text file (attached).

 

This comes straight from the FS Wiki (https://surfer.nmr.mgh.harvard.edu/fswiki/UserContributions/FAQ)

Q. How can I make a histogram of cortical thickness?

A: In Matlab you can use the read_curv() function, as in the example below.

 

The matlab code are just in these three lines.

thick = read_curv(bert);

fileID2 = fopen(outfile,'w');

fprintf(fileID2,’%s \n’,thick);

 

The first image below shows the first 500 thicknesses in the array while the second image shows the first 5,000. There is a distinct oscillation/periodicity in the data that is written out. We were wondering if this has to do with the way that FS rasters across the brain going from sulci to gyri, etc? If the data is placed in a histogram, in a normal control subject we do get and expect a Gaussian distribution.

 

Please let us know!

Thanks,

   Jon

 

 

 

Jonathan P. Dyke, Ph.D., DABMP (MRI)

Professor of Physics Research in Radiology

Weill Cornell Medicine

Citigroup Biomedical Imaging Center

516 East 72nd Street, New York, NY 10021

T: (212) 746-5781

jpd2001@med.cornell.edu

https://cbic.weill.cornell.edu

https://radiology.weill.cornell.edu/research/mri-research-institute/jonathan-dyke-laboratory

https://vivo.weill.cornell.edu/display/cwid-jpd2001

 


_______________________________________________
Freesurfer mailing list -- freesurfer@nmr.mgh.harvard.edu
To unsubscribe send an email to freesurfer-leave@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman3/lists/freesurfer@nmr.mgh.harvard.edu/