Classes | Functions

mln::io::dicom Namespace Reference

Namespace of DICOM input/output handling. More...

Classes

struct  dicom_header
 Store dicom file header. More...

Functions

dicom_header get_header (const std::string &filename)
 Retrieve header in a dicom file.
template<typename V >
image2d< V > load (const std::string &filename)
template<typename I >
void load (Image< I > &ima, const std::string &filename)

Detailed Description

Namespace of DICOM input/output handling.


Function Documentation

dicom_header mln::io::dicom::get_header ( const std::string &  filename  ) 
template<typename V >
image3d< V > mln::io::dicom::load ( const std::string &  filename  )  [inline]

Definition at line 85 of file dicom/load.hh.

References mln::trace::entering(), and mln::trace::exiting().

template<typename I >
void mln::io::dicom::load ( Image< I > &  ima,
const std::string &  filename 
) [inline]

Load a DICOM file in a Milena image.

Parameters:
[out] ima A reference to the image which will receive data.
[in] filename The source.

Common compilation flags to link to gdcm if this file is used:

-lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -lgdcmexpat -lgdcmjpeg12 -lgdcmjpeg16 -lgdcmjpeg8 -lgdcmopenjpeg -lgdcmuuid -lgdcmzlib

Definition at line 96 of file dicom/load.hh.

References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::initialize().