Namespace of pnm's implementation details. More...
Functions | |
template<typename I > | |
void | save_data_ (std::ofstream &file, trait::image::speed::fastest, const I &ima) |
template<typename I > | |
void | save_data_ (std::ofstream &file, trait::image::speed::any, 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 V > | |
void | write_value (std::ofstream &file, const V &v) |
template<typename S > | |
void | write_value (std::ofstream &file, const value::Scalar< S > &s) |
template<unsigned int n> | |
void | write_value (std::ofstream &file, const value::rgb< n > &c) |
Namespace of pnm's implementation details.
void mln::io::pnm::impl::save_data_ | ( | std::ofstream & | file, | |
trait::image::speed::fastest | , | |||
const I & | ima | |||
) | [inline] |
References save_data_contiguous(), and save_data_uncontiguous().
Referenced by mln::io::pnm::save().
void mln::io::pnm::impl::save_data_ | ( | std::ofstream & | file, | |
trait::image::speed::any | , | |||
const I & | ima | |||
) | [inline] |
References save_data_uncontiguous().
void mln::io::pnm::impl::save_data_contiguous | ( | std::ofstream & | file, | |
const I & | ima_ | |||
) | [inline] |
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] |
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 V & | v | |||
) | [inline] |
void mln::io::pnm::impl::write_value | ( | std::ofstream & | file, | |
const value::Scalar< S > & | s | |||
) | [inline] |
void mln::io::pnm::impl::write_value | ( | std::ofstream & | file, | |
const value::rgb< n > & | c | |||
) | [inline] |
References mln::value::rgb< n >::blue(), mln::value::rgb< n >::green(), and mln::value::rgb< n >::red().
Referenced by save_data_uncontiguous().