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. |
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. |
References mln::io::fld::fld_header::data, mln::io::fld::fld_header::max_ext, mln::io::fld::fld_header::min_ext, mln::io::fld::fld_header::ndim, mln::io::fld::fld_header::nspace, mln::box< P >::pmax(), mln::box< P >::pmin(), read_header(), and mln::io::fld::fld_header::veclen.
fld_header mln::io::fld::read_header | ( | std::istream & | ins | ) | [inline] |
Read the header form an AVS field file.
ins | The file to read. |
References mln::io::fld::fld_header::data, mln::io::fld::fld_header::dim, mln::io::fld::fld_header::field, mln::io::fld::fld_header::max_ext, mln::io::fld::fld_header::min_ext, mln::io::fld::fld_header::ndim, mln::io::fld::fld_header::nspace, and mln::io::fld::fld_header::veclen.
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. |
References mln::io::fld::fld_header::data, mln::io::fld::fld_header::dim, mln::io::fld::fld_header::field, mln::io::fld::fld_header::max_ext, mln::io::fld::fld_header::min_ext, mln::io::fld::fld_header::ndim, mln::io::fld::fld_header::nspace, and mln::io::fld::fld_header::veclen.