Posted by
Johannes Hermen on
May 09, 2008; 5:56am
URL: http://imagej.273.s1.nabble.com/Problems-with-DICOM-in-1-41b-tp3696254p3696259.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
We have made some modifications to the DicomDecoder class in the last
Version, to be able to retrieve Float values from the Dicom Header (FD,
FL), which was not implemented before. If you could send me the
problematic images i can try to reproduce and fix the problem.
Thanks
Johannes
-----------------------------------------------------------------
Johannes Hermen - Ingenieur de Recherche
[hidden email]
-----------------------------------------------------------------
CRP Henri Tudor
http://www.santec.tudor.lu29, Avenue John F. Kennedy
L-1855 Luxembourg
-----------------------------------------------------------------
ImageJ Interest Group <
[hidden email]> wrote on 08.05.2008 11:14:04:
> 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