mln::io::dicom Namespace Reference

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


Functions

template<typename V>
image2d< V > load (const std::string &filename)
 Load a fits image in a image2d<float>.
template<typename I>
void load (Image< I > &ima, const std::string &filename)
 Load a DICOM file in a Milena image.


Detailed Description

Namespace of DICOM input/output handling.

Function Documentation

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

Load a fits image in a image2d<float>.

Load a ppm image in a Milena image.

Load a pgm image in a Milena image.

Load a pfm image in a image2d<float>.

Load a pbm image in a image2d<float>.

Parameters:
[in] filename The image source.
Returns:
An image2d<float> which contains loaded data.

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

References mln::trace::entering(), mln::trace::exiting(), mln::io::fits::fits_exit(), mln::io::pbm::internal::load_ascii(), mln::io::pfm::internal::load_raw_2d(), mln::io::pbm::internal::load_raw_2d(), mln::io::pnm::read_header(), and mln::io::pfm::internal::read_pfm_header().

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.

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

References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), and mln::point< G, C >::to_vec().


Generated on Sun Apr 25 02:03:03 2010 for Milena (Olena) by  doxygen 1.5.6