Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2026 Jan;53(1):e70240.
doi: 10.1002/mp.70240.

MedicalDataHandler, a research-oriented graphical user interface for DICOM data management

Affiliations

MedicalDataHandler, a research-oriented graphical user interface for DICOM data management

Austen Maniscalco et al. Med Phys. 2026 Jan.

Abstract

Background: Processing DICOM datasets for research and education is challenging due to the format's complexity and frequent patient-specific workflow exceptions. Proper handling demands substantial technical expertise and meticulous care to ensure data fidelity in downstream applications.

Purpose: We developed MedicalDataHandler to streamline the reading, visualization, and processing of DICOM data. By consolidating essential tasks into a user-friendly environment, it minimizes reliance on advanced coding skills and promotes reproducible data handling without custom scripting.

Methods: Implemented in Python with the third-party Dear PyGui toolkit, MedicalDataHandler organizes DICOM files by patient identifiers and groups each patient's radiation therapy (RT) images, structure sets, plans, and doses based on mutual unique identifiers (UIDs). A comprehensive table of patient data enables metadata inspection, data visualization, and data processing. The GUI supports interactive visualization in axial, coronal, and sagittal views, with intuitive scrolling, zooming, panning, and window width/level adjustments. Segmentation labels, colors, and data orientation can be modified on the fly, and hovering over a voxel reveals its image/dose values and relevant segmented structures. Multithreading and multiprocessing enable rapid data reading and conversion to the deep-learning-friendly Nearly Raw Raster Data (NRRD) format. Additional features include metadata inspection, voxel grid resampling, Hounsfield-Unit-to-Relative-Electron-Density mapping, plan-sum dose creation, and partial or bulk data saving options.

Results: We validated MedicalDataHandler with an end-to-end testing approach. DICOM data from 61 radiotherapy patients were processed, and the resulting dataset was used to train a deep-learning-based dose prediction model. MedicalDataHandler streamlined the workflow by eliminating the need for complex, patient-specific code and accelerating the preparation of a research-ready dataset.

Conclusion: MedicalDataHandler streamlines DICOM data management and accelerates preprocessing, serving as a valuable tool for researchers and trainees. Its intuitive interface, flexible editing, and rapid data conversion empower a broader audience to manage DICOM data efficiently and consistently in research and education settings.

Keywords: DICOM; Digital Imaging and Communications in Medicine; GUI; Python; data analysis; data management; data processing; graphical user interface; medical data; research tool.

PubMed Disclaimer

References

REFERENCES

    1. Larobina M, Thirty years of the DICOM standard. Tomography. 2023;9(5):1829‐1838. doi:10.3390/tomography9050145
    1. Mackenzie A, Lewis E, Loveland J, Successes and challenges in extracting information from DICOM image databases for audit and research. Brit J Radiol. 2023;96(1151):20230104. doi:10.1259/bjr.20230104
    1. Mason D, SU‐E‐T‐33: pydicom: an open source DICOM library. Med Phys. 2011;38(6Part10):3493‐3493. doi:10.1118/1.3611983
    1. Gao R, Diallo M, Liu H, et al. Automating High Quality RT Planning at Scale. arXiv(preprint). 2025; v5:arXiv:250111803. https://doi.org/10.48550/arXiv.2501.11803
    1. Everts MH, pynrrd: a pure‐Python module for reading and writing NRRD files into and from numpy arrays. Accessed September 28, 2025 https://github.com/mhe/pynrrd

LinkOut - more resources