David J. Paribello | 18 Nov 20:22
Favicon

Writing dicom images

Hello, I am new to Boost.  I work in the medical imaging field and am looking for a set of functions and/or libraries in c++ that can be used to write raw (pixel) data to dicom images.  I am also fairly new to c++ as well as dicom images.  Is there a separate dicom header library?  I have implemented much of what I need to do in Matlab using dicomwrite and want to mimic that function in c++.  Does something similar to that exist?

 

Thanks

 

David

 

-------------------------------

David Paribello - B. Eng., M. Eng.

Robarts Research Institute

Imaging Research Laboratories

 

_______________________________________________
Boost-users mailing list
Boost-users <at> lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Mathieu Malaterre | 18 Nov 23:33

Re: Writing dicom images

On Tue, Nov 18, 2008 at 8:26 PM, David J. Paribello
<dparibel <at> imaging.robarts.ca> wrote:
> Hello, I am new to Boost.  I work in the medical imaging field and am
> looking for a set of functions and/or libraries in c++ that can be used to
> write raw (pixel) data to dicom images.  I am also fairly new to c++ as well
> as dicom images.  Is there a separate dicom header library?  I have
> implemented much of what I need to do in Matlab using dicomwrite and want to
> mimic that function in c++.  Does something similar to that exist?

Or gdcm which tightly integrates with VTK & ITK:

http://apps.sourceforge.net/mediawiki/gdcm/index.php?title=GDCM_Release_2.0#GDCM_2.0.10_.282008.2F11.2F18.29

--

-- 
Mathieu
Christian Henning | 18 Nov 20:49

Re: Writing dicom images

David,

I was using DCMTK ( http://dicom.offis.de/dcmtk.php.en ) at one point
and it served its purpose. As for reading or writing dicom images I'm
afraid but there is nothing in boost right now. The closest is
probably boost::gil but there is no extension for dicom, which would
be very cool to have.

Regards,
Christian

On Tue, Nov 18, 2008 at 2:26 PM, David J. Paribello
<dparibel <at> imaging.robarts.ca> wrote:
> Hello, I am new to Boost.  I work in the medical imaging field and am
> looking for a set of functions and/or libraries in c++ that can be used to
> write raw (pixel) data to dicom images.  I am also fairly new to c++ as well
> as dicom images.  Is there a separate dicom header library?  I have
> implemented much of what I need to do in Matlab using dicomwrite and want to
> mimic that function in c++.  Does something similar to that exist?
>
>
>
> Thanks
>
>
>
> David
>
>
>
> -------------------------------
>
> David Paribello - B. Eng., M. Eng.
>
> Robarts Research Institute
>
> Imaging Research Laboratories
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users <at> lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Peter Klotz | 18 Nov 21:02

Re: Writing dicom images

Hello David

> Hello, I am new to Boost.  I work in the medical imaging field and am 
> looking for a set of functions and/or libraries in c++ that can be used 
> to write raw (pixel) data to dicom images.  I am also fairly new to c++ 
> as well as dicom images.  Is there a separate dicom header library?  I 
> have implemented much of what I need to do in Matlab using /dicomwrite/ 
> and want to mimic that function in c++.  Does something similar to that 
> exist?

You may want to have a look at DICOM Toolkit (DCMTK):

http://dicom.offis.de/dcmtk

I recommend downloading a recent snapshot instead of 3.5.4 which is 
already 3 years old:

http://dicom.offis.de/download/dcmtk/snapshot/

DCMTK covers large parts of the DICOM standard including pixel data 
manipulation.

Regards, Peter.

Gmane