DICOM

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(List compression schemes)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
|subcat=Scientific Data formats
+
|subcat=Health and Medicine
 
|extensions={{ext|dcm}}, others
 
|extensions={{ext|dcm}}, others
 
}}
 
}}
Line 60: Line 60:
 
== Specifications ==
 
== Specifications ==
 
* [http://medical.nema.org/standard.html The DICOM Standard]
 
* [http://medical.nema.org/standard.html The DICOM Standard]
 +
 +
[[Category:Scientific Data formats]]

Revision as of 14:14, 5 April 2013

File Format
Name DICOM
Ontology
Extension(s) .dcm, others

Contents

General description

DICOM (Digital Imaging and Communications in Medicine) is far and away the most widely-used (and probably the oldest) electronic file format in medical imaging. Nearly every device that acquires medical images -- ultrasound, CT, PET, and MRI -- acquire DICOM images in normal operation. There's a 20-part specification detailing the file format and its ecosystem. The IANA has assigned TCP and UDP port 104 to DICOM-related traffic.

It's kind of a big deal.

However, as with any sufficiently-adopted standard, there are splinter factions. The most common format is 2-dimensional images or "slices" that can be formed into a 3-dimensional image; however, some manufacturers have extended the standard to save 3 or even 4-dimensional images in a "mosaic" format.

File format

While there are many complications involved in decoding a DICOM file, fundamentally it is simply a sequence of data blocks called attributes or elements. Each attribute contains a 16-bit group number and a 16-bit element number, conventionally written in hexadecimal and separated with a comma, e.g. (0028,0011).

Standard attributes

If an attribute's group number is even, then it is a standard attribute defined in the DICOM specification, and the group and element number together uniquely identify the meaning of the attribute.

Private attributes

If the group number is odd, then it is a private attribute, and it will have been preceded by a special attribute supplying a "private creator" identification string. A private attribute is uniquely identified by the combination of its creator identifier, group number, and the low byte of its element number.

Some examples of creator identifiers are GEMS_IMAG_01 and Philips Imaging DD 001. An identifier is usually specific to a manufacturer of medical equipment, not to a particular medical device. Unfortunately, instead of having one specification per manufacturer, private attributes are usually only documented in device-specific "DICOM Conformance Statements", which list only the attributes used by that one device.

Examples of DICOM Conformance Statements (search the documents for "private creator"):

Compilations:

Image data

If a DICOM file contains image data, it contains either a single image, or a video clip (usually composed of multiple still images all having the same size and color format). There is an extension called Papyrus that can store multiple different images in a single file.

The image format is determined by attribute (0002,0010): Transfer Syntax UID. Defined formats include

Software

Software that reads DICOM files is pretty much everywhere. Most neuroimaging analysis packages have some way of importing DICOMs and turning them in to a higher-dimensional file; open-source stand-alone libraries abound, as well.

Sample files

Specifications

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox