$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
FLD

Classes

struct  mln::io::fld::fld_header
 Define the header structure of an AVS field data file. More...

Functions

template<typename I >
void mln::io::fld::load (Image< I > &ima_, const char *filename)
fld_header mln::io::fld::read_header (std::istream &ins)
template<typename I >
void mln::io::fld::save (const Image< I > &ima_, const char *filename)
void mln::io::fld::write_header (std::ostream &file, const fld_header &h)

Detailed Description

FLD I/O routines.

Function Documentation

template<typename I >
void mln::io::fld::load ( Image< I > &  ima_,
const char *  filename 
)
inline

Load an image from an AVS field file.

Parameters
[in,out]ima_The image to load.
[in]filenameThe path to the AVS file.
fld_header mln::io::fld::read_header ( std::istream &  ins)

Read the header form an AVS field file.

Parameters
insThe file to read.
Returns
The header.
template<typename I >
void mln::io::fld::save ( const Image< I > &  ima_,
const char *  filename 
)

Save an image to AVS field file format.

void mln::io::fld::write_header ( std::ostream &  file,
const fld_header &  h 
)

Write the AVS header in a file.

    \param file The file to write.
    \param h The AVS header.