Skip to content

Pithosaumon/cortical_thickness

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cortical Thickness

Usage

$ git clone git@github.com:xgrg/cortical_thickness.git
$ cd cortical_thickness
$ ./thickness.py --int /path/to/innersurf.gii --ext /path/to/outersurf.gii --thickness /path/to/thicknessmap.gii
$ ./compare_maps.py --m1 /path/to/firstmesh.gii --m2 /path/to/secondmesh.gii --t1 /path/to/firstmap.gii --t2 /path/to/secondmap.gii --diff /path/to/diffmap.gii --dist /path/to/distmap.gii

Example

To run it on the provided dataset :

$ ./thickness.py --int data/lh.r.aims.white.gii --ext data/lh.r.aims.pial.gii --thickness data/lh.r.aims.thickness.gii --mid data/lh.r.aims.mid.gii
$ ./thickness.py --int data/subject1_scan01_Lwhite.gii --ext data/subject1_scan01_Lhemi.gii --thickness data/subject1_scan01_Lthickness.gii --mid data/subject1_scan01_Lmid.gii
$ ./compare_maps.py --m1 data/subject1_scan01_Lwhite.gii --m2 data/lh.r.aims.white.gii --t1 data/subject1_scan01_Lthickness.gii --t2 data/lh.r.aims.thickness.gii --diff data/diff.gii --dist data/dist.gii

Requirements

  • nibabel, gdist, numpy, pickle (optional)

Version

still in development

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%