Ältere Kommentare anzeigen

Here is a sample convolution performed with the built in function conv2. Unless I am completely crazy, this is not even close to the correct answer? Based on that image and kernel, I was expecting the output to be: [3 5 4; 9 0 6; 1 7 3]. Does anyone know of issues with conv2, or have insight to share?
Akzeptierte Antwort
Weitere Antworten (1)
Bruno Luong
am 30 Okt. 2019
1 Stimme
The answer is correct. May be you expect the result with sliding sum with unflip kernel which is of course wrong.
Kategorien
Mehr zu Image Filtering finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!