Classes | Functions

mln::io::dump Namespace Reference

Namespace of dump input/output handling. More...

Classes

struct  dump_header
 Store dump file header. More...

Functions

dump_header get_header (const std::string &filename)
 Retrieve header in a dump file.
template<typename I >
void load (Image< I > &ima_, const std::string &filename)
 Load a Milena image by dumped into a file.
template<typename I >
void save (const Image< I > &ima_, const std::string &filename)
 Save a Milena image by dumping its data to a file.

Detailed Description

Namespace of dump input/output handling.


Function Documentation

dump_header mln::io::dump::get_header ( const std::string &  filename  ) 

Retrieve header in a dump file.

Definition at line 68 of file dump/get_header.hh.

References mln::util::array< T >::resize().

template<typename I >
void mln::io::dump::load ( Image< I > &  ima_,
const std::string &  filename 
)

Load a Milena image by dumped into a file.

Parameters:
[in,out] ima_ The image to load.
[in] filename the destination.

Definition at line 171 of file dump/load.hh.

template<typename I >
void mln::io::dump::save ( const Image< I > &  ima_,
const std::string &  filename 
)

Save a Milena image by dumping its data to a file.

Parameters:
[in] ima_ The image to save.
[in] filename the destination.

Definition at line 131 of file dump/save.hh.