cornerstonejs / cornerstoneWADOImageLoader

[DEPRECATED] DICOM WADO Image Loader for the cornerstone library
MIT License
280 stars 267 forks source link

How to load multiple frames in one request? #540

Open Amirika18 opened 2 months ago

Amirika18 commented 2 months ago

I would like to load multiple frames in one request using cornerstone loader. The problem I faced couldn't be solved with simple united request with frame parts, because I want to cache the image in imageCacheDict that required an ImageLoadObject.

I can't create ImageLoadObject with just filling fields by hand because it requires some methods such as getCanvas and getPixelData after its promise is fulfilled.

Are there any methods how to create or initialize ImageLoadObject to cache it or any approaches to load and cache multiple frames in one request?