$extrastylesheet
Functions | |
template<typename I > | |
void | mln::io::pgm::load (Image< I > &ima, const std::string &filename) |
template<typename V > | |
void | mln::io::pgms::load (image3d< V > &ima, const util::array< std::string > &filenames) |
template<typename V > | |
image2d< V > | mln::io::pgm::load (const std::string &filename) |
template<typename I > | |
void | mln::io::pgm::save (const Image< I > &ima, const std::string &filename) |
PGM I/O routines.
void mln::io::pgm::load | ( | Image< I > & | ima, |
const std::string & | filename | ||
) |
Load a pgm image in a Milena image.
[out] | ima | A reference to the image which will receive data. |
[in] | filename | The source. |
void mln::io::pgms::load | ( | image3d< V > & | ima, |
const util::array< std::string > & | filenames | ||
) |
Load pgm images as slices of a 3D Milena image.
[out] | ima | A reference to the 3D image which will receive data. |
[in] | filenames | The list of 2D images to load.. |
image2d<V> mln::io::pgm::load | ( | const std::string & | filename | ) |
Load a pgm image in a Milena image.
To use this routine, you should specialize the template whith the value type of the image loaded. (ex : load<value::int_u8>("...") )
[in] | filename | The image source. |
void mln::io::pgm::save | ( | const Image< I > & | ima, |
const std::string & | filename | ||
) |
Save a Milena image as a pgm image.
[in] | ima | The image to save. |
[in,out] | filename | the destination. |