Dicodit is an advanced online DICOM header/metadata editing tool. It allows users to quickly and easily modify DICOM headers directly in their web browser, supporting both individual DICOM files and batch processing with ZIP files. Check out the live version hosted here
- Upload individual DICOM files or ZIP archives containing multiple DICOM files
- Edit DICOM header tags with an intuitive search interface
- Perform conditional edits based on specific tag values
- Support for batch processing of multiple files
- Simple and user-friendly interface
- Instant processing and download of modified DICOM files or ZIP archives
- Responsive design for use on various devices
Before you begin, ensure you have met the following requirements:
- Python 3.7 or higher
- pip (Python package manager)
-
Clone the repository:
git clone https://github.com/yourusername/dicodit.git cd dicodit
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use venv\Scripts\activate
-
Install the required packages:
pip install Flask pydicom
- Ensure you're in the project directory and your virtual environment is activated (if you're using one).
- Run the Flask application:
python app.py
- Open a web browser and navigate to
http://127.0.0.1:5000/
- Upload a DICOM file or ZIP archive using the file picker.
- Use the search bar to find the DICOM tag you want to modify.
- Enter the new value for the tag.
- (Optional) Enable conditional editing by checking the box and specifying the condition.
- Add more modifications as needed using the "Add Modification" button.
- Click "Modify DICOM" to process and download the modified file(s).
Contributions to Dicodit are welcome. Please feel free to submit a Pull Request.
If you have any questions or feedback, please don't hesitate to contact me at aniketdas001@gmail.com
Thank you for using Dicodit!