We are about to switch to a new forum software. Until then we have removed the registration on this forum.
[Skærmbillede 2014-06-23 kl. 16.57.26]
"Skærmbillede 2014-06-23 kl. 16.57.26")
[Skærmbillede 2014-06-23 kl. 16.57.11](
"Skærmbillede 2014-06-23 kl. 16.57.11")
and again, please paste code, not screenshots of code.
so the method is the convolution matrix?
kernel is the actual matrix. you'll notice that the actual code for the two is IDENTICAL, it's the kernel that makes the difference.
the outer two loops loop over each pixel of the image
the inner two loops loop over the matrix applying it to the current position.
the loop contents are just the calculation (a sum of the weighted pixels) and setting of the result pixel
exactly as it says here: http://en.wikipedia.org/wiki/Kernel_(image_processing)#Convolution