rgb_pixel
これは、RGBカラーのグラフィカルピクセルを表す単純な構造体です。
#include <dlib / pixel.h>
struct rgb_pixel
{
/*!
WHAT THIS OBJECT REPRESENTS
This is a simple struct that represents an RGB colored graphical pixel.
!*/
rgb_pixel (
) {}
rgb_pixel (
unsigned char red_,
unsigned char green_,
unsigned char blue_
) : red(red_), green(green_), blue(blue_) {}
unsigned char red;
unsigned char green;
unsigned char blue;
};