I'm a total newb in search of some deeper understanding, but I'm not able to read the maths behind these on Wikipedia.
If I understand correctly, you get the new value for each pixel by multiplying each of its neighbours' values by the corresponding member of the convolution kernel/matrix. For Laplacian there seem to be two commonly used such kernels:
0 -1 0
-1 4 -1
0 -1 0
and:
-1 -1 -1
-1 8 -1
-1 -1 -1
But why do they use only integers? I believe modern devices have floating point as fast as faster integer math these days.
Is this just a leftover from the past when floating point was slow and now it's become a kind of tradition? Perhaps people just re-using the old info they find from those days without deeper understanding? Or is there an actual reason why integers are used?
In fact, won't the use of integers here result in artefacting? What am I missing?