Milena (Olena)
User documentation 2.0a Id
|
Namespace of pgm input/output handling. More...
Classes | |
struct | fld_header |
Define the header structure of an AVS field data file. More... | |
Functions | |
template<typename I > | |
void | load (Image< I > &ima_, const char *filename) |
Load an image from an AVS field file. | |
fld_header | read_header (std::istream &ins) |
Read the header form an AVS field file. | |
void | write_header (std::ostream &file, const fld_header &h) |
Write the AVS header in a file. |
Namespace of pgm input/output handling.
void mln::io::fld::load | ( | Image< I > & | ima_, |
const char * | filename | ||
) | [inline] |
Load an image from an AVS field file.
[in,out] | ima_ | The image to load. |
[in] | filename | The path to the AVS file. |
Definition at line 199 of file fld/load.hh.
References mln::box< P >::pmax(), mln::box< P >::pmin(), and read_header().
fld_header mln::io::fld::read_header | ( | std::istream & | ins | ) | [inline] |
Read the header form an AVS field file.
ins | The file to read. |
Definition at line 76 of file fld/load_header.hh.
Referenced by load().
void mln::io::fld::write_header | ( | std::ostream & | file, |
const fld_header & | h | ||
) | [inline] |
Write the AVS header in a file.
file | The file to write. |
h | The AVS header. |
Definition at line 58 of file write_header.hh.