source: trunk/MagicSoft/Cosy/videodev/Filter.h@ 745

Last change on this file since 745 was 738, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 747 bytes
Line 
1#ifndef FILTER_H
2#define FILTER_H
3
4class Filter
5{
6 static void DrawBox(const int x1, const int y1,
7 const int x2, const int y2,
8 char *buffer, const int col);
9
10 static void MarkPoint(const int x, const int y,
11 char *buffer, const int col);
12
13 static float Mean(const char *buffer, const int offset,
14 int *min, int *max);
15
16 static float SDev(const char *buffer, const int offset,
17 const double mean);
18
19 static int GetMeanPosition(const char *bitmap,
20 const int x, const int y,
21 const int box);
22
23public:
24 static void Execute(char *img);
25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.