Namespaces | |
namespace | impl |
Implementation 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. |
void mln::io::pfm::load | ( | image2d< float > & | ima, | |
const std::string & | filename | |||
) | [inline] |
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. |