A cornerstone Image Loader for DICOM P10 instances stored as files. This library is built on top of
Alpha but usable, see key features and backlog of cornerstoneWADOImageLoader, please view its page for the features it supports and backlog.
Click here for a live example of this library in use!
Get a packaged source file:
or install from bower
bower install cornerstone-file-image-loader
The cornerstoneFileImageLoader depends on the following libraries:
All of these libraries should be loaded before the cornerstoneFileImageLoader.js. See the source code for the example.
Before loading a file, the user needs to select it using the file input element or via drag and drop. Once you have the File object, you add it to the image loader using the cornerstoneFileImageLoader.addFile() api. This API returns a unique integer which you use to create an imageId with the prefix 'dicomfile'. Here is an example:
dicomfile:http://1
Once you have this imageId, you can load it using normal cornerstone methods.
This project uses grunt to build the software.
NodeJs - click to visit web site for installation instructions.
grunt-cli
npm install -g grunt-cli
bower
npm install -g bower
Update dependencies (after each pull):
npm install
bower install
Running the build:
grunt
Automatically running the build and unit tests after each source change:
grunt watch
Copyright 2015 Chris Hafey chafey@gmail.com