00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __TLMORPH_H__
00018 #define __TLMORPH_H__
00019
00020
00021
00022 #include "tlVision.h"
00023
00024
00025
00026
00027 int tl_thin (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest);
00028 int tl_thin_hitandmiss (tlPixel *src, int width, int height, tlPixel *kernel, tlRect *rect, tlPixel *dest);
00029
00030
00031 int tl_erode_all (tlPixel *src, int width, int height, int pixel_width, int size, tlRect *rect, tlPixel *dest);
00032 int tl_erode_gray (tlPixel *src, int width, int height, int size, tlRect *rect, tlPixel *dest);
00033 int tl_erode_bin (tlPixel *src, int width, int height, int size, tlRect *rect, tlPixel *dest);
00034
00035
00036 int tl_dilate_all (tlPixel *src, int width, int height, int pixel_width, int size, tlRect *rect, tlPixel *dest);
00037 int tl_dilate_gray (tlPixel *src, int width, int height, int size, tlRect *rect, tlPixel *dest);
00038 int tl_dilate_bin (tlPixel *src, int width, int height, int size, tlRect *rect, tlPixel *dest);
00039
00040
00041
00042 #endif