Functions | |
void | load (bin_2complex_image3df &ima, const std::string &filename) |
Load a (binary) OFF image into a complex image. | |
void | save (const bin_2complex_image3df &ima, const std::string &filename) |
Save a (binary) OFF image into a complex image. | |
template<typename I> | |
void | save_bin_alt (const I &ima, const std::string &filename) |
FIXME: Similar to mln::io::off::save(const bin_2complex_image3df&, const std::string&), but does not save faces whose value is `false'. |
void mln::io::off::load | ( | bin_2complex_image3df & | ima, | |
const std::string & | filename | |||
) |
Load a (binary) OFF image into a complex image.
Load a 3x8-bit RGB (color) OFF image into a complex image.
Load a floating-point OFF image into a complex image.
[out] | ima | A reference to the image to construct. |
[in] | filename | The name of the file to load. |
[out] | ima | A reference to the image to construct. |
[in] | filename | The name of the file to load. |
void mln::io::off::save | ( | const bin_2complex_image3df & | ima, | |
const std::string & | filename | |||
) |
Save a (binary) OFF image into a complex image.
Save a 3x8-bit RGB (color) OFF image into a complex image.
Save a floating-point value grey-level OFF image into a complex image.
Save an 8-bit grey-level OFF image into a complex image.
[in] | ima | The image to save. |
[in] | filename | The name of the file where to save the image. |
[in] | ima | The image to save. |
[in] | filename | The name of the file where to save the image. |
void mln::io::off::save_bin_alt | ( | const I & | ima, | |
const std::string & | filename | |||
) | [inline] |
FIXME: Similar to mln::io::off::save(const bin_2complex_image3df&, const std::string&), but does not save faces whose value is `false'.