Functions

doc Namespace Reference

Functions

void begin_output ()
void end_output ()
std::string file (const std::string &name, const std::string &extension)
template<typename I >
void pbmsave (const mln::Image< I > &ima, const std::string &name)
template<typename I >
void pgmsave (const mln::Image< I > &ima, const std::string &name)
template<typename I >
void ppmsave (const mln::Image< I > &ima, const std::string &name)

Function Documentation

void doc::begin_output (  )  [inline]

Definition at line 82 of file sample_utils.hh.

void doc::end_output (  )  [inline]

Definition at line 89 of file sample_utils.hh.

std::string doc::file ( const std::string &  name,
const std::string &  extension 
) [inline]

Definition at line 42 of file sample_utils.hh.

Referenced by pbmsave(), pgmsave(), and ppmsave().

template<typename I >
void doc::pbmsave ( const mln::Image< I > &  ima,
const std::string &  name 
) [inline]

Definition at line 67 of file sample_utils.hh.

References file(), and mln::io::pbm::save().

template<typename I >
void doc::pgmsave ( const mln::Image< I > &  ima,
const std::string &  name 
) [inline]

Definition at line 75 of file sample_utils.hh.

References file(), and mln::io::pgm::save().

template<typename I >
void doc::ppmsave ( const mln::Image< I > &  ima,
const std::string &  name 
) [inline]

Definition at line 59 of file sample_utils.hh.

References file(), and mln::io::ppm::save().