HPCE / hpce-2017-cw5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gaussian Blur calculation

pufik1337 opened this issue · comments

commented

It seems that the reference execute function of the gaussian blur puzzle only takes into account the first column of the input image:

acc += contrib * pInput->pixels[yIn*pInput->width];

Consequently, the output image should be a blurred repetition of the first column - am I missing something here?

No, that's a regression on my part - I noticed it and fixed it a couple of days ago,
but when I transferred it into the new repo must have grabbed the old version,
or not copied it over.

Thanks for spotting that, it wasn't intended to be an optimisation opportunity or anything.