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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190162/image.png)
But I've also seen several places where the Laplacian kernel is listed as one of following:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190163/image.png)
Because convolution is associative, I've been testing out creating my own Laplacian kernel via the following:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190164/image.png)
laplaceKern = conv2(xkern, xkern) + conv2(ykern, ykern)
But this produces a kernel as so:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190165/image.png)
I can't seem to arrive at either of the aforementioned accepted laplacian kernels via convolution. What am I missing?
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!