Functions |
template<typename I > |
void | mln::io::magick::load (Image< I > &ima, const std::string &filename) |
template<typename I > |
void | mln::io::magick::save (const Image< I > &ima, const std::string &filename) |
template<typename I , typename J > |
void | mln::io::magick::save (const Image< I > &ima, const Image< J > &opacity_mask, const std::string &filename) |
Detailed Description
ImageMagick I/O routines.
Function Documentation
template<typename I >
void mln::io::magick::load |
( |
Image< I > & |
ima, |
|
|
const std::string & |
filename |
|
) |
| |
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. |
template<typename I >
void mln::io::magick::save |
( |
const Image< I > & |
ima, |
|
|
const std::string & |
filename |
|
) |
| |
Save a Milena image into a file using Magick++.This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters
-
[in] | ima | The image to save. |
[in] | filename | The name of the output file. |
template<typename I , typename J >
void mln::io::magick::save |
( |
const Image< I > & |
ima, |
|
|
const Image< J > & |
opacity_mask, |
|
|
const std::string & |
filename |
|
) |
| |
Save a Milena image into a file using Magick++.
- Parameters
-
[in] | ima | The image to save. |
[in] | opacity_mask | Mask used to set pixel opacity_mask in output image. Output format must support this feature to be taken into account. |
[in] | filename | The name of the output file. |