22 int IP_CAMWIDTH, IP_CAMHEIGHT, IP_CAMSIZE;
29 #define MAX_IMAGE_SIZE (820*620)
30 #define MAX_CONTOUR 100000
63 int IPReadFile(
char *filename, BYTE* img);
64 int IPWriteFile(
char *filename, BYTE* img);
65 int IPWriteFileGray(
char *filename, BYTE* gray);
66 int IPLaplace(BYTE* grayIn, BYTE* grayOut);
67 int IPSobel(BYTE* grayIn, BYTE* grayOut);
68 int IPCol2Gray(BYTE* imgIn, BYTE* grayOut);
69 int IPGray2Col(BYTE* imgIn, BYTE* colOut);
72 COLOR IPRGB2ColPixel(BYTE R, BYTE G, BYTE B);
73 int IPRGB2Col(BYTE* r, BYTE* g, BYTE* b, BYTE* imgOut);
76 int IPCol2HSIPixel(COLOR c, BYTE h, BYTE s, BYTE i);
78 int IPCol2HSI(BYTE* img,
float* h,
float* s,
float* i);
80 int IPOverlay(BYTE* c1, BYTE* c2, BYTE* cOut);
81 int IPOverlayGray(BYTE* g1, BYTE* g2,
int rgb, BYTE* cOut);
85 int Centroid(BYTE* Nucleus);
86 double Susan1(
int t,BYTE* Nucleus);
87 int NonMaximum(BYTE* imagein,BYTE* imageout);
88 int Susan(
int t,BYTE* imagein,BYTE* MarkCorner);
90 void HornSchunk(BYTE* grayimage1,BYTE* grayimage2,
int alpha2,
int iters,BYTE* imageout);
91 float laplace2(
float * td);
92 void IPmean(BYTE* grayIn,BYTE* grayOut);
93 void laplace_envir(
float* imagein,
float* imageout);
94 void Sobelx(BYTE* grayIn,BYTE* grayOut);
95 void Sobely(BYTE* grayIn,BYTE* grayOut);
96 void IPLOverLay(BYTE* imagein1,BYTE* imagein2,BYTE* imageout);
106 void IPL_laplace(BYTE * imageIn, BYTE * imageOut);
107 void IPL_sobel(BYTE * imageIn, BYTE * imageOut);
108 void IPL_mean(BYTE * imageIn, BYTE * imageOut);
109 void IPL_threshold(BYTE * imageIn, BYTE * imageOut, BYTE threshold);
110 void IPL_gray_stretch(BYTE * imageIn, BYTE * imageOut);
111 void IPL_gray_reduce(BYTE * imageIn, BYTE * imageOut,
int numvals);
112 void IPL_gen_histogram (BYTE * imageIn,
int *histogram);
113 void IPL_equal_histogram (BYTE * imageIn, BYTE * imageOut,
int *histogram);
114 void IPL_erosion (BYTE * imageIn, BYTE * imageOut,
char * struc);
115 void IPL_dilation (BYTE * imageIn, BYTE * imageOut,
char * struc);
116 void IPL_open (BYTE * imageIn, BYTE * imageOut,
char * struc);
117 void IPL_close (BYTE * imageIn, BYTE * imageOut,
char * struc);
118 void IPL_fill (BYTE * imageIn, BYTE * imageOut,
int x,
int y,
char * struc);
119 void IPL_connected(BYTE * imageIn, BYTE * imageOut,
int x,
int y,
char * struc);
120 void IPL_boundary(BYTE * imageIn, BYTE * imageOut,
char * struc);
121 void IPL_skeleton(BYTE * imageIn, BYTE * imageOut,
char * struc);
122 void IPL_identity(BYTE * imageIn, BYTE * imageOut);
123 int IPL_contour(BYTE * imageIn, BYTE * imageOut,
IPL_POINT * result, BYTE threshold);
124 void IPL_median(BYTE * imageIn, BYTE * imageOut);
125 void IPL_min(BYTE * imageIn, BYTE * imageOut);
126 void IPL_max(BYTE * imageIn, BYTE * imageOut);
127 void IPL_negation(BYTE * imageIn, BYTE * imageOut);
128 void IPL_difference(BYTE * image1, BYTE * image2, BYTE * imageOut);
129 void IPL_noise(BYTE * imageIn, BYTE * imageOut,
double noise);
130 int IPL_count(BYTE * imageIn, BYTE * imageOut, BYTE val);
131 int IPL_count_nobound(BYTE * imageIn, BYTE * imageOut, BYTE val);
132 void IPL_corner(BYTE * imageIn, BYTE * imageOut);
133 void IPL_and(BYTE *imageIn1, BYTE * imageIn2, BYTE *imageOut);
134 void IPL_or(BYTE *imageIn1, BYTE * imageIn2, BYTE *imageOut);
135 int IPL_equal(BYTE *imageIn1, BYTE *imageIn2);
136 int IPL_equal_nobound(BYTE *image1, BYTE *image2);
137 void IPL_showxy(BYTE *imageIn, BYTE *imageOut,
int x,
int y);
138 void IPL_dither(BYTE *imageIn, BYTE *imageOut);
139 void IPL_overlay(BYTE *imageIn1, BYTE *imageIn2, BYTE *imageOut, BYTE gray_val);
140 void IPL_region_growing(BYTE *imageIn, BYTE *imageOut,
int thresh);
141 int IPL_FindCircles(BYTE * imageIn, BYTE * imageOut,
XYDISTANCE * result);
Structure defining the IP configs.
Definition: imageProc.h:35
Defines types used for the EyeBot 7.
Structure defining an IP point.
Definition: imageProc.h:44
Structure defining a IP distance.
Definition: imageProc.h:53
int IPSetSize(int mode)
Sets the mode for the image processing.
Definition: imageProc.c:31