Go to the source code of this file.
Defines | |
#define | GRAY(IMAGE, X, Y) ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define | RED(IMAGE, X, Y) ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+2] |
#define | GREEN(IMAGE, X, Y) ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+1] |
#define | BLUE(IMAGE, X, Y) ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3] |
#define | HUE(IMAGE, X, Y) ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3] |
#define | SAT(IMAGE, X, Y) ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+1] |
#define | VAL(IMAGE, X, Y) ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+2] |
#define | GRAY16(IMAGE, X, Y) ((unsigned short*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define | GRAY32(IMAGE, X, Y) ((int*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define | GRAY_T(TYPE, IMAGE, X, Y) ((TYPE*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define | RED_T(TYPE, IMAGE, X, Y) ((TYPE*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+2] |
#define | GREEN_T(TYPE, IMAGE, X, Y) ((TYPE*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+1] |
#define | BLUE_T(TYPE, IMAGE, X, Y) ((TYPE*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3] |
#define | GRAY32F(IMAGE, X, Y) ((float*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define BLUE | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3] |
#define BLUE_T | ( | TYPE, | ||
IMAGE, | ||||
X, | ||||
Y | ||||
) | ((TYPE*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3] |
#define GRAY | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define GRAY16 | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((unsigned short*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define GRAY32 | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((int*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define GRAY32F | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((float*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define GRAY_T | ( | TYPE, | ||
IMAGE, | ||||
X, | ||||
Y | ||||
) | ((TYPE*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[X] |
#define GREEN | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+1] |
#define GREEN_T | ( | TYPE, | ||
IMAGE, | ||||
X, | ||||
Y | ||||
) | ((TYPE*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+1] |
#define HUE | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3] |
#define RED | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+2] |
#define RED_T | ( | TYPE, | ||
IMAGE, | ||||
X, | ||||
Y | ||||
) | ((TYPE*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+2] |
#define SAT | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+1] |
#define VAL | ( | IMAGE, | ||
X, | ||||
Y | ||||
) | ((uchar*)((IMAGE)->imageData + (IMAGE)->widthStep*(Y)))[(X)*3+2] |