cornerstonejs / cornerstoneWADOImageLoader

[Deprecated] Use Cornerstone3D Instead https://cornerstonejs.org/
MIT License
285 stars 264 forks source link

Jpeg2000 Lossless quality issue #475

Open lambacini opened 2 years ago

lambacini commented 2 years ago

i try to load & view JPEG 2000 Lossless compressed image (1.2.840.10008.1.2.4.90). There seems to be a problem with the quality of the decompressed images. I tried compressing the images with two different libraries (fo-dicom & leadtools) but the result did not change. i added sample screenshots and dicom files related to the subject.

( does not appear to be a problem in older versions of CornerstoneWadoImageLoader )

Cornestone Example Page Result: ct-cornerstone

Ohif Viewer Result: ct-ohif

Weasis Result : ct-weasis

Test Case for CT : ct-testcase.zip

Cornerstne Example Page Result: cr-cornerstone

Ohif Viewer Result : ohif githubusercontent.com/943188/191012986-f599b197

Weasis Result : ![weasis](https://user-images.githubusercontent.com/943188/191013026-1a97c3e1-b9e9-4883-9145-88a0209bfb3

weasis

Test Case For CR : testcase-cr.zip

Also, other viewers such as osirix, 3D Slicer, radiant do not seem to have a problem.

thanks in advance for your help..

lambacini commented 2 years ago

https://github.com/OHIF/Viewers/issues/2958

looks like same with this issue

Congritulation commented 2 years ago

I have seen another issue almost like you, so, have you solved this problem?

lambacini commented 2 years ago

@Congritulation no still same.

abasb75 commented 2 years ago

downgrade cornerstone wado image loader to 3.3.2! its work

lambacini commented 2 years ago

@abasb75 i already wrote this. The new version works much better.

Congritulation commented 2 years ago

I have changed the software version to 3.1.2,it can resolve JPEG2000 Image.but UltroSound image cannot be resolved. Have you ever encountered situation like this?

abasb75 commented 2 years ago

@abasb75 i already wrote this. The new version works much better.

check your image here

lambacini commented 2 years ago

i think there is a misunderstanding. If you look at my explanation, i wrote that while opening an issue, it was already working fine in old versions. Downgrading is not a permanent solution. because there are other problems caused by the old version.