The TRAKO Project: Compression of DTI Streamlines.
Project description
TRAKO
Trako compresses DTI streamlines from .vtp to smaller .tko files!
Installation as PyPI package (recommended, preferably in a virtualenv)
pip install trako
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
Release history Release notifications | RSS feed
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.1.dev9.tar.gz
(8.1 kB
view details)
File details
Details for the file trako-0.2.1.dev9.tar.gz
.
File metadata
- Download URL: trako-0.2.1.dev9.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 288566909ecd275242198e891fe2891dd60a128fa0d92f5f30afceb844e4781a |
|
MD5 | 52ad638128a9ad8b917d8caf3e3a1041 |
|
BLAKE2b-256 | 1f720596b8c9b33aed80b989c25ee765c93e39119fbf3d0230700c4b49517b7a |