cornerstone-wado-image-loader

WebJar for cornerstone-wado-image-loader

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

cornerstone-wado-image-loader
Last Version

Last Version

3.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

cornerstone-wado-image-loader
WebJar for cornerstone-wado-image-loader
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/cornerstonejs/cornerstoneWADOImageLoader

Download cornerstone-wado-image-loader

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/cornerstone-wado-image-loader/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>cornerstone-wado-image-loader</artifactId>
    <version>3.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/cornerstone-wado-image-loader/
implementation 'org.webjars.npm:cornerstone-wado-image-loader:3.1.2'
// https://jarcasting.com/artifacts/org.webjars.npm/cornerstone-wado-image-loader/
implementation ("org.webjars.npm:cornerstone-wado-image-loader:3.1.2")
'org.webjars.npm:cornerstone-wado-image-loader:jar:3.1.2'
<dependency org="org.webjars.npm" name="cornerstone-wado-image-loader" rev="3.1.2">
  <artifact name="cornerstone-wado-image-loader" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='cornerstone-wado-image-loader', version='3.1.2')
)
libraryDependencies += "org.webjars.npm" % "cornerstone-wado-image-loader" % "3.1.2"
[org.webjars.npm/cornerstone-wado-image-loader "3.1.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : dicom-parser jar [1.8.3,2)
org.webjars.npm : pako jar [1.0.10,2)

Project Modules

There are no modules declared in this project.

NPM version NPM downloads MIT License Build Status Coverage Status

cornerstone WADO Image Loader

A cornerstone Image Loader for DICOM P10 instances over HTTP (WADO-URI) or DICOMWeb (WADO-RS). This can be used to integrate cornerstone with WADO-URI servers, DICOMWeb servers or any other HTTP based server that returns DICOM P10 instances (e.g. Orthanc or custom servers)

Troubleshooting

Having problems viewing your images with cornerstonWADOImageLoader? Check out the troubleshooting guide.

Live Examples

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

You can also see it in action with the cornerstoneDemo application.

Install

Get the distributed unminimized file:

or the distributed minimized file:

Usage

The cornerstoneWADOImageLoader depends on the following external libraries which should be loaded before cornerstoneWADOImageLoader.js:

  1. dicomParser
  2. cornerstone

New in 1.0.0: Specify the cornerstone instance you want to register the loader with.

cornerstoneWADOImageLoader.external.cornerstone = cornerstone;

Have your code configure the web worker framework:

    var config = {
        maxWebWorkers: navigator.hardwareConcurrency || 1,
        startWebWorkersOnDemand : true,
    };
    cornerstoneWADOImageLoader.webWorkerManager.initialize(config);

See the web workers documentation for more details on configuring.

Key Features

  • Implements a cornerstone ImageLoader for DICOM P10 Instances via a HTTP get request.
    • Can be used with a WADO-URI server
    • Can be used with Orthanc's file endpoint
    • Can be used with any server that returns DICOM P10 instances via HTTP GET
  • Implements a cornerstone ImageLoader for WADO-RS (DICOMWeb)
  • Supports many popular transfer syntaxes and photometric interpretations see full list and codec for more information.
  • Framework to execute CPU intensive tasks in web workers
    • Used for image decoding
    • Can be used for your own CPU intensive tasks (e.g. image processing)

Backlog

  • Support for images with pixel padding
  • Support for high bit (e.g. mask out burned in overlays)
  • Free up DICOM P10 instance after decoding to reduce memory consumption
  • Add support for compressed images to WADO-RS loader
  • Look at using EMSCRIPEN based build of IJG for JPEG
  • Consolidate all EMSCRIPTEN codecs into one build to cut down on memory use and startup times
  • Add support for bulk data items to WADO-RS Loader
  • Add events to webWorkerManager so its activity can be monitored
  • Add support for issuing progress events from web worker tasks

FAQ

Why is this a separate library from cornerstone?

Mainly to avoid adding a dependency to cornerstone for the DICOM parsing library. While cornerstone is intended to be used to display medical images that are stored in DICOM, cornerstone aims to simplify the use of medical imaging and therefore tries to hide some of the complexity that exists within DICOM. It is also desirable to support display of non DICOM images so a DICOM independent image model makes sense.

How do I build this library myself?

See the documentation here

How do I add my own custom web worker tasks?

See the documentation here

How do I create imageIds that work with this image loader?

See the documentation here

Copyright

Copyright 2016 Chris Hafey [email protected]

org.webjars.npm

cornerstone.js

JavaScript library to display interactive medical images including but not limited to DICOM

Versions

Version
3.1.2
2.2.3