sharedArrayBufferImageLoader
Callable
Parameters
imageId: string
The imageId to load
optionaloptions: Record<string, any>
options for loading
Returns { cancelFn: () => void; promise: Promise<Record<string, any>> }
cancelFn: () => void
Returns void
promise: Promise<Record<string, any>>
Small stripped image loader from cornerstoneWADOImageLoader Which doesn’t create cornerstone images that we don’t need. It it mainly used (currently) by StreamingImageVolume to load each imageId and insert the image into the volume at the correct location. Note: the reason we don’t use CornerstoneImageLoader (e.g., wadors image loader) is because we don’t need to create cornerstone image instance, since we treat a volume as a whole which has one metadata and one 3D image.