Lines Matching refs:RGB
6 #undef RGB
10 typedef Vec3b RGB; typedef
37 virtual RGB read(const Mat& rgb, int row, int col) = 0;
48 virtual void write(Mat& rgb, int row, int col, const RGB& val) = 0;
86 void write(Mat& rgb, int row, int col, const RGB& val) in write()
96 void write(Mat& rgb, int row, int col, const RGB& val) in write()
107 void write(Mat& rgb, int row, int col, const RGB& val) in write()
118 void write(Mat& rgb, int row, int col, const RGB& val) in write()
278 RGB read(const Mat& rgb, int row, int col) in read()
280 return rgb.at<RGB>(row, col); in read()
288 RGB read(const Mat& rgb, int row, int col) in read()
290 RGB tmp = rgb.at<RGB>(row, col); in read()
291 return RGB(tmp[2], tmp[1], tmp[0]); in read()
299 RGB read(const Mat& rgb, int row, int col) in read()
302 return RGB(rgba[0], rgba[1], rgba[2]); in read()
310 RGB read(const Mat& rgb, int row, int col) in read()
313 return RGB(rgba[2], rgba[1], rgba[0]); in read()
322 RGB convert(YUV yuv) in convert()
331 return RGB(r, g, b); in convert()
347 YUV convert(RGB rgb) in convert()