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.
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.
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…]()
![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