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
00046 #ifndef RAPP_THRESH_H
00047 #define RAPP_THRESH_H
00048
00049 #include <stdint.h>
00050 #include "rapp_export.h"
00051
00052 #ifdef __cplusplus
00053 extern "C" {
00054 #endif
00055
00056
00057
00058
00059
00060
00061
00075 RAPP_EXPORT int
00076 rapp_thresh_gt_u8(uint8_t *restrict dst, int dst_dim,
00077 const uint8_t *restrict src, int src_dim,
00078 int width, int height, int thresh);
00079
00093 RAPP_EXPORT int
00094 rapp_thresh_lt_u8(uint8_t *restrict dst, int dst_dim,
00095 const uint8_t *restrict src, int src_dim,
00096 int width, int height, int thresh);
00097
00112 RAPP_EXPORT int
00113 rapp_thresh_gtlt_u8(uint8_t *restrict dst, int dst_dim,
00114 const uint8_t *restrict src, int src_dim,
00115 int width, int height, int low, int high);
00116
00131 RAPP_EXPORT int
00132 rapp_thresh_ltgt_u8(uint8_t *restrict dst, int dst_dim,
00133 const uint8_t *restrict src, int src_dim,
00134 int width, int height, int low, int high);
00135
00150 RAPP_EXPORT int
00151 rapp_thresh_gt_pixel_u8(uint8_t *restrict dst, int dst_dim,
00152 const uint8_t *restrict src, int src_dim,
00153 const uint8_t *restrict thresh, int thresh_dim,
00154 int width, int height);
00155
00170 RAPP_EXPORT int
00171 rapp_thresh_lt_pixel_u8(uint8_t *restrict dst, int dst_dim,
00172 const uint8_t *restrict src, int src_dim,
00173 const uint8_t *restrict thresh, int thresh_dim,
00174 int width, int height);
00175
00192 RAPP_EXPORT int
00193 rapp_thresh_gtlt_pixel_u8(uint8_t *restrict dst, int dst_dim,
00194 const uint8_t *restrict src, int src_dim,
00195 const uint8_t *restrict low, int low_dim,
00196 const uint8_t *restrict high, int high_dim,
00197 int width, int height);
00198
00215 RAPP_EXPORT int
00216 rapp_thresh_ltgt_pixel_u8(uint8_t *restrict dst, int dst_dim,
00217 const uint8_t *restrict src, int src_dim,
00218 const uint8_t *restrict low, int low_dim,
00219 const uint8_t *restrict high, int high_dim,
00220 int width, int height);
00221
00224 #ifdef __cplusplus
00225 };
00226 #endif
00227
00228 #endif