getmask implemented in gauss
This commit is contained in:
parent
7ae6e9433c
commit
f9af87a5d5
@ -25,7 +25,9 @@ math::matrix<float> BlurGaussian::getMask(int size, Mode)
|
|||||||
{
|
{
|
||||||
math::matrix<float> mask(size, size);
|
math::matrix<float> mask(size, size);
|
||||||
|
|
||||||
qDebug() << Q_FUNC_INFO << "Not implemented yet!";
|
for (int i = 0; i < size; i++)
|
||||||
|
for (int j = 0; j < size; j++)
|
||||||
|
mask(i, j) = getGauss(i - radius, j - radius, sigma);
|
||||||
|
|
||||||
return mask;
|
return mask;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user