Fiddle
Some fiddles for you to play... Some are bundled with the code, scroll below the method arguments to see the example code. They all use the dwv
prefix since the example are run in a pure javascript environment. This is not necessary in an es6 environment where you use the names defined when you import the classes.
DICOM parsing:
- parser example #1: parse DICOM data and display a tag
DICOM writing:
- writer example #1: parse DICOM data and write it back
Image creation:
- image example #1: parse DICOM data and create an image
Displays:
- display example #1 (gist): the simplest DICOM display example!
- display example #1.1: any number of displays you want (jsfiddle)
- display example #1.2: manual render
- display example #2: with window/level
- display example #2.1: with draw tool (jsfiddle)
- display example #2.2: with zoom and pan
- display example #2.3: with opacity
- display example #3: with multiple slices with or without a slider
Extending dwv:
- custom tool example #1: add a custom tool
All the ones of jsfiddle: ivmartel/fiddles.
Module
DICOM parsing using node:
- parser example #1: parse DICOM data and display a tag.
Viewers and integrations
- dwv-simplistic: raw HTML viewer with no dependencies (demo)
- dwv-jqui: integration with jQuery UI (demo)
- dwv-jqmobile: integration with jQuery Mobile (demo)
- dwv-angular: integration with Angular (demo)
- dwv-react: integration with React (demo)
- dwv-vue: integration with Vue.js (demo)