Functions | |
template<typename I> | |
void | save_data_ (std::ofstream &file, trait::image::speed::any, const I &ima) |
template<typename I> | |
void | save_data_ (std::ofstream &file, trait::image::speed::fastest, const I &ima) |
template<typename I> | |
void | save_data_contiguous (std::ofstream &file, const I &ima_) |
template<typename I> | |
void | save_data_uncontiguous (std::ofstream &file, const I &ima) |
template<typename S> | |
void | write_value (std::ofstream &file, const value::Scalar< S > &s) |
template<typename V> | |
void | write_value (std::ofstream &file, const V &v) |
template<unsigned int n> | |
void | write_value (std::ofstream &file, const value::rgb< n > &c) |
void mln::io::pnm::impl::save_data_ | ( | std::ofstream & | file, | |
trait::image::speed::any | , | |||
const I & | ima | |||
) | [inline] |
void mln::io::pnm::impl::save_data_ | ( | std::ofstream & | file, | |
trait::image::speed::fastest | , | |||
const I & | ima | |||
) | [inline] |
Definition at line 158 of file pnm/save.hh.
References save_data_contiguous(), and save_data_uncontiguous().
Referenced by mln::io::pnm::save().
void mln::io::pnm::impl::save_data_contiguous | ( | std::ofstream & | file, | |
const I & | ima_ | |||
) | [inline] |
Definition at line 140 of file pnm/save.hh.
References mln::exact(), mln::geom::max_row(), mln::geom::min_col(), mln::geom::min_row(), and mln::geom::ncols().
Referenced by save_data_().
void mln::io::pnm::impl::save_data_uncontiguous | ( | std::ofstream & | file, | |
const I & | ima | |||
) | [inline] |
Definition at line 121 of file pnm/save.hh.
References mln::geom::max_col(), mln::geom::max_row(), mln::geom::min_col(), mln::geom::min_row(), and write_value().
Referenced by save_data_().
void mln::io::pnm::impl::write_value | ( | std::ofstream & | file, | |
const value::Scalar< S > & | s | |||
) | [inline] |
Definition at line 109 of file pnm/save.hh.
void mln::io::pnm::impl::write_value | ( | std::ofstream & | file, | |
const V & | v | |||
) | [inline] |
Definition at line 99 of file pnm/save.hh.
void mln::io::pnm::impl::write_value | ( | std::ofstream & | file, | |
const value::rgb< n > & | c | |||
) | [inline] |
Definition at line 83 of file pnm/save.hh.
References mln::value::rgb< n >::blue(), mln::value::rgb< n >::green(), and mln::value::rgb< n >::red().
Referenced by save_data_uncontiguous().