$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::value::internal Namespace Reference

Classes

struct  convert_
struct  convert_< bool >
struct  convert_< float01_< n > >
struct  convert_< graylevel< n > >
struct  encoding_signed_
struct  encoding_signed_< 16 >
struct  encoding_signed_< 32 >
struct  encoding_signed_< 64 >
struct  encoding_signed_< 8 >
struct  encoding_signed_< 99 >
struct  encoding_unsigned_
struct  encoding_unsigned_< 16 >
struct  encoding_unsigned_< 32 >
struct  encoding_unsigned_< 64 >
struct  encoding_unsigned_< 8 >
struct  encoding_unsigned_< 99 >
class  gray_
 General gray-level class where n bits is not know at compile-time. More...
struct  gray_f
 General gray-level class on n bits. More...
struct  helper_scalar_
struct  Integer
struct  iterable_set
struct  limits
struct  set_selector_
struct  set_selector_< T, E, true >
struct  value_like_

Functions

template<unsigned n_src, unsigned n_dest>
long convert (int val)
std::string make_generic_name (const char *name, int quantification)
template<unsigned n>
gray_< n > operator* (int s, const gray_< n > &rhs)
template<unsigned n>
gray_< n > operator* (const gray_< n > &lhs, int s)
template<unsigned n, unsigned m>
mln::trait::op::plus< gray_< n >
, gray_< m > >::ret 
operator+ (const gray_< n > &lhs, const gray_< m > &rhs)
template<unsigned n, unsigned m>
mln::trait::op::minus< gray_
< n >, gray_< m > >::ret 
operator- (const gray_< n > &lhs, const gray_< m > &rhs)
template<unsigned n>
gray_< n > operator/ (const gray_< n > &lhs, int s)
template<typename V , typename C , typename N , typename E >
bool operator< (const value_like_< V, C, N, E > &lhs, const value_like_< V, C, N, E > &rhs)
template<unsigned n, unsigned m>
bool operator< (const gray_< n > &lhs, const gray_< m > &rhs)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const gray_< n > &g)
std::ostream & operator<< (std::ostream &ostr, const gray_f &g)
template<typename V , typename C , typename N , typename E >
bool operator== (const value_like_< V, C, N, E > &lhs, const value_like_< V, C, N, E > &rhs)
template<unsigned n, unsigned m>
bool operator== (const gray_< n > &lhs, const gray_< m > &rhs)

Detailed Description

Forward declarations.

Function Documentation

template<unsigned n_src, unsigned n_dest>
long mln::value::internal::convert ( int  val)
std::string mln::value::internal::make_generic_name ( const char *  name,
int  quantification 
)

Construct a type name as string.

template<unsigned n>
gray_<n> mln::value::internal::operator* ( int  s,
const gray_< n > &  rhs 
)
template<unsigned n>
gray_<n> mln::value::internal::operator* ( const gray_< n > &  lhs,
int  s 
)
template<unsigned n, unsigned m>
mln::trait::op::plus< gray_<n> , gray_<m> >::ret mln::value::internal::operator+ ( const gray_< n > &  lhs,
const gray_< m > &  rhs 
)
template<unsigned n, unsigned m>
mln::trait::op::minus< gray_<n> , gray_<m> >::ret mln::value::internal::operator- ( const gray_< n > &  lhs,
const gray_< m > &  rhs 
)
template<unsigned n>
gray_<n> mln::value::internal::operator/ ( const gray_< n > &  lhs,
int  s 
)
template<typename V , typename C , typename N , typename E >
bool mln::value::internal::operator< ( const value_like_< V, C, N, E > &  lhs,
const value_like_< V, C, N, E > &  rhs 
)

General definition of the "less than" operator between value-like types.

template<unsigned n, unsigned m>
bool mln::value::internal::operator< ( const gray_< n > &  lhs,
const gray_< m > &  rhs 
)
template<unsigned n>
std::ostream& mln::value::internal::operator<< ( std::ostream &  ostr,
const gray_< n > &  g 
)
std::ostream & mln::value::internal::operator<< ( std::ostream &  ostr,
const gray_f &  g 
)
inline

Op<<.

Definition at line 149 of file gray_f.hxx.

template<typename V , typename C , typename N , typename E >
bool mln::value::internal::operator== ( const value_like_< V, C, N, E > &  lhs,
const value_like_< V, C, N, E > &  rhs 
)

General definition of the "equal to" operator between value-like types.

template<unsigned n, unsigned m>
bool mln::value::internal::operator== ( const gray_< n > &  lhs,
const gray_< m > &  rhs 
)