rc_fill.h File Reference

RAPP Compute layer connected-components seed fill. More...

Go to the source code of this file.

Functions

RC_EXPORT int rc_fill_4conn_fwd_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 4-connectivity seed fill forward iteration.
RC_EXPORT int rc_fill_4conn_rev_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 4-connectivity seed fill reverse iteration.
RC_EXPORT int rc_fill_8conn_fwd_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 8-connectivity seed fill forward iteration.
RC_EXPORT int rc_fill_8conn_rev_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 8-connectivity seed fill reverse iteration.

Detailed Description

RAPP Compute layer connected-components seed fill.


Function Documentation

RC_EXPORT int rc_fill_4conn_fwd_bin ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

4-connectivity seed fill forward iteration.

Parameters:
[in,out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] map Map pixel buffer.
map_dim Row dimension of the map buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of rows processed.
RC_EXPORT int rc_fill_4conn_rev_bin ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

4-connectivity seed fill reverse iteration.

Parameters:
[in,out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] map Map pixel buffer.
map_dim Row dimension of the map buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of rows processed.
RC_EXPORT int rc_fill_8conn_fwd_bin ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

8-connectivity seed fill forward iteration.

Parameters:
[in,out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] map Map pixel buffer.
map_dim Row dimension of the map buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of rows processed.
RC_EXPORT int rc_fill_8conn_rev_bin ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

8-connectivity seed fill reverse iteration.

Parameters:
[in,out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] map Map pixel buffer.
map_dim Row dimension of the map buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of rows processed.

Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1