00001 #ifndef __RACFILTER_H
00002 #define __RACFILTER_H
00003
00004 #ifndef BYTE
00005 #define BYTE unsigned char
00006 #endif
00007
00016 void racMean(int width, int height, int range, BYTE *imgSrc, BYTE *imgDest, int numCh = 3);
00017
00026 void racMedian(int width, int height, int range, BYTE *imgSrc, BYTE *imgDest, int numCh = 3);
00027
00036 void racConservative(int width, int height, int range, BYTE *imgSrc, BYTE *imgDest, int numCh = 3);
00037
00046 void racGaussian(int width, int height, int nPasses, BYTE *imgSrc, BYTE *imgDest, int numCh = 3);
00047
00056 void racLoG(int width, int height, int threshold, BYTE *imgSrc, BYTE *imgDest, int numCh = 3);
00057
00058
00067 void racSobel(int width, int height, int threshold, BYTE *imgSrc, BYTE *imgDest, int numCh = 3);
00068
00077 void racThreshold(int width, int height, int k, BYTE *imgSrc, BYTE *imgDest, int numCh = 3);
00078 void racThreshold(int width, int height, int k, int *imgSrc, BYTE *imgDest, int numCh = 3);
00079
00089 void racNorm(int width, int height, BYTE *imgSrc, BYTE *imgDest, int numCh = 3, BYTE min = 0, BYTE max = 255);
00090 void racNorm(int width, int height, int *imgSrc, BYTE *imgDest, int numCh = 3, BYTE min = 0, BYTE max = 255);
00091 void racNorm(int width, int height, float *imgSrc, BYTE *imgDest, int numCh = 3, BYTE min = 0, BYTE max = 255);
00092
00100 void racInvert(int width, int height, BYTE *imgSrc, BYTE *imgDest, int numCh = 3);
00101
00111 void racDifference(int width, int height, BYTE *imgSrc1, BYTE *imgSrc2, BYTE *imgDest, int numCh = 3);
00112
00113 #endif