dicom-tree
v1.4.0
Published
Dicom Tree File Builder
Downloads
8
Readme
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();