Skip to content

Latest commit

 

History

History
101 lines (71 loc) · 2.91 KB

INSTALL.md

File metadata and controls

101 lines (71 loc) · 2.91 KB

Compiler notes

For installation with pip on windows you will need compiler.

Installation Instructions

Installing requires you to have installed:

On Linux, ask the package manager of your distribution.

On Windows, packages numpy, scipy, scikit-learn, Cython, pydicom are part of Python(x,y) distribution (http://code.google.com/p/pythonxy).

Pygco install

Pygco has to be installed manually, in gitbash write:

Linux:

git clone https://github.com/amueller/gco_python.git cd gco_python make python setup.py install

Windows:

git clone https://github.com/amueller/gco_python.git cd gco_python mkdir gco_src && cd gco_src curl -O http://vision.csd.uwo.ca/code/gco-v3.0.zip unzip gco-v3.0.zip cd .. curl -O https://raw2.github.com/mjirik/pyseg_base/master/distr/gco_python.pyx.patch patch gco_python.pyx < gco_python.pyx.patch python setup.py build_ext -i --compiler=mingw32 python.exe setup.py build --compiler=mingw32 python.exe setup.py install --skip-build

Mac:

git clone https://github.com/amueller/gco_python.git cd gco_python mkdir gco_src cd gco_src curl -O http://vision.csd.uwo.ca/code/gco-v3.0.zip unzip gco-v3.0.zip curl -O https://raw.github.com/mjirik/pyseg_base/master/distr/energy.patch patch energy.h < energy.patch cd .. sudo python setup.py install

Install PYSEG_BASE:

pip install imcut

or:

git clone https://github.com/mjirik/pyseg_base.git

Sample DICOM data can be found at: