Dicom Toolbox
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 (2024). Dicom Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/27941-dicom-toolbox), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: dicomfolder, Automatic quantification of abdominal adipose tissue
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.4.0.0 | dicom_write_volume.m, writes now all files with the same Study and Series Instance UID. |
||
1.3.0.0 | Added Siemens Mosaic Support |
||
1.2.0.0 | Better support for 4D format, and windows-shares. |
||
1.1.0.0 | Dicom Sorting Bug solved |
||
1.0.0.0 |