dicom-tree
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

Built With Stencil

Dicom Tree Loader

Stencil Generated web component to parse, resolve, and display DICOM - Directories. It provides a simple tree View with the DICOM - Relational Model. In this tree you can select individual series and get the selected data files

To Debug use

npm start

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Using this component

Import package by using the script tag:

 <script src='https://unpkg.com/dicom-tree@latest/dist/dicom-tree.js'></script>

or install with npm install dicom-tree --save and import into your application with import { dicom-tree } from 'dicom-tree' To include the DICOM component, simply put the dicom tree tag. The files need to

  <dicom-tree id="dicomtree" ><dicom-tree>

To Load Files into the Model pass a ArrayBuffer[] into the Model

  document.getElementById('dicomtree').loadFiles(arraybufferList);

To get your selected files use:

  document.getElementById('dicomtree').getSelectedFiles();

Readme

Keywords

none

Package Sidebar

Install

npm i dicom-tree

Weekly Downloads

91

Version

1.4.0

License

MIT

Unpacked Size

4.82 MB

Total Files

114

Last publish

Collaborators

  • cram21