Giter Site home page Giter Site logo

zeigar / whitematteranalysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slicerdmri/whitematteranalysis

0.0 1.0 0.0 203.4 MB

White matter tractography clustering and more...

Home Page: http://dmri.slicer.org/whitematteranalysis/

License: Other

CMake 0.27% Python 99.48% Shell 0.25%

whitematteranalysis's Introduction

whitematteranalysis

Synopsis

White Matter Analysis provides clustering and tractography analysis tools.

It implements algorithms from publications listed here: http://projects.iq.harvard.edu/whitematteranalysis/publications

Also see the github.io page here: http://slicerdmri.github.io/whitematteranalysis/

Please cite the following papers:

O'Donnell, LJ., and Westin, CF. Automatic tractography segmentation
using a high-dimensional white matter atlas. Medical Imaging,
IEEE Transactions on 26.11 (2007): 1562-1575.

O’Donnell LJ, Wells III WM, Golby AJ, Westin CF. Unbiased groupwise registration of white matter tractography.
In International Conference on Medical Image Computing and Computer-Assisted Intervention 2012 Oct 1 (pp. 123-130).
Springer Berlin Heidelberg.

For projects using Slicer please also include this text (or similar):

"We performed tractography visualization with anatomical hierarchies in 3D Slicer (http://www.slicer.org)
via the SlicerDMRI project (https://github.com/SlicerDMRI), funded by NIH U01 CA199459."

Installation

1. Download whitematteranalysis from github.

  git clone https://github.com/SlicerDMRI/whitematteranalysis.git

2. Install python.

Anaconda is a nice option since it has VTK and scipy. First install anaconda from http://continuum.io/downloads, then run:

  conda install vtk

3. Install the following python packages (dependencies).

Once you have anaconda installed, run:

  pip install joblib

Other distributions, or self-compiled, Python will require installation of scipy.stats, scipy.optimize, and statsmodels, depending on the usage.

Note: If you decide to use another python that does not already have VTK, you can compile VTK.

You will need to compile it with python wrapping. VTK_WRAP_PYTHON must be on. Make sure that at configure time it finds the version of python that you want to use for this project. You may need to toggle t for advanced mode in ccmake. I have something like this when I run: cd VTK-build ccmake ../VTK

   PYTHON_EXECUTABLE                /Users/lauren/anaconda/bin/python            
   PYTHON_EXTRA_LIBS                                                             
   PYTHON_INCLUDE_DIR               /Users/lauren/anaconda/pkgs/python-2.7.4-1/in
   PYTHON_LIBRARY                   /Users/lauren/anaconda/lib/libpython2.7.dylib
   PYTHON_UTIL_LIBRARY              /usr/lib/libutil.dylib   

Note this requires both git and cmake. More information is at vtk.org. To install your compiled vtk into your python: cd VTK-build/Wrapping/Python python setup.py install

4. Install WhiteMatterAnalysis into your python in the standard way.

 cd whitematteranalysis
 python setup.py install

5. Please see the wiki for usage instructions.

https://github.com/SlicerDMRI/whitematteranalysis/wiki

whitematteranalysis's People

Contributors

ljod avatar zhangfanmark avatar ruizhiliao avatar pipitone avatar ihnorton avatar blezek avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.