arrow
Return

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

delete2025-12-31
delete0
PRE
AI
A
Austen Maniscalco
Y
Yang Kyun Park
A
Andrew Godley
M
Mu‐Han Lin
S
Steve Jiang
D
Dan Nguyen *
DOI:10.1002/mp.70240delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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:
data analysis
data management
data processing
DICOM
Digital Imaging and Communications in Medicine
graphical user interface
GUI
medical data
Python
research tool

Journal

Medical Physics cover
Medical Physics
IF:
3.2
Papers:
3.7W
Citations:
3.2W

Organization

U
university of texas system
Scholars:
18.5W
Papers: 15.6W
Citations: 210