Skip to main content

The TRAKO Project: Compression of DTI Streamlines.

Project description

TRAKO

Installation as PyPI package coming soon!

Manual installation

Please follow these steps with Miniconda or Anaconda installed:

# create environment
conda create --name TRAKO python=3.6
conda activate TRAKO
conda install numpy
conda install matplotlib
conda install -c anaconda vtk 
conda install -c conda-forge scikit-build 
pip install pygltflib
pip install prettytable

# get TRAKO
git clone git@github.com:haehn/TRAKO.git
cd TRAKO

# initialize DracoPy submodule
git submodule init
git submodule update

cd externals/DracoPy
# initialize Draco submodule
git submodule init
git submodule update
python setup.py install

cd ../../

Usage

./trakofy.py -i DATA/example.vtp -o /tmp/test.tko
./untrakofy.py -i /tmp/test.tko -o /tmp/restored.vtp
./compare.py -a DATA/example.vtp -b /tmp/restored.vtp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trako-0.2.dev9.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

trako-0.2.dev9-py3.7.egg (17.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page