rc_moment_bin.h File Reference

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.

Detailed Description

RAPP Compute layer binary image moments.


Function Documentation

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.

Parameters:
[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.

Parameters:
[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.

Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1