cornerstonejs / cornerstoneWADOImageLoader

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

How to load multiple frames in one request? #540

Open Amirika18 opened 6 months ago

Amirika18 commented 6 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?

sofinan commented 4 days ago

Hello, @Amirika18 ! Could you, please, clarify if you have found solution? Thank you.