Functions

mln::io::raw::internal Namespace Reference

Functions

template<typename I >
void load_data (Image< I > &ima_, std::ifstream &file)
template<typename I >
void load_header (Image< I > &ima, std::ifstream &info_file, const std::string &filename)
template<typename P >
void read_point (std::ifstream &file, P &p)
template<typename I >
void save_data (I &ima, std::ofstream &file)
template<typename I >
void save_header (const I &ima, std::ofstream &file)

Function Documentation

template<typename I >
void mln::io::raw::internal::load_data ( Image< I > &  ima_,
std::ifstream &  file 
) [inline]

Definition at line 163 of file raw/load.hh.

References mln::exact(), and mln::internal::pixel_impl_< I, pixel< I > >::val().

Referenced by mln::io::raw::load().

template<typename I >
void mln::io::raw::internal::load_header ( Image< I > &  ima,
std::ifstream &  info_file,
const std::string &  filename 
) [inline]

Definition at line 82 of file raw/load.hh.

References mln::exact(), and mln::initialize().

Referenced by mln::io::raw::load().

template<typename P >
void mln::io::raw::internal::read_point ( std::ifstream &  file,
P &  p 
) [inline]

Definition at line 73 of file raw/load.hh.

template<typename I >
void mln::io::raw::internal::save_data ( I &  ima,
std::ofstream &  file 
) [inline]

Definition at line 114 of file raw/save.hh.

References mln::internal::pixel_impl_< I, pixel< I > >::val().

Referenced by mln::io::raw::save().

template<typename I >
void mln::io::raw::internal::save_header ( const I &  ima,
std::ofstream &  file 
) [inline]

Definition at line 77 of file raw/save.hh.

Referenced by mln::io::raw::save().