This commit is contained in:
Dawid_Kreft 2020-05-04 00:12:54 +02:00
parent ff25696424
commit 370d99cb8e
2 changed files with 1 additions and 47 deletions

View File

@ -14,21 +14,7 @@ EdgeRoberts::EdgeRoberts(PNM* img, ImageViewer* iv) :
void EdgeRoberts::prepareMatrices()
{
int size = 3;
math::matrix<float> mask(size, size);
mask[0][0] = 1;
mask[1][1] = 1;
mask[2][2] = 1;
this->g_x = math::matrix<float>(size,size);
g_x[0][0] = 1;
g_x[1][1] = 1;
g_x[2][2] = 1;
g_x = mask;
qDebug() << Q_FUNC_INFO << "Not implemented yet!";
}

View File

@ -1,32 +0,0 @@
#include "edge_roberts.h"
EdgeRoberts::EdgeRoberts(PNM* img) :
EdgeGradient(img)
{
prepareMatrices();
}
EdgeRoberts::EdgeRoberts(PNM* img, ImageViewer* iv) :
EdgeGradient(img, iv)
{
prepareMatrices();
}
void EdgeRoberts::prepareMatrices()
{
int size = 3;
this->g_x = math::matrix<float>(size,size);
g_x[0][0] = 1;
g_x[1][1] = 1;
g_x[2][2] = 1;
qDebug() << Q_FUNC_INFO << "Not implemented yet!";
}