![]() |
![]() |
Functions | |
void | IMG_thr_le2min_8 (const unsigned char *in_data, unsigned char *restrict out_data, short cols, short rows, unsigned char threshold) |
void IMG_thr_le2min_8 | ( | const unsigned char * | in_data, | |
unsigned char *restrict | out_data, | |||
short | cols, | |||
short | rows, | |||
unsigned char | threshold | |||
) |
in_data | Input image pointer | |
out_data | Output image pointer | |
cols | Number of columns in the image | |
rows | Number of rows in the image | |
threshold | The (unsigned 8-bit) threshold |
255_| | / | / O | / U | / T th _|. . . . . / P | | U | | T | | | | 0_|_________|__________ | | | 0 th 255 INPUT
31 24 16 8 0 +----+----+----+----+ p3p2p1p0 | p3 | p2 | p1 | p0 | +----+----+----+----+
31 24 16 8 0 +----+----+----+----+ thththth | th | th | th | th | +----+----+----+----+