cornerstonejs / cornerstoneWADOImageLoader

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

Some of the Dicom tools are not working when i use a dcm image from my local machine using Angular #331

Open nigelreign opened 3 years ago

nigelreign commented 3 years ago

Need help

When i try

    const imageId =
      "dicomweb:https://www.asteris.biz/Keystone/ImageDownload.aspx?ClinicCode=TESTKEYSTONE&ImageId=01b1755e-33d1-4b24-b9af-a4a019689d5f&ImageType=DicomImage&FrameIndex=0";
    // const imageId = cornerstoneWADOImageLoader.wadouri.fileManager.add(file);

    this.loadAndViewImage(imageId);

the file successfully displays the Dicom image and all the tools work properly but when I do

    const imageId = cornerstoneWADOImageLoader.wadouri.fileManager.add(file);
      this.loadAndViewImage(imageId);

the Dicom image displays and only the brightness and invert tool seem to work but other tools do not work

enriqueortega commented 3 years ago

I'm also running into an issue where, when adding local .dcm files, the tools don't seem to respond.

nigelreign commented 3 years ago

Are all the tools not working or some of them don't work?

enriqueortega commented 3 years ago

Unfortunately non of the tools seem to work. Reverted it back to basic example and it's still broken. Not entirely sure why still.