Login  Register

Problems with DICOM in 1.41b

Posted by albertoduina@virgilio.it on May 08, 2008; 9:14am
URL: http://imagej.273.s1.nabble.com/Problems-with-DICOM-in-1-41b-tp3696254.html

Hi all,
today, after the upgrade of ImageJ at 1.41b I have problems
opening some DICOM images, from a MR Siemens machine, here is the
message:
java.lang.NegativeArraySizeException
        at ij.plugin.DicomDecoder.getString(DICOM.java:270)
        at ij.plugin.DicomDecoder.getHeaderInfo(DICOM.java:743)
        at ij.plugin.DicomDecoder.addInfo(DICOM.java:676)
        at ij.plugin.DicomDecoder.getFileInfo(DICOM.java:622)
        at ij.plugin.DICOM.run(DICOM.java:89)
        at ij.IJ.runPlugIn(IJ.java:131)
        at ij.IJ.runPlugIn(IJ.java:113)
        at ij.io.Opener.openImage(Opener.java:200)
        at ij.io.Opener.openImage(Opener.java:253)
        at ij.io.Opener.open(Opener.java:117)
        at ij.io.Opener.open(Opener.java:56)
        at ij.plugin.Commands.run(Commands.java:23)
        at ij.IJ.runPlugIn(IJ.java:131)
        at ij.Executer.runCommand(Executer.java:104)
        at ij.Executer.run(Executer.java:58)
        at java.lang.Thread.run(Unknown Source)
the problem not appear with older (>2years) Siemens images.

Another similar problem with images from an HITACHI machine, here the
message is:
<Out of memory>

No problems with images from a GE machine.

With the 1.41a version the problems disappear.

I have tried to investigate, activating the Debug Mode, in the Log window
appear the DicomDecoder output, but it stops somewere into the private
tags, after (0019,1015  FD 24 bytes from 1510) ---: 0.0 and
before the 0019,1016) that must be a DS value (seen with hexWorkShop).
With a BP in Eclipse appear wrong the elementLength = -1067065344

Anybody has similar problems?
Thanks.
Alberto