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
00088 #ifndef RAPP_MORPH_BIN_H
00089 #define RAPP_MORPH_BIN_H
00090
00091 #include <stdint.h>
00092 #include "rapp_export.h"
00093
00094 #ifdef __cplusplus
00095 extern "C" {
00096 #endif
00097
00098
00099
00100
00101
00102
00103
00104
00114 RAPP_EXPORT int
00115 rapp_morph_worksize_bin(int width, int height);
00116
00117
00134 RAPP_EXPORT int
00135 rapp_morph_erode_rect_bin(uint8_t *restrict dst, int dst_dim,
00136 const uint8_t *restrict src, int src_dim,
00137 int width, int height, int wrect, int hrect,
00138 void *restrict work);
00139
00156 RAPP_EXPORT int
00157 rapp_morph_dilate_rect_bin(uint8_t *restrict dst, int dst_dim,
00158 const uint8_t *restrict src, int src_dim,
00159 int width, int height, int wrect, int hrect,
00160 void *restrict work);
00161
00176 RAPP_EXPORT int
00177 rapp_morph_erode_diam_bin(uint8_t *restrict dst, int dst_dim,
00178 const uint8_t *restrict src, int src_dim,
00179 int width, int height, int radius,
00180 void *restrict work);
00181
00196 RAPP_EXPORT int
00197 rapp_morph_dilate_diam_bin(uint8_t *restrict dst, int dst_dim,
00198 const uint8_t *restrict src, int src_dim,
00199 int width, int height, int radius,
00200 void *restrict work);
00201
00216 RAPP_EXPORT int
00217 rapp_morph_erode_oct_bin(uint8_t *restrict dst, int dst_dim,
00218 const uint8_t *restrict src, int src_dim,
00219 int width, int height, int radius,
00220 void *restrict work);
00221
00236 RAPP_EXPORT int
00237 rapp_morph_dilate_oct_bin(uint8_t *restrict dst, int dst_dim,
00238 const uint8_t *restrict src, int src_dim,
00239 int width, int height, int radius,
00240 void *restrict work);
00241
00256 RAPP_EXPORT int
00257 rapp_morph_erode_disc_bin(uint8_t *restrict dst, int dst_dim,
00258 const uint8_t *restrict src, int src_dim,
00259 int width, int height, int radius,
00260 void *restrict work);
00261
00276 RAPP_EXPORT int
00277 rapp_morph_dilate_disc_bin(uint8_t *restrict dst, int dst_dim,
00278 const uint8_t *restrict src, int src_dim,
00279 int width, int height, int radius,
00280 void *restrict work);
00281
00282 #ifdef __cplusplus
00283 };
00284 #endif
00285
00286 #endif
00287