rc_thresh.h File Reference

RAPP Compute layer thresholding to binary. More...

Go to the source code of this file.

Functions

RC_EXPORT void rc_thresh_gt_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int thresh)
 Single thresholding greater-than.
RC_EXPORT void rc_thresh_lt_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int thresh)
 Single thresholding less-than.
RC_EXPORT void rc_thresh_gtlt_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int low, int high)
 Double thresholding greater-than AND less-than.
RC_EXPORT void rc_thresh_ltgt_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int low, int high)
 Double thresholding less-than OR greater-than.
RC_EXPORT void rc_thresh_gt_pixel_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict thresh, int thresh_dim, int width, int height)
 Pixelwise single thresholding greater-than.
RC_EXPORT void rc_thresh_lt_pixel_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict thresh, int thresh_dim, int width, int height)
 Pixelwise single thresholding less-than.
RC_EXPORT void rc_thresh_gtlt_pixel_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict low, int low_dim, const uint8_t *restrict high, int high_dim, int width, int height)
 Pixelwise double thresholding greater-than AND less-than.
RC_EXPORT void rc_thresh_ltgt_pixel_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict low, int low_dim, const uint8_t *restrict high, int high_dim, int width, int height)
 Pixelwise double thresholding less-than OR greater-than.

Detailed Description

RAPP Compute layer thresholding to binary.


Function Documentation

RC_EXPORT void rc_thresh_gt_pixel_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  thresh,
int  thresh_dim,
int  width,
int  height 
)

Pixelwise single thresholding greater-than.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
[in] thresh Threshold pixel buffer.
thresh_dim Row dimension of the threshold buffer.
width Image width in pixels.
height Image height in pixels.
RC_EXPORT void rc_thresh_gt_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height,
int  thresh 
)

Single thresholding greater-than.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
width Image width in pixels.
height Image height in pixels.
thresh Threshold value.
RC_EXPORT void rc_thresh_gtlt_pixel_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  low,
int  low_dim,
const uint8_t *restrict  high,
int  high_dim,
int  width,
int  height 
)

Pixelwise double thresholding greater-than AND less-than.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension in bytes of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension in bytes of the source buffer.
[in] low Lower threshold pixel buffer.
low_dim Row dimension in bytes of the lower threshold buffer.
[in] high Higher threshold pixel buffer.
high_dim Row dimension in bytes of the higher threshold buffer.
width Image width in pixels.
height Image height in pixels.
RC_EXPORT void rc_thresh_gtlt_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height,
int  low,
int  high 
)

Double thresholding greater-than AND less-than.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
width Image width in pixels.
height Image height in pixels.
low Low threshold.
high High threshold.
RC_EXPORT void rc_thresh_lt_pixel_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  thresh,
int  thresh_dim,
int  width,
int  height 
)

Pixelwise single thresholding less-than.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
[in] thresh Threshold pixel buffer.
thresh_dim Row dimension of the threshold buffer.
width Image width in pixels.
height Image height in pixels.
RC_EXPORT void rc_thresh_lt_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height,
int  thresh 
)

Single thresholding less-than.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
width Image width in pixels.
height Image height in pixels.
thresh Threshold value.
RC_EXPORT void rc_thresh_ltgt_pixel_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  low,
int  low_dim,
const uint8_t *restrict  high,
int  high_dim,
int  width,
int  height 
)

Pixelwise double thresholding less-than OR greater-than.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension in bytes of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension in bytes of the source buffer.
[in] low Lower threshold pixel buffer.
low_dim Row dimension in bytes of the lower threshold buffer.
[in] high Higher threshold pixel buffer.
high_dim Row dimension in bytes of the higher threshold buffer.
width Image width in pixels.
height Image height in pixels.
RC_EXPORT void rc_thresh_ltgt_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height,
int  low,
int  high 
)

Double thresholding less-than OR greater-than.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
width Image width in pixels.
height Image height in pixels.
low Low threshold.
high High threshold.

Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1