Nowadays, patients are sent to MRI, PET, and CT scans more than before. Each scan produces a large amount of information of a patient, normally as a set of 2D slices, that will be inspected by a doctor or a technician. The project aims to visualize any DICOM images by creating a 3D model in addition to the classic slice-by-slice inspection.
Demo: https://www.youtube.com/watch?v=Xz3xwpmoMHg
This tutorial uses Conda and PIP. Please make sure to install them before you proceed the next steps.
- Create virtual environment with the following instruction:
$ conda create -f environment_mac.yml
This will create a new environment named “DMIM”.
- Activate the new DMIM environment by typing:
$ conda activate DMIM
- Clone the repository and enter the directory:
$ git clone https://github.com/tgurgui/Visualization-DMIM.git
$ cd Visualization-DMIM/
- Open new terminal window, create a folder for mongo data () and start MongoDB:
$ mongod
- Finally, run the website from the repository main folder:
$ FLASK_APP=app.py FLASK_DEBUG=1 python -m flask run
- The website should be available at http://localhost:5000/
A successful installation will result in the following index page:
The X ToolKit: https://github.com/xtk/X