Takes a dicom file and converts it to a set of PNGs, GLTF model and a JSON index file which is used by the app
Steps to run inside ./python
folder
Requires Python 3.12 (for Open3D compat)
- Create a python virtual env using
python3.12 -m venv .venv
if not already created - Install dependencies using
pip install -r requirements.txt
- Activate the virtual environment using
source ./.venv/bin/activate
- Run
python dicom_to_png.py
to process dicom images - Start HTTP server using
python -m http.server 8080