Introduction
DICOM (Digital Imaging and Communications in Medicine) is the standard for medical images and the network protocol that moves them between scanners, archives and viewing stations. It is published by NEMA and is free to read. A DICOM file holds one image or a series of frames from CT, MRI, X-ray, ultrasound and other machines, together with details of the patient, the study and the equipment.
Pixel values are often 12 or 16 bits per sample, and stand for measurements such as
tissue density rather than display colours. Many DICOM files have no extension at
all; .dcm is the usual one when there is.
Structure
A DICOM file starts with a 128-byte preamble, usually all zeros, followed by the four
letters DICM. Then comes the file meta information (group
0002), always written as explicit VR little endian. It names the
transfer syntax used for the rest of the file.
Everything after that is a list of data elements. Each element has a tag (a group
and element number, two bytes each), a two-letter value representation such as
PN for a person’s name or US for an unsigned short (in the
explicit forms), a length and the value. The pixels sit in the element
(7FE0,0010), either raw or compressed with JPEG, JPEG 2000, RLE or
another codec named by the transfer syntax.
0Preamble usually zeros128 bytes128PrefixDICM4 bytes132File meta information group 0002 elementsvaries…Data set patient, study, series and image elementsvaries…Pixel data element (7FE0,0010)varies
Links
Software
- Horos – free DICOM viewer based on OsiriX (macOS)
- OsiriX – DICOM viewer for medical images (macOS)
- 3D Slicer – free medical image analysis and 3D visualisation software (Windows, macOS, Linux)
- RadiAnt DICOM Viewer – DICOM viewer for studies from CT, MRI and other scanners (Windows)
- Weasis – free DICOM viewer (Windows, macOS, Linux)
Developers
Reference
- DICOM Standard – the full standard from NEMA