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).
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:4200build: build the project specified as argumentlint: run lintingtest: run unit tests in watch mode for the project specified as argumenttest-ci: run all unit tests once, with coverageclean: clean the Angular cache
This project uses the Angular CLI.
# 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 startYou can now open a browser at http://localhost:4200 and enjoy!
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).