DICOM follows a layered architecture similar to the OSI model, providing a structured approach to medical imaging communication.
Layered Model
DICOM Protocol Stack saravanansubramanian.com an OSI-like layering that lets DICOM services ride on standard TCP/IP Application Layer (DIMSE) defines service operations exchanged between peers C-STORE, C-FIND, C-MOVE C-GET, C-ECHO, N-services Presentation Layer Transfer Syntax and data encoding rules JPEG, JPEG 2000, RLE Little/Big Endian, VR Session / Transport (Upper Layer Protocol) association negotiation and PDU framing A-ASSOCIATE, A-RELEASE Presentation Contexts Network Layer standard reliable transport TCP/IP default port 104, TLS optional
Layer Details
Layer Purpose Examples Application Define operations C-STORE, C-FIND, C-MOVE, C-ECHO Presentation Encode data JPEG, JPEG2000, Little Endian Session Manage connections Association negotiation Network Transport data TCP/IP, Port 104 (default)
Key Components
IODs define what information can be stored in a DICOM object. Think of them as templates:
CT Image IOD Structure saravanansubramanian.com a stack of modules that compose one Information Object Definition Patient Module who the patient is Patient Name (0010,0010) Patient ID (0010,0020) Birth Date (0010,0030) Sex (0010,0040) Study Module the visit / exam context Study Inst. UID (0020,000D) Study Date (0008,0020) Description (0008,1030) Accession # (0008,0050) Series Module one acquisition run Series Instance UID (0020,000E) Modality (0008,0060) Series Number (0020,0011) CT Image Module the pixels and their display metadata Rows / Columns (0028,0010/0011) Pixel Data (7FE0,0010) Window C/W (0028,1050/1051) Slice Thickness (0018,0050)
Each IOD consists of modules , and each module contains attributes (tags).
2. Service-Object Pair (SOP) Classes
SOP Classes combine an IOD with DIMSE services to define what you can DO with an object:
SOP Class = IOD + DIMSE Services saravanansubramanian.com every SOP Class pairs an information object with the operations you can perform on it IOD what information the object holds + DIMSE Services what operations are supported = SOP Class what you can DO with the object CT Image Storage SOP Class used by every CT scanner sending images to a PACS IOD CT Image Services C-STORE, C-FIND, C-GET, C-MOVE MR Image Storage SOP Class same shape as CT Storage, different IOD IOD MR Image Services C-STORE, C-FIND, C-GET, C-MOVE Verification SOP Class the minimal SOP Class — no data payload, only a heartbeat IOD None (metadata only) Services C-ECHO
Common SOP Class UIDs:
SOP Class UID CT Image Storage 1.2.840.10008.5.1.4.1.1.2 MR Image Storage 1.2.840.10008.5.1.4.1.1.4 Secondary Capture 1.2.840.10008.5.1.4.1.1.7 Verification 1.2.840.10008.1.1
3. DIMSE Services
DIMSE (DICOM Message Service Element) defines the operations that can be performed:
DIMSE Service Categories saravanansubramanian.com the operations DICOM devices can perform, split by the kind of IOD they act on Composite Services work with composite IODs like whole images and studies C-STORE send DICOM objects to storage C-FIND query for DICOM objects C-GET retrieve objects to requester C-MOVE move objects to third party C-ECHO verify connectivity Typical use modality to PACS transfers, worklist and prior-exam queries, radiologist workstation retrieval, and simple connectivity checks between AE Titles Normalized Services work with normalized IODs — one attribute-managed object at a time N-CREATE create a managed object N-SET modify a managed object N-GET retrieve attributes N-DELETE delete a managed object N-ACTION perform an action N-EVENT report an event Typical use Modality Performed Procedure Step (MPPS), Print Management, Storage Commitment, and other workflow objects whose lifecycle needs create / update / notify semantics rather than bulk transfer C-services move image blobs; N-services curate stateful workflow objects
4. Transfer Syntaxes
Transfer Syntaxes define how data is encoded at the binary level:
Transfer Syntax Components
==========================
Byte Ordering:
- Little Endian (most common)
- Big Endian (legacy)
Value Representation:
- Explicit VR (recommended)
- Implicit VR (legacy default)
Compression:
- Uncompressed
- JPEG Lossless
- JPEG 2000
- RLE
Common Transfer Syntax UIDs:
Transfer Syntax UID Description Implicit VR Little Endian 1.2.840.10008.1.2 Default (uncompressed) Explicit VR Little Endian 1.2.840.10008.1.2.1 Recommended JPEG Lossless 1.2.840.10008.1.2.4.70 Lossless compression JPEG 2000 Lossless 1.2.840.10008.1.2.4.90 Modern lossless JPEG 2000 Lossy 1.2.840.10008.1.2.4.91 High compression
5. Application Entities (AEs)
AEs are DICOM-enabled applications identified by:
Application Entity Configuration saravanansubramanian.com every DICOM node is uniquely addressed by AE Title + host + port + role PACS_SERVER SCP AE TITLE PACS_SERVER IP ADDRESS 192.168.1.100 PORT 104 Server role - responds to requests CT_SCANNER_1 SCU AE TITLE CT_SCANNER_1 IP ADDRESS 192.168.1.50 PORT 11112 Client role - initiates requests
Key AE concepts:
AE Title : 16-character identifier (e.g., “MY_PACS”)
SCU (Service Class User) : Client role, initiates requests
SCP (Service Class Provider) : Server role, responds to requests
Association : Connection between two AEs
Architecture in Practice
DICOM Communication Flow saravanansubramanian.com four phases every DICOM conversation follows, from connect to release SCU Service Class User (client) SCP Service Class Provider (server) 1. TCP connect SCU opens TCP socket to SCP host:port 1 2. A-ASSOCIATE-RQ propose presentation contexts (SOP Class + Transfer Syntax) 2 A-ASSOCIATE-AC SCP accepts or rejects each proposed context 3 3 DIMSE operations C-STORE, C-FIND, C-MOVE, N-CREATE… over accepted contexts payload encoded with the negotiated Transfer Syntax 4. A-RELEASE-RQ / A-RELEASE-RP graceful shutdown - both peers close the TCP connection 4 4
This architecture ensures that DICOM devices can communicate effectively regardless of manufacturer, as long as they implement the same SOP Classes and support compatible Transfer Syntaxes.
Quiz: DICOM Architecture Overview Question 1 of 4