Sort DICOM CD images by subject and scan names

Version 1.1.0.0 (2.28 KB) by Gang Wang
Sort DICOM CD images by subject and scan names.
554 Downloads
Updated 10 Jun 2011

View License

Author: Wang Gang
Organization: Dept. of Diagnostic Radiolgy, National University of Singapore
Email: wg_smile4ever@hotmail.com

Function Briefing

CT and MRI researchers often need to burn the experimental images from a
workstation in hospital. Back to the lab, they often backup the CD data
in a PC. The contents of such CDs are well organized in a hierachy:

Subject No.
|-Study No.
|- Sequence No.
|- Image No.

While this eases the commercial DICOM viewers to load the images, it
introduces trouble to researchers to identify a specific patient or a
particular scan from such a tree of abbreviations and numbers,
especially when the no. of subject is large and the data is stored in
multiple CDs.

This function sorts the images of one DICOM CDs into folders with
recognizable names:

Subject Name. + Study Date
|-Scan Description + Acquisition Time + Sequence No.
|- Images
End of briefing

Use of function

Run
sort_one_cd('D:\','C:\sortedImages\');

where
1st argument: the CD/DVD DIR.
2nd argument: the destination folder for sorted images.

Hope I have made my explanation clear! This small gadget should be handy for you. Enjoy!

Cite As

Gang Wang (2024). Sort DICOM CD images by subject and scan names (https://www.mathworks.com/matlabcentral/fileexchange/31743-sort-dicom-cd-images-by-subject-and-scan-names), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

update the description

1.0.0.0