Functions

mln::io::magick Namespace Reference

Namespace of magick input/output handling. More...

Functions

template<typename I >
void load (Image< I > &ima, const std::string &filename)
 Load data from a file into a Milena image using Magick++.
template<typename I >
void save (const Image< I > &ima, const std::string &filename)
 Save a Milena image into a file using Magick++.

Detailed Description

Namespace of magick input/output handling.


Function Documentation

template<typename I >
void mln::io::magick::load ( Image< I > &  ima,
const std::string &  filename 
) [inline]

Load data from a file into a Milena image using Magick++.

Parameters:
[out] ima The image data are loaded into.
[in] filename The name of the input file.

References mln::initialize().

template<typename I >
void mln::io::magick::save ( const Image< I > &  ima,
const std::string &  filename 
) [inline]

Save a Milena image into a file using Magick++.

Parameters:
[out] ima The image to save.
[in] filename The name of the output file.