Hi everyone,
I'm a Medical Physicist and I built an open-source, single-file (4.00 MB) offline HTML DICOM viewer and medical physics QA tool (V.11.2.2, MIT License). There is no installer, no .exe, no Python, no backend, no external CDN libraries, and no AI—just one standalone HTML file that opens directly in your browser.
• GitHub: https://github.com/yemlihaenestuten/dicom-viewer
• Live Web / Direct Download: https://yemlihaenestuten.github.io/dicom-viewer/
• Note on language: The interface opens in Turkish by default—you can switch to English (or any of the 17 supported languages) right on the Welcome screen or from the language dropdown in the top bar.
Platforms, Browsers & Speed
• File size: 4.00 MB (single standalone .html file)
• Supported platforms: Windows · macOS · Linux · ChromeOS · HarmonyOS · Android · iOS
• Supported browsers: Chrome, Safari, Edge, and Firefox
• Works on locked-down hospital/corporate PCs: Because it is just a single local HTML file opened in a standard browser, it requires zero installation and zero admin rights, so it doesn't run into typical hospital IT / .exe restrictions.
• Fast multi-modality loading (CT, CBCT, MR/MRI, PET, PET/CT, MR/PET, RT): Load multiple CT, MRI, PET, and RT series simultaneously by drag-and-drop, folder, CD/DVD (DICOMDIR instant series picker), or directly from compressed archives (ZIP, 7z, RAR v4/v5, tar, tar.gz, tar.bz2, tar.xz, .gz) and NIfTI-1 (.nii / .nii.gz). A built-in multi-core Web Worker DICOM decoding pool (up to 6 workers on desktop, 4 on mobile) parses thousands of slices in seconds (e.g., ~2,769 MR slices in ~3.2 s; ~3,575 4D-CT slices in ~2.6 s in Lite mode). Supports compressed DICOM (JPEG, JPEG Lossless, JPEG-LS, JPEG 2000, RLE).
• 17 Languages (full UI, tooltips & medical physics terminology): English, Turkish, Chinese, Hindi, Spanish, Arabic (RTL), French, Portuguese, Russian, German, Japanese, Persian (RTL), Korean, Italian, Polish, Ukrainian, and Azerbaijani.
Privacy & Network Behavior
• 100% local processing: Everything runs strictly inside your own device's browser memory. Files are never uploaded anywhere and no patient/image data ever leaves your computer.
• Transparent update check: On startup, the app only performs a read-only check of version.json on GitHub Pages to see if a newer release is available—within the first 60 seconds after launch in single-file mode (starting at 1.5 s, retrying every 15 s if needed, then stopping completely; or once at 2.5 s in the web version). It never sends any user or file data out, and you can completely disable even this check with the "Don't check for updates" checkbox right next to the Update button.
• Includes a one-click Hide names toggle (masks PHI on screen, PNG exports, and PDF reports), Anonymized DICOM ZIP export, and a New Tab button to open a clean isolated instance for a second patient.
Full Feature List
1. Multi-Modality Viewing, MPR, Grid & Fusion
• 3-plane synchronized MPR (Axial / Coronal / Sagittal) with oblique slicing, localizer lines, thick slab (AIP / MIP / MinIP), rotating 3D MIP, cine playback, and 1×1 to 6×6 grid layouts with Same Physical Scale (mm = mm).
• PET/CT, MR/PET, and RTDOSE fusion with Blend, Split-Curtain, and Checkerboard modes, live Colorbar (HU / SUV / Gy), multi-series physical-point value probe under the cursor, manual nudge alignment, and subtraction images.
• Universal Color & Contrast Profile Studio (live side/bottom drawer): 22 clinical & perceptually uniform LUTs (Turbo, Inferno, Magma, Plasma, Cividis, Hot Iron, PET 20-Step, GE Color, NIH, Perfusion, Gold, Cyan/Ice, Sepia, etc.), 5 VOI LUT tone curves (Linear, Sigmoid, Strong S-Curve, DICOM GSDF, Logarithmic), display-layer Clarity/Sharpening, Gauss/Median display filters (raw DICOM voxels untouched), modality-aware 1–6 window presets (CT, CBCT, MR, PET), and custom 2–8 stop palette profiles.
• Saved Hanging Protocols, pure-JS Animated GIF export (cine or 4D-CT), PNG export, printable PDF Report, and JSON session save/load.
2. Radiology & Quantitative Tools
• Ruler (with live profile plot: FWHM, 20–80% penumbra, flatness, CSV), Angle, Cobb angle, RECIST 1.1 tracking & response summary, Ellipse (area, stats, histogram, Dynamic MR time-intensity curve Type I/II/III, Dixon fat fraction), 3D Sphere (SUVmax, PERCIST 1 cm³ SUVpeak, MTV, TLG), one-click 3D region growing, Spine labelling, Magnifier, and Gantry angle scale (Varian 180° / Elekta 0°).
• Built-in clinical calculators: EQD2 / BED, Treatment Gap Compensation, Re-RT OAR EQD2 Budget, Fleischner 2017, Lung-RADS v2022, Adrenal Washout, Cardiothoracic Ratio, PSA Density, ACR TI-RADS 2017, and Bosniak 2019.
3. Radiotherapy Plan Evaluation, Contouring & Dose Summation
• Full RTSTRUCT, RTPLAN, and RTDOSE support: colour wash & isodose display, instant single-level dose query (Dose … cGy), beam axes & directional VMAT arcs, and BEV (Beam's Eye View) & dynamic MLC leaf player (verified on real 120-leaf Varian Millennium VMAT plans).
• Interactive DVH with curve click-and-drag readout, Plan Quality Indices (CI RTOG, CI Paddick, HI ICRU 83, GI Paddick), fraction-aware OAR constraint templates (QUANTEC, AAPM TG-101, HyTEC, Timmerman 1/3/5/8 fx + Critical Spared Volume CV), and one-click Dmax / Coldspot (<95% Rx) 3D voxel jump.
• Plan A | B side-by-side synchronized dose viewer + Difference map (A − B) + overlaid A/B DVH.
• Dose Summation (Physical & EQD2): direct summation on same CT or automatic 6-DOF rigid registration focused on the dose region across different CTs, scaled by delivered fractions.
• Contouring & Registration: Pen tool with slice interpolation, live/dual CT+PET thresholding + one-click BODY contour, 3D Euclidean Margin (CTV → PTV), Boolean (A∪B, A∩B, A−B), DSC / Jaccard / HD95 / MSD contour comparison, 3–4 point 3D Landmark Rigid Registration (Kabsch/SVD + FRE), and standards-compliant DICOM RTSTRUCT (.dcm) export.
4. 4D-CT & QA Modules
• 4D-CT: Automatic respiratory phase detection (≥3 phases), synchronized 3-plane playback, RTSTRUCT/ITV overlay, 3D tumour motion amplitude (ΔX, ΔY, ΔZ, 3D mm), and 3D 4D-MIP / AIP / MinIP generation.
• Portal Dosimetry Patient QA (Varian EPID): Automatic predicted (CALCULATED_DOSE) ↔ acquired (ACQUIRED_DOSE) beam pairing, AAPM TG-218 2D gamma (custom DD/DTA/threshold, Global/Local, sub-mm auto-align), batch all-fields table, 4 maps, X/Y profiles, CSV & PDF report.
• Patient QA (TomoTherapy / PTW VeriSoft .mcc): 3D/2D gamma analysis against RTDOSE with automatic 8-orientation plane search, automatic plan fraction scaling, maps, profiles, CSV & VeriSoft-style PDF report.
• Film QA (TomoTherapy TG-148): Uncompressed TIFF reader for beam plane / jaw twist (31–32), field center / jaw setting (33), MLC offset (34–35), and ceiling laser (40) with 4× ink-mark snap magnifier & PDF report.
5. Nuclear Medicine & Physics QC
• Longitudinal PERCIST 1.0 (CMR / PMR / SMD / PMD) & Total MTV / TLG (TMTV).
• Dynamic PET Patlak graphical analysis (Ki, V0, R²) & Isotope Decay / Effective Half-Life (Teff) calculator.
• SIRT Y-90 Local Deposition Model (LDM) partition dosimetry + 3D Y-90 RTDOSE (Gy) generator.
• Phantom & Image Physics QC: NEMA IEC recovery coefficients, pure-JS 2D FFT Radial NPS, AAPM TG-220 CT SSDE (Dw / f_size), and CT HU → mass density map (g/cm³).
• Full DICOM Dump & Longitudinal QC Tag Compare: Recursive nested SQ sequences & private tags, customizable QC tag groups (PET/EARL, CT/CBCT, MR), and side-by-side tag diff table.
6. TPS Harmonizer (Prepare DICOM for Varian Eclipse & Elekta Monaco)
• Unpacks Enhanced Multi-Frame DICOM (5200,9229/5200,9230) into classic per-slice geometry, splits mixed-orientation (IOP) / multi-StackID series, recovers truncated Siemens EOF files, sanitizes (0018,0015) BodyPartExamined against DICOM PS3.16 Annex L, strips private tags, fills missing Monaco/Eclipse Type 1 MR & zero-tilt CT tags, relinks RTSTRUCT to new UIDs, and exports clean uncompressed 16-bit Explicit VR Little Endian slices with low-RAM hospital workstation options (Direct Write to Folder [0 RAM] or Separate ZIP per Series).
Disclaimer: This is an open-source research, review, and data-preparation tool—not a cleared medical device. Always verify clinical decisions, doses, orientations, and QA results in your approved clinical TPS / QA software.
If you try it out and would like any additional features, workflow tweaks, or support for specific vendor DICOM quirks, feel free to comment here or email me directly at [email protected]!