![]() |
![]() |
Functions | |
int | IMG_perimeter_8 (const unsigned char *restrict in, int cols, unsigned char *restrict out) |
int IMG_perimeter_8 | ( | const unsigned char *restrict | in, | |
int | cols, | |||
unsigned char *restrict | out | |||
) |
in | Pointer to middle row of three-row input image data | |
cols | Width of the input image data | |
out | Output data pointer |
_____________________________ | | | | | | px_up | | |_________|_________|_________| | | | | | px_lft | px_cent | px_rgt | |_________|_________|_________| | | | | | | pix_dn | | |_________|_________|_________|
px_up: top pixel px_lft: left pixel px_rgt: right pixel px_dn: bottom pixel