Be the first to rate this file! 152 downloads (last 30 days) File Size: 6.03 KB File ID: #16602

DICOM debug utility

by Jeff Mather

 

26 Sep 2007 (Updated 26 Sep 2007)

No BSD License  

A tool to dump the contents of DICOM files for debugging

Download Now | Watch this File

File Information
Description

DICOM is a rather complicated format. The DICOMINFO and DICOMREAD functions provide easy access to the data in DICOM-formatted files, but it can be difficult to know why and where the DICOM parser fails for improperly formatted files.

This file must be placed in the toolbox/images/medformats directory.

The DICOMDUMP utility presents a flat representation of the file with minimal data translation. For each attribute in the DICOM file it prints these values:

* Byte offset in the file
* Nesting depth (for sequences)
* Attribute group and element number
* Value representation (VR) code
* Data length in bytes
* Attribute name from the data dictionary
* A description of the data

Meta-information about the file and reading environment also appears:

* filename
* machine endian
* presence of required 0002 metadata
* information object UID and name
* transfer syntax UID and name

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.3 (R2006b)
Other requirements This file must be placed in the toolbox/images/medformats directory.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
29 Jan 2009 Niall

I have had an issue using this file.
The path listed "toolbox/images/medformats" is not on my version 7 of matlab Image Processing Toolbox. Has there been specific updates of matlab that now contain the medformats folder.

I would be very interested in using this utility as dicom info is failing to parse the metadata of the dicom files that I have

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
medical Jeff Mather 22 Oct 2008 09:28:34
dicom Jeff Mather 22 Oct 2008 09:28:34
metadata Jeff Mather 22 Oct 2008 09:28:34
tool Jeff Mather 22 Oct 2008 09:28:34
dump Jeff Mather 22 Oct 2008 09:28:34
contents Jeff Mather 22 Oct 2008 09:28:34
functions Jeff Mather 22 Oct 2008 09:28:34
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com