Namespaces | |
namespace | impl |
Namespace of pbm implementation details. | |
namespace | internal |
Internal namespace of pbm namespace. | |
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) |
image2d< bool > mln::io::pbm::load | ( | const std::string & | filename | ) | [inline] |
Load a pbm image in a image2d<float>.
[in] | filename | The image source. |
[in] | filename | The image source. |
Definition at line 128 of file pbm/load.hh.
References mln::trace::entering(), mln::trace::exiting(), mln::io::pbm::internal::load_ascii(), mln::io::pbm::internal::load_raw_2d(), and mln::io::pnm::read_header().
void mln::io::pbm::load | ( | image2d< bool > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Load a pbm image in a Milena image.
[out] | ima | A reference to the image2d<bool> which will receive data. |
[in] | filename | The source. |
Definition at line 156 of file pbm/load.hh.
Referenced by mln::io::pnms::load().
void mln::io::pbm::save | ( | const Image< I > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Save a Milena image as a pbm image.
[in] | ima | The image to save. |
[in,out] | filename | the destination. |
Definition at line 118 of file pbm/save.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::io::pbm::impl::save_().
Referenced by mln::registration::closest_point_with_map< P >::init(), and doc::pbmsave().