Namespaces | Classes | Typedefs | Functions

mln::value Namespace Reference

Namespace of materials related to pixel value types. More...

Namespaces

namespace  impl
 

Implementation namespace of value namespace.


namespace  internal
 

Forward declarations.


Classes

struct  bkd_viter_
 FIXME: Backward iterator on a set of values. More...
struct  Built_In< void >
struct  Data
struct  Data< void >
class  float01
 Class for floating values restricted to the interval [0..1] and discretized with n bits. More...
struct  float01_
 General class for the interval [0,1] of |R made discrete (quantized with n bits). More...
struct  float01_f
 Class for floating values restricted to the interval [0..1]. More...
struct  Floating
struct  Floating< void >
struct  fwd_viter_
 FIXME: Forward iterator on a set of values. More...
struct  graylevel
 General gray-level class on n bits. More...
struct  graylevel_f
 General gray-level class on n bits. More...
struct  HSI
class  hsi_
struct  HSL
class  hsl_
struct  int_s
 Signed integer value class. More...
struct  int_u
 Unsigned integer value class. More...
struct  int_u_sat
 Unsigned integer value class with saturation behavior. More...
struct  Integer
 Concept of integer. More...
struct  Integer< void >
 Category flag type. More...
struct  interval_
 FIXME: Doc! More...
struct  label
 Label value class. More...
struct  lut_vec
 Class that defines FIXME. More...
struct  mixin
class  proxy
 Generic proxy class for an image pixel value. More...
class  proxy< const I >
 Generic proxy class for an image pixel value. More...
struct  rgb
 Color class for red-green-blue where every component is n-bit encoded. More...
struct  Scalar
struct  Scalar< void >
class  scalar_
struct  set
 Class that defines the set of values of type T. More...
struct  shell
class  sign
 The sign class represents the value type composed by the set (-1, 0, 1) sign value type is a subset of the int value type. More...
struct  stack_image
 Stack image class. More...
struct  Structured
struct  Structured< void >
struct  super_value
struct  super_value< sign >
 Specializations: More...
struct  Symbolic
struct  Symbolic< void >
struct  Vectorial
struct  Vectorial< void >

Typedefs

typedef float01_< 16 > float01_16
 Alias for 16 bit float01.
typedef float01_< 8 > float01_8
 Alias for 8 bit float01.
typedef graylevel< 16 > gl16
 Alias for 16 bit graylevel.
typedef graylevel< 8 > gl8
 Alias for 8 bit graylevel.
typedef graylevel_f glf
 Alias for graylevels encoded by float.
typedef hsi_< double, double,
double > 
hsi_d
typedef hsi_< float, float, float > hsi_f
typedef hsl_< double, double,
double > 
hsl_d
typedef hsl_< float, float, float > hsl_f
typedef int_s< 16 > int_s16
 Alias for signed 16-bit integers.
typedef int_s< 32 > int_s32
 Alias for signed 32-bit integers.
typedef int_s< 8 > int_s8
 Alias for signed 8-bit integers.
typedef int_u< 12 > int_u12
 Alias for unsigned 12-bit integers.
typedef int_u< 16 > int_u16
 Alias for unsigned 16-bit integers.
typedef mln::value::int_u< 32 > int_u32
 Alias for unsigned 32-bit integers.
typedef mln::value::int_u< 8 > int_u8
 Alias for unsigned 8-bit integers.
typedef label< 16 > label_16
 Alias for 16-bit integers.
typedef mln::value::label< 8 > label_8
 Alias for 8-bit labels.
typedef rgb< 16 > rgb16
 Color class for red-green-blue where every component is 16-bit encoded.
typedef rgb< 8 > rgb8
 Color class for red-green-blue where every component is 8-bit encoded.

Functions

template<unsigned n, unsigned m>
bool approx_equal (const float01_< n > &lhs, const float01_< m > &rhs)
template<unsigned n>
bool approx_equal (const float01_< n > &lhs, const float f)
template<typename Dest , typename Src >
Dest cast (const Src &src)
 Cast a value src from type Src to type Dest.
template<typename V >
internal::equiv_< V >::ret equiv (const mln::Value< V > &v)
 Access to the equivalent value.
template<typename T >
interval_< T > interval (const T &from, const T &to)
template<unsigned n, unsigned m>
mln::trait::op::times
< graylevel< n >, graylevel< m >
>::ret 
operator* (const graylevel< n > &lhs, const graylevel< m > &rhs)
mln::trait::op::times
< graylevel_f, graylevel_f >
::ret 
operator* (const graylevel_f &lhs, const graylevel_f &rhs)
template<unsigned n, typename T >
mln::trait::op::times
< graylevel< n >, T >::ret 
operator* (const graylevel< n > &lhs, const T &rhs)
template<unsigned n, typename T >
mln::trait::op::times
< graylevel_f, T >::ret 
operator* (const graylevel_f &lhs, const T &rhs)
template<unsigned n, typename T >
mln::trait::op::times
< graylevel_f, T >::ret 
operator* (const T &lhs, const graylevel_f &rhs)
template<unsigned n, typename T >
mln::trait::op::times
< graylevel< n >, T >::ret 
operator* (const T &lhs, const graylevel< n > &rhs)
template<typename I >
mln::trait::op::times
< graylevel_f, I >::ret 
operator* (const graylevel_f &lhs, const Integer< I > &rhs)
template<typename I >
mln::trait::op::times< I,
graylevel_f >::ret 
operator* (const Integer< I > &lhs, const graylevel_f &rhs)
template<unsigned n, typename I >
mln::trait::op::times
< graylevel< n >, I >::ret 
operator* (const graylevel< n > &lhs, const Integer< I > &rhs)
template<typename I , unsigned n>
mln::trait::op::times< I,
graylevel< n > >::ret 
operator* (const Integer< I > &lhs, const graylevel< n > &rhs)
template<typename F >
mln::trait::op::times
< graylevel_f, F >::ret 
operator* (const graylevel_f &lhs, const Floating< F > &rhs)
template<typename F >
mln::trait::op::times< F,
graylevel_f >::ret 
operator* (const Floating< F > &lhs, const graylevel_f &rhs)
template<unsigned n, typename F >
mln::trait::op::times
< graylevel< n >, F >::ret 
operator* (const graylevel< n > &lhs, const Floating< F > &rhs)
template<typename F , unsigned n>
mln::trait::op::times< F,
graylevel< n > >::ret 
operator* (const Floating< F > &lhs, const graylevel< n > &rhs)
template<unsigned n, typename S >
mln::trait::op::times
< graylevel< n >, scalar_< S >
>::ret 
operator* (const graylevel< n > &lhs, const scalar_< S > &rhs)
template<typename S >
mln::trait::op::times
< graylevel_f, S >::ret 
operator* (const graylevel_f &lhs, const scalar_< S > &rhs)
template<unsigned n>
mln::trait::op::plus
< graylevel_f, graylevel< n >
>::ret 
operator+ (const graylevel< n > &lhs, const graylevel_f &rhs)
template<unsigned n>
rgb< n >::interop operator+ (const typename rgb< n >::interop &lhs, const rgb< n > &rhs)
template<unsigned n>
rgb< n >::interop operator+ (const rgb< n > &lhs, const rgb< n > &rhs)
 Addition.
template<unsigned n>
rgb< n >::interop operator+ (const rgb< n > &lhs, const typename rgb< n >::interop &rhs)
template<unsigned n, unsigned m>
mln::trait::op::plus
< graylevel< n >, graylevel< m >
>::ret 
operator+ (const graylevel< n > &lhs, const graylevel< m > &rhs)
template<unsigned n, typename I >
void operator+ (const graylevel< n > &lhs, const I &i)
template<typename H , typename S , typename L >
hsl_< H, S, L > operator+ (const hsl_< H, S, L > &lhs, const hsl_< H, S, L > &rhs)
 Addition.
template<unsigned n, typename I >
void operator+ (const I &i, const graylevel< n > &rhs)
template<typename I >
void operator+ (const graylevel_f &lhs, const I &i)
template<typename I >
void operator+ (const I &i, const graylevel_f &rhs)
template<unsigned n>
mln::trait::op::plus
< graylevel_f, graylevel< n >
>::ret 
operator+ (const graylevel_f &lhs, const graylevel< n > &rhs)
mln::trait::op::plus
< graylevel_f, graylevel_f >
::ret 
operator+ (const graylevel_f &lhs, const graylevel_f &rhs)
template<unsigned n, typename I >
void operator- (const I &i, const graylevel< n > &rhs)
mln::trait::op::minus
< graylevel_f, graylevel_f >
::ret 
operator- (const graylevel_f &lhs, const graylevel_f &rhs)
template<unsigned n, unsigned m>
mln::trait::op::minus
< graylevel< n >, graylevel< m >
>::ret 
operator- (const graylevel< n > &lhs, const graylevel< m > &rhs)
template<unsigned n, typename I >
void operator- (const graylevel< n > &lhs, const I &i)
template<typename I >
void operator- (const graylevel_f &lhs, const I &i)
template<typename I >
void operator- (const I &i, const graylevel_f &rhs)
template<typename I >
mln::trait::op::div
< graylevel_f, I >::ret 
operator/ (const graylevel_f &lhs, const Integer< I > &rhs)
template<typename S >
mln::trait::op::div
< graylevel_f, S >::ret 
operator/ (const graylevel_f &lhs, const scalar_< S > &rhs)
template<unsigned n, typename T >
internal::gray_f operator/ (const graylevel< n > &lhs, const T &rhs)
template<unsigned n, typename T >
internal::gray_f operator/ (const graylevel_f &lhs, const T &rhs)
template<typename I >
mln::trait::op::div< I,
graylevel_f >::ret 
operator/ (const Integer< I > &lhs, const graylevel_f &rhs)
template<typename F >
mln::trait::op::div
< graylevel_f, F >::ret 
operator/ (const graylevel_f &lhs, const Floating< F > &rhs)
template<unsigned n, typename I >
mln::trait::op::div< graylevel
< n >, I >::ret 
operator/ (const graylevel< n > &lhs, const Integer< I > &rhs)
template<typename F >
mln::trait::op::div< F,
graylevel_f >::ret 
operator/ (const Floating< F > &lhs, const graylevel_f &rhs)
template<typename I , unsigned n>
mln::trait::op::div< I,
graylevel< n > >::ret 
operator/ (const Integer< I > &lhs, const graylevel< n > &rhs)
template<unsigned n, typename F >
mln::trait::op::div< graylevel
< n >, F >::ret 
operator/ (const graylevel< n > &lhs, const Floating< F > &rhs)
template<typename F , unsigned n>
mln::trait::op::div< F,
graylevel< n > >::ret 
operator/ (const Floating< F > &lhs, const graylevel< n > &rhs)
template<unsigned n, typename S >
mln::trait::op::div< graylevel
< n >, scalar_< S > >::ret 
operator/ (const graylevel< n > &lhs, const scalar_< S > &rhs)
bool operator< (const sign &lhs, const sign &rhs)
template<typename I >
bool operator< (const proxy< I > &lhs, const typename I::value &rhs)
template<typename I , typename J >
bool operator< (const proxy< I > &lhs, const proxy< J > &rhs)
bool operator< (const float01 &lhs, const float01 &rhs)
template<typename I >
bool operator< (const typename I::value &lhs, const proxy< I > &rhs)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const label< n > &l)
 Print a label l into the output stream ostr.
template<typename I >
std::ostream & operator<< (std::ostream &ostr, const proxy< I > &x)
 Print a value proxy x into the output stream ostr.
template<typename T >
std::ostream & operator<< (std::ostream &ostr, const scalar_< T > &s)
 Print a scalar s in an output stream ostr.
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const int_u_sat< n > &i)
 Print a saturated unsigned integer i into the output stream ostr.
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const int_u< n > &i)
 Print an unsigned integer i into the output stream ostr.
template<typename S , typename T >
std::ostream & operator<< (std::ostream &ostr, const lut_vec< S, T > &lut)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const rgb< n > &c)
 Print an rgb c into the output stream ostr.
std::ostream & operator<< (std::ostream &ostr, const float01 &g)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const graylevel< n > &g)
 Op<<.
std::ostream & operator<< (std::ostream &ostr, const sign &i)
 Print an signed integer i into the output stream ostr.
template<typename H , typename S , typename L >
std::ostream & operator<< (std::ostream &ostr, const hsl_< H, S, L > &c)
 Print an hsl c into the output stream ostr.
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const float01_< n > &f)
 Op<<.
std::ostream & operator<< (std::ostream &ostr, const graylevel_f &g)
 Op<<.
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const int_s< n > &i)
 Print an signed integer i into the output stream ostr.
template<typename I , typename J >
bool operator== (const proxy< I > &lhs, const proxy< J > &rhs)
template<typename I , unsigned n>
bool operator== (const Integer< I > &lhs, const graylevel< n > &rhs)
template<typename I >
bool operator== (const proxy< I > &lhs, const typename I::value &rhs)
template<typename I >
bool operator== (const typename I::value &lhs, const proxy< I > &rhs)
bool operator== (const float01 &lhs, const float01 &rhs)
template<typename I >
bool operator== (const Integer< I > &lhs, const graylevel_f &rhs)
template<unsigned n, unsigned m>
bool operator== (const graylevel< n > &lhs, const graylevel< m > &rhs)
bool operator== (const graylevel_f &lhs, const graylevel_f &rhs)
bool operator== (const sign &lhs, const sign &rhs)
 Comparaison operator.
template<unsigned n>
std::istream & operator>> (std::istream &istr, rgb< n > &c)
template<unsigned n>
std::istream & operator>> (std::istream &istr, int_u< n > &i)
template<typename V >
other (const V &val)
 Give an other value than val.
template<typename T >
internal::helper_scalar_< T >::ret scalar (const T &s)

template<typename H , typename S , typename L >
hsl_< H, S, L > operator- (const hsl_< H, S, L > &lhs, const hsl_< H, S, L > &rhs)
 Subtraction.

template<typename H , typename S , typename L , typename S2 >
hsl_< H, S, L > operator* (const hsl_< H, S, L > &lhs, const mln::value::scalar_< S2 > &s)
 Product.

template<typename H , typename S , typename L , typename S2 >
hsl_< H, S, L > operator/ (const hsl_< H, S, L > &lhs, const mln::value::scalar_< S2 > &s)
 Division.

template<typename H , typename S , typename L >
bool operator== (const hsl_< H, S, L > &lhs, const hsl_< H, S, L > &rhs)
 Comparison.

template<unsigned n>
rgb< n >::interop operator- (const rgb< n > &lhs, const rgb< n > &rhs)
 Subtraction.
template<unsigned n>
rgb< n >::interop operator- (const typename rgb< n >::interop &lhs, const rgb< n > &rhs)
template<unsigned n>
rgb< n >::interop operator- (const rgb< n > &lhs, const typename rgb< n >::interop &rhs)

template<unsigned n, typename S >
rgb< n >::interop operator* (const rgb< n > &lhs, const mln::value::scalar_< S > &s)
 Product.
template<unsigned n, typename S >
rgb< n >::interop operator* (const mln::value::scalar_< S > &s, const rgb< n > &lhs)

template<unsigned n, typename S >
rgb< n >::interop operator/ (const rgb< n > &lhs, const mln::value::scalar_< S > &s)
 Division.

template<typename I >
stack_image< 2, const I > stack (const Image< I > &ima1, const Image< I > &ima2)
 Shortcut to build a stack with two images.
template<typename I >
stack_image< 2, I > stack (Image< I > &ima1, Image< I > &ima2)

Detailed Description

Namespace of materials related to pixel value types.


Typedef Documentation

Alias for 16 bit float01.

Alias for 8 bit float01.

Alias for 16 bit graylevel.

Alias for 8 bit graylevel.

Alias for graylevels encoded by float.

typedef hsi_<double, double, double> mln::value::hsi_d
typedef hsi_<float, float, float> mln::value::hsi_f
typedef hsl_<double, double, double> mln::value::hsl_d
typedef hsl_< float, float, float > mln::value::hsl_f

Alias for signed 16-bit integers.

Alias for signed 32-bit integers.

Alias for signed 8-bit integers.

Alias for unsigned 12-bit integers.

Alias for unsigned 16-bit integers.

Alias for unsigned 32-bit integers.

Alias for unsigned 8-bit integers.

Alias for 16-bit integers.

Alias for 8-bit labels.

typedef rgb<16> mln::value::rgb16

Color class for red-green-blue where every component is 16-bit encoded.

typedef rgb<8> mln::value::rgb8

Color class for red-green-blue where every component is 8-bit encoded.


Function Documentation

template<unsigned n, unsigned m>
bool mln::value::approx_equal ( const float01_< n > &  lhs,
const float01_< m > &  rhs 
) [inline]
template<unsigned n>
bool mln::value::approx_equal ( const float01_< n > &  lhs,
const float  f 
) [inline]
template<typename Dest , typename Src >
Dest mln::value::cast ( const Src &  src  )  [inline]

Cast a value src from type Src to type Dest.

References mln::value::internal::cast_().

template<typename V >
internal::equiv_< V >::ret mln::value::equiv ( const mln::Value< V > &  v  )  [inline]
template<typename T >
interval_< T > mln::value::interval ( const T &  from,
const T &  to 
) [inline]
template<unsigned n, unsigned m>
mln::trait::op::times< graylevel< n >, graylevel< m > >::ret mln::value::operator* ( const graylevel< n > &  lhs,
const graylevel< m > &  rhs 
) [inline]
template<typename S >
mln::trait::op::times< graylevel_f , S >::ret mln::value::operator* ( const graylevel_f &  lhs,
const scalar_< S > &  rhs 
) [inline]
mln::trait::op::times< graylevel_f, graylevel_f >::ret mln::value::operator* ( const graylevel_f &  lhs,
const graylevel_f &  rhs 
) [inline]
template<unsigned n, typename T >
mln::trait::op::times< graylevel< n >, T >::ret mln::value::operator* ( const graylevel< n > &  lhs,
const T &  rhs 
)
template<unsigned n, typename S >
rgb< n >::interop mln::value::operator* ( const mln::value::scalar_< S > &  s,
const rgb< n > &  lhs 
) [inline]
template<unsigned n, typename T >
mln::trait::op::times< graylevel_f , T >::ret mln::value::operator* ( const graylevel_f &  lhs,
const T &  rhs 
)
template<unsigned n, typename T >
mln::trait::op::times< graylevel_f , T >::ret mln::value::operator* ( const T &  lhs,
const graylevel_f &  rhs 
)
template<unsigned n, typename T >
mln::trait::op::times< graylevel< n >, T >::ret mln::value::operator* ( const T &  lhs,
const graylevel< n > &  rhs 
)
template<typename I >
mln::trait::op::times< graylevel_f, I >::ret mln::value::operator* ( const graylevel_f &  lhs,
const Integer< I > &  rhs 
) [inline]

References mln::exact().

template<typename I >
mln::trait::op::times< I, graylevel_f >::ret mln::value::operator* ( const Integer< I > &  lhs,
const graylevel_f &  rhs 
) [inline]

References mln::exact().

template<unsigned n, typename I >
internal::gray_< n > mln::value::operator* ( const graylevel< n > &  lhs,
const Integer< I > &  rhs 
) [inline]

References mln::exact().

template<typename I , unsigned n>
mln::trait::op::times< I, graylevel< n > >::ret mln::value::operator* ( const Integer< I > &  lhs,
const graylevel< n > &  rhs 
) [inline]

References mln::exact().

template<typename F >
mln::trait::op::times< graylevel_f, F >::ret mln::value::operator* ( const graylevel_f &  lhs,
const Floating< F > &  rhs 
) [inline]

References mln::exact().

template<typename F >
mln::trait::op::times< F, graylevel_f >::ret mln::value::operator* ( const Floating< F > &  lhs,
const graylevel_f &  rhs 
) [inline]

References mln::exact().

template<unsigned n, typename S >
rgb< n >::interop mln::value::operator* ( const rgb< n > &  lhs,
const mln::value::scalar_< S > &  s 
) [inline]
template<unsigned n, typename F >
mln::trait::op::times< graylevel< n >, F >::ret mln::value::operator* ( const graylevel< n > &  lhs,
const Floating< F > &  rhs 
) [inline]

References mln::exact().

template<typename F , unsigned n>
mln::trait::op::times< F, graylevel< n > >::ret mln::value::operator* ( const Floating< F > &  lhs,
const graylevel< n > &  rhs 
) [inline]

References mln::exact().

template<typename H , typename S , typename L , typename S2 >
hsl_< H, S, L > mln::value::operator* ( const hsl_< H, S, L > &  lhs,
const mln::value::scalar_< S2 > &  s 
)
template<unsigned n, typename S >
mln::trait::op::times< graylevel<n> , scalar_<S> >::ret mln::value::operator* ( const graylevel< n > &  lhs,
const scalar_< S > &  rhs 
) [inline]
template<unsigned n>
rgb< n >::interop mln::value::operator+ ( const rgb< n > &  lhs,
const rgb< n > &  rhs 
) [inline]
template<unsigned n>
rgb< n >::interop mln::value::operator+ ( const typename rgb< n >::interop &  lhs,
const rgb< n > &  rhs 
) [inline]
template<unsigned n>
rgb< n >::interop mln::value::operator+ ( const rgb< n > &  lhs,
const typename rgb< n >::interop &  rhs 
) [inline]
template<unsigned n, unsigned m>
mln::trait::op::plus< graylevel< n >, graylevel< m > >::ret mln::value::operator+ ( const graylevel< n > &  lhs,
const graylevel< m > &  rhs 
) [inline]
template<unsigned n, typename I >
void mln::value::operator+ ( const graylevel< n > &  lhs,
const I &  i 
) [inline]
template<typename H , typename S , typename L >
hsl_< H, S, L > mln::value::operator+ ( const hsl_< H, S, L > &  lhs,
const hsl_< H, S, L > &  rhs 
)
template<unsigned n, typename I >
void mln::value::operator+ ( const I &  i,
const graylevel< n > &  rhs 
) [inline]
mln::trait::op::plus< graylevel_f, graylevel_f >::ret mln::value::operator+ ( const graylevel_f &  lhs,
const graylevel_f &  rhs 
) [inline]
template<unsigned n>
mln::trait::op::plus< graylevel_f, graylevel< n > >::ret mln::value::operator+ ( const graylevel_f &  lhs,
const graylevel< n > &  rhs 
) [inline]
template<typename I >
void mln::value::operator+ ( const graylevel_f &  lhs,
const I &  i 
) [inline]
template<unsigned n>
mln::trait::op::plus< graylevel_f, graylevel< n > >::ret mln::value::operator+ ( const graylevel< n > &  lhs,
const graylevel_f &  rhs 
) [inline]
template<typename I >
void mln::value::operator+ ( const I &  i,
const graylevel_f &  rhs 
) [inline]
template<unsigned n>
rgb< n >::interop mln::value::operator- ( const rgb< n > &  lhs,
const rgb< n > &  rhs 
) [inline]
template<typename I >
void mln::value::operator- ( const I &  i,
const graylevel_f &  rhs 
) [inline]
mln::trait::op::minus< graylevel_f, graylevel_f >::ret mln::value::operator- ( const graylevel_f &  lhs,
const graylevel_f &  rhs 
) [inline]
template<unsigned n>
rgb< n >::interop mln::value::operator- ( const typename rgb< n >::interop &  lhs,
const rgb< n > &  rhs 
) [inline]
template<unsigned n>
rgb< n >::interop mln::value::operator- ( const rgb< n > &  lhs,
const typename rgb< n >::interop &  rhs 
) [inline]
template<typename H , typename S , typename L >
hsl_< H, S, L > mln::value::operator- ( const hsl_< H, S, L > &  lhs,
const hsl_< H, S, L > &  rhs 
)
template<unsigned n, unsigned m>
mln::trait::op::minus< graylevel< n >, graylevel< m > >::ret mln::value::operator- ( const graylevel< n > &  lhs,
const graylevel< m > &  rhs 
) [inline]
template<unsigned n, typename I >
void mln::value::operator- ( const graylevel< n > &  lhs,
const I &  i 
) [inline]
template<unsigned n, typename I >
void mln::value::operator- ( const I &  i,
const graylevel< n > &  rhs 
) [inline]
template<typename I >
void mln::value::operator- ( const graylevel_f &  lhs,
const I &  i 
) [inline]
template<unsigned n, typename S >
rgb< n >::interop mln::value::operator/ ( const rgb< n > &  lhs,
const mln::value::scalar_< S > &  s 
) [inline]
template<typename S >
mln::trait::op::div< graylevel_f , S >::ret mln::value::operator/ ( const graylevel_f &  lhs,
const scalar_< S > &  rhs 
) [inline]
template<typename F >
mln::trait::op::div< graylevel_f , F >::ret mln::value::operator/ ( const graylevel_f &  lhs,
const Floating< F > &  rhs 
)
template<unsigned n, typename T >
internal::gray_f mln::value::operator/ ( const graylevel_f &  lhs,
const T &  rhs 
)
template<unsigned n, typename T >
mln::value::internal::gray_f mln::value::operator/ ( const graylevel< n > &  lhs,
const T &  rhs 
)
template<typename I >
mln::trait::op::div< graylevel_f , I >::ret mln::value::operator/ ( const graylevel_f &  lhs,
const Integer< I > &  rhs 
)
template<typename I >
mln::trait::op::div< I , graylevel_f >::ret mln::value::operator/ ( const Integer< I > &  lhs,
const graylevel_f &  rhs 
)
template<unsigned n, typename I >
mln::trait::op::div< graylevel<n> , I >::ret mln::value::operator/ ( const graylevel< n > &  lhs,
const Integer< I > &  rhs 
)
template<typename F >
mln::trait::op::div< F , graylevel_f >::ret mln::value::operator/ ( const Floating< F > &  lhs,
const graylevel_f &  rhs 
)
template<typename I , unsigned n>
mln::trait::op::div< I , graylevel<n> >::ret mln::value::operator/ ( const Integer< I > &  lhs,
const graylevel< n > &  rhs 
)
template<typename H , typename S , typename L , typename S2 >
hsl_< H, S, L > mln::value::operator/ ( const hsl_< H, S, L > &  lhs,
const mln::value::scalar_< S2 > &  s 
)
template<unsigned n, typename F >
mln::trait::op::div< graylevel<n> , F >::ret mln::value::operator/ ( const graylevel< n > &  lhs,
const Floating< F > &  rhs 
)
template<typename F , unsigned n>
mln::trait::op::div< F , graylevel<n> >::ret mln::value::operator/ ( const Floating< F > &  lhs,
const graylevel< n > &  rhs 
)
template<unsigned n, typename S >
mln::trait::op::div< graylevel<n> , scalar_<S> >::ret mln::value::operator/ ( const graylevel< n > &  lhs,
const scalar_< S > &  rhs 
) [inline]
bool mln::value::operator< ( const float01 &  lhs,
const float01 &  rhs 
) [inline]
template<typename I >
bool mln::value::operator< ( const typename I::value &  lhs,
const proxy< I > &  rhs 
) [inline]
template<typename I , typename J >
bool mln::value::operator< ( const proxy< I > &  lhs,
const proxy< J > &  rhs 
) [inline]
template<typename I >
bool mln::value::operator< ( const proxy< I > &  lhs,
const typename I::value &  rhs 
) [inline]
bool mln::value::operator< ( const sign &  lhs,
const sign &  rhs 
) [inline]
template<typename S , typename T >
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const lut_vec< S, T > &  lut 
) [inline]
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const graylevel_f &  g 
) [inline]
template<typename T >
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const scalar_< T > &  s 
) [inline]

Print a scalar s in an output stream ostr.

std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const sign &  i 
) [inline]

Print an signed integer i into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] i An sign value
Returns:
The modified output stream ostr.

References mln::debug::format(), and mln::value::sign::val_().

template<unsigned n>
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const graylevel< n > &  g 
) [inline]

Op<<.

template<typename I >
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const proxy< I > &  x 
) [inline]

Print a value proxy x into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] x A value proxy.
Returns:
The modified output stream ostr.
template<unsigned n>
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const rgb< n > &  c 
) [inline]

Print an rgb c into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] c An rgb.
Returns:
The modified output stream ostr.

References mln::debug::format().

template<typename H , typename S , typename L >
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const hsl_< H, S, L > &  c 
) [inline]

Print an hsl c into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] c An rgb.
Returns:
The modified output stream ostr.

References mln::debug::format().

template<unsigned n>
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const label< n > &  l 
) [inline]

Print a label l into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] l A label.
Returns:
The modified output stream ostr.

References mln::debug::format().

template<unsigned n>
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const float01_< n > &  f 
) [inline]

Op<<.

template<unsigned n>
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const int_u< n > &  i 
) [inline]

Print an unsigned integer i into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] i An unsigned integer.
Returns:
The modified output stream ostr.

References mln::debug::format().

template<unsigned n>
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const int_s< n > &  i 
) [inline]

Print an signed integer i into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] i An signed integer.
Returns:
The modified output stream ostr.

References mln::debug::format().

std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const float01 &  g 
) [inline]
template<unsigned n>
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const int_u_sat< n > &  i 
) [inline]

Print a saturated unsigned integer i into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] i A saturated unsigned integer.
Returns:
The modified output stream ostr.

References mln::debug::format().

template<typename I , typename J >
bool mln::value::operator== ( const proxy< I > &  lhs,
const proxy< J > &  rhs 
) [inline]
template<typename I , unsigned n>
bool mln::value::operator== ( const Integer< I > &  lhs,
const graylevel< n > &  rhs 
) [inline]
template<typename I >
bool mln::value::operator== ( const Integer< I > &  lhs,
const graylevel_f &  rhs 
) [inline]
bool mln::value::operator== ( const graylevel_f &  lhs,
const graylevel_f &  rhs 
) [inline]
bool mln::value::operator== ( const sign &  lhs,
const sign &  rhs 
) [inline]

Comparaison operator.

References mln::value::sign::val_().

template<unsigned n, unsigned m>
bool mln::value::operator== ( const graylevel< n > &  lhs,
const graylevel< m > &  rhs 
) [inline]
template<typename I >
bool mln::value::operator== ( const typename I::value &  lhs,
const proxy< I > &  rhs 
) [inline]
template<typename H , typename S , typename L >
bool mln::value::operator== ( const hsl_< H, S, L > &  lhs,
const hsl_< H, S, L > &  rhs 
)
template<typename I >
bool mln::value::operator== ( const proxy< I > &  lhs,
const typename I::value &  rhs 
) [inline]
bool mln::value::operator== ( const float01 &  lhs,
const float01 &  rhs 
) [inline]
template<unsigned n>
std::istream & mln::value::operator>> ( std::istream &  istr,
int_u< n > &  i 
) [inline]
template<unsigned n>
std::istream & mln::value::operator>> ( std::istream &  istr,
rgb< n > &  c 
) [inline]
template<typename V >
V mln::value::other ( const V &  val  )  [inline]
template<typename T >
internal::helper_scalar_< T >::ret mln::value::scalar ( const T &  s  )  [inline]
template<typename I >
stack_image< 2, I > mln::value::stack ( Image< I > &  ima1,
Image< I > &  ima2 
) [inline]

References mln::exact().

template<typename I >
stack_image< 2, const I > mln::value::stack ( const Image< I > &  ima1,
const Image< I > &  ima2 
) [inline]

Shortcut to build a stack with two images.

References mln::exact().