cornerstonejs / cornerstone3D

Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the OHIF Viewer.
https://cornerstonejs.org
MIT License
577 stars 299 forks source link

[Bug] Images displayed corrupted #1406

Open enasbond opened 3 months ago

enasbond commented 3 months ago

Describe the Bug

I am using fo-dicom as my PACS compressor and OHIF as the viewer. After upgrading my current fo-dicom native coder to version 5.13, which primarily uses a new optimized version from OpenJPEG for better performance, I noticed an issue. When converting from lossless or none to JPEG 2000 lossless, all images appear corrupted in Cornerstone. I am unsure what the problem is and how to fix it.

Sample images [Uploading sample mg.zip…]()

image

![Uploading image.png…]()

Steps to Reproduce

just open the attached images using this link (https://www.cornerstonejs.org/live-examples/localcpu).

The current behavior

Images are corrupted in display

The expected behavior

Images must be viewed successfully

OS

Windows 11

Node version

18.16

Browser

chrome

sedghi commented 1 week ago

I can't see the data, please share