Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
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 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)

Retrieve header in a dicom file.

Definition at line 76 of file dicom/get_header.hh.

References mln::util::array< T >::append().

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

Load a DICOM file in a Milena image.

     \param[out] ima A reference to the image which will receive
     data.
     \param[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::initialize().