dcmjs: Pure JavaScript DICOM for the Browser
About
dcmjs is a work in progress to support browser-based quantitative imaging workflows that are interoperable with other DICOM compliant tools by reading and writing binary (DICOM Part 10) objects.
A goal of dcmjs is to make the use of DICOM object instances as convenient as possible for JavaScript developers by mapping DICOM instances to JavaScript objects and the use of human readable dictiorary-based terms as member variables.
This example demonstrates download and display of a QIICR study head and neck PET and DICOM Segmentation Object downloaded on the fly from TCIA. It first downloads and parses the study then scrolls through the PET data showing the segmentation overlay.

Availability
Installation: dcmjs is available on github.
Use in an html page with:
<script src="https://rawgit.com/pieper/dcmjs/master/build/dcmjs.js"></script>
a DCMJS object is exposed for use in browser scripts.
or install with npm:
npm install dcmjs
Documentation: Documentation is very sparse at the moment, but there are worked out examples for manipulating studies, displaying/creating segmentations and structured reports. Please contact Steve Pieper if you are interested in this prject.
Source code: link
Publications
Not yet.
Grants support
- Open Health Imaging Foundation (OHIF)
- Quantitative Image Informatics for Cancer Research (QIICR) U24 CA180918
- Radiomics U24 CA194354
- The Neuroimage Analysis Center P41 EB015902
- The National Center for Image Guided Therapy P41 EB015898
Steve Pieper TOOL