licornea_tools
Classes | Namespaces | Functions
color.h File Reference
#include <cstdint>
#include "common.h"
#include "opencv.h"

Go to the source code of this file.

Classes

struct  tlz::rgb_color
 RGB color, 8 bit. More...
 
struct  tlz::ycbcr_color
 YCbCr color, 8 bit. More...
 
class  cv::DataType<::tlz::rgb_color >
 
class  cv::DataType<::tlz::ycbcr_color >
 

Namespaces

 tlz
 
 cv
 

Functions

bool tlz::operator== (const rgb_color &a, const rgb_color &b)
 
bool tlz::operator!= (const rgb_color &a, const rgb_color &b)
 
bool tlz::operator== (const ycbcr_color &a, const ycbcr_color &b)
 
bool tlz::operator!= (const ycbcr_color &a, const ycbcr_color &b)
 
template<typename Output , typename Input >
Output tlz::color_convert (const Input &)
 Color conversion, specialized for different color formats. More...
 
template<>
rgb_color tlz::color_convert (const ycbcr_color &in)
 
template<>
ycbcr_color tlz::color_convert (const rgb_color &in)
 
rgb_color tlz::color_blend (const rgb_color &a, const rgb_color &b)
 Color blend. More...
 
rgb_color tlz::color_blend (const rgb_color &a, real a_weight, const rgb_color &b, real b_weight)