Skip to content
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

Some dicom file can't show on wado image loader #143

Closed
flyhuang opened this issue Nov 14, 2017 · 7 comments
Closed

Some dicom file can't show on wado image loader #143

flyhuang opened this issue Nov 14, 2017 · 7 comments
Assignees
Labels
🐛 Bug: Report Bug reported, but not verified.

Comments

@flyhuang
Copy link

Hi sir,

screen shot 2017-11-14 at 2 47 53 pm

This is my dicom file
1.2.840.1.99.1.47.1.1510543940.1104.zip

Could u give me some suggestion for this case?

Thanks very much,
Wade Huang

@flyhuang
Copy link
Author

Hi @swederik,

Cloud u give me some suggestion about this?

it's dicom parser lib issue or cornerstone canvas show issue?

Thanks,
Wade Huang

@swederik
Copy link
Member

Hi Wade,

Sorry I haven't had time yet to look into this. I just took a look and it's a bit bizarre. Let me dig a little deeper.

@swederik swederik added the 🐛 Bug: Report Bug reported, but not verified. label Nov 16, 2017
@swederik swederik self-assigned this Nov 16, 2017
@flyhuang
Copy link
Author

Thanks very much @swederik

@swederik
Copy link
Member

Hi Wade,

It appears that you have a secondary capture image which has retained the original image's window width / center and rescale slope / intercept values. If you look at the file you have slope = 1, intercept = -1024, and window width 2000, center 500, but this is an RGB image. The modality and VOI LUTs were being created and applied to the stored pixels for this image, and all the values were ending up as 0, so your image was black.

I'm not certain what to do about this right now, but I am wondering if we should even be applying modality LUTs for color photometric interpretations.

swederik added a commit that referenced this issue Nov 16, 2017
@swederik
Copy link
Member

If you try your file here it will work:

https://rawgit.com/chafey/cornerstoneWADOImageLoader/color/examples/dicomfile/index.html

I will try to confirm this approach is okay before I merge these changes into WADO Image Loader / Cornerstone Core.

@flyhuang
Copy link
Author

Hi @swederik

Thanks for your valuable time, it works!!

@swederik
Copy link
Member

swederik commented Dec 8, 2017

Your file works now on the live site, so I'll close this. Thanks for the report!

@swederik swederik closed this as completed Dec 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug: Report Bug reported, but not verified.
Projects
None yet
Development

No branches or pull requests

2 participants