How can I manually convolve the laplacian kernel?

1 次查看(过去 30 天)
I've been reading that the Laplacian operator is the sum of two "second order derivatives", Ixx and Iyy.
But I've also seen several places where the Laplacian kernel is listed as one of following:
Because convolution is associative, I've been testing out creating my own Laplacian kernel via the following:
laplaceKern = conv2(xkern, xkern) + conv2(ykern, ykern)
But this produces a kernel as so:
I can't seem to arrive at either of the aforementioned accepted laplacian kernels via convolution. What am I missing?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by