Go to the source code of this file.
Defines |
#define | getPixel(img_ptr, pix_x, pix_y, color_r, color_g, color_b) |
Define Documentation
#define getPixel |
( |
|
img_ptr, |
|
|
|
pix_x, |
|
|
|
pix_y, |
|
|
|
color_r, |
|
|
|
color_g, |
|
|
|
color_b |
|
) |
| |
Value:{ color_r = img_ptr[step*pix_y + pix_x*3 + 0]; \
color_g = img_ptr[step*pix_y + pix_x*3 + 1]; \
color_b = img_ptr[step*pix_y + pix_x*3 + 2]; }