Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Alignment

When recording images of biological objects over a longer period of time there is often a drift in the images. Could anyone give me some hints how to program an image alignment routine with LabVIEW/IMAQ ?
0 Kudos
Message 1 of 2
(3,464 Views)
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
Message 2 of 2
(3,464 Views)