dwv-react icon indicating copy to clipboard operation
dwv-react copied to clipboard

Cannot read some Dicom file

Open alvinsusanto88 opened this issue 5 years ago • 8 comments

Hi, I found an issue, where this dwv-react solution couldn't open the Dicom file below :

http://medistim.com/wp-content/uploads/2016/07/bmode.dcm

While on other dwv solution (simplify, angular), the file could be read

alvinsusanto88 avatar Aug 21 '19 08:08 alvinsusanto88

Weird one, the image buffer does not have a first element when guessing its number of components (image.js#L143). Independently from the framework, it is true the code expects too much, I created an issue for it, see dwv 712.

ivmartel avatar Mar 16 '20 16:03 ivmartel

@ivmartel any update when this issue will be fixed?

ron51 avatar Oct 14 '20 13:10 ron51

This still is a problem... even with dwv 0.27.1... working on it...

ivmartel avatar Nov 17 '20 09:11 ivmartel

Still is a problem with dwv 0.28...

The problem seems to only happen with JPEG lossless encoded data (transfer syntax: 1.2.840.10008.1.2.4.70).

ivmartel avatar Apr 16 '21 13:04 ivmartel

Still a problem with dwv 0.30...

ivmartel avatar Dec 30 '21 14:12 ivmartel

Is there any way to convert a DICOM file from JPEG lossless encoded to something else that the React viewer can play well with? I'm running into the same issue.

realPrimoh avatar Jun 24 '23 09:06 realPrimoh

You can use C++ dicom libraries such as dcmtk or gdcm.

ivmartel avatar Jul 05 '23 12:07 ivmartel

Still an issue, but specific to react since the other demos (dwv-simplistic,, dwv-angular) can load this data...

ivmartel avatar Mar 26 '24 17:03 ivmartel