AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 22, 2019 07:31PM
You could try something like this (following the example inside the @SUMA_MakeSpecFS script). Right now the 2009 parcellation is given priority over the DKT parcellation. We'll consider adding that in the future to the output, but in the meantime, I think this should work.

#!/bin/tcsh
set suma_dir = mysumadir       # usually a directory called SUMA
set fslabel_dir = myFSlabeldir  # this is a parallel directory to your existing SUMA output directory called "label"
set hands = (lh rh)

cd $fslabel_dir
# make the annotation labels on the original FreeSurfer surfaces for each hemisphere
foreach hand ( $hands )
  FSread_annot -input ${hand}.aparc.DKTatlas40.annot -roi_1D $suma_dir/${hand}.aparc.DKTatlas40.annot.1D.roi \
  -dset  $suma_dir/${hand}.aparc.DKTatlas40.annot.niml.dset -cmap_1D $suma_dir/${hand}.aparc.DKTatlas40.annot.1D.cmap \
  -FScmap aparc.annot.DKTatlas40.ctab
end

cd $suma_dir
# transform labels to standard meshes
foreach hand ( $hands )
   MapIcosahedron -spec $suma_dir/FS_${hand}.spec -ld 60 -NN_dset_map $suma_dir/${hand}.aparc.DKTatlas40.annot.niml.dset \
    -morph $suma_dir/${hand}.sphere.reg.gii -prefix std.60.DKT.{$hand}.
end
Subject Author Posted

Extract DKT Parcellation volume from Freesurfer

qiuhai March 19, 2019 12:23PM

Re: Extract DKT Parcellation volume from Freesurfer

Daniel Glen March 22, 2019 07:31PM

Re: Extract DKT Parcellation volume from Freesurfer

qiuhai April 01, 2019 11:14AM