This is a web application for organizing and sharing DICOM images. This tool allows users to create shareable "albums" from locally stored DICOM images by querying metadata and also allowing user to make advanced queries. The languages and technologies used in this project are: HTML, CSS, JavaScript, Python, Flask, SQLite, PyDICOM, BootStrap 5.
- Upload DICOM files or scan a local directory
- View and extract DICOM metadata
- Simple and advanced querying capabilities
- Create albums based on query results
- Share albums via unique URLs
- View DICOM images with windowing controls
- Download original DICOM files from albums
- Query history tracking
- Customizable image windowing
This application is built with the following technologies:
- Backend: Flask (Python)
- Frontend: HTML, CSS, JavaScript with Bootstrap 5
- Database: SQLite (local storage)
- DICOM Processing: PyDICOM
- Python 3.7 or higher
- Virtual environment (recommended)
- Clone the repository:
git clone https://github.com/yourusername/dicom-album-explorer.git
cd dicom-album-explorer- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activate.bat- Install dependencies:
pip install -r requirements.txt- Run the application:
python app.py- Open your browser and navigate to:
http://localhost:5000
- Upload Files: Use the upload form to select and upload DICOM (.dcm) files from your locally stored DICOM images.
- Scan Directory: Enter a local directory path to scan for DICOM files.
- Load DICOM files using one of the methods above
- Use the simple query interface to filter files based on a single criterion
- If you want then use the advanced query interface(near home button) for more complex filtering with multiple conditions
- Fill in album details (name, description, creator)
- Create the album
- If required share the unique album URL with collaborators
- Albums show thumbnails and metadata for included images
- Use the image viewer to visualize DICOM images
- Adjust windowing parameters to optimize visualization
- Download original DICOM files as needed
Note: For downloading DICOM images you can use the folder provided and access through the path "C:\your_path\Anonymized_20250408\series-00000" or use any of the DICOM images available on the INTERNET.