Hi Mino,
you could use the pattern matching functions.
- Locate an area in your image that contains a particular shape
- Use the imaging function to improve as much as possible the boundaries of the choosen shape and save it in a file. This will be your template image.
- Use the pattern matching functions to locate your template image in your different images. The pattern matching returns also the posision of the template image found on your whole image. Use this value to determine image shifting.
If you want the to re-align a portion of your image use the function IMAQ Set Offset.
Take a look at the Pattern Matching examples included in IMAQ Vision.
Good luck,
Alberto