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

Namespaces

namespace  impl
namespace  internal
namespace  qt

Classes

struct  bkd_viter_
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_
struct  graylevel
 General gray-level class on n bits. More...
struct  graylevel_f
 General gray-level class on n bits. More...
struct  HSL
class  hsl_
class  hsl_d
 HSL color based on double encoding. More...
class  hsl_f
 HSL color based on float encoding. More...
struct  int_s
 Signed integer value class. More...
struct  int_s16
 Alias for signed 16-bit integers. More...
struct  int_s24
 Alias for signed 24-bit integers. More...
struct  int_s32
 Alias for signed 32-bit integers. More...
struct  int_s8
 Alias for signed 8-bit integers. More...
struct  int_u
 Unsigned integer value class. More...
struct  int_u12
 Alias for unsigned 12-bit integers. More...
struct  int_u16
 Alias for unsigned 16-bit integers. More...
struct  int_u24
 Alias for unsigned 24-bit integers. More...
struct  int_u32
 Alias for unsigned 32-bit integers. More...
struct  int_u8
 Alias for unsigned 8-bit integers. 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  label_16
 Alias for 16-bit integers. More...
struct  label_32
struct  label_8
 Alias for 8-bit labels. 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  rgb16
 Color class for red-green-blue where every component is 16-bit encoded. More...
struct  rgb8
 Color class for red-green-blue where every component is 8-bit encoded. More...
struct  Scalar
struct  Scalar< void >
class  scalar_
struct  set
 Class that defines the set of values of type T. More...
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  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
typedef float01_< 8 > float01_8
typedef graylevel< 16 > gl16
typedef graylevel< 8 > gl8
typedef graylevel_f glf
typedef hsl_< float, float, floathsl_f

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)
template<typename V >
internal::equiv_< V >::ret equiv (const mln::Value< V > &v)
template<unsigned n>
void from_to_ (const value::int_u< n > &from, value::label< n > &to_)
template<unsigned n>
void from_to_ (const value::label< n > &from, value::int_u< n > &to_)
template<unsigned n, unsigned m>
void from_to_ (const value::int_u< n > &from, value::label< m > &to_)
template<unsigned n>
void from_to_ (const value::label< n > &from, bool &to_)
template<unsigned n>
void from_to_ (const value::label< n > &from, unsigned &to_)
template<unsigned n>
void from_to_ (const int_u< n > &from, unsigned &to_)
template<unsigned n>
void from_to_ (const int_u< n > &from, bool &to_)
template<unsigned n>
void from_to_ (const int_u< n > &from, float &to_)
template<unsigned n>
void from_to_ (const int_u< n > &from, double &to_)
template<unsigned m>
void from_to_ (const int_u< m > &from, qt::rgb32 &to)
template<unsigned m>
void from_to_ (const int_u< m > &from, rgb< m > &to)
template<unsigned m>
void from_to_ (const value::rgb< m > &from, bool &to)
void from_to_ (const rgb< 16 > &from, hsl_< float, float, float > &to)
void from_to_ (const rgb< 8 > &from, hsl_< float, float, float > &to)
template<unsigned m>
void from_to_ (bool from, value::rgb< m > &to)
template<typename T >
interval_< Tinterval (const T &from, const T &to)
template<typename V >
next (const V &)
mln::trait::op::times
< graylevel_f, graylevel_f >
::ret 
operator* (const graylevel_f &lhs, const graylevel_f &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, unsigned m>
mln::trait::op::times
< graylevel< n >, graylevel< m >
>::ret 
operator* (const graylevel< n > &lhs, const graylevel< m > &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< n >, T >::ret 
operator* (const T &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 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 S >
mln::trait::op::times
< graylevel_f, S >::ret 
operator* (const graylevel_f &lhs, const scalar_< S > &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<typename H , typename S , typename L >
hsl_< H, S, L > operator+ (const hsl_< H, S, L > &lhs, const hsl_< H, S, L > &rhs)
mln::trait::op::plus
< graylevel_f, graylevel_f >
::ret 
operator+ (const graylevel_f &lhs, 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)
template<unsigned n>
mln::trait::op::plus
< graylevel_f, graylevel< n >
>::ret 
operator+ (const graylevel< n > &lhs, const graylevel_f &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, 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<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<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, 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<unsigned n, typename I >
void operator- (const I &i, const graylevel< n > &rhs)
template<unsigned n, typename T >
internal::gray_f operator/ (const graylevel< n > &lhs, const T &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 I , unsigned n>
mln::trait::op::div< I,
graylevel< n > >::ret 
operator/ (const Integer< I > &lhs, const graylevel< n > &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 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 sign &lhs, const sign &rhs)
bool operator< (const float01 &lhs, const float01 &rhs)
template<typename T >
std::ostream & operator<< (std::ostream &ostr, const scalar_< T > &s)
template<typename T , typename V >
std::ostream & operator<< (std::ostream &ostr, const value_array< T, V > &a)
std::ostream & operator<< (std::ostream &ostr, const sign &i)
std::ostream & operator<< (std::ostream &ostr, const float01 &g)
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 int_u_sat< n > &i)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const float01_< n > &f)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const label< n > &l)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const int_s< n > &i)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const int_u< n > &i)
template<typename H , typename S , typename L >
std::ostream & operator<< (std::ostream &ostr, const hsl_< H, S, L > &c)
std::ostream & operator<< (std::ostream &ostr, const graylevel_f &g)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const rgb< n > &c)
template<unsigned n>
std::ostream & operator<< (std::ostream &ostr, const graylevel< n > &g)
bool operator== (const sign &lhs, const sign &rhs)
bool operator== (const float01 &lhs, const float01 &rhs)
template<typename I >
bool operator== (const Integer< I > &lhs, const graylevel_f &rhs)
bool operator== (const graylevel_f &lhs, const graylevel_f &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)
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)
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)
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)
template<typename H , typename S , typename L >
bool operator== (const hsl_< H, S, L > &lhs, const hsl_< H, S, L > &rhs)
Addition.

{

template<unsigned n>
rgb< n >::interop operator+ (const rgb< n > &lhs, const rgb< n > &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 typename rgb< n >::interop &rhs)
Subtraction.
template<unsigned n>
rgb< n >::interop operator- (const rgb< n > &lhs, const rgb< n > &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 typename rgb< n >::interop &rhs)
Product.
template<unsigned n, typename S >
rgb< n >::interop operator* (const rgb< n > &lhs, const mln::value::scalar_< S > &s)
template<unsigned n, typename S >
rgb< n >::interop operator* (const mln::value::scalar_< S > &s, const rgb< n > &lhs)
Division.
template<unsigned n, typename S >
rgb< n >::interop operator/ (const rgb< n > &lhs, const mln::value::scalar_< S > &s)

Detailed Description

Namespace of materials related to pixel value types.

Forward declarations.

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.

Definition at line 44 of file rgb_to_hsl.hh.

Function Documentation

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

Cast a value src from type Src to type Dest.

template<typename V >
internal::equiv_<V>::ret mln::value::equiv ( const mln::Value< V > &  v)

Access to the equivalent value.

template<unsigned n>
void mln::value::from_to_ ( const value::int_u< n > &  from,
value::label< n > &  to_ 
)
template<unsigned n>
void mln::value::from_to_ ( const value::label< n > &  from,
value::int_u< n > &  to_ 
)
template<unsigned n, unsigned m>
void mln::value::from_to_ ( const value::int_u< n > &  from,
value::label< m > &  to_ 
)
template<unsigned n>
void mln::value::from_to_ ( const value::label< n > &  from,
bool to_ 
)
template<unsigned n>
void mln::value::from_to_ ( const value::label< n > &  from,
unsigned to_ 
)
template<unsigned n>
void mln::value::from_to_ ( const int_u< n > &  from,
unsigned to_ 
)
inline

Definition at line 148 of file int_u.hxx.

template<unsigned n>
void mln::value::from_to_ ( const int_u< n > &  from,
bool to_ 
)
inline

Definition at line 156 of file int_u.hxx.

template<unsigned n>
void mln::value::from_to_ ( const int_u< n > &  from,
float to_ 
)
inline

Definition at line 164 of file int_u.hxx.

template<unsigned n>
void mln::value::from_to_ ( const int_u< n > &  from,
double to_ 
)
inline

Definition at line 172 of file int_u.hxx.

template<unsigned m>
void mln::value::from_to_ ( const int_u< m > &  from,
qt::rgb32 &  to 
)
inline

Definition at line 180 of file int_u.hxx.

template<unsigned m>
void mln::value::from_to_ ( const int_u< m > &  from,
rgb< m > &  to 
)
inline

Definition at line 189 of file int_u.hxx.

template<unsigned m>
void mln::value::from_to_ ( const value::rgb< m > &  from,
bool to 
)
void mln::value::from_to_ ( const rgb< 16 > &  from,
hsl_< float, float, float > &  to 
)
void mln::value::from_to_ ( const rgb< 8 > &  from,
hsl_< float, float, float > &  to 
)
template<unsigned m>
void mln::value::from_to_ ( bool  from,
value::rgb< m > &  to 
)
template<typename T >
interval_<T> mln::value::interval ( const T from,
const T to 
)
template<typename V >
V mln::value::next ( const V &  )
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 
)

Product.

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

Definition at line 265 of file graylevel_f.hxx.

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 S >
rgb<n>::interop mln::value::operator* ( const mln::value::scalar_< S > &  s,
const rgb< n > &  lhs 
)
inline
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 275 of file graylevel_f.hxx.

template<typename I >
mln::trait::op::times< I , graylevel_f >::ret mln::value::operator* ( const Integer< I > &  lhs,
const graylevel_f &  rhs 
)
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 
)
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 T >
mln::trait::op::times< graylevel<n> , T >::ret mln::value::operator* ( const T lhs,
const graylevel< n > &  rhs 
)
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 283 of file graylevel_f.hxx.

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 291 of file graylevel_f.hxx.

template<unsigned n, typename I >
mln::trait::op::times< graylevel<n> , I >::ret mln::value::operator* ( const graylevel< n > &  lhs,
const Integer< I > &  rhs 
)
template<typename I , unsigned n>
mln::trait::op::times< I , graylevel<n> >::ret mln::value::operator* ( const Integer< I > &  lhs,
const graylevel< n > &  rhs 
)
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 300 of file graylevel_f.hxx.

template<unsigned n, typename F >
mln::trait::op::times< graylevel<n> , F >::ret mln::value::operator* ( const graylevel< n > &  lhs,
const Floating< F > &  rhs 
)
template<typename F , unsigned n>
mln::trait::op::times< F , graylevel<n> >::ret mln::value::operator* ( const Floating< F > &  lhs,
const graylevel< n > &  rhs 
)
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 
)

Addition.

{

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

Definition at line 188 of file graylevel_f.hxx.

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 197 of file graylevel_f.hxx.

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 205 of file graylevel_f.hxx.

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

Definition at line 213 of file graylevel_f.hxx.

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

Definition at line 224 of file graylevel_f.hxx.

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

Subtraction.

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

Definition at line 235 of file graylevel_f.hxx.

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

Definition at line 243 of file graylevel_f.hxx.

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

Definition at line 254 of file graylevel_f.hxx.

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

Division.

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 T >
internal::gray_f mln::value::operator/ ( const graylevel< n > &  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 I , unsigned n>
mln::trait::op::div< I , graylevel<n> >::ret mln::value::operator/ ( const Integer< I > &  lhs,
const graylevel< n > &  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 308 of file graylevel_f.hxx.

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 
)
bool mln::value::operator< ( const sign &  lhs,
const sign &  rhs 
)
bool mln::value::operator< ( const float01 &  lhs,
const float01 &  rhs 
)
template<typename T >
std::ostream& mln::value::operator<< ( std::ostream &  ostr,
const scalar_< T > &  s 
)

Print a scalar s in an output stream ostr.

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

Print an signed integer i into the output stream ostr.

Parameters
[in,out]ostrAn output stream.
[in]iAn sign value
Returns
The modified output stream ostr.
std::ostream& mln::value::operator<< ( std::ostream &  ostr,
const float01 &  g 
)
template<typename S , typename T >
std::ostream& mln::value::operator<< ( std::ostream &  ostr,
const lut_vec< S, T > &  lut 
)
template<unsigned n>
std::ostream& mln::value::operator<< ( std::ostream &  ostr,
const int_u_sat< n > &  i 
)

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

Parameters
[in,out]ostrAn output stream.
[in]iA saturated unsigned integer.
Returns
The modified output stream ostr.
template<unsigned n>
std::ostream& mln::value::operator<< ( std::ostream &  ostr,
const float01_< n > &  f 
)

Op<<.

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

Print a label l into the output stream ostr.

Parameters
[in,out]ostrAn output stream.
[in]lA label.
Returns
The modified output stream ostr.
template<unsigned n>
std::ostream& mln::value::operator<< ( std::ostream &  ostr,
const int_s< n > &  i 
)

Print an signed integer i into the output stream ostr.

Parameters
[in,out]ostrAn output stream.
[in]iAn signed integer.
Returns
The modified output stream ostr.
template<unsigned n>
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const int_u< n > &  i 
)
inline

Print an unsigned integer i on the output stream ostr.

Parameters
[in,out]ostrAn output stream.
[in]iAn unsigned integer.
Returns
The modified output stream ostr.

Definition at line 129 of file int_u.hxx.

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

Print an hsl c into the output stream ostr.

Parameters
[in,out]ostrAn output stream.
[in]cAn rgb.
Returns
The modified output stream ostr.
std::ostream & mln::value::operator<< ( std::ostream &  ostr,
const graylevel_f &  g 
)
inline

Op<<.

Definition at line 164 of file graylevel_f.hxx.

template<unsigned n>
std::ostream& mln::value::operator<< ( std::ostream &  ostr,
const rgb< n > &  c 
)

Print an RGB c value on the output stream ostr.

Parameters
[in,out]ostrAn output stream.
[in]cAn RGB value.
Returns
The modified output stream ostr.
template<unsigned n>
std::ostream& mln::value::operator<< ( std::ostream &  ostr,
const graylevel< n > &  g 
)

Op<<.

bool mln::value::operator== ( const sign &  lhs,
const sign &  rhs 
)

Comparaison operator.

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

Comparison.

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

Definition at line 173 of file graylevel_f.hxx.

bool mln::value::operator== ( const graylevel_f &  lhs,
const graylevel_f &  rhs 
)
inline

Definition at line 180 of file graylevel_f.hxx.

template<unsigned n>
std::istream & mln::value::operator>> ( std::istream &  istr,
int_u< n > &  i 
)
inline

Get an unsigned integer i from the input stream istr.

Parameters
[in,out]istrAn input stream.
[out]iAn unsigned integer (destination).
Returns
The modified input stream istr.

Definition at line 137 of file int_u.hxx.

template<unsigned n>
std::istream& mln::value::operator>> ( std::istream &  istr,
rgb< n > &  c 
)

Get an RGB value c from the input stream istr.

Parameters
[in,out]istrAn input stream.
[out]cAn RGB value (destination).
Returns
The modified input stream istr.
template<typename V >
V mln::value::other ( const V &  val)

Give an other value than val.

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