Dicom Header Compare
DICOM file headers can be large and difficult to navigate. Need to find WHERE (in which tag) there are differences between two DICOM files of the same type? Here you go.
NOTES:
1. Returns: Col1: the NAMES of the TAGS which have a different value, Col2: value for file1, Col3: value for file 2.
2. Only compares 2 files of the same type (i.e. 2 CT slices, or 2 MR images, etc.)
3. When you input the filename, use '...' i.e. for file1.dcm and file2.dcm, type DicomHeaderCompare('file1','file2')
Enjoy
Cite As
stefano peca (2024). Dicom Header Compare (https://www.mathworks.com/matlabcentral/fileexchange/49052-dicom-header-compare), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.