00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __TLEDGES_H__
00018 #define __TLEDGES_H__
00019
00020
00021
00022 #define TL_EDGES_BIN 0
00023 #define TL_EDGES_MORPH 1
00024 #define TL_EDGES_SOBEL 2
00025 #define TL_EDGES_PREWITT 3
00026
00027
00028 #include "tlVision.h"
00029
00030
00031
00032 int tl_edges_bin (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest);
00033
00034
00035 int tl_edges_vert_sobel (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00036 int tl_edges_vert_prewitt (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00037
00038
00039 int tl_edges_hor_sobel (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00040 int tl_edges_hor_prewitt (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00041
00042
00043 #endif