$extrastylesheet
Functions | |
void | mln::io::off::load (bin_2complex_image3df &ima, const std::string &filename) |
void | mln::io::off::load (float_2complex_image3df &ima, const std::string &filename) |
void | mln::io::off::load (rgb8_2complex_image3df &ima, const std::string &filename) |
void | mln::io::off::save (const bin_2complex_image3df &ima, const std::string &filename) |
void | mln::io::off::save (const int_u8_2complex_image3df &ima, const std::string &filename) |
void | mln::io::off::save (const float_2complex_image3df &ima, const std::string &filename) |
void | mln::io::off::save (const rgb8_2complex_image3df &ima, const std::string &filename) |
OFF I/O routines.
void mln::io::off::load | ( | bin_2complex_image3df & | ima, |
const std::string & | filename | ||
) |
Load a (binary) OFF image into a complex image.
[out] | ima | A reference to the image to construct. |
[in] | filename | The name of the file to load. |
The image is said binary since data only represent the existence of faces.
void mln::io::off::load | ( | float_2complex_image3df & | ima, |
const std::string & | filename | ||
) |
brief Load a floating-point OFF image into a complex image.
\param[out] ima A reference to the image to construct. \param[in] filename The name of the file to load. Read floating-point data is attached to 2-faces only; 1-faces and 0-faces are set to 0.0f.
void mln::io::off::load | ( | rgb8_2complex_image3df & | ima, |
const std::string & | filename | ||
) |
Load a 3x8-bit RGB (color) OFF image into a complex image.
[out] | ima | A reference to the image to construct. |
[in] | filename | The name of the file to load. |
Read floating-point data is attached to 2-faces only; 1-faces and 0-faces are set to 0.0f.
void mln::io::off::save | ( | const bin_2complex_image3df & | ima, |
const std::string & | filename | ||
) |
Save a (binary) OFF image into a complex image.
[in] | ima | The image to save. |
[in] | filename | The name of the file where to save the image. |
The image is said binary since data represent only the existence of faces.
void mln::io::off::save | ( | const int_u8_2complex_image3df & | ima, |
const std::string & | filename | ||
) |
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. |
Only data is attached to 2-faces is saved; the OFF file cannot store data attached to faces of other dimensions.
void mln::io::off::save | ( | const float_2complex_image3df & | ima, |
const std::string & | filename | ||
) |
Save a floating-point value 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. |
Only data is attached to 2-faces is saved; the OFF file cannot store data attached to faces of other dimensions.
void mln::io::off::save | ( | const rgb8_2complex_image3df & | ima, |
const std::string & | filename | ||
) |
Save a 3x8-bit RGB (color) OFF image into a complex image.
[in] | ima | The image to save. |
[in] | filename | The name of the file where to save the image. |
Only data is attached to 2-faces is saved; the OFF file cannot store data attached to faces of other dimensions.