Hi,
I am having a problem loading a new cornerstone image stack.
What I actually do is:
Call via Ajax the server and get a new Image Array
Display it wit with cornerstone
That works well, as long as I don't call a second time. Then the new image stack is loaded but it seems the new images are not simply loaded, they are somewhere added to the existing stack. With adding, I mean, the values are added to the old values resulting in a very light new image.
I am not using load and cache, only load image. I am disabling and enabling the HTML element on every call. I also tried cornerstone purge cache, although I am not using the cache. That does all not help.
I tried a lot clearing every object in the image loader and so on, but could not find the problem.
Does anyone know how I have to reset cornerstone between loading a new image?