Dicom Web viewer (angular)

691 阅读1分钟

Description

this library is a Dicom viewer coding by Angular ,it's a angular module which you can import it in your angular project application.

online Address

线上地址

Module assets address

in NGSS git repository


Preparations

before import DWV Module.

  • install ng-zorro-antd & dwv

  • copy styles files from assets folder

  • add theme.less and index.scss in your angular.json

  • add dwv-decoders asset in your angular.json at

            "assets": [
            {
              "glob": "**/*",
              "input": "node_modules/dwv/decoders",
              "output": "/assets/dwv/decoders"
            },
            {
              "glob": "**/*",
              "input": "./node_modules/@ant-design/  icons-angular/src/inline-svg/",
              "output": "/assets/"
            }
          ]
    

Usage

copy the dwv module to your angular project

    @NgModule({
    declarations: [],
    imports: [DwvModule],
    providers: [],
    bootstrap: [],
    })

API

属性

  • [data] : string image or dicom url
  • (onSaveDrawings) exposure the drawings data

Reference

引用库