@cornerstonejs/streaming-image-volume-loader
Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the OHIF Viewer.
This library, @cornerstonejs/streaming-image-volume-loader, provides a volume loader which allows for individual image slices (e.g. part of an MRI or CT acquisition) to be streamed in to fill an entire volumetric array. During this slice-by-slice streaming, the user can continue to interact with the volume.
You can find the Cornerstone documentation on the website.
Index
Classes
Functions
Namespaces
Variables
Variables
consthelpers
Type declaration
getDynamicVolumeInfo: (imageIds: any) => { isDynamicVolume: boolean; timePoints: string[][] }
Parameters
imageIds: any
Array of Cornerstone Image Object’s imageIds
Returns { isDynamicVolume: boolean; timePoints: string[][] }
4D series infos
isDynamicVolume: boolean
timePoints: string[][]
sortImageIdsAndGetSpacing: (imageIds: string[], scanAxisNormal: vec3) => SortedImageIdsItem
Given an array of imageIds, sort them based on their imagePositionPatient, and also returns the spacing between images and the origin of the reference image
Parameters
imageIds: string[]
array of imageIds
scanAxisNormal: vec3
[x, y, z] array or gl-matrix vec3
Returns SortedImageIdsItem
The sortedImageIds, zSpacing, and origin of the first image in the series.
Get some info about 4D image sets. Time points (groups of imageIds) are returned when the imageIds represents a 4D volume.