Namespaces | Functions

mln::convert::impl Namespace Reference

Namespaces

namespace  internal

Functions

template<typename V >
void from_double_to_value (const double &from, mln::value::Integer< V > &to)
template<typename V >
void from_double_to_value (const double &from, mln::value::Floating< V > &to)
template<typename V >
void from_double_to_value (const double &, Value< V > &)
template<typename V >
void from_float_to_value (const float &from, mln::value::Integer< V > &to)
template<typename V >
void from_float_to_value (const float &from, mln::value::Floating< V > &to)
template<typename V >
void from_float_to_value (const float &, Value< V > &)
template<typename I , typename S >
void from_image_to_site_set (const Image< I > &from, Site_Set< S > &to)
 Conversion of an image from towards a site set to.
template<typename V >
void from_int_to_value (const int &from, mln::value::Integer< V > &to)
template<typename V >
void from_int_to_value (const int &, Value< V > &)
template<typename S , typename I >
void from_site_set_to_image (const Site_Set< S > &from, Image< I > &to)
 Conversion of an image from towards a site set to.
template<typename V >
void from_unsigned_to_value (const unsigned &from, mln::value::Integer< V > &to)
template<unsigned n>
void from_unsigned_to_value (const unsigned &from, mln::value::label< n > &to)
template<typename V >
void from_unsigned_to_value (const unsigned &, Value< V > &)
template<typename V >
void from_value_to_value (const Value< V > &from, Value< V > &to)
 Specialization.
template<typename V , typename W >
void from_value_to_value (const Value< V > &from, Value< W > &to)
 Conversion of a value from towards a value to.
template<typename V , typename W >
void from_value_to_value_ (const mln::value::Vectorial< V > &from, mln::value::Vectorial< W > &to)
template<typename V , typename W >
void from_value_to_value_ (const Value< V > &from, Value< W > &to)
template<typename V , typename W >
void from_value_to_value_ (const mln::value::Scalar< V > &from, mln::value::Scalar< W > &to)
template<typename I >
QImage to_qimage_nocopy_qt_rgb32 (const Image< I > &ima_)
template<typename I >
QImage to_qimage_qt_rgb32 (const Image< I > &ima_)
template<typename I >
QImage to_qimage_rgb8 (const Image< I > &ima_)
template<typename I >
QImage to_qimage_scalar (const Image< I > &ima_)

Function Documentation

template<typename V >
void mln::convert::impl::from_double_to_value ( const double &  from,
mln::value::Integer< V > &  to 
) [inline]
template<typename V >
void mln::convert::impl::from_double_to_value ( const double &  from,
mln::value::Floating< V > &  to 
) [inline]

Definition at line 77 of file from_double_to_value.hh.

References mln::exact().

template<typename V >
void mln::convert::impl::from_double_to_value ( const double &  ,
Value< V > &   
) [inline]

Definition at line 89 of file from_double_to_value.hh.

template<typename V >
void mln::convert::impl::from_float_to_value ( const float &  from,
mln::value::Integer< V > &  to 
) [inline]

Definition at line 67 of file from_float_to_value.hh.

References mln::exact().

Referenced by mln::convert::internal::from_float_to_value_dispatch().

template<typename V >
void mln::convert::impl::from_float_to_value ( const float &  from,
mln::value::Floating< V > &  to 
) [inline]

Definition at line 78 of file from_float_to_value.hh.

References mln::exact().

template<typename V >
void mln::convert::impl::from_float_to_value ( const float &  ,
Value< V > &   
) [inline]

Definition at line 90 of file from_float_to_value.hh.

template<typename I , typename S >
void mln::convert::impl::from_image_to_site_set ( const Image< I > &  from,
Site_Set< S > &  to 
) [inline]

Conversion of an image from towards a site set to.

Definition at line 176 of file from_image_to_site_set.hh.

References mln::exact(), and mln::convert::impl::internal::from_image_to_site_set().

Referenced by mln::convert::internal::from_to_dispatch().

template<typename V >
void mln::convert::impl::from_int_to_value ( const int &  from,
mln::value::Integer< V > &  to 
) [inline]

Definition at line 66 of file from_int_to_value.hh.

References mln::exact().

Referenced by mln::convert::internal::from_int_to_value_dispatch().

template<typename V >
void mln::convert::impl::from_int_to_value ( const int &  ,
Value< V > &   
) [inline]

Definition at line 77 of file from_int_to_value.hh.

template<typename S , typename I >
void mln::convert::impl::from_site_set_to_image ( const Site_Set< S > &  from,
Image< I > &  to 
) [inline]

Conversion of an image from towards a site set to.

Definition at line 65 of file from_site_set_to_image.hh.

References mln::geom::bbox(), mln::exact(), mln::data::fill(), mln::convert::mln_image_from_grid(), and mln::convert::to().

Referenced by mln::convert::internal::from_to_dispatch().

template<typename V >
void mln::convert::impl::from_unsigned_to_value ( const unsigned &  from,
mln::value::Integer< V > &  to 
) [inline]
template<unsigned n>
void mln::convert::impl::from_unsigned_to_value ( const unsigned &  from,
mln::value::label< n > &  to 
) [inline]

Definition at line 80 of file from_unsigned_to_value.hh.

References mln::exact().

template<typename V >
void mln::convert::impl::from_unsigned_to_value ( const unsigned &  ,
Value< V > &   
) [inline]

Definition at line 91 of file from_unsigned_to_value.hh.

template<typename V >
void mln::convert::impl::from_value_to_value ( const Value< V > &  from,
Value< V > &  to 
) [inline]

Specialization.

Definition at line 113 of file from_value_to_value.hh.

References mln::exact().

template<typename V , typename W >
void mln::convert::impl::from_value_to_value ( const Value< V > &  from,
Value< W > &  to 
) [inline]

Conversion of a value from towards a value to.

Definition at line 105 of file from_value_to_value.hh.

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

Referenced by mln::convert::internal::from_to_dispatch().

template<typename V , typename W >
void mln::convert::impl::from_value_to_value_ ( const mln::value::Vectorial< V > &  from,
mln::value::Vectorial< W > &  to 
)

Definition at line 73 of file from_value_to_value.hh.

References mln::exact().

Referenced by from_value_to_value().

template<typename V , typename W >
void mln::convert::impl::from_value_to_value_ ( const Value< V > &  from,
Value< W > &  to 
) [inline]

Definition at line 92 of file from_value_to_value.hh.

References mln::exact(), and mln::convert::from_to_().

template<typename V , typename W >
void mln::convert::impl::from_value_to_value_ ( const mln::value::Scalar< V > &  from,
mln::value::Scalar< W > &  to 
)

Definition at line 83 of file from_value_to_value.hh.

References mln::exact().

template<typename I >
QImage mln::convert::impl::to_qimage_nocopy_qt_rgb32 ( const Image< I > &  ima_  )  [inline]
template<typename I >
QImage mln::convert::impl::to_qimage_qt_rgb32 ( const Image< I > &  ima_  )  [inline]
template<typename I >
QImage mln::convert::impl::to_qimage_rgb8 ( const Image< I > &  ima_  )  [inline]
template<typename I >
QImage mln::convert::impl::to_qimage_scalar ( const Image< I > &  ima_  )  [inline]