Perform coordinate transformations on partitioned images to match feature points of two images
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2012-3-26
I can't see your images, just some ad for a web hosting service. Try tinypic.com instead.
4 个评论
Image Analyst
2012-3-26
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!