00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024
00025 #ifndef __FLGR_MORPHO_BASE_SEGMENT_H
00026 #define __FLGR_MORPHO_BASE_SEGMENT_H
00027
00028 #include <flgrCoreDll.h>
00029 #include <flgrCoreErrors.h>
00030 #include <flgrCoreTypes.h>
00031 #include <flgrCoreData.h>
00032
00033
00034
00035
00036 EXPORT_LIB FLGR_Ret flgr1d_dilate_line(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00037 EXPORT_LIB FLGR_Ret flgr1d_erode_line(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00038
00039 EXPORT_LIB FLGR_Ret flgr1d_open_line(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00040 EXPORT_LIB FLGR_Ret flgr1d_close_line(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00041
00042 EXPORT_LIB FLGR_Ret flgr1d_open_tophat_line(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00043 EXPORT_LIB FLGR_Ret flgr1d_close_tophat_line(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00044
00045 EXPORT_LIB void flgr1d_dilate_line_fgBIT(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00046 EXPORT_LIB void flgr1d_dilate_line_fgUINT8(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00047 EXPORT_LIB void flgr1d_dilate_line_fgUINT16(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00048 EXPORT_LIB void flgr1d_dilate_line_fgUINT32(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00049 EXPORT_LIB void flgr1d_dilate_line_fgINT8(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00050 EXPORT_LIB void flgr1d_dilate_line_fgINT16(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00051 EXPORT_LIB void flgr1d_dilate_line_fgINT32(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00052 EXPORT_LIB void flgr1d_dilate_line_fgFLOAT32(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00053 EXPORT_LIB void flgr1d_dilate_line_fgFLOAT64(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00054
00055 EXPORT_LIB void flgr1d_erode_line_fgBIT(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00056 EXPORT_LIB void flgr1d_erode_line_fgUINT8(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00057 EXPORT_LIB void flgr1d_erode_line_fgUINT16(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00058 EXPORT_LIB void flgr1d_erode_line_fgUINT32(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00059 EXPORT_LIB void flgr1d_erode_line_fgINT8(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00060 EXPORT_LIB void flgr1d_erode_line_fgINT16(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00061 EXPORT_LIB void flgr1d_erode_line_fgINT32(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00062 EXPORT_LIB void flgr1d_erode_line_fgFLOAT32(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00063 EXPORT_LIB void flgr1d_erode_line_fgFLOAT64(FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int sesize_x);
00064
00065
00066
00067
00068 EXPORT_LIB FLGR_Ret flgr2d_dilate_line_horizontal(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00069 EXPORT_LIB FLGR_Ret flgr2d_erode_line_horizontal(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00070
00071 EXPORT_LIB FLGR_Ret flgr2d_dilate_rectangle(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x, int sesize_y);
00072 EXPORT_LIB FLGR_Ret flgr2d_erode_rectangle(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x, int sesize_y);
00073
00074 EXPORT_LIB FLGR_Ret flgr2d_open_line_horizontal(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x);
00075 EXPORT_LIB FLGR_Ret flgr2d_close_line_horizontal(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x);
00076
00077 EXPORT_LIB FLGR_Ret flgr2d_open_rectangle(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00078 EXPORT_LIB FLGR_Ret flgr2d_close_rectangle(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00079
00080 EXPORT_LIB FLGR_Ret flgr2d_open_tophat_line_horizontal(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x);
00081 EXPORT_LIB FLGR_Ret flgr2d_close_tophat_line_horizontal(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x);
00082
00083 EXPORT_LIB FLGR_Ret flgr2d_open_tophat_rectangle(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00084 EXPORT_LIB FLGR_Ret flgr2d_close_tophat_rectangle(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00085
00086 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgBIT(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00087 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgUINT8(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00088 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgUINT16(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00089 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgUINT32(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00090 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgINT8(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00091 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgINT16(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00092 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgINT32(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00093 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgFLOAT32(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00094 EXPORT_LIB void flgr2d_dilate_line_horizontal_fgFLOAT64(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00095
00096 EXPORT_LIB void flgr2d_erode_line_horizontal_fgBIT(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00097 EXPORT_LIB void flgr2d_erode_line_horizontal_fgUINT8(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00098 EXPORT_LIB void flgr2d_erode_line_horizontal_fgUINT16(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00099 EXPORT_LIB void flgr2d_erode_line_horizontal_fgUINT32(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00100 EXPORT_LIB void flgr2d_erode_line_horizontal_fgINT8(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00101 EXPORT_LIB void flgr2d_erode_line_horizontal_fgINT16(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00102 EXPORT_LIB void flgr2d_erode_line_horizontal_fgINT32(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00103 EXPORT_LIB void flgr2d_erode_line_horizontal_fgFLOAT32(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00104 EXPORT_LIB void flgr2d_erode_line_horizontal_fgFLOAT64(FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int sesize_x);
00105
00106 EXPORT_LIB void flgr2d_dilate_rectangle_fgBIT(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00107 EXPORT_LIB void flgr2d_dilate_rectangle_fgUINT8(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00108 EXPORT_LIB void flgr2d_dilate_rectangle_fgUINT16(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00109 EXPORT_LIB void flgr2d_dilate_rectangle_fgUINT32(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00110 EXPORT_LIB void flgr2d_dilate_rectangle_fgINT8(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00111 EXPORT_LIB void flgr2d_dilate_rectangle_fgINT16(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00112 EXPORT_LIB void flgr2d_dilate_rectangle_fgINT32(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00113 EXPORT_LIB void flgr2d_dilate_rectangle_fgFLOAT32(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00114 EXPORT_LIB void flgr2d_dilate_rectangle_fgFLOAT64(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00115
00116 EXPORT_LIB void flgr2d_erode_rectangle_fgBIT(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00117 EXPORT_LIB void flgr2d_erode_rectangle_fgUINT8(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00118 EXPORT_LIB void flgr2d_erode_rectangle_fgUINT16(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00119 EXPORT_LIB void flgr2d_erode_rectangle_fgUINT32(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00120 EXPORT_LIB void flgr2d_erode_rectangle_fgINT8(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00121 EXPORT_LIB void flgr2d_erode_rectangle_fgINT16(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00122 EXPORT_LIB void flgr2d_erode_rectangle_fgINT32(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00123 EXPORT_LIB void flgr2d_erode_rectangle_fgFLOAT32(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00124 EXPORT_LIB void flgr2d_erode_rectangle_fgFLOAT64(FLGR_Data2D *imgdest, FLGR_Data2D *imgsrc, int sesize_x, int sesize_y);
00125
00126 #endif
00127
00128 #ifdef __cplusplus
00129 }
00130 #endif
00131
00132
00133