$extrastylesheet
Namespaces | |
namespace | impl |
Functions | |
template<typename V > | |
unsigned int | max_component (const V &) |
template<typename I > | |
void | save (char type, const Image< I > &ima_, const std::string &filename) |
Namespace of pnm input/output handling.
Give the maximum value which can be stored as a component value type V.
void mln::io::pnm::save | ( | char | type, |
const Image< I > & | ima_, | ||
const std::string & | filename | ||
) |
Save a Milena image as a pnm image.
\param[in] type The type of the image to save (can be PPM, PGM, PBM). \param[in] ima_ The image to save. \param[in,out] filename the destination.