mln::io::pfm Namespace Reference

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


Namespaces

namespace  impl
 Implementation namespace of pfm namespace.

Functions

image2d< float > load (const std::string &filename)
 Load a pfm image in a image2d<float>.
void load (image2d< float > &ima, const std::string &filename)
 Load a pfm image in a Milena image.
template<typename I >
void save (const Image< I > &ima, const std::string &filename)
 Save a Milena image as a pfm image.


Detailed Description

Namespace of pfm input/output handling.


Function Documentation

image2d< float > mln::io::pfm::load ( const std::string &  filename  )  [inline]

Load a pfm image in a image2d<float>.

Parameters:
[in] filename The image source.
Returns:
An image2d<float> which contains loaded data.
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.

void mln::io::pfm::load ( image2d< float > &  ima,
const std::string &  filename 
) [inline]

Load a pfm image in a Milena image.

Parameters:
[out] ima A reference to the image2d<float> which will receive data.
[in] filename The source.

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

Save a Milena image as a pfm image.

Parameters:
[in] ima The image to save.
[in,out] filename the destination.


Generated on Tue Jul 14 16:33:06 2009 for Milena (Olena) by  doxygen 1.5.9