View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
DICOM debug utility

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 3.14 KB File ID: #16602 Version: 1.1
image thumbnail

DICOM debug utility


Jeff Mather (view profile)


26 Sep 2007 (Updated )

A tool to dump the contents of DICOM files for debugging

| Watch this File

File Information

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   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
15 Mar 2010 Ashish Uthama

Please use toolbox\images\iptformats for newer versions

Comment only
29 Jan 2009 Niall

Niall (view profile)

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

Comment only
08 Nov 2010 1.1

BSD license

Contact us