Giter Site home page Giter Site logo

cornerstonefileimageloader's Introduction

cornerstone DICOM P10 File Image Loader

A cornerstone Image Loader for DICOM P10 instances stored as files. This library is built on top of

Project Status

Alpha but usable, see key features and backlog of cornerstoneWADOImageLoader, please view its page for the features it supports and backlog.

Live Examples

Click here for a live example of this library in use!

Install

Get a packaged source file:

or install from bower

bower install cornerstone-file-image-loader

Usage

The cornerstoneFileImageLoader depends on the following libraries:

  1. jQuery
  2. dicomParser
  3. cornerstone
  4. cornerstoneWADOImageLoader
  5. JPEG2000 Codec

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.

Build System

This project uses grunt to build the software.

Pre-requisites:

NodeJs - click to visit web site for installation instructions.

grunt-cli

npm install -g grunt-cli

bower

npm install -g bower

Common Tasks

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

Copyright 2015 Chris Hafey [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.