Skip to content

About

Medical image viewer using DWV (DICOM Web Viewer) and Angular.

Topics

Resources

Contributing

Stars

45 stars

Watchers

4 watching

Forks

Repository files navigation

dwv-angular project

Medical image viewer Angular component using DWV (DICOM Web Viewer), with a demo application:

  • dwv-angular: the viewer component library, the main deliverable of this repository
  • dwv-angular-app: demo Angular application integrating the dwv-angular component

All coding/implementation contributions and comments are welcome. Releases should be ready for deployment otherwise download the code and install dependencies with yarn install (Yarn 4, via Corepack).

dwv-angular is not certified for diagnostic use. Released under GNU GPL-3.0 license (see license.txt).

Node.js CI

Available Scripts

Run with yarn run <script>:

  • build-lib: build the library (required before serving, building or testing the app)
  • watch-lib: rebuild the library on change (development configuration)
  • start: serve the demo app with hot reload at localhost:4200
  • build: build the project specified as argument
  • lint: run linting
  • test: run unit tests in watch mode for the project specified as argument
  • test-ci: run all unit tests once, with coverage
  • clean: clean the Angular cache

This project uses the Angular CLI.

Steps to run the viewer from scratch

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

# move to its folder
cd dwv-angular

# install dependencies
yarn install

# build the library
yarn run build-lib

# call the start script to launch the viewer on a local server
yarn run start

You can now open a browser at http://localhost:4200 and enjoy!

DWVs' Web workers

Web workers used in dwv need to be available in the ./assets/workers folder (relative to the calling html). Angular copies them in the build of the dwv-angular-app (not the lib).

About

Medical image viewer using DWV (DICOM Web Viewer) and Angular.

Topics

Resources

Contributing

Stars

45 stars

Watchers

4 watching

Forks

Releases

Used by

Contributors

Languages