-
Notifications
You must be signed in to change notification settings - Fork 291
Running InVesalius 3 in Linux
sudo apt-get install python-wxgtk3.0 python-numpy python-scipy python-pil python-matplotlib python-skimage python-nibabel python-serial python-psutil python-vtk6 python-vtkgdcm python-gdcm cython python-concurrent.futures python-configparser
Enter on invesalius3 folder and execute: python setup.py build_ext --inplace
To make InVesalius run just enter in the invesalius folder then:
python app.py
You can pass a DICOM folder as parameter to make InVesalius starts with the DICOM loaded.
python app.py -i /dicom/folder
It's possible to make InVesalius load a DICOM folder create a surface (mesh) with the given threshold and export the surface to a STL file without loading any GUI:
python app.py --no-gui -i /media/thiago/Documentos/dcm/0051 -t 200,3033 -e /tmp/0051.stl
It's possible to use wxPython4. First you need to install it:
sudo apt install python-wxgtk4.0
Then export $PYTHONPATH
env variable to use wxpython4 every time you will use InVesalius:
export PYTHONPATH=/usr/lib/python2.7/dist-packages/wxPython-4.0.1-py2.7-linux-amd64.egg
Then run InVesalius:
python app.py