testing_model_modelColor.h 571 Bytes
Newer Older
Christoph Richter's avatar
Christoph Richter committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef TESTING_MODEL_MODELCOLOR
#define TESTING_MODEL_MODELCOLOR
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#include "armadillo.h"
using namespace arma;
class testing_model_modelColor{
const int width = 640;
const int height = 480;
public:
imat red;
imat green;
imat blue;
imat alpha;
void init()
{
red=imat(width,height);
green=imat(width,height);
blue=imat(width,height);
alpha=imat(width,height);
}
void execute()
{
red = (zeros<mat>(640, 480));
green = (zeros<mat>(640, 480));
blue = (zeros<mat>(640, 480));
alpha = (zeros<mat>(640, 480));
}

};
#endif