Thanks Doug,
I am trying to extract mean thickness from the ROI but I get the following
error :

amir% aparcstats2table --hemi lh --subjects `cat list5.txt` --parc
transversetemporal --meas thickness --skip --tablefile lh.Cth.roi.txt

SUBJECTS_DIR : /Applications/freesurfer/subjects/longBO

Parsing the .stats files

Skipping
/Applications/freesurfer/subjects/longBO/1003_1.long.temp_1003/stats/lh.transversetemporal.stats

Skipping
/Applications/freesurfer/subjects/longBO/1005_1.long.temp_1005/stats/lh.transversetemporal.stats

Skipping
/Applications/freesurfer/subjects/longBO/1003_2.long.temp_1003/stats/lh.transversetemporal.stats

Skipping
/Applications/freesurfer/subjects/longBO/1005_2.long.temp_1005/stats/lh.transversetemporal.stats

Building the table..

Traceback (most recent call last):

  File "/Applications/freesurfer/bin/aparcstats2table", line 388, in
<module>

    rows, columns, table = sanitize_table(options, pretable)

  File "/Applications/freesurfer/bin/aparcstats2table", line 303, in
sanitize_table

    _spec, _parc_measure_map = dt[0]

IndexError: list index out of range


The lh.tranverstemporal.stats looks like this:


# Table of FreeSurfer cortical parcellation anatomical statistics

#

# CreationTime 2015/05/27-11:57:08-GMT

# generating_program mris_anatomical_stats

# cvs_version $Id: mris_anatomical_stats.c,v 1.72 2011/03/02 00:04:26 nicks
Exp $

# mrisurf.c-cvs_version $Id: mrisurf.c,v 1.693.2.2 2011/04/27 19:21:05
nicks Exp $

# cmdline mris_anatomical_stats -l lh.transversetemporal.label -t
lh.thickness -b -f 1003_1.long.temp_1003/stats/lh.transverstemporal.stats
1003_1.long.temp_1003 lh

# sysname  Darwin

# hostname Cerebro.local

# machine  x86_64

# user     amir

#

# SUBJECTS_DIR /Applications/freesurfer/subjects/longBO

# anatomy_type surface

# subjectname 1003_1.long.temp_1003

# hemi lh

# AnnotationFile lh.transversetemporal.label

# AnnotationFileTimeStamp 2015/05/27 12:22:37

# Measure Cortex, NumVert, Number of Vertices, 134133, unitless

# Measure Cortex, WhiteSurfArea, White Surface Total Area, 89551.4, mm^2

# NTableCols 10

# TableCol  1 ColHeader StructName

# TableCol  1 FieldName Structure Name

# TableCol  1 Units     NA

# TableCol  2 ColHeader NumVert

# TableCol  2 FieldName Number of Vertices

# TableCol  2 Units     unitless

# TableCol  3 ColHeader SurfArea

# TableCol  3 FieldName Surface Area

# TableCol  3 Units     mm^2

# TableCol  4 ColHeader GrayVol

# TableCol  4 FieldName Gray Matter Volume

# TableCol  4 Units     mm^3

# TableCol  5 ColHeader ThickAvg

# TableCol  5 FieldName Average Thickness

# TableCol  5 Units     mm

# TableCol  6 ColHeader ThickStd

# TableCol  6 FieldName Thickness StdDev

# TableCol  6 Units     mm

# TableCol  7 ColHeader MeanCurv

# TableCol  7 FieldName Integrated Rectified Mean Curvature

# TableCol  7 Units     mm^-1

# TableCol  8 ColHeader GausCurv

# TableCol  8 FieldName Integrated Rectified Gaussian Curvature

# TableCol  8 Units     mm^-2

# TableCol  9 ColHeader  FoldInd

# TableCol  9 FieldName  Folding Index

# TableCol  9 Units      unitless

# TableCol 10 ColHeader CurvInd

# TableCol 10 FieldName Intrinsic Curvature Index

# TableCol 10 Units     unitless

# ColHeaders StructName NumVert SurfArea GrayVol ThickAvg ThickStd MeanCurv
GausCurv FoldInd CurvInd

lh.transversetemporal.label              1759   1138   3029  2.424 0.552
  0.101     0.026       11     2.0



Best regards,
Amirhossein Manzouri




On Wed, May 27, 2015 at 10:32 PM, Douglas N Greve <gr...@nmr.mgh.harvard.edu
> wrote:

> Use mri_label2label. Run it with --help to get more info
> doug
>
>
> On 05/27/2015 05:08 AM, amirhossein manzouri wrote:
>
>> Hi All,
>> I have created two ROIs from first time point Qdec group comparison. I
>> need to use this ROI labels to extract the thickness from tp1 and tp2
>> registered to base (template) subjects(from longitudinal pipeline).
>> Would you please let me how can I convert the label from 1st time point
>> space to longitudinal template space?
>>
>> Best regards,
>> Amirhossein Manzouri
>>
>>
>>
> --
> Douglas N. Greve, Ph.D.
> MGH-NMR Center
> gr...@nmr.mgh.harvard.edu
> Phone Number: 617-724-2358
> Fax: 617-726-7422
>
> Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
> FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
> www.nmr.mgh.harvard.edu/facility/filedrop/index.html
> Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/
>
>
>
> 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 Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
_______________________________________________
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 Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to