A web application for analyzing and visualizing VTI files.
Created for the Institute for Clinical and Experimental Medicine in Prague, Czechia.
Powered by Trame, VTK, and Vuetify.
- Upload, manage, and render .vti files
- Slice data in different orientations and positions
- Pick points and cells to see the values of data arrays in them
- Zoom, translate, and rotate data
- Play sequences of .vti files
- Switch between files
- Switch between data arrays
- Switch between representations (points, slice, surface, surface with edges, and wireframe)
- Switch between color maps (cool to warm and grayscale)
- Switch between languages (Czech and English only)
- Switch between dark and light themes
- Read the user guide directly in the web application
- and more...
User documentation is available here.
Technical documentation is available here.
- Create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
source ./.venv/Scripts/activate
- Install packages:
pip install -e .
- Run as a web application:
mri-viewer
- Run as a desktop application:
mri-viewer --app
- Run in JupyterLab:
pip install -r ./jupyter/requirements.txt
jupyter-lab
- Build the image:
docker build -t mri-viewer .
- Run the Docker container:
docker run -it --rm -p 8080:80 mri-viewer
This will use the /deploy
directory populated during the container image
build. For development you can mount the ./docker
directory from the git
repository on the host to /deploy
in the container using
-v ./docker:/deploy
.
- Open the web application in your browser: http://localhost:8080