RAPP Compute layer binary image moments. More...
Go to the source code of this file.
Functions | |
| RC_EXPORT void | rc_moment_order1_bin (const uint8_t *buf, int dim, int width, int height, uint32_t mom[3]) |
| First order binary image moments. | |
| RC_EXPORT void | rc_moment_order2_bin (const uint8_t *buf, int dim, int width, int height, uintmax_t mom[6]) |
| Second order binary image moments. | |
RAPP Compute layer binary image moments.
| RC_EXPORT void rc_moment_order1_bin | ( | const uint8_t * | buf, | |
| int | dim, | |||
| int | width, | |||
| int | height, | |||
| uint32_t | mom[3] | |||
| ) |
First order binary image moments.
| [in] | buf | Input pixel buffer. |
| dim | Row dimension of the input buffer. | |
| width | Image width in pixels. | |
| height | Image height in pixels. | |
| [out] | mom | Computed 1:st order moments. |
| RC_EXPORT void rc_moment_order2_bin | ( | const uint8_t * | buf, | |
| int | dim, | |||
| int | width, | |||
| int | height, | |||
| uintmax_t | mom[6] | |||
| ) |
Second order binary image moments.
| [in] | buf | Input pixel buffer. |
| dim | Row dimension of the input buffer. | |
| width | Image width in pixels. | |
| height | Image height in pixels. | |
| [out] | mom | Computed 2:nd order moments. |
1.6.1