Skip to content

Scripts for visualization of medical images and 3D structures like meshes

License

Notifications You must be signed in to change notification settings

fabibo3/visgeom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

visgeom

Scripts for convenient visualization of 3D meshes and associated per-vertex values from the command line based on pyvista. Basic image visualization can also be done. It can deal with FreeSurfer file types, .plys, and numpy arrays in arbitrary combinations.

Usage

Download this repository

git clone git@github.com:fabibo3/visgeom.git

Install conda environment and activate

cd visgeom
conda env create -f requirements.yml
conda activate visgeom

Install the visgeom package in editable mode

pip install -e .

Visualize meshes, e.g., for a brain with cortical thickness

visgeom --meshes /path/to/lh.inflated --meshvalues /path/to/lh.thickness.npy --clim 1 4

When given multiple meshes or meshvalues, they are visualized sequentially.

About

Scripts for visualization of medical images and 3D structures like meshes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages