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

Last change on this file since 1246 was 1111, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 845 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 int *min, int *max);
21
22 static float SDev(const byte *buffer, const int offset,
23 const double mean);
24
25 static int GetMeanPosition(const byte *bitmap,
26 const int x, const int y,
27 const int box);
28
29public:
30 static void Execute(byte *img);
31
32 ClassDef(Filter, 0)
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.