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  implementation
namespace  internal
 

Forward declarations.


namespace  qt

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...
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  value_array
 Generic array class over indexed by a value set with type T. More...
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 label< 32 > label_32
 Alias for 32-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<typename V >
next (const V &)
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>
rgb< n >::interop operator+ (const rgb< n > &lhs, const rgb< n > &rhs)
 Addition.
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>
mln::trait::op::plus
< graylevel_f, graylevel< n >
>::ret 
operator+ (const graylevel< n > &lhs, const graylevel_f &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)
mln::trait::op::minus
< 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)
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 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_f &lhs, const T &rhs)
template<unsigned n, typename T >
internal::gray_f operator/ (const graylevel< n > &lhs, const T &rhs)
template<typename I >
mln::trait::op::div
< graylevel_f, I >::ret 
operator/ (const graylevel_f &lhs, const Integer< I > &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<unsigned n, typename S >
mln::trait::op::div< graylevel
< n >, scalar_< S > >::ret 
operator/ (const graylevel< n > &lhs, const scalar_< S > &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)
bool operator< (const float01 &lhs, const float01 &rhs)
bool operator< (const sign &lhs, const sign &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 T , typename V >
std::ostream & operator<< (std::ostream &ostr, const value_array< T, V > &a)
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 graylevel_f &g)
 Op<<.
template<typename T >
std::ostream & operator<< (std::ostream &ostr, const scalar_< T > &s)
 Print a scalar s in an 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<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 graylevel< n > &g)
 Op<<.
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const float01_< n > &f)
 Op<<.
std::ostream & operator<< (std::ostream &ostr, const sign &i)
 Print an signed 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<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const int_s< n > &i)
 Print an signed integer i into the output stream ostr.
std::ostream & operator<< (std::ostream &ostr, const float01 &g)
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.
bool operator== (const sign &lhs, const sign &rhs)
 Comparaison operator.
bool operator== (const float01 &lhs, const float01 &rhs)
bool operator== (const graylevel_f &lhs, const graylevel_f &rhs)
template<typename I , unsigned n>
bool operator== (const Integer< I > &lhs, const graylevel< n > &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)
template<unsigned n>
std::istream & operator>> (std::istream &istr, int_u< n > &i)
template<unsigned n>
std::istream & operator>> (std::istream &istr, rgb< n > &c)
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.

Definition at line 45 of file float01_16.hh.

Alias for 8 bit float01.

Definition at line 45 of file float01_8.hh.

Alias for 16 bit graylevel.

Definition at line 45 of file gl16.hh.

Alias for 8 bit graylevel.

Definition at line 45 of file gl8.hh.

Alias for graylevels encoded by float.

Definition at line 44 of file glf.hh.

typedef hsi_<double, double, double> mln::value::hsi_d

Definition at line 107 of file hsi.hh.

typedef hsi_<float, float, float> mln::value::hsi_f

Definition at line 105 of file hsi.hh.

typedef hsl_<double, double, double> mln::value::hsl_d

Definition at line 206 of file hsl.hh.

typedef hsl_< float, float, float > mln::value::hsl_f

Definition at line 54 of file hsl_to_rgb.hh.

Alias for signed 16-bit integers.

Definition at line 45 of file int_s16.hh.

Alias for signed 32-bit integers.

Definition at line 45 of file int_s32.hh.

Alias for signed 8-bit integers.

Definition at line 45 of file int_s8.hh.

Alias for unsigned 12-bit integers.

Definition at line 45 of file int_u12.hh.

Alias for unsigned 16-bit integers.

Definition at line 45 of file int_u16.hh.

Alias for unsigned 32-bit integers.

Definition at line 45 of file int_u32.hh.

Alias for unsigned 8-bit integers.

Definition at line 44 of file int_u8.hh.

Alias for 16-bit integers.

Definition at line 44 of file label_16.hh.

Alias for 32-bit integers.

Definition at line 44 of file label_32.hh.

Alias for 8-bit labels.

Definition at line 44 of file label_8.hh.

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

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

Definition at line 45 of file rgb16.hh.

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

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

Definition at line 45 of file rgb8.hh.


Function Documentation

template<unsigned n, unsigned m>
bool mln::value::approx_equal ( const float01_< n > &  lhs,
const float01_< m > &  rhs 
) [inline]

Definition at line 260 of file float01_.hh.

template<unsigned n>
bool mln::value::approx_equal ( const float01_< n > &  lhs,
const float  f 
) [inline]

Definition at line 267 of file float01_.hh.

template<typename Dest , typename Src >
Dest mln::value::cast ( const Src &  src  )  [inline]

Cast a value src from type Src to type Dest.

Definition at line 85 of file value/cast.hh.

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]

Definition at line 88 of file interval.hh.

template<typename V >
V mln::value::next ( const V &  v  )  [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]

Definition at line 536 of file gray_.hh.

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

Definition at line 473 of file gray_f.hh.

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

Definition at line 426 of file gray_f.hh.

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 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< n >, T >::ret mln::value::operator* ( const graylevel< n > &  lhs,
const T &  rhs 
)

Definition at line 578 of file gray_.hh.

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 
)

Definition at line 585 of file gray_.hh.

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

Definition at line 436 of file gray_f.hh.

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]

Definition at line 444 of file gray_f.hh.

References mln::exact().

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

Definition at line 545 of file gray_.hh.

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]

Definition at line 553 of file gray_.hh.

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]

Definition at line 454 of file gray_f.hh.

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<typename F >
mln::trait::op::times< F, graylevel_f >::ret mln::value::operator* ( const Floating< F > &  lhs,
const graylevel_f &  rhs 
) [inline]

Definition at line 462 of file gray_f.hh.

References mln::exact().

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]

Definition at line 562 of file gray_.hh.

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]

Definition at line 570 of file gray_.hh.

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]

Definition at line 670 of file gray_.hh.

template<unsigned n>
rgb< n >::interop mln::value::operator+ ( const rgb< n > &  lhs,
const rgb< n > &  rhs 
) [inline]

Addition.

{

Definition at line 663 of file value/rgb.hh.

References mln::value::internal::value_like_< V, C, N, E >::to_interop().

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]

Definition at line 480 of file gray_.hh.

template<typename I >
void mln::value::operator+ ( const I &  i,
const graylevel_f &  rhs 
) [inline]

Definition at line 389 of file gray_f.hh.

template<unsigned n, typename I >
void mln::value::operator+ ( const graylevel< n > &  lhs,
const I &  i 
) [inline]

Definition at line 489 of file gray_.hh.

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]

Definition at line 499 of file gray_.hh.

mln::trait::op::plus< graylevel_f, graylevel_f >::ret mln::value::operator+ ( const graylevel_f &  lhs,
const graylevel_f &  rhs 
) [inline]

Definition at line 351 of file gray_f.hh.

template<unsigned n>
mln::trait::op::plus< graylevel_f, graylevel< n > >::ret mln::value::operator+ ( const graylevel_f &  lhs,
const graylevel< n > &  rhs 
) [inline]

Definition at line 360 of file gray_f.hh.

template<typename I >
void mln::value::operator+ ( const graylevel_f &  lhs,
const I &  i 
) [inline]

Definition at line 379 of file gray_f.hh.

template<unsigned n>
mln::trait::op::plus< graylevel_f, graylevel< n > >::ret mln::value::operator+ ( const graylevel< n > &  lhs,
const graylevel_f &  rhs 
) [inline]

Definition at line 369 of file gray_f.hh.

template<typename I >
void mln::value::operator- ( const I &  i,
const graylevel_f &  rhs 
) [inline]

Definition at line 409 of file gray_f.hh.

mln::trait::op::minus< graylevel_f, graylevel_f >::ret mln::value::operator- ( const graylevel_f &  lhs,
const graylevel_f &  rhs 
) [inline]

Definition at line 418 of file gray_f.hh.

template<unsigned n>
rgb< n >::interop mln::value::operator- ( const rgb< n > &  lhs,
const rgb< n > &  rhs 
) [inline]

Subtraction.

Definition at line 690 of file value/rgb.hh.

References mln::value::internal::value_like_< V, C, N, E >::to_interop().

template<unsigned n>
rgb< n >::interop mln::value::operator- ( const rgb< n > &  lhs,
const typename rgb< n >::interop &  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, typename I >
void mln::value::operator- ( const I &  i,
const graylevel< n > &  rhs 
) [inline]

Definition at line 527 of file gray_.hh.

template<typename I >
void mln::value::operator- ( const graylevel_f &  lhs,
const I &  i 
) [inline]

Definition at line 399 of file gray_f.hh.

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]

Definition at line 508 of file gray_.hh.

template<unsigned n, typename I >
void mln::value::operator- ( const graylevel< n > &  lhs,
const I &  i 
) [inline]

Definition at line 517 of file gray_.hh.

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

Definition at line 482 of file gray_f.hh.

template<typename I >
mln::trait::op::div< graylevel_f , I >::ret mln::value::operator/ ( const graylevel_f &  lhs,
const Integer< I > &  rhs 
)
template<unsigned n, typename T >
mln::value::internal::gray_f mln::value::operator/ ( const graylevel< n > &  lhs,
const T &  rhs 
)

Definition at line 601 of file gray_.hh.

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 T >
internal::gray_f mln::value::operator/ ( const graylevel_f &  lhs,
const T &  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]

Definition at line 680 of file gray_.hh.

bool mln::value::operator< ( const float01 &  lhs,
const float01 &  rhs 
) [inline]
bool mln::value::operator< ( const sign &  lhs,
const sign &  rhs 
) [inline]

Definition at line 196 of file value/sign.hh.

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

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.

Definition at line 130 of file scalar.hh.

template<typename T , typename V >
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const value_array< T, V > &  a 
) [inline]

Definition at line 169 of file value_array.hh.

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.

Definition at line 184 of file value/sign.hh.

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

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.

Definition at line 260 of file int_s.hh.

References mln::debug::format().

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

Op<<.

Definition at line 591 of file graylevel.hh.

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.

Definition at line 357 of file int_u.hh.

References mln::debug::format().

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.

Definition at line 220 of file int_u_sat.hh.

References mln::debug::format().

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.

Definition at line 743 of file value/rgb.hh.

References mln::debug::format().

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

Definition at line 245 of file float01.hh.

References mln::value::float01::nbits(), and mln::value::float01::value().

template<typename S , typename T >
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const lut_vec< S, T > &  lut 
) [inline]

Definition at line 210 of file lut_vec.hh.

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

Op<<.

Definition at line 253 of file float01_.hh.

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.

Definition at line 326 of file hsl.hh.

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.

Definition at line 353 of file label.hh.

References mln::debug::format().

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

Op<<.

Definition at line 458 of file graylevel_f.hh.

References mln::value::graylevel_f::value().

template<typename H , typename S , typename L >
bool mln::value::operator== ( const hsl_< H, S, L > &  lhs,
const hsl_< H, S, L > &  rhs 
)
bool mln::value::operator== ( const graylevel_f &  lhs,
const graylevel_f &  rhs 
) [inline]

Definition at line 343 of file gray_f.hh.

References mln::value::graylevel_f::value().

template<typename I >
bool mln::value::operator== ( const Integer< I > &  lhs,
const graylevel_f &  rhs 
) [inline]

Definition at line 335 of file gray_f.hh.

References mln::exact(), and mln::value::graylevel_f::value().

template<unsigned n, unsigned m>
bool mln::value::operator== ( const graylevel< n > &  lhs,
const graylevel< m > &  rhs 
) [inline]

Definition at line 470 of file gray_.hh.

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

Definition at line 460 of file gray_.hh.

References mln::exact(), and mln::value::graylevel< n >::value().

bool mln::value::operator== ( const float01 &  lhs,
const float01 &  rhs 
) [inline]
bool mln::value::operator== ( const sign &  lhs,
const sign &  rhs 
) [inline]

Comparaison operator.

Definition at line 190 of file value/sign.hh.

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

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]

Give an other value than val.

Definition at line 115 of file other.hh.

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

Referenced by mln::internal::subject_impl< util::array< T > &, E >::append().

template<typename T >
internal::helper_scalar_< T >::ret mln::value::scalar ( const T &  s  )  [inline]

Definition at line 140 of file scalar.hh.

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

Definition at line 318 of file stack.hh.

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.

Definition at line 306 of file stack.hh.

References mln::exact().