[magick-users] DICOM jpeg lossless
Alex Schuster
wonko at wonkology.org
Fri Jun 22 14:22:40 PDT 2007
Normand Mongeau writes:
> 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.
Oh. Indeed.
> > 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.
You do not have to. Similar to ImageMagick, DCMTK is not only the binary
programs, it is a toolkit/library with everything necessary to read and
manipulate DICOM files. It's not a one-liner of code, but if you start
with the dcm2pnm source you can probably hack something together quickly.
Alex
More information about the Magick-users
mailing list