Enums for blendModes for viewport images based on vtk.js
It should be noted that if crosshairs are enabled and can modify the slab thickness, then it will not show any difference unless MAXIMUM_INTENSITY_BLEND is set on the viewport as the blend.
average intensity projection
composite blending - suitable for compositing multiple images
maximum intensity projection
minimum intensity projection
Cornerstone Core events
Error that is thrown when the ImageCache exceeds its max cache size. This can happen for both volumes and stack images.
Happens if an image (either a single image in stack viewport) or a slice of a volume fails to load by the image/volume loaders.
Triggers on the eventTarget when there is a progress in the image load process. Note: this event is being used in the Cornerstone-WADO-Image-Loader repository. See here
Make use of ImageLoadProgress Event Type for typing your event listeners for IMAGE_LOAD_PROGRESS event, and see what event detail is included in ImageLoadProgress Event Detail
Triggers on the eventTarget when the image volume data is modified. This happens in the streamingImageLoader when each frame is loaded and inserted into a volume.
Triggers on the event target when a new stack is set on its stack viewport. Make use of StackViewportNewStack Event Type for typing your event listeners for STACK_VIEWPORT_NEW_STACK event, and see what event detail is included in StackViewportNewStack Event Detail
Triggers on the element when the underlying StackViewport is scrolled. Make use of StackViewportScroll Event Type for typing your event listeners for STACK_VIEWPORT_SCROLL event, and see what event detail is included in StackViewportScroll Event Detail
Triggers on the element when a new image is set on the volumeViewport, this can be due to scrolling or other tools that change the camera position or focal point.
Interpolation types for image rendering
linear interpolation - Default
nearest neighbor interpolation
Request types for requesting images from the imageLoadPoolManager
Highest priority for loading
Lowest priority for loading
Second highest priority for loading
ViewportType enum for cornerstone-render which defines the type of viewport. It can be either STACK, PERSPECTIVE, ORTHOGRAPHIC.
- Suitable for rendering a volumetric data which is considered as one 3D image.
- Having a VolumeViewport enables Multi-planar reformation or reconstruction (MPR) by design, in which you can visualize the volume from various different orientations without addition of performance costs.
Perspective Viewport: Not Implemented yet
- Suitable for rendering a stack of images, that might or might not belong to the same image.
- Stack can include 2D images of different shapes, size and direction