Altomare Posted July 15, 2008 Report Share Posted July 15, 2008 Hi, I have 2 images: the 1st one is my reference (template) the 2nd is an image of the same object but it is traslated (dx, dy) and rotated (alpha). I need to calculate dx,dy and alpha in order to reposition the image over my template. I was thinking to use rototraslation matrix to calculate the parameters. Do you know some algorythm for this kind of application? Thanks a lot. Quote Link to comment
LAVA 1.0 Content Posted July 15, 2008 Report Share Posted July 15, 2008 QUOTE (Altomare @ Jul 14 2008, 03:26 PM) Hi, I have 2 images: the 1st one is my reference (template) the 2nd is an image of the same object but it is traslated (dx, dy) and rotated (alpha). I need to calculate dx,dy and alpha in order to reposition the image over my template. I was thinking to use rototraslation matrix to calculate the parameters. Do you know some algorythm for this kind of application? Thanks a lot. Hello, There is such functions in the IMAQ toolkit, it's called "IMAQ match pattern 2" and lets you specify if you expect your object to only translate, only rotate or do both. There are exemples that ships with the toolkit to demonstrate how to use this function. http://lavag.org/old_files/monthly_07_2008/post-7452-1216043150.png' target="_blank"> Hope this helps Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.