test_math_erodeCommandTest.h 401 Bytes
Newer Older
Ahmed's avatar
Ahmed committed
1
2
3
4
5
6
7
8
9
10
11
#ifndef TEST_MATH_ERODECOMMANDTEST
#define TEST_MATH_ERODECOMMANDTEST
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#include "armadillo"
#include "opencv2/imgproc.hpp"
using namespace arma;
using namespace cv;
class test_math_erodeCommandTest{
public:
12
13
mat arrayIn;
mat arrayOut;
Ahmed's avatar
Ahmed committed
14
15
void init()
{
16
17
arrayIn=mat(n,m);
arrayOut=mat(n,m);
Ahmed's avatar
Ahmed committed
18
19
20
}
void execute()
{
21
arrayOut = (erode(arrayIn));
Ahmed's avatar
Ahmed committed
22
23
24
25
}

};
#endif