-
Notifications
You must be signed in to change notification settings - Fork 324
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
[Bug] Issue with Loading Compressed DX Images #917
Comments
Here's another example of a file that induces this behavior: |
Hi @sedghi,
|
Hi @sedghi, any opinion or update about this? |
Hi @sedghi, |
@emelalkim is this fixed ? if yes then close the issue |
Dear Team,
We have encountered a critical issue related to loading compressed DX images using cornerstone. Upon investigation, we have observed the following error messages and behavior:
Error Messages:
Related Posts/Issues:
We have come across a similar problem in a forum post with no apparent solution.
Also, there is this open issue but it doesn't mention DX or compressed images
Specific Behavior:
Specific images seem to trigger this behavior. If we attempt to load the problematic DX image first (sample data), any subsequent DX image loaded ends up displaying all black. Opening a DX image that loads properly first, and then opening the problematic DX image seems to resolve the issue temporarily. Both series and all images of the series are displayed.
We were also able to partly reproduce the problem in OHIF local version. The sample data can load only one of the images. The other two throws "Failed to decode tile" error message
3 Compressed DX images
We're actively investigating. Any insights and pointers are appreciated.
Steps to Reproduce
a. Open DICOM P10 From local file system live-example.
b. Drag drop one of the images with no _1003good.dcm at the end.
c. It should throw failure to decode error
d. Drag drop EE0E3825_1003good.dcm (without refreshing the page)
e. It should throw failure to decode error again
a. Open DICOM P10 From local file system live-example (or refresh the page).
b. Drag drop the image named EE0E3825_1003good.dcm
c. It should display fine.
d. Drag drop one of the images with no _1003good.dcm at the end (without refreshing the page)
e. It should display fine.
The current behavior
When we try to load the jp2 DICOM file without opening another DICOM that opens fine first, it throws
[ERROR] opj_decompress: failed to decode tile!
task decodeTask failed - Aborted(). Build with -sASSERTIONS for more info. RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
at z (openjpegwasm_decode.js:9:7718)
at i (openjpegwasm_decode.js:9:52570)
at 65916ef3def695744bda.wasm:0xb9c
at 65916ef3def695744bda.wasm:0xf654
at 65916ef3def695744bda.wasm:0x1a728
at 65916ef3def695744bda.wasm:0x1ab63
at J2KDecoder.J2KDecoder$decode [as decode] (eval at (openjpegwasm_decode.js:9:35236), :8:1)
at l (decodeJPEG2000.ts:73:11)
at async H (decodeImageFrame.ts:164:25)
at async Object.handler (decodeTask.ts:51:9)
The expected behavior
There are 2 issues that need to be fixed
OS
macOS 14.1.1
Node version
20.9.0
Browser
Edge 119.0.2151.72, Chrome 119.0.6045.199
The text was updated successfully, but these errors were encountered: