MATLAB Answers

How to get the Kernel

2 views (last 30 days)
mohd akmal masud
mohd akmal masud on 30 Apr 2021
Edited: DGM on 30 Apr 2021
Hi..
Anyone know how to get the Kernal in our data set image (Dicom Format)
The example is in the red box.

Accepted Answer

DGM
DGM on 30 Apr 2021
Edited: DGM on 30 Apr 2021
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!