-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to put images into cache that are already loaded #266
Comments
Hey, the caching is done automatically if you have registered image loaders and using cornerstone to load them. If you can't initiate the load from cornerstone, you can look into the |
If I directly call I tried both ways, and only I am not sure the dicom files were loaded twice, because chrome network tab shows only one request per file, even though I used If the images are cached, no problem. Otherwise, it will be perfect if I can pass an argument |
* fix(dcmjs):The area and diameter were undefined. The area and diameter written to the DICOM SR had the value "undefined" because neither item was being computed. Also, the diameter used the area as the actual value (which happened to be undefined). This change reads the values from the source adapter and then provides them to the TID.300 adapter in the correct places. * Removed an unnecessary console log * fix(dcmjs):Add a comment about the 0 dummy values
I believe this issue can be closed as soon as #1509 is merged.
|
I'm trying to load volume using
cornerstoneWADOImageLoader.wadouri.loadImage
rather thanstreaming-wadors
becausewadors
protocol is not available in my server environment.After I loaded images and extracted meta data, I realized that I can't find a function to cache images. So currently my implementation loads images twice (for prefetch and volume generation). I wish there was a function like this:
cornerstone.cacheImage(imageId, image)
The text was updated successfully, but these errors were encountered: