$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PBM

Functions

void mln::io::pbms::load (image3d< bool > &ima, const util::array< std::string > &filenames)
void mln::io::pbm::load (image2d< bool > &ima, const std::string &filename)
image2d< boolmln::io::pbm::load (const std::string &filename)
template<typename I >
void mln::io::pbm::save (const Image< I > &ima, const std::string &filename)

Detailed Description

PBM I/O routines.

Function Documentation

void mln::io::pbms::load ( image3d< bool > &  ima,
const util::array< std::string > &  filenames 
)

Load pbms images as slices of a 3D Milena image.

Parameters
[out]imaA reference to the 3D image which will receive data.
[in]filenamesThe list of 2D images to load..
void mln::io::pbm::load ( image2d< bool > &  ima,
const std::string &  filename 
)

Load a pbm image in a Milena image.

Parameters
[out]imaA reference to the image2d<bool> which will receive data.
[in]filenameThe source.
image2d<bool> mln::io::pbm::load ( const std::string &  filename)

Load a pbm image in a image2d<float>.

Parameters
[in]filenameThe image source.
Returns
An image2d<float> which contains loaded data.
template<typename I >
void mln::io::pbm::save ( const Image< I > &  ima,
const std::string &  filename 
)

Save a Milena image as a pbm image.

Parameters
[in]imaThe image to save.
[in,out]filenamethe destination.