Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Make two pictures have the centroid in the same spot
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I want to use the function imabsdiff so I can obtain the absolute difference between two pictures. The problem is that i get a size error because the centroids of the two pictures are in different positions. How can I make them both coincide, regarding the fact that the object is the same in both pictures. Thank you!
0 Kommentare
Antworten (1)
Walter Roberson
am 20 Sep. 2017
Consider imregister()
2 Kommentare
Walter Roberson
am 27 Sep. 2017
You can calculate the minimum distance between centroid and each side over the two pictures, and then crop out the extra from each image. The result should have the centroids in the same relative position.
Diese Frage ist geschlossen.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!