Convert DICOM phantom images to BMP format for the construction of new phantoms to be used in Monte Carlo simulations.
This tool simplifies the conversion of DICOM medical images to BMP format, specifically designed for researchers working with phantom construction for Monte Carlo radiation transport simulations. The converter maintains proper medical image processing standards while providing a streamlined workflow for simulation preparation.
-
Install dependencies:
pip install pydicom opencv-python numpy
-
Place your DICOM files in
./DICOM_files/folder -
Run:
python dicom2bmp.py
-
Output: BMP files will be saved in
./BMP_files/folder
This project is based on dicom2jpg by ykuo2. Core DICOM processing functions adapted with permission under MIT License. Copyright (c) 2022 ykuo2