libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
crn::pixel::RGB< T > Struct Template Reference

#include <CRNPixel.h>

+ Collaboration diagram for crn::pixel::RGB< T >:

Public Types

using type = T
 

Public Member Functions

constexpr RGB () noexcept
 
constexpr RGB (T val) noexcept
 
constexpr RGB (T r_, T g_, T b_) noexcept
 
template<typename Y >
constexpr RGB (const RGB< Y > &p) noexcept
 
 RGB (const HSV &val) noexcept
 
 RGB (const XYZ &p) noexcept
 
 RGB (const YUV &p) noexcept
 
 RGB (const Lab &p) noexcept
 
 RGB (const Luv &p) noexcept
 
bool operator< (const RGB &other) const noexcept
 
constexpr bool operator== (const RGB &other) const noexcept
 
constexpr bool operator!= (const RGB &other) const noexcept
 
RGBoperator+= (const RGB &other)
 
RGBoperator-= (const RGB &other)
 

Public Attributes

r = 0
 
g = 0
 
b = 0
 

Detailed Description

template<typename T>
struct crn::pixel::RGB< T >

Definition at line 55 of file CRNPixel.h.


The documentation for this struct was generated from the following file: