Online DICOM Viewer & Medical Scan Reader

Open, view, and inspect medical DICOM (.dcm) CT scans, MRI slices, and X-rays directly in your web browser. Window Level/Width contrast adjustments, header metadata inspection, and 100% HIPAA-compliant in-memory privacy.

chest-ct-slice42.dcmHIPAA Safe / Client-Side
WL: 40 / WW: 350
THICKNESS: 1.25 mm
100% In-Memory DICOM Viewer
DICOM Header Data Elements
Patient ID / MRNMRN-7849120
ModalityCT (Computed Tomography)
Study DescriptionChest CT with Contrast - Axial Slices
Slice Thickness1.25 mm
Tube Voltage (KVP)120 kV
Pixel Spacing0.68mm / 0.68mm
InstitutionMetropolitan Medical Center

The Complete Guide to Digital Imaging and Communications in Medicine (DICOM) Architecture

The Digital Imaging and Communications in Medicine (DICOM) standard, maintained jointly by the National Electrical Manufacturers Association (NEMA) and the American College of Radiology (ACR), is the global international benchmark for producing, storing, transmitting, and displaying medical imaging studies. From multi-detector Computed Tomography (CT) and 3-Tesla Magnetic Resonance Imaging (MRI) to digital mammography, Positron Emission Tomography (PET), and fluoroscopy, virtually every diagnostic medical scanner in the world outputs data conforming to the DICOM specification.

Unlike standard consumer graphics formats (like JPEG or PNG) that store only flat RGB pixel grids, a DICOM file is an integrated biomedical container. It inextricably binds high-bit-depth raw radiographic sensor data (typically 12-bit or 16-bit grayscale) directly to extensive clinical and patient metadata. Opening DICOM files typically requires dedicated hospital Picture Archiving and Communication Systems (PACS) or licensed diagnostic workstations. The HiFi Toolkit Online DICOM Viewer provides an instantaneous, web-native medical image reader equipped with dynamic Hounsfield windowing controls, clinical header auditing, and zero-server privacy compliance.

Anatomy of a DICOM File: The 128-Byte Preamble & Tagged Elements

Under the hood, a standardized DICOM part 10 file stream begins with a 128-byte file preamble (often zero-filled for compatibility with non-DICOM operating systems), immediately followed by the 4-character ASCII magic string DICM at byte offset 128. Beyond this header, the file is organized into sequential Data Elements identified by standardized tags:

Data Elements: (Group, Element)

Each metadata entry is indexed by a 4-byte hex tag (GGGG, EEEE). Even group numbers denote standard public DICOM elements, while odd group numbers are reserved for private vendor extensions.

Value Representation (VR) & Length

The Value Representation (VR) defines the data type: PN (Person Name), DA (Date), UI (Unique Identifier UID), CS (Code String), or OW/OB (Other Word/Byte for high-density Pixel Data).

DICOM Tag (Hex)Element DescriptionVR TypeClinical Diagnostic Significance
(0008, 0060)ModalityCSImaging modality: CT, MR, CR, DX, US, NM, PT.
(0010, 0010)Patient's NamePNPatient identifier formatted as Last^First^Middle^Prefix.
(0018, 0050)Slice ThicknessDSNominal slice width in millimeters (e.g., 1.25 mm for high-res CT).
(0028, 0030)Pixel SpacingDSPhysical distance between adjacent pixel centers in mm (row, column).
(0028, 1050)Window CenterDSDefault midpoint Hounsfield Unit brightness for optimal tissue display.
(0028, 1051)Window WidthDSDefault range of Hounsfield Units spanned by grayscale colormap.
(7FE0, 0010)Pixel DataOW/OBRaw sensor pixel buffer array representing anatomical radiography.

Hounsfield Units & Windowing: WL/WW Contrast Presets

In Computed Tomography, raw pixel values represent physical X-ray attenuation coefficients calibrated against the Hounsfield Scale (HU), where distilled water is 0 HU and air is -1000 HU. Because human monitors display only 256 shades of gray (8-bit), radiologists apply Window Center / Level (WL) and Window Width (WW) transformations to isolate specific tissue bands:

Bone Window (WL 300, WW 1500)

Broad dynamic range optimized for resolving high-density cortical bone fractures and micro-trabecular architecture while suppressing soft tissues.

Soft Tissue / Brain (WL 40, WW 80)

Narrow contrast window that maximizes differentiation between gray matter and white matter in stroke triage and acute intracranial hemorrhage detection.

Lung Window (WL -600, WW 1500)

Negative attenuation center engineered to visualize delicate pulmonary parenchyma, bronchial vascular markings, and ground-glass opacities.

NEMA PS 3.10 File Format Architecture & Data Elements

The National Electrical Manufacturers Association (NEMA) and ACR define the PS 3.10 physical file standard, structuring medical media with rigorous byte alignment:

Information LevelDICOM Tag IdentifierClinical Significance & Entity Relationship
Patient Level(0010,0010), (0010,0020)Demographics, Patient Name (PN), Patient ID, Birth Date, and Biological Sex. Top-level parent in the DICOM hierarchy.
Study Level(0020,000D), (0008,0020)Study Instance UID, Study Date, Accession Number, and Clinical History. A single clinical examination order.
Series Level(0020,000E), (0008,0060)Series Instance UID, Modality (CT, MR, DX), Protocol Name, and slice thickness. A single imaging acquisition sweep.
Instance (Image)(0008,0018), (7FE0,0010)SOP Instance UID, Instance Number, and raw Pixel Data payload (7FE0,0010) storing Hounsfield or relaxation matrices.

Transfer Syntaxes: Explicit vs. Implicit VR

Every DICOM file begins with a 128-byte preamble followed by the 4-byte magic signature DICM (offset 0x80). All subsequent metadata tags are formatted under a negotiated Transfer Syntax UID. Under Explicit VR, each data element explicitly writes its two-letter Value Representation (e.g., DA for date, CS for code string), simplifying multi-vendor interoperability. Under Implicit VR, the parser must reference an internal dictionary to infer variable lengths and data types.

Clinical Modalities: CT vs. MRI vs. X-Ray Radiography

Our online viewer handles imaging across multiple diagnostic radiology domains:

Computed Tomography (CT)

Rotating X-ray tube gantry reconstructions producing cross-sectional axial tomographic slices. Unmatched speed for acute trauma, chest imaging, and bone structure evaluation.

Magnetic Resonance (MRI)

Utilizes strong magnetic fields and radiofrequency pulses to measure hydrogen proton relaxation times (T1-weighted, T2-weighted, FLAIR). Superior soft-tissue resolution for neurology and joint ligaments.

Digital Radiography (CR/DX)

Single planar projection radiographs (chest X-rays, extremity orthopedic views) delivering rapid diagnostic screening with minimal radiation exposure.

Photometric Interpretation: MONOCHROME1 vs. MONOCHROME2

Medical displays interpret pixel brightness based on the (0028,0004) Photometric Interpretation tag. In MONOCHROME2 (the modern digital standard), minimum pixel values represent dark/black areas while maximum values represent bright/white bone structures. Conversely, legacy radiographs or inverted scans marked MONOCHROME1 invert this polarity, treating minimum values as white. Our viewer automatically normalizes grayscale LUT pipelines to prevent inverted clinical interpretation errors.

100% Client-Side Privacy & HIPAA / GDPR Compliance Assurance

Medical imaging studies inherently encapsulate Protected Health Information (PHI): full patient names, dates of birth, medical record numbers (MRN), institutional hospital names, and sensitive medical diagnoses. Transmitting DICOM scans across the public internet to unverified cloud viewing portals introduces severe legal liabilities and civil penalties under HIPAA, HITECH, and GDPR data protection regulations.

HiFi Toolkit strictly enforces a zero-server privacy architecture. All DICOM binary file parsing, pixel decompression, window leveling, and metadata visualization execute 100% locally within your client web browser memory using sandboxed JavaScript TypedArrays. Not a single byte of patient imaging data, metadata tag, or clinical scan slice is ever uploaded or transmitted across external networks.

Frequently Asked Questions (FAQs)

An online DICOM Viewer is an in-browser medical image visualization and diagnostic tool that opens, decodes, and renders Digital Imaging and Communications in Medicine (.dcm, .dicom) files. It allows radiologists, physicians, biomedical researchers, and patients to view Computed Tomography (CT) scans, Magnetic Resonance Imaging (MRI), digital X-rays, and ultrasound studies without installing heavy desktop PACS software.

Window Level (Center) sets the midpoint grayscale brightness corresponding to specific Hounsfield Units (HU), while Window Width sets the dynamic contrast range. Clinicians adjust WL/WW presets to selectively highlight distinct anatomical densities: bone windows (WL 300, WW 1500), soft tissue/mediastinal windows (WL 40, WW 400), and lung parenchyma windows (WL -600, WW 1500).

Yes, 100% compliant and secure. All DICOM image decoding, pixel array decompression, and metadata parsing execute strictly inside your local client web browser memory. No Protected Health Information (PHI), patient names, medical record numbers, or radiographic scan files are ever uploaded or transmitted to external cloud servers.

DICOM metadata elements are structured into 4-byte hexadecimal pairs: a 2-byte Group Number and a 2-byte Element Number (GGGG, EEEE). For example, (0010, 0010) represents Patient Name, (0010, 0020) represents Patient ID, (0008, 0060) represents Modality (CT, MR, CR), and (7FE0, 0010) holds the raw Pixel Data stream.

Yes. The tool parses the complete DICOM header dictionary, exposing study dates, series descriptions, slice thickness (in millimeters), pixel spacing, magnetic field strength (Tesla for MRI), and X-ray tube current (mA) in an organized diagnostic table.

Our viewer supports standard uncompressed Little-Endian Explicit and Implicit VR (Value Representation) syntaxes, as well as compressed transfer syntaxes including JPEG Lossless, JPEG Baseline (Process 1), and RLE (Run Length Encoding) decompression.

Yes. The viewer decodes individual 2D axial/sagittal/coronal slices as well as multi-frame cardiac angiography cine loops and ultrasound sequences, providing frame-by-frame navigation controls.

CT detectors measure physical X-ray photon attenuation through biological tissue, represented as calibrated scalar Hounsfield Units ranging from -1000 HU (air) to 0 HU (water) up to +1000+ HU (dense cortical bone). Because radiation absorption is a scalar physical property, clinical CT imaging is inherently monochrome.

Explore Related Tools

Hand-picked utilities and calculators related to this tool.

Viewer Tools