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 > | |
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) |
Namespace of materials related to pixel value types.
typedef float01_<16> mln::value::float01_16 |
Alias for 16 bit float01.
typedef float01_<8> mln::value::float01_8 |
Alias for 8 bit float01.
typedef graylevel<16> mln::value::gl16 |
Alias for 16 bit graylevel.
typedef graylevel<8> mln::value::gl8 |
Alias for 8 bit graylevel.
typedef graylevel_f mln::value::glf |
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 |
typedef int_s<16> mln::value::int_s16 |
Alias for signed 16-bit integers.
typedef int_s<32> mln::value::int_s32 |
Alias for signed 32-bit integers.
typedef int_s<8> mln::value::int_s8 |
Alias for signed 8-bit integers.
typedef int_u<12> mln::value::int_u12 |
Alias for unsigned 12-bit integers.
typedef int_u<16> mln::value::int_u16 |
Alias for unsigned 16-bit integers.
typedef mln::value::int_u<32> mln::value::int_u32 |
Alias for unsigned 32-bit integers.
typedef mln::value::int_u<8> mln::value::int_u8 |
Alias for unsigned 8-bit integers.
typedef label<16> mln::value::label_16 |
Alias for 16-bit integers.
typedef mln::value::label<8> mln::value::label_8 |
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.
bool mln::value::approx_equal | ( | const float01_< n > & | lhs, | |
const float01_< m > & | rhs | |||
) | [inline] |
bool mln::value::approx_equal | ( | const float01_< n > & | lhs, | |
const float | f | |||
) | [inline] |
Dest mln::value::cast | ( | const Src & | src | ) | [inline] |
Cast a value src
from type Src
to type Dest
.
References mln::value::internal::cast_().
internal::equiv_< V >::ret mln::value::equiv | ( | const mln::Value< V > & | v | ) | [inline] |
Access to the equivalent value.
References mln::exact(), and mln::value::internal::run_equiv_().
Referenced by mln::value::internal::helper_gray__op_< gray_f >::div(), mln::value::internal::helper_gray__op_< gray_< n > >::div(), mln::operator%(), mln::operator*(), mln::operator+(), mln::operator-(), mln::metal::operator/(), mln::algebra::operator/(), mln::operator/(), mln::value::internal::helper_gray__op_< gray_f >::times(), and mln::value::internal::helper_gray__op_< gray_< n > >::times().
interval_< T > mln::value::interval | ( | const T & | from, | |
const T & | to | |||
) | [inline] |
mln::trait::op::times< graylevel< n >, graylevel< m > >::ret mln::value::operator* | ( | const graylevel< n > & | lhs, | |
const graylevel< m > & | rhs | |||
) | [inline] |
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] |
mln::trait::op::times< graylevel< n >, T >::ret mln::value::operator* | ( | const graylevel< n > & | lhs, | |
const T & | rhs | |||
) |
rgb< n >::interop mln::value::operator* | ( | const mln::value::scalar_< S > & | s, | |
const rgb< n > & | lhs | |||
) | [inline] |
mln::trait::op::times< graylevel_f , T >::ret mln::value::operator* | ( | const graylevel_f & | lhs, | |
const T & | rhs | |||
) |
mln::trait::op::times< graylevel_f , T >::ret mln::value::operator* | ( | const T & | lhs, | |
const graylevel_f & | rhs | |||
) |
mln::trait::op::times< graylevel< n >, T >::ret mln::value::operator* | ( | const T & | lhs, | |
const graylevel< n > & | rhs | |||
) |
mln::trait::op::times< graylevel_f, I >::ret mln::value::operator* | ( | const graylevel_f & | lhs, | |
const Integer< I > & | rhs | |||
) | [inline] |
References mln::exact().
mln::trait::op::times< I, graylevel_f >::ret mln::value::operator* | ( | const Integer< I > & | lhs, | |
const graylevel_f & | rhs | |||
) | [inline] |
References mln::exact().
internal::gray_< n > mln::value::operator* | ( | const graylevel< n > & | lhs, | |
const Integer< I > & | rhs | |||
) | [inline] |
References mln::exact().
mln::trait::op::times< I, graylevel< n > >::ret mln::value::operator* | ( | const Integer< I > & | lhs, | |
const graylevel< n > & | rhs | |||
) | [inline] |
References mln::exact().
mln::trait::op::times< graylevel_f, F >::ret mln::value::operator* | ( | const graylevel_f & | lhs, | |
const Floating< F > & | rhs | |||
) | [inline] |
References mln::exact().
mln::trait::op::times< F, graylevel_f >::ret mln::value::operator* | ( | const Floating< F > & | lhs, | |
const graylevel_f & | rhs | |||
) | [inline] |
References mln::exact().
rgb< n >::interop mln::value::operator* | ( | const rgb< n > & | lhs, | |
const mln::value::scalar_< S > & | s | |||
) | [inline] |
Product.
References mln::value::scalar_< T >::to_equiv(), and mln::value::internal::value_like_< V, C, N, E >::to_interop().
mln::trait::op::times< graylevel< n >, F >::ret mln::value::operator* | ( | const graylevel< n > & | lhs, | |
const Floating< F > & | rhs | |||
) | [inline] |
References mln::exact().
mln::trait::op::times< F, graylevel< n > >::ret mln::value::operator* | ( | const Floating< F > & | lhs, | |
const graylevel< n > & | rhs | |||
) | [inline] |
References mln::exact().
hsl_< H, S, L > mln::value::operator* | ( | const hsl_< H, S, L > & | lhs, | |
const mln::value::scalar_< S2 > & | s | |||
) |
Product.
References mln::value::hsl_< H, S, L >::hue(), mln::value::hsl_< H, S, L >::lum(), and mln::value::hsl_< H, S, L >::sat().
mln::trait::op::times< graylevel<n> , scalar_<S> >::ret mln::value::operator* | ( | const graylevel< n > & | lhs, | |
const scalar_< S > & | rhs | |||
) | [inline] |
rgb< n >::interop mln::value::operator+ | ( | const rgb< n > & | lhs, | |
const rgb< n > & | rhs | |||
) | [inline] |
rgb< n >::interop mln::value::operator+ | ( | const typename rgb< n >::interop & | lhs, | |
const rgb< n > & | rhs | |||
) | [inline] |
rgb< n >::interop mln::value::operator+ | ( | const rgb< n > & | lhs, | |
const typename rgb< n >::interop & | rhs | |||
) | [inline] |
mln::trait::op::plus< graylevel< n >, graylevel< m > >::ret mln::value::operator+ | ( | const graylevel< n > & | lhs, | |
const graylevel< m > & | rhs | |||
) | [inline] |
void mln::value::operator+ | ( | const graylevel< n > & | lhs, | |
const I & | i | |||
) | [inline] |
hsl_< H, S, L > mln::value::operator+ | ( | const hsl_< H, S, L > & | lhs, | |
const hsl_< H, S, L > & | rhs | |||
) |
Addition.
{
References mln::value::hsl_< H, S, L >::hue(), mln::value::hsl_< H, S, L >::lum(), and mln::value::hsl_< H, S, L >::sat().
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] |
mln::trait::op::plus< graylevel_f, graylevel< n > >::ret mln::value::operator+ | ( | const graylevel_f & | lhs, | |
const graylevel< n > & | rhs | |||
) | [inline] |
void mln::value::operator+ | ( | const graylevel_f & | lhs, | |
const I & | i | |||
) | [inline] |
mln::trait::op::plus< graylevel_f, graylevel< n > >::ret mln::value::operator+ | ( | const graylevel< n > & | lhs, | |
const graylevel_f & | rhs | |||
) | [inline] |
void mln::value::operator+ | ( | const I & | i, | |
const graylevel_f & | rhs | |||
) | [inline] |
rgb< n >::interop mln::value::operator- | ( | const rgb< n > & | lhs, | |
const rgb< n > & | rhs | |||
) | [inline] |
Subtraction.
References mln::value::internal::value_like_< V, C, N, E >::to_interop().
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] |
rgb< n >::interop mln::value::operator- | ( | const typename rgb< n >::interop & | lhs, | |
const rgb< n > & | rhs | |||
) | [inline] |
rgb< n >::interop mln::value::operator- | ( | const rgb< n > & | lhs, | |
const typename rgb< n >::interop & | rhs | |||
) | [inline] |
hsl_< H, S, L > mln::value::operator- | ( | const hsl_< H, S, L > & | lhs, | |
const hsl_< H, S, L > & | rhs | |||
) |
Subtraction.
References mln::value::hsl_< H, S, L >::hue(), mln::value::hsl_< H, S, L >::lum(), and mln::value::hsl_< H, S, L >::sat().
mln::trait::op::minus< graylevel< n >, graylevel< m > >::ret mln::value::operator- | ( | const graylevel< n > & | lhs, | |
const graylevel< m > & | rhs | |||
) | [inline] |
void mln::value::operator- | ( | const graylevel< n > & | lhs, | |
const I & | i | |||
) | [inline] |
void mln::value::operator- | ( | const I & | i, | |
const graylevel< n > & | rhs | |||
) | [inline] |
void mln::value::operator- | ( | const graylevel_f & | lhs, | |
const I & | i | |||
) | [inline] |
rgb< n >::interop mln::value::operator/ | ( | const rgb< n > & | lhs, | |
const mln::value::scalar_< S > & | s | |||
) | [inline] |
Division.
References mln::value::scalar_< T >::to_equiv(), and mln::value::internal::value_like_< V, C, N, E >::to_interop().
mln::trait::op::div< graylevel_f , S >::ret mln::value::operator/ | ( | const graylevel_f & | lhs, | |
const scalar_< S > & | rhs | |||
) | [inline] |
mln::trait::op::div< graylevel_f , F >::ret mln::value::operator/ | ( | const graylevel_f & | lhs, | |
const Floating< F > & | rhs | |||
) |
internal::gray_f mln::value::operator/ | ( | const graylevel_f & | lhs, | |
const T & | rhs | |||
) |
mln::value::internal::gray_f mln::value::operator/ | ( | const graylevel< n > & | lhs, | |
const T & | rhs | |||
) |
mln::trait::op::div< graylevel_f , I >::ret mln::value::operator/ | ( | const graylevel_f & | lhs, | |
const Integer< I > & | rhs | |||
) |
mln::trait::op::div< I , graylevel_f >::ret mln::value::operator/ | ( | const Integer< I > & | lhs, | |
const graylevel_f & | rhs | |||
) |
mln::trait::op::div< graylevel<n> , I >::ret mln::value::operator/ | ( | const graylevel< n > & | lhs, | |
const Integer< I > & | rhs | |||
) |
mln::trait::op::div< F , graylevel_f >::ret mln::value::operator/ | ( | const Floating< F > & | lhs, | |
const graylevel_f & | rhs | |||
) |
mln::trait::op::div< I , graylevel<n> >::ret mln::value::operator/ | ( | const Integer< I > & | lhs, | |
const graylevel< n > & | rhs | |||
) |
hsl_< H, S, L > mln::value::operator/ | ( | const hsl_< H, S, L > & | lhs, | |
const mln::value::scalar_< S2 > & | s | |||
) |
Division.
References mln::value::hsl_< H, S, L >::hue(), mln::value::hsl_< H, S, L >::lum(), and mln::value::hsl_< H, S, L >::sat().
mln::trait::op::div< graylevel<n> , F >::ret mln::value::operator/ | ( | const graylevel< n > & | lhs, | |
const Floating< F > & | rhs | |||
) |
mln::trait::op::div< F , graylevel<n> >::ret mln::value::operator/ | ( | const Floating< F > & | lhs, | |
const graylevel< n > & | rhs | |||
) |
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] |
bool mln::value::operator< | ( | const typename I::value & | lhs, | |
const proxy< I > & | rhs | |||
) | [inline] |
bool mln::value::operator< | ( | const proxy< I > & | lhs, | |
const proxy< J > & | rhs | |||
) | [inline] |
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] |
References mln::value::sign::val_().
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] |
Op<<.
References mln::value::graylevel_f::value().
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
.
[in,out] | ostr | An output stream. |
[in] | i | An sign value |
ostr
. References mln::debug::format(), and mln::value::sign::val_().
std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const graylevel< n > & | g | |||
) | [inline] |
Op<<.
std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const proxy< I > & | x | |||
) | [inline] |
Print a value proxy x
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | x | A value proxy. |
ostr
. std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const rgb< n > & | c | |||
) | [inline] |
Print an rgb c
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | c | An rgb. |
ostr
. References mln::debug::format().
std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const hsl_< H, S, L > & | c | |||
) | [inline] |
Print an hsl c
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | c | An rgb. |
ostr
. References mln::debug::format().
std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const label< n > & | l | |||
) | [inline] |
Print a label l
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | l | A label. |
ostr
. References mln::debug::format().
std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const float01_< n > & | f | |||
) | [inline] |
Op<<.
std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const int_u< n > & | i | |||
) | [inline] |
Print an unsigned integer i
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | i | An unsigned integer. |
ostr
. References mln::debug::format().
std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const int_s< n > & | i | |||
) | [inline] |
Print an signed integer i
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | i | An signed integer. |
ostr
. References mln::debug::format().
std::ostream & mln::value::operator<< | ( | std::ostream & | ostr, | |
const float01 & | g | |||
) | [inline] |
References mln::value::float01::nbits(), and mln::value::float01::value().
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
.
[in,out] | ostr | An output stream. |
[in] | i | A saturated unsigned integer. |
ostr
. References mln::debug::format().
bool mln::value::operator== | ( | const proxy< I > & | lhs, | |
const proxy< J > & | rhs | |||
) | [inline] |
References mln::value::proxy< I >::to_value().
bool mln::value::operator== | ( | const Integer< I > & | lhs, | |
const graylevel< n > & | rhs | |||
) | [inline] |
References mln::exact(), and mln::value::graylevel< n >::value().
bool mln::value::operator== | ( | const Integer< I > & | lhs, | |
const graylevel_f & | rhs | |||
) | [inline] |
References mln::exact(), and mln::value::graylevel_f::value().
bool mln::value::operator== | ( | const graylevel_f & | lhs, | |
const graylevel_f & | rhs | |||
) | [inline] |
References mln::value::graylevel_f::value().
bool mln::value::operator== | ( | const sign & | lhs, | |
const sign & | rhs | |||
) | [inline] |
Comparaison operator.
References mln::value::sign::val_().
bool mln::value::operator== | ( | const graylevel< n > & | lhs, | |
const graylevel< m > & | rhs | |||
) | [inline] |
bool mln::value::operator== | ( | const typename I::value & | lhs, | |
const proxy< I > & | rhs | |||
) | [inline] |
References mln::value::proxy< I >::to_value().
bool mln::value::operator== | ( | const hsl_< H, S, L > & | lhs, | |
const hsl_< H, S, L > & | rhs | |||
) |
Comparison.
References mln::value::hsl_< H, S, L >::hue(), mln::value::hsl_< H, S, L >::lum(), and mln::value::hsl_< H, S, L >::sat().
bool mln::value::operator== | ( | const proxy< I > & | lhs, | |
const typename I::value & | rhs | |||
) | [inline] |
References mln::value::proxy< I >::to_value().
bool mln::value::operator== | ( | const float01 & | lhs, | |
const float01 & | rhs | |||
) | [inline] |
std::istream & mln::value::operator>> | ( | std::istream & | istr, | |
int_u< n > & | i | |||
) | [inline] |
std::istream & mln::value::operator>> | ( | std::istream & | istr, | |
rgb< n > & | c | |||
) | [inline] |
V mln::value::other | ( | const V & | val | ) | [inline] |
Give an other value than val
.
References mln::value::internal::other_().
Referenced by mln::internal::subject_impl< util::array< T > &, E >::append().
internal::helper_scalar_< T >::ret mln::value::scalar | ( | const T & | s | ) | [inline] |
stack_image< 2, I > mln::value::stack | ( | Image< I > & | ima1, | |
Image< I > & | ima2 | |||
) | [inline] |
References mln::exact().
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().