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) |
Namespace of DICOM input/output handling.
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(), mln::io::dicom::dicom_header::dim, mln::trace::entering(), mln::trace::exiting(), and mln::io::dicom::dicom_header::size.
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().
void mln::io::dicom::load | ( | Image< I > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Load a DICOM file in a Milena image.
[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().