lab_pixel
これは、CIELabカラーのグラフィカルピクセルを表す単純な構造体です。
#include <dlib / pixel.h>
struct lab_pixel { /*! WHAT THIS OBJECT REPRESENTS This is a simple struct that represents an Lab colored graphical pixel. !*/ lab_pixel ( ) {} lab_pixel ( unsigned char l_, unsigned char a_, unsigned char b_ ) : l(l_), a(a_), b(b_) {} unsigned char l; unsigned char a; unsigned char b; };