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

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