dwv

DICOM Web Viewer.

Usage no npm install needed!

<script type="module">
  import dwv from 'https://cdn.skypack.dev/dwv';
</script>

README

DWV

DWV (DICOM Web Viewer) is an open source zero footprint medical image viewer library. It uses only javascript and HTML5 technologies, meaning that it can be run on any platform that provides a modern browser (laptop, tablet, phone and even modern TVs). It can load local or remote data in DICOM format (the standard for medical imaging data such as MR, CT, Echo, Mammo, NM...) and provides standard tools for its manipulation such as contrast, zoom, drag, possibility to draw regions on top of the image and imaging filters such as threshold and sharpening.

Node.js CI npm Donate

Try a live demo and read a lot more information on the docs (such as examples, dicom conformance, pacs integrations). You can also check out the wiki.

  • All coding/implementation contributions and comments are welcome.
  • DWV is not certified for diagnostic use.1
  • Released under GNU GPL-3.0 license (see license.txt).

If you have additional questions, please open an issue.

Steps to run the viewer from scratch

# get the code
git clone https://github.com/ivmartel/dwv.git

# move to its folder
cd dwv

# install dependencies
yarn install

# launch tests: will open a browser with test pages
yarn run test

Available Scripts

# install dependencies
yarn install

# run linting
yarn run lint

# run unit tests with hot reload at localhost:8080
yarn run test

# create release files
yarn run build

# create documentation
yarn run doc

# watch for changes and copy build (to be connected with a demo viewer)
yarn run dev

Using yarn as the main package manager. Best to use it to install since the lock file (that contains the exact dependency tree) is a yarn file. All scripts also work with npm.

Notes

1: Certification refers to official medical software certification that are issued by the FDA or EU Notified Bodies. The sentence here serves as a reminder that the Dicom Web Viewer is not ceritifed, and comes with no warranties (and no possible liability of its authors) as stated in the license. To learn more about standards used in certification, see the wikipedia Medical software page.