mln::io::pbm Namespace Reference

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


Namespaces

namespace  impl
 Namespace of pbm implementation details.

Functions

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


Detailed Description

Namespace of pbm input/output handling.


Function Documentation

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

Load a pbm image in a image2d<float>.

Parameters:
[in] filename The image source.
Returns:
An image2d<float> which contains loaded data.
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::pbm::load ( image2d< bool > &  ima,
const std::string &  filename 
) [inline]

Load a pbm image in a Milena image.

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

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

Save a Milena image as a pbm image.

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


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