Closed hu3402379 closed 5 years ago
That's odd.. What are image.windowWidth and image.windowCenter?
@swederik Thanks for your reply. I can not understand what's your mean? Forgive my poor English。。。
Can you give the output of console.log(image) ?
@swederik Hi,first load image console like:
and second reload console like:
thanks.
Hi, I think there is a bug for new version 2.1.2.
When i use cornerstoneWADOImageLoader 2.0.0 version, the default viewport is normal. but when i update to version 2.1.2, some strange things happened.
The core code is as follows:
When I first load the image, the viewport is normal, console log like this:
and then I do something(not refresh page), and make it reload the image, the viewport console log like this:
the defalut ww/wc has been changed.
But if i use cornerstone.loadImage(imageId).then((image), not cornerstone.loadAndCacheImage****, the ww/wc is normal.
I guess this is due to changes in the version upgrade to some code, I have not found a solution。