This Flask application allows users to view CT scan images through a web interface. It includes a simple slider for navigating through different slices of brain scans.
- Displays a list of CT scan images (in DICOM format).
- Allows users to select and view a particular slice of the brain.
- Backend implemented with Flask in Python.
To run this application on your local machine, you'll need Python and Flask. Follow these steps to get started:
- Clone the repository:
git clone [URL to your repo]
- Navigate to the cloned repository:
cd [Your repository name]
- Install the required Python packages:
pip install -r requirements.txt
- Note: This assumes you have a requirements.txt file listing the necessary packages, including Flask and PyDICOM
To start the server, run:
python app.py
Once the server is running, you can access the application by navigating to http://localhost:5000 in your web browser.
/ - The main page that renders the index.html template. /data - API endpoint to get the pixel data for a specific CT scan image, specified by the file query parameter. /files - API endpoint to get a list of all DICOM files available.
If you would like to contribute to this project, please fork the repository and submit a pull request.
Include a license here, typically MIT or another open-source license.