implemented reflection matrix
This commit is contained in:
parent
09900c5117
commit
3fc16dbe8e
@ -85,7 +85,9 @@ const math::matrix<float> Convolution::reflection(const math::matrix<float> A)
|
|||||||
int size = A.rowno();
|
int size = A.rowno();
|
||||||
math::matrix<float> C(size, size);
|
math::matrix<float> C(size, size);
|
||||||
|
|
||||||
qDebug() << Q_FUNC_INFO << "Not implemented yet!";
|
for (int i=0; i < size; i++)
|
||||||
|
for (int j=0; j < size; j++)
|
||||||
|
C[i][j] = A[size-i-1][size-j-1];
|
||||||
|
|
||||||
return C;
|
return C;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user