Functions | |
| template<typename V > | |
| image2d< V > | load (const std::string &filename) | 
| Load a pgm image in a Milena image.   | |
| template<typename I > | |
| void | load (Image< I > &ima, const std::string &filename) | 
| Load a pgm image in a Milena image.   | |
| template<typename I > | |
| void | save (const Image< I > &ima, const std::string &filename) | 
| image2d< V > mln::io::pgm::load | ( | const std::string & | filename | ) |  [inline] | 
        
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. | 
Load a pfm image in a image2d<float>.
Load a pbm image in a image2d<float>.
| [in] | filename | The image source. | 
| void mln::io::pgm::load | ( | Image< I > & | ima, | |
| const std::string & | filename | |||
| ) |  [inline] | 
        
| void mln::io::pgm::save | ( | const Image< I > & | ima, | |
| const std::string & | filename | |||
| ) |  [inline] | 
        
Save a Milena image as a pgm image.
| [in] | ima | The image to save. | 
| [in,out] | filename | the destination. | 
 1.5.9