RAPP Compute layer contour chain code generation. More...
Go to the source code of this file.
Functions | |
RC_EXPORT int | rc_contour_4conn_bin (unsigned origin[2], char *restrict contour, int len, const uint8_t *restrict buf, int dim, int width, int height) |
4-connectivity contour chain code. | |
RC_EXPORT int | rc_contour_8conn_bin (unsigned origin[2], char *restrict contour, int len, const uint8_t *restrict buf, int dim, int width, int height) |
8-connectivity contour chain code. |
RAPP Compute layer contour chain code generation.
RC_EXPORT int rc_contour_4conn_bin | ( | unsigned | origin[2], | |
char *restrict | contour, | |||
int | len, | |||
const uint8_t *restrict | buf, | |||
int | dim, | |||
int | width, | |||
int | height | |||
) |
4-connectivity contour chain code.
[out] | origin | Start coordinate of the contour. |
[out] | contour | Chain code contour string. |
len | Length in bytes of the contour string. | |
[in] | buf | Input pixel buffer. |
dim | Row dimension of the pixel buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT int rc_contour_8conn_bin | ( | unsigned | origin[2], | |
char *restrict | contour, | |||
int | len, | |||
const uint8_t *restrict | buf, | |||
int | dim, | |||
int | width, | |||
int | height | |||
) |
8-connectivity contour chain code.
[out] | origin | Start coordinate of the contour. |
[out] | contour | Chain code contour string. |
len | Length in bytes of the contour string. | |
[in] | buf | Input pixel buffer. |
dim | Row dimension of the pixel buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |