-
Notifications
You must be signed in to change notification settings - Fork 297
Running InVesalius 3 in Linux
sudo apt install python3-wxgtk4.0 python3-numpy python3-scipy python3-pil python3-matplotlib python3-skimage python3-nibabel python3-serial python3-psutil python3-vtk7 python3-vtkgdcm python3-gdcm cython3 python3-h5py python3-imageio
sudo dnf install gcc gcc-g++ python3-wxpython4 python3-numpy python3-scipy python3-matplotlib python3-scikit-image python3-nibabel python3-pyserial python3-psutil python3-vtk python3-gdcm python3-Cython python3-h5py
Unfortunately, Fedora doesn't have python3-imageio package. But it's possible to install it using pip:
pip3 install --user imageio
Enter on invesalius3 folder and execute: python3 setup.py build_ext --inplace
To make InVesalius run just enter in the invesalius folder then:
python3 app.py
You can pass a DICOM folder as parameter to make InVesalius starts with the DICOM loaded.
python3 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:
python3 app.py --no-gui -i /media/thiago/Documentos/dcm/0051 -t 200,3033 -e /tmp/0051.stl