Namespaces | |
namespace | impl |
Implementation namespace of pfm namespace. | |
namespace | internal |
Internal 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. |
image2d< float > mln::io::pfm::load | ( | const std::string & | filename | ) | [inline] |
Load a pfm image in a image2d<float>.
[in] | filename | The image source. |
Load a pbm image in a image2d<float>.
[in] | filename | The image source. |
Definition at line 138 of file pfm/load.hh.
References mln::trace::entering(), mln::trace::exiting(), mln::io::pfm::internal::load_raw_2d(), and mln::io::pfm::internal::read_pfm_header().
void mln::io::pfm::load | ( | image2d< float > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Load a pfm image in a Milena image.
[out] | ima | A reference to the image2d<float> which will receive data. |
[in] | filename | The source. |
Definition at line 162 of file pfm/load.hh.
void mln::io::pfm::save | ( | const Image< I > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Save a Milena image as a pfm image.
[in] | ima | The image to save. |
[in,out] | filename | the destination. |
Definition at line 101 of file pfm/save.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::io::pfm::impl::save_().