libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Typedefs | Functions | Variables
Pixel formats
+ Collaboration diagram for Pixel formats:

Namespaces

 crn::pixel
 

Classes

struct  crn::pixel::RGB< T >
 
struct  crn::TypeInfo< pixel::RGB< I > >
 
class  std::numeric_limits< crn::pixel::RGB< T > >
 
struct  crn::pixel::HSV
 
struct  crn::TypeInfo< pixel::HSV >
 
struct  crn::pixel::Polar2D< R, T >
 
struct  crn::pixel::Cart2D< T >
 
struct  crn::TypeInfo< pixel::Cart2D< I > >
 
struct  crn::TypeInfo< pixel::Polar2D< I, J > >
 
struct  crn::pixel::XYZ
 
struct  crn::pixel::YUV
 
struct  crn::TypeInfo< pixel::YUV >
 
struct  crn::pixel::Lab
 
struct  crn::pixel::Luv
 

Typedefs

using crn::pixel::BW = bool
 
using crn::pixel::RGB< T >::type = T
 
using crn::pixel::RGB8 = RGB< uint8_t >
 
using crn::TypeInfo< pixel::RGB< I > >::SumType = pixel::RGB< typename TypeInfo< I >::SumType >
 
using crn::TypeInfo< pixel::RGB< I > >::DiffType = pixel::RGB< typename TypeInfo< I >::DiffType >
 
using crn::TypeInfo< pixel::RGB< I > >::DecimalType = pixel::RGB< typename TypeInfo< I >::DecimalType >
 
using crn::TypeInfo< pixel::HSV >::SumType = pixel::RGB< unsigned int >
 
using crn::TypeInfo< pixel::HSV >::DiffType = pixel::RGB< int >
 
using crn::TypeInfo< pixel::HSV >::DecimalType = pixel::RGB< double >
 
using crn::pixel::Cart2D< T >::type = T
 
using crn::TypeInfo< pixel::Cart2D< I > >::SumType = pixel::Cart2D< typename TypeInfo< I >::SumType >
 
using crn::TypeInfo< pixel::Cart2D< I > >::DiffType = pixel::Cart2D< typename TypeInfo< I >::DiffType >
 
using crn::TypeInfo< pixel::Cart2D< I > >::DecimalType = pixel::Cart2D< typename TypeInfo< I >::DecimalType >
 
using crn::pixel::Polar2D< R, T >::rho_type = R
 
using crn::pixel::Polar2D< R, T >::theta_type = T
 
using crn::TypeInfo< pixel::Polar2D< I, J > >::SumType = pixel::Polar2D< typename TypeInfo< I >::SumType, J >
 
using crn::TypeInfo< pixel::Polar2D< I, J > >::DiffType = pixel::Polar2D< typename TypeInfo< I >::DiffType, J >
 
using crn::TypeInfo< pixel::Polar2D< I, J > >::DecimalType = pixel::Polar2D< typename TypeInfo< I >::DecimalType, J >
 
using crn::TypeInfo< pixel::YUV >::SumType = pixel::YUV
 
using crn::TypeInfo< pixel::YUV >::DiffType = pixel::YUV
 
using crn::TypeInfo< pixel::YUV >::DecimalType = pixel::YUV
 

Functions

constexpr crn::pixel::RGB< T >::RGB () noexcept
 
constexpr crn::pixel::RGB< T >::RGB (T val) noexcept
 
constexpr crn::pixel::RGB< T >::RGB (T r_, T g_, T b_) noexcept
 
template<typename Y >
constexpr crn::pixel::RGB< T >::RGB (const RGB< Y > &p) noexcept
 
 crn::pixel::RGB< T >::RGB (const HSV &val) noexcept
 
 crn::pixel::RGB< T >::RGB (const XYZ &p) noexcept
 
 crn::pixel::RGB< T >::RGB (const YUV &p) noexcept
 
 crn::pixel::RGB< T >::RGB (const Lab &p) noexcept
 
 crn::pixel::RGB< T >::RGB (const Luv &p) noexcept
 
bool crn::pixel::RGB< T >::operator< (const RGB &other) const noexcept
 
constexpr bool crn::pixel::RGB< T >::operator== (const RGB &other) const noexcept
 
constexpr bool crn::pixel::RGB< T >::operator!= (const RGB &other) const noexcept
 
RGBcrn::pixel::RGB< T >::operator+= (const RGB &other)
 
RGBcrn::pixel::RGB< T >::operator-= (const RGB &other)
 
template<typename T >
constexpr crn::SumType
< crn::pixel::RGB< T > > 
crn::pixel::operator+ (const crn::pixel::RGB< T > &p1, const crn::pixel::RGB< T > &p2)
 
template<typename T >
constexpr crn::DiffType
< crn::pixel::RGB< T > > 
crn::pixel::operator- (const crn::pixel::RGB< T > &p1, const crn::pixel::RGB< T > &p2)
 
template<typename T >
constexpr crn::DecimalType
< crn::pixel::RGB< T > > 
crn::pixel::operator* (const crn::pixel::RGB< T > &p, double d)
 
template<typename T >
constexpr crn::DecimalType
< crn::pixel::RGB< T > > 
crn::pixel::operator* (double d, const crn::pixel::RGB< T > &p)
 
template<typename T >
constexpr crn::DecimalType
< crn::pixel::RGB< T > > 
crn::pixel::operator/ (const crn::pixel::RGB< T > &p, double d)
 
template<typename T >
crn::SumType< T > crn::pixel::Abs (const crn::pixel::RGB< T > &p)
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::min () noexcept
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::max () noexcept
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::lowest () noexcept
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::epsilon () noexcept
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::round_error () noexcept
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::infinity () noexcept
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::quiet_NaN () noexcept
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::signaling_NaN () noexcept
 
static constexpr
crn::pixel::RGB< T > 
std::numeric_limits< crn::pixel::RGB< T > >::denorm_min () noexcept
 
constexpr crn::pixel::HSV::HSV () noexcept
 
constexpr crn::pixel::HSV::HSV (uint8_t h_, uint8_t s_, uint8_t v_) noexcept
 
constexpr crn::pixel::HSV::HSV (uint8_t v_) noexcept
 
 crn::pixel::HSV::HSV (const RGB< uint8_t > &val) noexcept
 
bool crn::pixel::HSV::operator< (const HSV &other) const noexcept
 
constexpr bool crn::pixel::HSV::operator== (const HSV &other) const noexcept
 
constexpr bool crn::pixel::HSV::operator!= (const HSV &other) const noexcept
 
crn::SumType< crn::pixel::HSVcrn::pixel::operator+ (const crn::pixel::HSV &p1, const crn::pixel::HSV &p2)
 
crn::DiffType< crn::pixel::HSVcrn::pixel::operator- (const crn::pixel::HSV &p1, const crn::pixel::HSV &p2)
 
crn::DecimalType< crn::pixel::HSVcrn::pixel::operator* (const crn::pixel::HSV &p, double d)
 
crn::DecimalType< crn::pixel::HSVcrn::pixel::operator* (double d, const crn::pixel::HSV &p)
 
crn::DecimalType< crn::pixel::HSVcrn::pixel::operator/ (const crn::pixel::HSV &p, double d)
 
constexpr crn::pixel::Cart2D< T >::Cart2D () noexcept
 
constexpr crn::pixel::Cart2D< T >::Cart2D (T x_, T y_=0) noexcept
 
 crn::pixel::Cart2D< T >::Cart2D (const std::complex< double > &cx)
 
template<typename Y >
constexpr crn::pixel::Cart2D< T >::Cart2D (const Cart2D< Y > &p) noexcept
 
template<typename Y , typename Z >
 crn::pixel::Cart2D< T >::Cart2D (const Polar2D< Y, Z > &p)
 
 crn::pixel::Cart2D< T >::operator std::complex< double > () const
 
bool crn::pixel::Cart2D< T >::operator< (const Cart2D &other) const noexcept
 
constexpr bool crn::pixel::Cart2D< T >::operator== (const Cart2D &other) const noexcept
 
constexpr bool crn::pixel::Cart2D< T >::operator!= (const Cart2D &other) const noexcept
 
Cart2D & crn::pixel::Cart2D< T >::operator+= (const Cart2D &other)
 
template<typename T >
constexpr crn::SumType
< crn::pixel::Cart2D< T > > 
crn::pixel::operator+ (const crn::pixel::Cart2D< T > &p1, const crn::pixel::Cart2D< T > &p2)
 
template<typename T >
constexpr crn::DiffType
< crn::pixel::Cart2D< T > > 
crn::pixel::operator- (const crn::pixel::Cart2D< T > &p1, const crn::pixel::Cart2D< T > &p2)
 
template<typename T >
constexpr crn::DecimalType
< crn::pixel::Cart2D< T > > 
crn::pixel::operator* (const crn::pixel::Cart2D< T > &p, double d)
 
template<typename T >
constexpr crn::DecimalType
< crn::pixel::Cart2D< T > > 
crn::pixel::operator* (double d, const crn::pixel::Cart2D< T > &p)
 
template<typename T >
constexpr crn::DecimalType
< crn::pixel::Cart2D< T > > 
crn::pixel::operator/ (const crn::pixel::Cart2D< T > &p, double d)
 
constexpr crn::pixel::Polar2D< R, T >::Polar2D () noexcept
 
constexpr crn::pixel::Polar2D< R, T >::Polar2D (R r, T t=0) noexcept
 
 crn::pixel::Polar2D< R, T >::Polar2D (const std::complex< double > &cx)
 
template<typename Y , typename Z >
constexpr crn::pixel::Polar2D< R, T >::Polar2D (const Polar2D< Y, Z > &p) noexcept
 
template<typename Y >
 crn::pixel::Polar2D< R, T >::Polar2D (const Cart2D< Y > &p)
 
 crn::pixel::Polar2D< R, T >::operator std::complex< double > () const
 
bool crn::pixel::Polar2D< R, T >::operator< (const Polar2D &other) const noexcept
 
constexpr bool crn::pixel::Polar2D< R, T >::operator== (const Polar2D &other) const noexcept
 
constexpr bool crn::pixel::Polar2D< R, T >::operator!= (const Polar2D &other) const noexcept
 
Polar2D & crn::pixel::Polar2D< R, T >::operator+= (const Polar2D &other)
 
template<typename R , typename T >
constexpr crn::SumType
< crn::pixel::Polar2D< R, T > > 
crn::pixel::operator+ (const crn::pixel::Polar2D< R, T > &p1, const crn::pixel::Polar2D< R, T > &p2)
 
template<typename R , typename T >
constexpr crn::DiffType
< crn::pixel::Polar2D< R, T > > 
crn::pixel::operator- (const crn::pixel::Polar2D< R, T > &p1, const crn::pixel::Polar2D< R, T > &p2)
 
template<typename R , typename T >
constexpr crn::DecimalType
< crn::pixel::Polar2D< R, T > > 
crn::pixel::operator* (const crn::pixel::Polar2D< R, T > &p, double d)
 
template<typename R , typename T >
constexpr crn::DecimalType
< crn::pixel::Polar2D< R, T > > 
crn::pixel::operator* (double d, const crn::pixel::Polar2D< R, T > &p)
 
template<typename R , typename T >
constexpr crn::DecimalType
< crn::pixel::Polar2D< R, T > > 
crn::pixel::operator/ (const crn::pixel::Polar2D< R, T > &p, double d)
 
constexpr crn::pixel::XYZ::XYZ ()
 
constexpr crn::pixel::XYZ::XYZ (double x_, double y_=0.0, double z_=0.0)
 
 crn::pixel::XYZ::XYZ (const RGB< uint8_t > &p)
 
 crn::pixel::XYZ::XYZ (const Lab &p)
 
 crn::pixel::XYZ::XYZ (const Luv &p)
 
constexpr crn::pixel::YUV::YUV ()
 
constexpr crn::pixel::YUV::YUV (double y_, double u_=0.0, double v_=0.0)
 
 crn::pixel::YUV::YUV (const RGB< uint8_t > &p)
 
constexpr bool crn::pixel::YUV::operator== (const YUV &other) const noexcept
 
constexpr bool crn::pixel::YUV::operator!= (const YUV &other) const noexcept
 
YUV & crn::pixel::YUV::operator+= (const YUV &other)
 
YUV & crn::pixel::YUV::operator-= (const YUV &other)
 
constexpr crn::pixel::YUV crn::pixel::operator+ (const crn::pixel::YUV &p1, const crn::pixel::YUV &p2)
 
constexpr crn::pixel::YUV crn::pixel::operator- (const crn::pixel::YUV &p1, const crn::pixel::YUV &p2)
 
constexpr crn::pixel::YUV crn::pixel::operator* (const crn::pixel::YUV &p, double d)
 
constexpr crn::pixel::YUV crn::pixel::operator* (double d, const crn::pixel::YUV &p)
 
constexpr crn::pixel::YUV crn::pixel::operator/ (const crn::pixel::YUV &p, double d)
 
constexpr crn::pixel::Lab::Lab ()
 
constexpr crn::pixel::Lab::Lab (double l_, double a_=0.0, double b_=0.0)
 
 crn::pixel::Lab::Lab (const XYZ &p)
 
Lab & crn::pixel::Lab::operator+= (const Lab &p)
 
crn::pixel::Lab crn::pixel::operator+ (const crn::pixel::Lab &p1, const crn::pixel::Lab &p2)
 
crn::pixel::Lab crn::pixel::operator- (const crn::pixel::Lab &p1, const crn::pixel::Lab &p2)
 
crn::pixel::Lab crn::pixel::operator* (double d, const crn::pixel::Lab &p)
 
crn::pixel::Lab crn::pixel::operator/ (const crn::pixel::Lab &p, double d)
 
constexpr crn::pixel::Luv::Luv ()
 
constexpr crn::pixel::Luv::Luv (double l_, double u_=0.0, double v_=0.0)
 
 crn::pixel::Luv::Luv (const XYZ &p)
 
Luv & crn::pixel::Luv::operator+= (const Luv &p)
 
crn::pixel::Luv crn::pixel::operator+ (const crn::pixel::Luv &p1, const crn::pixel::Luv &p2)
 
crn::pixel::Luv crn::pixel::operator- (const crn::pixel::Luv &p1, const crn::pixel::Luv &p2)
 
crn::pixel::Luv crn::pixel::operator* (double d, const crn::pixel::Luv &p)
 
crn::pixel::Luv crn::pixel::operator/ (const crn::pixel::Luv &p, double d)
 

Variables

crn::pixel::RGB< T >::r = 0
 
crn::pixel::RGB< T >::g = 0
 
crn::pixel::RGB< T >::b = 0
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_specialized = true
 
static constexpr int std::numeric_limits< crn::pixel::RGB< T > >::digits = numeric_limits<T>::digits
 
static constexpr int std::numeric_limits< crn::pixel::RGB< T > >::digits10 = numeric_limits<T>::digits10
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_signed = numeric_limits<T>::is_signed
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_integer = numeric_limits<T>::is_integer
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_exact = numeric_limits<T>::is_exact
 
static constexpr int std::numeric_limits< crn::pixel::RGB< T > >::radix = numeric_limits<T>::radix
 
static constexpr int std::numeric_limits< crn::pixel::RGB< T > >::min_exponent = numeric_limits<T>::min_exponent
 
static constexpr int std::numeric_limits< crn::pixel::RGB< T > >::min_exponent10 = numeric_limits<T>::min_exponent10
 
static constexpr int std::numeric_limits< crn::pixel::RGB< T > >::max_exponent = numeric_limits<T>::max_exponent
 
static constexpr int std::numeric_limits< crn::pixel::RGB< T > >::max_exponent10 = numeric_limits<T>::max_exponent10
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::has_infinity = numeric_limits<T>::has_infinity
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::has_quiet_NaN = numeric_limits<T>::has_quiet_NaN
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::has_signaling_NaN = numeric_limits<T>::has_signaling_NaN
 
static constexpr float_denorm_style std::numeric_limits< crn::pixel::RGB< T > >::has_denorm = numeric_limits<T>::has_denorm
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::has_denorm_loss = numeric_limits<T>::has_denorm_loss
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_iec559 = numeric_limits<T>::is_iec559
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_bounded = numeric_limits<T>::is_bounded
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_modulo = numeric_limits<T>::is_modulo
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::traps = numeric_limits<T>::traps
 
static constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::tinyness_before = numeric_limits<T>::tinyness_before
 
static constexpr float_round_style std::numeric_limits< crn::pixel::RGB< T > >::round_style = numeric_limits<T>::round_style
 
uint8_t crn::pixel::HSV::h = 0
 
uint8_t crn::pixel::HSV::s = 0
 
uint8_t crn::pixel::HSV::v = 0
 
crn::pixel::Cart2D< T >::x = 0
 
crn::pixel::Cart2D< T >::y = 0
 
crn::pixel::Polar2D< R, T >::rho = 0
 
crn::pixel::Polar2D< R, T >::theta = 0
 
double crn::pixel::XYZ::x = 0.0
 
double crn::pixel::XYZ::y = 0.0
 
double crn::pixel::XYZ::z = 0.0
 
double crn::pixel::YUV::y = 0.0
 
double crn::pixel::YUV::u = 0.0
 
double crn::pixel::YUV::v = 0.0
 
double crn::pixel::Lab::l = 0.0
 
double crn::pixel::Lab::a = 0.0
 
double crn::pixel::Lab::b = 0.0
 
double crn::pixel::Luv::l = 0.0
 
double crn::pixel::Luv::u = 0.0
 
double crn::pixel::Luv::v = 0.0
 

Detailed Description

Typedef Documentation

using crn::pixel::BW = typedef bool

Definition at line 40 of file CRNPixel.h.

template<typename I >
using crn::TypeInfo< pixel::RGB< I > >::DecimalType = pixel::RGB<typename TypeInfo<I>::DecimalType>

Definition at line 94 of file CRNPixel.h.

using crn::TypeInfo< pixel::HSV >::DecimalType = pixel::RGB<double>

Definition at line 288 of file CRNPixel.h.

template<typename I >
using crn::TypeInfo< pixel::Cart2D< I > >::DecimalType = pixel::Cart2D<typename TypeInfo<I>::DecimalType>

Definition at line 357 of file CRNPixel.h.

template<typename I , typename J >
using crn::TypeInfo< pixel::Polar2D< I, J > >::DecimalType = pixel::Polar2D<typename TypeInfo<I>::DecimalType, J>

Definition at line 433 of file CRNPixel.h.

using crn::TypeInfo< pixel::YUV >::DecimalType = pixel::YUV

Definition at line 557 of file CRNPixel.h.

template<typename I >
using crn::TypeInfo< pixel::RGB< I > >::DiffType = pixel::RGB<typename TypeInfo<I>::DiffType>

Definition at line 93 of file CRNPixel.h.

using crn::TypeInfo< pixel::HSV >::DiffType = pixel::RGB<int>

Definition at line 287 of file CRNPixel.h.

template<typename I >
using crn::TypeInfo< pixel::Cart2D< I > >::DiffType = pixel::Cart2D<typename TypeInfo<I>::DiffType>

Definition at line 356 of file CRNPixel.h.

template<typename I , typename J >
using crn::TypeInfo< pixel::Polar2D< I, J > >::DiffType = pixel::Polar2D<typename TypeInfo<I>::DiffType, J>

Definition at line 432 of file CRNPixel.h.

using crn::TypeInfo< pixel::YUV >::DiffType = pixel::YUV

Definition at line 556 of file CRNPixel.h.

using crn::pixel::RGB8 = typedef RGB<uint8_t>

Definition at line 87 of file CRNPixel.h.

template<typename R, typename T>
using crn::pixel::Polar2D< R, T >::rho_type = R

Definition at line 399 of file CRNPixel.h.

template<typename I >
using crn::TypeInfo< pixel::RGB< I > >::SumType = pixel::RGB<typename TypeInfo<I>::SumType>

Definition at line 92 of file CRNPixel.h.

using crn::TypeInfo< pixel::HSV >::SumType = pixel::RGB<unsigned int>

Definition at line 286 of file CRNPixel.h.

template<typename I >
using crn::TypeInfo< pixel::Cart2D< I > >::SumType = pixel::Cart2D<typename TypeInfo<I>::SumType>

Definition at line 355 of file CRNPixel.h.

template<typename I , typename J >
using crn::TypeInfo< pixel::Polar2D< I, J > >::SumType = pixel::Polar2D<typename TypeInfo<I>::SumType, J>

Definition at line 431 of file CRNPixel.h.

using crn::TypeInfo< pixel::YUV >::SumType = pixel::YUV

Definition at line 555 of file CRNPixel.h.

template<typename R, typename T>
using crn::pixel::Polar2D< R, T >::theta_type = T

Definition at line 400 of file CRNPixel.h.

template<typename T>
using crn::pixel::RGB< T >::type = T

Definition at line 57 of file CRNPixel.h.

template<typename T>
using crn::pixel::Cart2D< T >::type = T

Definition at line 330 of file CRNPixel.h.

Function Documentation

template<typename T>
constexpr crn::pixel::Cart2D< T >::Cart2D ( )
inlinenoexcept

Definition at line 331 of file CRNPixel.h.

template<typename T>
constexpr crn::pixel::Cart2D< T >::Cart2D ( x_,
y_ = 0 
)
inlinenoexcept

Definition at line 332 of file CRNPixel.h.

template<typename T>
crn::pixel::Cart2D< T >::Cart2D ( const std::complex< double > &  cx)
inline

Definition at line 333 of file CRNPixel.h.

template<typename T>
template<typename Y >
constexpr crn::pixel::Cart2D< T >::Cart2D ( const Cart2D< Y > &  p)
inlinenoexcept

Definition at line 334 of file CRNPixel.h.

template<typename T >
template<typename Y , typename Z >
crn::pixel::Cart2D< T >::Cart2D ( const Polar2D< Y, Z > &  p)

Definition at line 423 of file CRNPixel.h.

constexpr crn::pixel::HSV::HSV ( )
inlinenoexcept

Definition at line 183 of file CRNPixel.h.

constexpr crn::pixel::HSV::HSV ( uint8_t  h_,
uint8_t  s_,
uint8_t  v_ 
)
inlinenoexcept

Definition at line 184 of file CRNPixel.h.

constexpr crn::pixel::HSV::HSV ( uint8_t  v_)
inlinenoexcept

Definition at line 185 of file CRNPixel.h.

crn::pixel::HSV::HSV ( const RGB< uint8_t > &  val)
inlinenoexcept

Definition at line 186 of file CRNPixel.h.

constexpr crn::pixel::Lab::Lab ( )
inline

Definition at line 597 of file CRNPixel.h.

constexpr crn::pixel::Lab::Lab ( double  l_,
double  a_ = 0.0,
double  b_ = 0.0 
)
inline

Definition at line 598 of file CRNPixel.h.

Lab::Lab ( const XYZ p)

Definition at line 122 of file CRNPixel.cpp.

constexpr crn::pixel::Luv::Luv ( )
inline

Definition at line 647 of file CRNPixel.h.

constexpr crn::pixel::Luv::Luv ( double  l_,
double  u_ = 0.0,
double  v_ = 0.0 
)
inline

Definition at line 648 of file CRNPixel.h.

Luv::Luv ( const XYZ p)

Definition at line 146 of file CRNPixel.cpp.

template<typename R, typename T>
constexpr crn::pixel::Polar2D< R, T >::Polar2D ( )
inlinenoexcept

Definition at line 401 of file CRNPixel.h.

template<typename R, typename T>
constexpr crn::pixel::Polar2D< R, T >::Polar2D ( r,
t = 0 
)
inlinenoexcept

Definition at line 402 of file CRNPixel.h.

template<typename R, typename T>
crn::pixel::Polar2D< R, T >::Polar2D ( const std::complex< double > &  cx)
inline

Definition at line 403 of file CRNPixel.h.

template<typename R, typename T>
template<typename Y , typename Z >
constexpr crn::pixel::Polar2D< R, T >::Polar2D ( const Polar2D< Y, Z > &  p)
inlinenoexcept

Definition at line 404 of file CRNPixel.h.

template<typename R, typename T>
template<typename Y >
crn::pixel::Polar2D< R, T >::Polar2D ( const Cart2D< Y > &  p)
inline

Definition at line 405 of file CRNPixel.h.

template<typename T>
constexpr crn::pixel::RGB< T >::RGB ( )
inlinenoexcept

Definition at line 58 of file CRNPixel.h.

template<typename T>
constexpr crn::pixel::RGB< T >::RGB ( val)
inlinenoexcept

Definition at line 59 of file CRNPixel.h.

template<typename T>
constexpr crn::pixel::RGB< T >::RGB ( r_,
g_,
b_ 
)
inlinenoexcept

Definition at line 60 of file CRNPixel.h.

template<typename T>
template<typename Y >
constexpr crn::pixel::RGB< T >::RGB ( const RGB< Y > &  p)
inlinenoexcept

Definition at line 61 of file CRNPixel.h.

template<typename T >
crn::pixel::RGB< T >::RGB ( const HSV val)
noexcept

Definition at line 241 of file CRNPixel.h.

template<typename T >
crn::pixel::RGB< T >::RGB ( const XYZ p)
noexcept

Definition at line 485 of file CRNPixel.h.

template<typename T >
crn::pixel::RGB< T >::RGB ( const YUV p)
noexcept

Definition at line 541 of file CRNPixel.h.

template<typename T >
crn::pixel::RGB< T >::RGB ( const Lab p)
noexcept

Definition at line 611 of file CRNPixel.h.

template<typename T >
crn::pixel::RGB< T >::RGB ( const Luv p)
noexcept

Definition at line 659 of file CRNPixel.h.

constexpr crn::pixel::XYZ::XYZ ( )
inline

Definition at line 476 of file CRNPixel.h.

constexpr crn::pixel::XYZ::XYZ ( double  x_,
double  y_ = 0.0,
double  z_ = 0.0 
)
inline

Definition at line 477 of file CRNPixel.h.

XYZ::XYZ ( const RGB< uint8_t > &  p)

Definition at line 27 of file CRNPixel.cpp.

XYZ::XYZ ( const Lab p)

Definition at line 76 of file CRNPixel.cpp.

XYZ::XYZ ( const Luv p)

Definition at line 100 of file CRNPixel.cpp.

constexpr crn::pixel::YUV::YUV ( )
inline

Definition at line 529 of file CRNPixel.h.

constexpr crn::pixel::YUV::YUV ( double  y_,
double  u_ = 0.0,
double  v_ = 0.0 
)
inline

Definition at line 530 of file CRNPixel.h.

YUV::YUV ( const RGB< uint8_t > &  p)

Definition at line 69 of file CRNPixel.cpp.

template<typename T >
crn::SumType<T> crn::pixel::Abs ( const crn::pixel::RGB< T > &  p)

Definition at line 120 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::denorm_min ( )
inlinestaticnoexcept

Definition at line 160 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::epsilon ( )
inlinestaticnoexcept

Definition at line 144 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::infinity ( )
inlinestaticnoexcept

Definition at line 157 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::lowest ( )
inlinestaticnoexcept

Definition at line 137 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::max ( )
inlinestaticnoexcept

Definition at line 136 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::min ( )
inlinestaticnoexcept

Definition at line 135 of file CRNPixel.h.

template<typename T>
crn::pixel::Cart2D< T >::operator std::complex< double > ( ) const
inline

Definition at line 336 of file CRNPixel.h.

template<typename R, typename T>
crn::pixel::Polar2D< R, T >::operator std::complex< double > ( ) const
inline

Definition at line 406 of file CRNPixel.h.

template<typename T>
constexpr bool crn::pixel::RGB< T >::operator!= ( const RGB< T > &  other) const
inlinenoexcept

Definition at line 81 of file CRNPixel.h.

constexpr bool crn::pixel::HSV::operator!= ( const HSV other) const
inlinenoexcept

Definition at line 237 of file CRNPixel.h.

template<typename T>
constexpr bool crn::pixel::Cart2D< T >::operator!= ( const Cart2D< T > &  other) const
inlinenoexcept

Definition at line 346 of file CRNPixel.h.

template<typename R, typename T>
constexpr bool crn::pixel::Polar2D< R, T >::operator!= ( const Polar2D< R, T > &  other) const
inlinenoexcept

Definition at line 416 of file CRNPixel.h.

constexpr bool crn::pixel::YUV::operator!= ( const YUV other) const
inlinenoexcept

Definition at line 534 of file CRNPixel.h.

template<typename T >
constexpr crn::DecimalType<crn::pixel::RGB<T> > crn::pixel::operator* ( const crn::pixel::RGB< T > &  p,
double  d 
)

Definition at line 107 of file CRNPixel.h.

template<typename T >
constexpr crn::DecimalType<crn::pixel::RGB<T> > crn::pixel::operator* ( double  d,
const crn::pixel::RGB< T > &  p 
)

Definition at line 111 of file CRNPixel.h.

crn::DecimalType<crn::pixel::HSV> crn::pixel::operator* ( const crn::pixel::HSV p,
double  d 
)
inline

Definition at line 301 of file CRNPixel.h.

crn::DecimalType<crn::pixel::HSV> crn::pixel::operator* ( double  d,
const crn::pixel::HSV p 
)
inline

Definition at line 305 of file CRNPixel.h.

template<typename T >
constexpr crn::DecimalType<crn::pixel::Cart2D<T> > crn::pixel::operator* ( const crn::pixel::Cart2D< T > &  p,
double  d 
)

Definition at line 370 of file CRNPixel.h.

template<typename T >
constexpr crn::DecimalType<crn::pixel::Cart2D<T> > crn::pixel::operator* ( double  d,
const crn::pixel::Cart2D< T > &  p 
)

Definition at line 374 of file CRNPixel.h.

template<typename R , typename T >
constexpr crn::DecimalType<crn::pixel::Polar2D<R, T> > crn::pixel::operator* ( const crn::pixel::Polar2D< R, T > &  p,
double  d 
)

Definition at line 446 of file CRNPixel.h.

template<typename R , typename T >
constexpr crn::DecimalType<crn::pixel::Polar2D<R, T> > crn::pixel::operator* ( double  d,
const crn::pixel::Polar2D< R, T > &  p 
)

Definition at line 450 of file CRNPixel.h.

constexpr crn::pixel::YUV crn::pixel::operator* ( const crn::pixel::YUV p,
double  d 
)

Definition at line 570 of file CRNPixel.h.

constexpr crn::pixel::YUV crn::pixel::operator* ( double  d,
const crn::pixel::YUV p 
)

Definition at line 574 of file CRNPixel.h.

crn::pixel::Lab crn::pixel::operator* ( double  d,
const crn::pixel::Lab p 
)
inline

Definition at line 624 of file CRNPixel.h.

crn::pixel::Luv crn::pixel::operator* ( double  d,
const crn::pixel::Luv p 
)
inline

Definition at line 671 of file CRNPixel.h.

template<typename T >
constexpr crn::SumType<crn::pixel::RGB<T> > crn::pixel::operator+ ( const crn::pixel::RGB< T > &  p1,
const crn::pixel::RGB< T > &  p2 
)

Definition at line 99 of file CRNPixel.h.

crn::SumType<crn::pixel::HSV> crn::pixel::operator+ ( const crn::pixel::HSV p1,
const crn::pixel::HSV p2 
)
inline

Definition at line 293 of file CRNPixel.h.

template<typename T >
constexpr crn::SumType<crn::pixel::Cart2D<T> > crn::pixel::operator+ ( const crn::pixel::Cart2D< T > &  p1,
const crn::pixel::Cart2D< T > &  p2 
)

Definition at line 362 of file CRNPixel.h.

template<typename R , typename T >
constexpr crn::SumType<crn::pixel::Polar2D<R, T> > crn::pixel::operator+ ( const crn::pixel::Polar2D< R, T > &  p1,
const crn::pixel::Polar2D< R, T > &  p2 
)

Definition at line 438 of file CRNPixel.h.

constexpr crn::pixel::YUV crn::pixel::operator+ ( const crn::pixel::YUV p1,
const crn::pixel::YUV p2 
)

Definition at line 562 of file CRNPixel.h.

crn::pixel::Lab crn::pixel::operator+ ( const crn::pixel::Lab p1,
const crn::pixel::Lab p2 
)
inline

Definition at line 616 of file CRNPixel.h.

crn::pixel::Luv crn::pixel::operator+ ( const crn::pixel::Luv p1,
const crn::pixel::Luv p2 
)
inline

Definition at line 663 of file CRNPixel.h.

template<typename T>
RGB& crn::pixel::RGB< T >::operator+= ( const RGB< T > &  other)
inline

Definition at line 82 of file CRNPixel.h.

template<typename T>
Cart2D& crn::pixel::Cart2D< T >::operator+= ( const Cart2D< T > &  other)
inline

Definition at line 347 of file CRNPixel.h.

template<typename R, typename T>
Polar2D& crn::pixel::Polar2D< R, T >::operator+= ( const Polar2D< R, T > &  other)
inline

Definition at line 417 of file CRNPixel.h.

YUV& crn::pixel::YUV::operator+= ( const YUV other)
inline

Definition at line 535 of file CRNPixel.h.

Lab& crn::pixel::Lab::operator+= ( const Lab p)
inline

Definition at line 601 of file CRNPixel.h.

Luv& crn::pixel::Luv::operator+= ( const Luv p)
inline

Definition at line 651 of file CRNPixel.h.

template<typename T >
constexpr crn::DiffType<crn::pixel::RGB<T> > crn::pixel::operator- ( const crn::pixel::RGB< T > &  p1,
const crn::pixel::RGB< T > &  p2 
)

Definition at line 103 of file CRNPixel.h.

crn::DiffType<crn::pixel::HSV> crn::pixel::operator- ( const crn::pixel::HSV p1,
const crn::pixel::HSV p2 
)
inline

Definition at line 297 of file CRNPixel.h.

template<typename T >
constexpr crn::DiffType<crn::pixel::Cart2D<T> > crn::pixel::operator- ( const crn::pixel::Cart2D< T > &  p1,
const crn::pixel::Cart2D< T > &  p2 
)

Definition at line 366 of file CRNPixel.h.

template<typename R , typename T >
constexpr crn::DiffType<crn::pixel::Polar2D<R, T> > crn::pixel::operator- ( const crn::pixel::Polar2D< R, T > &  p1,
const crn::pixel::Polar2D< R, T > &  p2 
)

Definition at line 442 of file CRNPixel.h.

constexpr crn::pixel::YUV crn::pixel::operator- ( const crn::pixel::YUV p1,
const crn::pixel::YUV p2 
)

Definition at line 566 of file CRNPixel.h.

crn::pixel::Lab crn::pixel::operator- ( const crn::pixel::Lab p1,
const crn::pixel::Lab p2 
)
inline

Definition at line 620 of file CRNPixel.h.

crn::pixel::Luv crn::pixel::operator- ( const crn::pixel::Luv p1,
const crn::pixel::Luv p2 
)
inline

Definition at line 667 of file CRNPixel.h.

template<typename T>
RGB& crn::pixel::RGB< T >::operator-= ( const RGB< T > &  other)
inline

Definition at line 83 of file CRNPixel.h.

YUV& crn::pixel::YUV::operator-= ( const YUV other)
inline

Definition at line 536 of file CRNPixel.h.

template<typename T >
constexpr crn::DecimalType<crn::pixel::RGB<T> > crn::pixel::operator/ ( const crn::pixel::RGB< T > &  p,
double  d 
)

Definition at line 115 of file CRNPixel.h.

crn::DecimalType<crn::pixel::HSV> crn::pixel::operator/ ( const crn::pixel::HSV p,
double  d 
)
inline

Definition at line 309 of file CRNPixel.h.

template<typename T >
constexpr crn::DecimalType<crn::pixel::Cart2D<T> > crn::pixel::operator/ ( const crn::pixel::Cart2D< T > &  p,
double  d 
)

Definition at line 378 of file CRNPixel.h.

template<typename R , typename T >
constexpr crn::DecimalType<crn::pixel::Polar2D<R, T> > crn::pixel::operator/ ( const crn::pixel::Polar2D< R, T > &  p,
double  d 
)

Definition at line 454 of file CRNPixel.h.

constexpr crn::pixel::YUV crn::pixel::operator/ ( const crn::pixel::YUV p,
double  d 
)

Definition at line 578 of file CRNPixel.h.

crn::pixel::Lab crn::pixel::operator/ ( const crn::pixel::Lab p,
double  d 
)
inline

Definition at line 628 of file CRNPixel.h.

crn::pixel::Luv crn::pixel::operator/ ( const crn::pixel::Luv p,
double  d 
)
inline

Definition at line 675 of file CRNPixel.h.

template<typename T>
bool crn::pixel::RGB< T >::operator< ( const RGB< T > &  other) const
inlinenoexcept

Definition at line 69 of file CRNPixel.h.

bool crn::pixel::HSV::operator< ( const HSV other) const
inlinenoexcept

Definition at line 225 of file CRNPixel.h.

template<typename T>
bool crn::pixel::Cart2D< T >::operator< ( const Cart2D< T > &  other) const
inlinenoexcept

Definition at line 339 of file CRNPixel.h.

template<typename R, typename T>
bool crn::pixel::Polar2D< R, T >::operator< ( const Polar2D< R, T > &  other) const
inlinenoexcept

Definition at line 409 of file CRNPixel.h.

template<typename T>
constexpr bool crn::pixel::RGB< T >::operator== ( const RGB< T > &  other) const
inlinenoexcept

Definition at line 80 of file CRNPixel.h.

constexpr bool crn::pixel::HSV::operator== ( const HSV other) const
inlinenoexcept

Definition at line 236 of file CRNPixel.h.

template<typename T>
constexpr bool crn::pixel::Cart2D< T >::operator== ( const Cart2D< T > &  other) const
inlinenoexcept

Definition at line 345 of file CRNPixel.h.

template<typename R, typename T>
constexpr bool crn::pixel::Polar2D< R, T >::operator== ( const Polar2D< R, T > &  other) const
inlinenoexcept

Definition at line 415 of file CRNPixel.h.

constexpr bool crn::pixel::YUV::operator== ( const YUV other) const
inlinenoexcept

Definition at line 533 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::quiet_NaN ( )
inlinestaticnoexcept

Definition at line 158 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::round_error ( )
inlinestaticnoexcept

Definition at line 145 of file CRNPixel.h.

template<typename T >
static constexpr crn::pixel::RGB<T> std::numeric_limits< crn::pixel::RGB< T > >::signaling_NaN ( )
inlinestaticnoexcept

Definition at line 159 of file CRNPixel.h.

Variable Documentation

double crn::pixel::Lab::a = 0.0

Definition at line 608 of file CRNPixel.h.

template<typename T>
T crn::pixel::RGB< T >::b = 0

Definition at line 85 of file CRNPixel.h.

double crn::pixel::Lab::b = 0.0

Definition at line 608 of file CRNPixel.h.

template<typename T >
constexpr int std::numeric_limits< crn::pixel::RGB< T > >::digits = numeric_limits<T>::digits
static

Definition at line 138 of file CRNPixel.h.

template<typename T >
constexpr int std::numeric_limits< crn::pixel::RGB< T > >::digits10 = numeric_limits<T>::digits10
static

Definition at line 139 of file CRNPixel.h.

template<typename T>
T crn::pixel::RGB< T >::g = 0

Definition at line 85 of file CRNPixel.h.

uint8_t crn::pixel::HSV::h = 0

Definition at line 238 of file CRNPixel.h.

template<typename T >
constexpr float_denorm_style std::numeric_limits< crn::pixel::RGB< T > >::has_denorm = numeric_limits<T>::has_denorm
static

Definition at line 155 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::has_denorm_loss = numeric_limits<T>::has_denorm_loss
static

Definition at line 156 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::has_infinity = numeric_limits<T>::has_infinity
static

Definition at line 152 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::has_quiet_NaN = numeric_limits<T>::has_quiet_NaN
static

Definition at line 153 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::has_signaling_NaN = numeric_limits<T>::has_signaling_NaN
static

Definition at line 154 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_bounded = numeric_limits<T>::is_bounded
static

Definition at line 163 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_exact = numeric_limits<T>::is_exact
static

Definition at line 142 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_iec559 = numeric_limits<T>::is_iec559
static

Definition at line 162 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_integer = numeric_limits<T>::is_integer
static

Definition at line 141 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_modulo = numeric_limits<T>::is_modulo
static

Definition at line 164 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_signed = numeric_limits<T>::is_signed
static

Definition at line 140 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::is_specialized = true
static

Definition at line 134 of file CRNPixel.h.

double crn::pixel::Lab::l = 0.0

Definition at line 608 of file CRNPixel.h.

double crn::pixel::Luv::l = 0.0

Definition at line 657 of file CRNPixel.h.

template<typename T >
constexpr int std::numeric_limits< crn::pixel::RGB< T > >::max_exponent = numeric_limits<T>::max_exponent
static

Definition at line 149 of file CRNPixel.h.

template<typename T >
constexpr int std::numeric_limits< crn::pixel::RGB< T > >::max_exponent10 = numeric_limits<T>::max_exponent10
static

Definition at line 150 of file CRNPixel.h.

template<typename T >
constexpr int std::numeric_limits< crn::pixel::RGB< T > >::min_exponent = numeric_limits<T>::min_exponent
static

Definition at line 147 of file CRNPixel.h.

template<typename T >
constexpr int std::numeric_limits< crn::pixel::RGB< T > >::min_exponent10 = numeric_limits<T>::min_exponent10
static

Definition at line 148 of file CRNPixel.h.

template<typename T>
T crn::pixel::RGB< T >::r = 0

Definition at line 85 of file CRNPixel.h.

template<typename T >
constexpr int std::numeric_limits< crn::pixel::RGB< T > >::radix = numeric_limits<T>::radix
static

Definition at line 143 of file CRNPixel.h.

template<typename R, typename T>
R crn::pixel::Polar2D< R, T >::rho = 0

Definition at line 419 of file CRNPixel.h.

template<typename T >
constexpr float_round_style std::numeric_limits< crn::pixel::RGB< T > >::round_style = numeric_limits<T>::round_style
static

Definition at line 168 of file CRNPixel.h.

uint8_t crn::pixel::HSV::s = 0

Definition at line 238 of file CRNPixel.h.

template<typename R, typename T>
T crn::pixel::Polar2D< R, T >::theta = 0

Definition at line 420 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::tinyness_before = numeric_limits<T>::tinyness_before
static

Definition at line 167 of file CRNPixel.h.

template<typename T >
constexpr bool std::numeric_limits< crn::pixel::RGB< T > >::traps = numeric_limits<T>::traps
static

Definition at line 166 of file CRNPixel.h.

double crn::pixel::YUV::u = 0.0

Definition at line 538 of file CRNPixel.h.

double crn::pixel::Luv::u = 0.0

Definition at line 657 of file CRNPixel.h.

uint8_t crn::pixel::HSV::v = 0

Definition at line 238 of file CRNPixel.h.

double crn::pixel::YUV::v = 0.0

Definition at line 538 of file CRNPixel.h.

double crn::pixel::Luv::v = 0.0

Definition at line 657 of file CRNPixel.h.

template<typename T>
T crn::pixel::Cart2D< T >::x = 0

Definition at line 349 of file CRNPixel.h.

double crn::pixel::XYZ::x = 0.0

Definition at line 482 of file CRNPixel.h.

template<typename T>
T crn::pixel::Cart2D< T >::y = 0

Definition at line 349 of file CRNPixel.h.

double crn::pixel::XYZ::y = 0.0

Definition at line 482 of file CRNPixel.h.

double crn::pixel::YUV::y = 0.0

Definition at line 538 of file CRNPixel.h.

double crn::pixel::XYZ::z = 0.0

Definition at line 482 of file CRNPixel.h.