Viewers
Viewers copied to clipboard
[Bug] US - Blank Images and throws 'Error: The image does not have a complete color palette. R, G, and B palette data are required.'
Describe the Bug
Hi, I am still encountering the same error as in my previous issue #4075. My US (multi-frame) DICOM images with PALETTE COLOR photometric interpretation still cannot be viewed, even though I am using the latest master branch version (3.9.38) as you said it was fixed in dev.
Steps to Reproduce
- Download the exported Ultrasound (US) DICOM images from this link (https://drive.google.com/file/d/17xuICqMgf5v4cosGWRuNlt7R9n4Kq8aS/view?usp=sharing).
- Upload the DICOM images to OHIF using the latest master branch version (3.9.38).
- View the DICOM images using the basic viewer.
The current behavior
The cornerstone in the basic viewer still returns a blank screen. For example, when using the version 3.9.38, it throws this error.
fetchPaletteColorLookupTableData.js:70
No data found for [object ArrayBuffer] palette
convertPALETTECOLOR.ts:59
Uncaught (in promise)
Error: The image does not have a complete color palette. R, G, and B palette data are required.
at convertPALETTECOLOR.ts:59:13
DataArray.js:518
Uncaught (in promise)
RangeError: model.size is not a multiple of model.numberOfComponents
at p (DataArray.js:518:11)
at Object.n [as newInstance] (macros2.js:917:5)
at ue.createVTKImageData (StackViewport.ts:1659:25)
at ue._createVTKImageData (StackViewport.ts:1690:28)
at ue._updateActorToDisplayImageId (StackViewport.ts:2352:10)
at ue.renderImageObject (StackViewport.ts:2171:14)
at renderToCanvasGPU.ts:178:36
at new Promise (<anonymous>)
at oe (renderToCanvasGPU.ts:101:10)
at u (loadImageToCanvas.ts:146:7)
The expected behavior
The DICOM should be displayed like this (OHIFv2 or other DICOM viewers like the MedDream demo).
OHIFv2 Viewer
MedDream Viewer
OS
Ubuntu 22.04.3 LTS
Node version
20.12.2
Browser
Chrome 123.0.6312.122 (Official Build) (64-bit)