SLAMViz is a powerful tool for visualizing neuroanatomical surfaces, enabling users to explore and interact with 3D meshes and apply textures easly. It is built on the MeshVisualizer tool.
Examples showcased in this repository utilize data processed with the SLAM package.
- Intuitive Visualization: Effortlessly view 3D neuroanatomical meshes.
- Texture Mapping: Apply and visualize textures on surface meshes.
- Flexible Interfaces: Use through command-line interface or Python API.
To install the required dependencies, clone the repository and install the necessary Python packages.
git clone https://github.com/brain-slam/slamviz.git
cd slamviz
pip install .
SLAMViz supports mesh visualization with optional textures, which can be loaded during the application launch or selected dynamically from within the interface.
Run the application with this command line:
python tools/app.py
Use slamviz programmatically by calling its API:
from tools import app
# Example usage
mesh_file_path = "./example_data/brain_mesh.gii"
textures_path = ["./example_data/texture1.gii", "./example_data/texture2.gii"]
app.run_dash_app(mesh_file_path, textures_path)