Error weasis - MR Philips

141 views
Skip to first unread message

Danilo Cândido

unread,
Oct 27, 2015, 9:46:37 AM10/27/15
to dcm...@googlegroups.com
Hi Everyone,

We have problems to view MR images from Philips modality (I don't know which model).
Weasis just loads images and then the images disappear.

We tried do this in DEBUG mode, and the error is:

telnetd is running on 127.0.0.1:17179
27.10.2015 09:46:37.898 *INFO* [AWT-EventQueue-0]() org.weasis.dicom.explorer.LoadLocalDicom End of loading DICOM locally
27.10.2015 09:47:02.722 *WARN* [pool-1-thread-1]() org.dcm4che3.io.DicomInputStream IOException during read of (0040,9224) #541766 @ 3282 java.io.EOFException
at org.dcm4che3.util.StreamUtils.readFully(StreamUtils.java:63)
at org.dcm4che3.io.DicomInputStream.readFully(DicomInputStream.java:377)
at org.dcm4che3.io.DicomInputStream.readValue(DicomInputStream.java:711)
at org.dcm4che3.io.DicomInputStream.readValue(DicomInputStream.java:517)
at org.dcm4che3.io.DicomInputStream.readAttributes(DicomInputStream.java:488)
at org.dcm4che3.io.DicomInputStream.readValue(DicomInputStream.java:582)
at org.dcm4che3.io.DicomInputStream.readSequence(DicomInputStream.java:640)
at org.dcm4che3.io.DicomInputStream.readValue(DicomInputStream.java:507)
at org.dcm4che3.io.DicomInputStream.readAttributes(DicomInputStream.java:488)
at org.dcm4che3.io.DicomInputStream.readDataset(DicomInputStream.java:418)
at org.weasis.dicom.codec.DicomMediaIO.readMetaData(DicomMediaIO.java:1456)
at org.weasis.dicom.codec.DicomMediaIO.isReadableDicom(DicomMediaIO.java:271)
at org.weasis.dicom.explorer.LoadLocalDicom.addSelectionAndnotify(LoadLocalDicom.java:94)
at org.weasis.dicom.explorer.LoadLocalDicom.doInBackground(LoadLocalDicom.java:64)
at org.weasis.dicom.explorer.LoadLocalDicom.doInBackground(LoadLocalDicom.java:41)
at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at javax.swing.SwingWorker.run(SwingWorker.java:335)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
27.10.2015 09:47:02.723 *ERROR* [pool-1-thread-1]() org.weasis.dicom.codec.DicomMediaIO null
27.10.2015 09:47:02.729 *INFO* [AWT-EventQueue-0]() org.weasis.dicom.explorer.LoadLocalDicom End of loading DICOM locally

Anyone can help me?

I'm sending a sample image for tests too...

Thank you in advance!

Danilo
IM-0001-0010.dcm

Dimitri Pianeta

unread,
Oct 27, 2015, 12:03:43 PM10/27/15
to dcm4che

ERROR find in your file DICOM.

Warning: VR conflict while decoding attribute (0040,9096) - explicit VR of UN found while definition lookup states VR of SQ - swapping VR to SQ
For example in part 3 page 450.


Image 1.png

Danilo Cândido

unread,
Oct 27, 2015, 1:46:01 PM10/27/15
to dcm...@googlegroups.com
Thank you Dimitri!

But... What can I do? 

With Osirix and Cornestone viewers  work fine, just Weasis doesn't show...

Any sugestion?

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Dimitri Pianeta

unread,
Oct 27, 2015, 7:57:57 PM10/27/15
to dcm4che
I think that the problem come compression of image dicom. Your image is JPEG 2000 loss but framework dcm4che3 has a problem for jpeg2000 in the method read.

Danilo Cândido

unread,
Oct 29, 2015, 9:18:27 AM10/29/15
to dcm...@googlegroups.com
HI Dimitri,

The same problem happens with original DICOM (attachment).

Can I do something like edit dicom tag in cstorerq.xsl?

Thank you again!

Danilo

2015-10-27 21:57 GMT-02:00 Dimitri Pianeta <dimitri...@gmail.com>:
I think that the problem come compression of image dicom. Your image is JPEG 2000 loss but framework dcm4che3 has a problem for jpeg2000 in the method read.

IM-0001-0001.dcm

Dimitri Pianeta

unread,
Oct 29, 2015, 11:51:53 AM10/29/15
to dcm4che
Seeing here a example cstoreq.xsl modification.

Danilo Cândido

unread,
Oct 29, 2015, 12:16:41 PM10/29/15
to dcm...@googlegroups.com
Thank you Dimitri, but I don't know which tags I need to change and what values  input (if necessary).

2015-10-29 13:51 GMT-02:00 Dimitri Pianeta <dimitri...@gmail.com>:
Seeing here a example cstoreq.xsl modification.

--

Dimitri Pianeta

unread,
Oct 29, 2015, 12:32:10 PM10/29/15
to dcm4che
I think this file will delete (0040,9096) - Real World Value Mapping Sequence,-  because VR=SQ without orther tag after.
Reply all
Reply to author
Forward
0 new messages