Finding the point which has the maximum correlation of two images
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/683678/image.png)
Please let me know. Thanks in advance.
0 comentarios
Respuestas (1)
Matt J
el 13 de Jul. de 2021
Editada: Matt J
el 13 de Jul. de 2021
One way,
[i,j]=find(image==max(image(:)));
2 comentarios
AHMED FARZEEN THALAYAN KANDY
el 23 de Jul. de 2021
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
el 23 de Jul. de 2021
If there is both translation and rotation, you are better off using imregtform,
[optimizer, metric] = imregconfig('multimodal');
tform = imregtform(moving,fixed,'rigid',optimizer,metric)
Ver también
Categorías
Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!