It depends entirely upon what you intend to do with convolution/correlation. That page is a basic example intended to demonstrate the concept, so they're using that kernel because the uniqueness of its values aid in clarity when explaining the math and symmetry. The filter kernel in this case is magic(3), but you could use filters from fspecial() or elsewhere depending on the intent.
How to get the Kernel
12 次查看(过去 30 天)
显示 更早的评论

Hi..
Anyone know how to get the Kernal in our data set image (Dicom Format)
The example is in the red box.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!