How can I Align two images by using specifc coordinates of an object automatically?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Brink Azoa
am 26 Jan. 2016
Bearbeitet: Brink Azoa
am 8 Mär. 2016
I have a reference image, and a scanned image(for example). The scanned image does not have the same position as the reference image, how can I align them by using the black box on the left side of the reference image? I have the coordinates of the black boxes on the reference image, while the scanned image is unknown. I want it to align automatically after scanning the image. Thank you
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 26 Jan. 2016
You can use imregister().
8 Kommentare
Image Analyst
am 27 Jan. 2016
Of course, imrotate() works regardless if any boxes are shaded or not. Not sure what you're referring to when you say that.
If the presence of user-drawn stuff on the form confuses the imregister, then locate the registration set of bars on the left and make everything else white. Then call imregtform() to figure out the transformation, and then apply it to the original picture.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!