Finding the point which has the maximum correlation of two images
2 ビュー (過去 30 日間)
古いコメントを表示
How to find the point which has the maximum correlation of two images. I had found the program for correlation of two similar images already. The output is below image. But now, I have to know the point at which the correlation is maximum.

Please let me know. Thanks in advance.
0 件のコメント
回答 (1 件)
Matt J
2021 年 7 月 13 日
編集済み: Matt J
2021 年 7 月 13 日
One way,
[i,j]=find(image==max(image(:)));
2 件のコメント
AHMED FARZEEN THALAYAN KANDY
2021 年 7 月 23 日
Could you help in finding the displacement across x and y direction and the angle of deflection between the two images? This needs to be included in the program...
Matt J
2021 年 7 月 23 日
If there is both translation and rotation, you are better off using imregtform,
[optimizer, metric] = imregconfig('multimodal');
tform = imregtform(moving,fixed,'rigid',optimizer,metric)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!