[magick-users] DICOM jpeg lossless
Normand Mongeau
nmongeau at videotron.ca
Fri Jun 22 13:49:19 PDT 2007
>
>> third try, either no one knows or I'm asking the wrong question?
>
> Makes me wonder, too, usually this list seems to get quite good responses
> to questions. Maybe that version is just too outdated? BTW, you hijacked
> an existing thread with your second posting, maybe people did not see it.
>
Well I'd use a more recent version, but version 6.3.3 (last one I tried) had
a _huge_
bug: each string allocated in the dcm reader used 4096 bytes... A tad too
much for my needs.
>> I'm trying to read DICOM files containing lossless jpeg. I replaced
>> the standard jpeg library with the patched one, but it doesn't work.
>> Can anyone confirm or infirm that version 6.2.7 of IM can read DICOM
>> jpeg lossless? If so, how?
>
> I have 6.3.3 running, so I cannot say much about 6.2.7. I tried with my
> version, and got the same error you stated in your first posting:
> convert: Unsupported JPEG process: SOF type 0xc3 `/tmp/magick-XXpmyYVe'.
> convert: missing an image filename `I9000001.png'.
>
> And with plain, uncompressed DICOM I get this error:
> convert: Insufficient image data in file `Image.-139_0.dcm'.
> convert: missing an image filename `Image.-139_0.png'.
Hmm I can read pretty much any DICOM file with 6.2.7, except of course jpeg
lossless (and potentially others, but I haven't yet come across them).
>
> Do you depend on ImageMagick for your task? The Offis DICOM Toolkit
> (<http://dicom.offis.de/>) has dcm2pnm which allows to convert DICOM into
> some image formats like png. Maybe this would help you?
Yes I do depend on IM, but I'm currently investigating DCMTK.
>
> Another such utility I know of is dicom2,
> <http://barre.nom.fr/medical/dicom2/>
>
> Both are sort of free.
>
I already took a look at this, but it's not suitable for my needs. I have a
3D viewer, and I don't like to rely on external programs to do work.
Thanks,
Normand
More information about the Magick-users
mailing list