Perform coordinate transformations on partitioned images to match feature points of two images
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I need to code image morphing in matlab.As a part of the algorithm I need to perform coordinate transformations on the partitioned images to match the feature points of these two images. The coordinate transformations are affine transformation or bilinear transformation.
Example of two images:
Output after transformation:
Equations for the coordinates transformation: http://www.crocko.com/B7A01EC313684CEBB00CD416EF9FD0CA/affine_eq.jpg http://www.crocko.com/1859259A957A4C71A0C58CD0C0079164/bilinear_eq.jpg
The question is how to code the transform in matlab? Does anybody can share an idea or similar made code to perform the necessary coordinates transformation on two images in loop and to get the results above?
0 comentarios
Respuesta aceptada
Image Analyst
el 26 de Mzo. de 2012
I can't see your images, just some ad for a web hosting service. Try tinypic.com instead.
4 comentarios
Image Analyst
el 26 de Mzo. de 2012
I don't know. You'd probably have to write your own code that took input control points and then output (destination) points for them, then call imtransform. You could use ginput() to ask the user to click the points that you want to move.
Más respuestas (0)
Ver también
Categorías
Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!