/lisa

Coputer-assisted liver surgery.

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Build Status Documentation Status

LISA

LIver Surgery Analyser.

lisa logo

czech description

Install

See our install notes for Linux, Mac OS and Windows

or use experimental windows installer

Install stable branche on Linux or Mac OS with:

wget https://raw.githubusercontent.com/mjirik/lisa/master/installer.sh
source installer.sh stable

Get sample data

python -m lisa --get_sample_data

Run

Object (usualy liver) extraction is started by organ_segmentation script

lisa

or

./lisa.sh

or

python lisa

or

python -m lisa

Segmentation use two types of seeds wich are setted by left and right mouse button. For better volume measurement control use additional parameters for example "-mroi" and "-vs 0.8". If "-mroi" parameter is used you can select region of interest.

Vessel localization uses saved data (organ.pkl) from organ_segmentation:

python src/vessels_segmentation.py -bg -i organ.pkl

Now user interactivity is used to set threshold parametr.

Virtual liver resection is based on data stored in previous step (vessels.pkl).

python src/vessel_cut.py -oe -i vessels.pkl

In this script is selected cut on vessel by user interactivity. Resected and remaining volume is then calculated.

Documentation

Generated documentation can be found here

Manual generation:

cd docs
make latexpdf

Tests

nosetests

Video

Video webcam tracking