00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00033 #ifndef RC_THRESH_H
00034 #define RC_THRESH_H
00035
00036 #include <stdint.h>
00037 #include "rc_export.h"
00038
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042
00043
00044
00045
00046
00047
00048
00060 RC_EXPORT void
00061 rc_thresh_gt_u8(uint8_t *restrict dst, int dst_dim,
00062 const uint8_t *restrict src, int src_dim,
00063 int width, int height, int thresh);
00064
00076 RC_EXPORT void
00077 rc_thresh_lt_u8(uint8_t *restrict dst, int dst_dim,
00078 const uint8_t *restrict src, int src_dim,
00079 int width, int height, int thresh);
00080
00093 RC_EXPORT void
00094 rc_thresh_gtlt_u8(uint8_t *restrict dst, int dst_dim,
00095 const uint8_t *restrict src, int src_dim,
00096 int width, int height, int low, int high);
00097
00110 RC_EXPORT void
00111 rc_thresh_ltgt_u8(uint8_t *restrict dst, int dst_dim,
00112 const uint8_t *restrict src, int src_dim,
00113 int width, int height, int low, int high);
00114
00127 RC_EXPORT void
00128 rc_thresh_gt_pixel_u8(uint8_t *restrict dst, int dst_dim,
00129 const uint8_t *restrict src, int src_dim,
00130 const uint8_t *restrict thresh, int thresh_dim,
00131 int width, int height);
00132
00145 RC_EXPORT void
00146 rc_thresh_lt_pixel_u8(uint8_t *restrict dst, int dst_dim,
00147 const uint8_t *restrict src, int src_dim,
00148 const uint8_t *restrict thresh, int thresh_dim,
00149 int width, int height);
00164 RC_EXPORT void
00165 rc_thresh_gtlt_pixel_u8(uint8_t *restrict dst, int dst_dim,
00166 const uint8_t *restrict src, int src_dim,
00167 const uint8_t *restrict low, int low_dim,
00168 const uint8_t *restrict high, int high_dim,
00169 int width, int height);
00170
00185 RC_EXPORT void
00186 rc_thresh_ltgt_pixel_u8(uint8_t *restrict dst, int dst_dim,
00187 const uint8_t *restrict src, int src_dim,
00188 const uint8_t *restrict low, int low_dim,
00189 const uint8_t *restrict high, int high_dim,
00190 int width, int height);
00191 #ifdef __cplusplus
00192 };
00193 #endif
00194
00195 #endif