csi

cornerstone-side-image-loader

An MPR image loader that reconstructs coronal and sagittal images from axial images.

Showing:

Popularity

Downloads/wk

7

GitHub Stars

9

Maintenance

Last Commit

2mos ago

Contributors

3

Package

Dependencies

12

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

cornerstoneSideImageLoader

All Contributors

An MPR image loader that reconstructs coronal and sagittal images from axial images.


7323b53f1068

Dependencies

Demo

Right viewport displays original axial images. Left viewports display multiplanar-reconstructed coronal and sagittal images.

LIVE DEMONSTRATION

Installation

$ yarn add cornerstone-side-image-loader

or

$ npm i cornerstonetools-side-image-loader

Example

import cornerstone from 'cornerstone-core'
import cornerstoneSideImageLoader, { generateSideImages } from "cornerstone-side-image-loader"

cornerstoneSideImageLoader.external.cornerstone = cornerstone

const loadAxialImages = Promise.all(
  imageIds.map((imageId) => cornerstone.loadAndCacheImage(imageId)),
)
loadAxialImages.then(images => {
  const { coronalImageIds, sagittalImageIds } = generateSideImages(images)
  // do coronal and sagittal business
  coronalImageIds.map((imageId) => cornerstone.loadImage(imageId))
  sagittalImageIds.map((imageId) => cornerstone.loadImage(imageId))
})

Usage

LICENSE

MIT

Contributors ✨

This repository was initially developed by sisobus. Thanks goes to these wonderful people (emoji key):


Sangkeun Kim/김상근

💻

Minkyu Song/송민규

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100