Scatter

Perform the Scatter operation with a binary map. More...



int rapp_scatter_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, const uint8_t *restrict pack, int width, int height)
 Scatter 8-bit pixels designated by a binary mask.



int rapp_scatter_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, const uint8_t *restrict pack, int width, int height)
 Scatter binary pixels designated by a binary mask.

Detailed Description

Perform the Scatter operation with a binary map.

All images must be aligned.

Next section: Integral Images


Function Documentation

int rapp_scatter_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
const uint8_t *restrict  pack,
int  width,
int  height 
)

Scatter 8-bit pixels designated by a binary mask.

Parameters:
[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.
[in] pack Packed pixel buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of pixels scattered, or a negative error code on error.
int rapp_scatter_bin ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
const uint8_t *restrict  pack,
int  width,
int  height 
)

Scatter binary pixels designated by a binary mask.

Parameters:
[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.
[in] pack Packed pixel buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of pixels scattered, or a negative error code on error.

Generated on 1 Jun 2016 for RAPP by  doxygen 1.6.1