Namespaces | Classes | Functions

mln::io::fld Namespace Reference

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

Namespaces

namespace  internal

Classes

struct  data_type
struct  field_type
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.
template<unsigned n, typename V >
unsigned max_component (const algebra::vec< n, V > &v)
template<unsigned n>
unsigned max_component (const value::rgb< n > &)
unsigned max_component (const fld::data_type::E &t)
template<typename V >
unsigned max_component (const V &)
fld_header read_header (std::istream &ins)
 Read the header form an AVS field file.
template<typename I >
void save (const Image< I > &ima_, const char *filename)
void write_header (std::ostream &file, const fld_header &h)
 Write the AVS header in a file.

Detailed Description

Namespace of pgm input/output handling.


Function Documentation

template<typename I >
void mln::io::fld::load ( Image< I > &  ima_,
const char *  filename 
) [inline]
template<unsigned n, typename V >
unsigned mln::io::fld::max_component ( const algebra::vec< n, V > &  v  )  [inline]

Definition at line 75 of file max_components.hh.

template<unsigned n>
unsigned mln::io::fld::max_component ( const value::rgb< n > &   )  [inline]

Definition at line 82 of file max_components.hh.

unsigned mln::io::fld::max_component ( const fld::data_type::E &  t  )  [inline]
template<typename V >
unsigned mln::io::fld::max_component ( const V &   )  [inline]

Definition at line 67 of file max_components.hh.

Referenced by load(), and mln::io::fld::internal::make_header().

fld_header mln::io::fld::read_header ( std::istream &  ins  )  [inline]
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 
) [inline]