Installation¶
First, you must have Conda installed and create a dedicated conda environment:
(base)$ conda create -n tile
and:
(base)$ conda activate tile
(tile)$
then install all requirements with:
(tile)$ conda install -c conda-forge dxchange dxfile
and install tile
(tile)$ git clone https://github.com/xray-imaging/tile.git
(tile)$ cd tile
(tile)$ python setup.py install
Requirements¶
Besides the packases listed in requirements, tile uses tomopy or, if you have a GPU available in your system, tomocupy to perform the tomographic reconstruction after the stitching step.
Install tomocupy¶
Follow the tomocupu installation intruction:
(tile)$ conda install cupy scikit-build swig pywavelets numexpr astropy olefile opencv
Install the pytorch pywavelets package for ring removal
(tile)$ git clone https://github.com/fbcotter/pytorch_wavelets
(tile)$ cd pytorch_wavelets
(tile)$ pip install .
(tile)$ cd -
Set path to the nvcc profiler (e.g. /local/cuda-11.4/bin/nvcc)
export CUDACXX=/local/cuda-11.4/bin/nvcc
Install tomocupy
(tile)$ git clone https://github.com/nikitinvv/tomocupy-cli
(tile)$ cd tomocupy-cli
(tile)$ python setup.py install
Install tomopy¶
To install tomopy tomopy/tomopy cli follow the tomopy install/tomopycli install instructions.
(tile)$ conda install -c conda-forge tomopy