Plot nonlinear correlation between two images

Hello,
I need to plot nonlinear correaltion between two images and if the images are same we get to see a sharp peak in the centre.
The formulation is : abs ( IFT( {FT(img1) FT(img2)} x {FT(img1) FT(img2)} / abs(FT(img1) FT(img2)) ) ).^2
can somebody help me realize the code to do this.
The image on left is when two images are same and o right is when they are different.
Thanksdd.png

回答 (0 件)

製品

リリース

R2014b

質問済み:

2019 年 4 月 10 日

編集済み:

2019 年 4 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by