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

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