image thumbnail

Dicom Toolbox

version 1.4.0.0 (7.88 KB) by Dirk-Jan Kroon
Search/Read/Write dicom folders and dicom volumes

9.3K Downloads

Updated 17 May 2011

View License

Toolbox with Dicom Search/Read/Write tools ...

- dicom_folder_info, search a folder and sub-folders for all dicom files and gives a structure back with the information of all datasets present in that folder.

- dicom_read_volume, read a dicom volume, it doesn't matter if the dicom volume consist of a single file or multiple files, or is in a sub-folder

- dicom_write_volume, write a dicom volume

- SiemensInfo, reads the MRI and DTI information from the Siemens Private tag 0029 1020

.
.
.
Example Dicom_Folder_info:

datasets=dicom_folder_info('D:\MedicalVolumeData',true);

datasets = 1x7 struct array with fields

datasets(1) =
Filenames: {24x1 cell}
Sizes: [512 512 24]
Scales: [0.3320 0.3320 4.4992]
DicomInfo: [1x1 struct]
SeriesInstanceUID: '1.2.840.113619.2.176.2025'
SeriesDescription: 'AX. FSE PD'
SeriesDate: '20070101'
SeriesTime: '120000.000000'
Modality: 'MR'

datasets(1).Filenames =
'D:\MedicalVolumeData\IM-0001-0001.dcm'
'D:\MedicalVolumeData\IM-0001-0002.dcm'
'D:\MedicalVolumeData\IM-0001-0003.dcm'

Cite As

Dirk-Jan Kroon (2021). Dicom Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/27941-dicom-toolbox), MATLAB Central File Exchange. Retrieved .

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

Inspired: dicomfolder

Community Treasure Hunt

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

Start Hunting!