Home | History | Annotate | Download | only in filters

Lines Matching defs:wb

19 void estmateWhite(unsigned char *src, int len, int *wr, int *wb, int *wg){
94 *wb = sum15g/count15g;
97 *wg = *wb = *wr=255;
101 void estmateWhiteBox(unsigned char *src, int iw, int ih, int x,int y, int *wr, int *wb, int *wg){
128 *wb = b/sum;
140 int wb;
143 estmateWhite(rgb,len,&wr,&wg,&wb);
145 estmateWhiteBox(rgb, width, height,locX,locY,&wr,&wg,&wb);
147 int min = MIN(wr, MIN(wg, wb));
148 int max = MAX(wr, MAX(wg, wb));
152 float scaleB = avg/wb;