正規化された 2 次元相互相関について
Show older comments
onion = im2gray(imread('onion.png'));
peppers = im2gray(imread('peppers.png'));
montage({peppers,onion})
c = normxcorr2(onion,peppers);
上記プログラムはnormxcorr2の説明ページにあるプログラムです。
画像サイズが
onion:135*198画素
peppers:384*512画素
の画像の場合cの値が518*709画素となるのですが、
cの端の値がどのように計算されているのかわからないです。
中心部であればonionの画像範囲全てがpeppersの中の範囲に収まるが端の部分ではpeppersの範囲外の部分がどのように計算されて処理結果となっているのかわからないです。
足りない部分にはどのような処理が行われているのかなどが分かると助かります。
Accepted Answer
More Answers (0)
Categories
Find more on イメージの画質 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!