Caution
This tool is for demonstration purposes only. Please do not use this tool for actual angle estimation.
Repository containing the Aneurysma Angle Estimation (AAE) GUI. This tool runs HTML in the front-end and uses python in the backend. Javascript is being used as translation language between HTML and python.
The AAE tool uses 3DRA images to approximate the best angle under which the C-arm should be placed to obtain a 2D image that maps the aneurysm.
Note
For this tool you will need Edge Explorer on your device.
- Create a virtual environment
- Open terminal and CD into this directory
- Run the following code and make sure the virtual environment is selected:
pip install -r requirements.txt
- run main.py
By just running the main.py file a GUI should start in Edge explorer. Please note that Edge must be installed on your device in order to run the GUI.
This GUI consists out of a backend and frontend part. The frontend relies on javascript and html and the backend relies on python. In order to preview the 3DRA files a file can be chosen in the input section of the tool. In order to perform angle estimations both a parameter file and the 3DRA file should be included in the left-top corner of the tools.
This GUI is also CUDA compatable. In order for CUDA to work properly please install the correct version of torch. Upon running the angle estimation the GUI will tell if a CUDA device was found. If nu CUDA device could be found the estimation will be performed on CPU.
CUDA not found: Most likely the correct pytorch version was not installed. Please make sure the virtual environment contains the correct pytorch version.
GUI not starting after running: Please check if Edge Explorer was installed on your device.