Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

image stitching

How would you stitch two or more imges ? i am grabbing sequence of images in parts of an object , and need to stitch them.
Can any one could suggest an algorithm for this?
 
Komal
0 Kudos
Message 1 of 5
(4,387 Views)
Hi Komal,

I've never tried anything like this myself in LabVIEW, so I did little looking around.

Google points to a lot of white papers on the subject of image stitching.  In a quick search I couldn't find any actual mathematical formulas available for download.  But they're probably out there.

One photographer's blog pointed to this page:

http://www.kekus.com/download/index.html 

One thing I've done in the past myself is to use IrfanView through the command line interface for image manipulations in LabVIEW.  IrfanView isn't "free" for commercial use.  But it's very well priced.  It has the ability to create a Panoramic image.  But I'm not sure if this function is available through the command interface, and I can't make any claim to how well this particular function would work for your application.

Good luck.


---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 2 of 5
(4,383 Views)
Hi Komal!

A couple of other thoughts on stitching that you may find useful.
Try to slightly overlap the images by a few pixel. This makes for a better result, when trying to stitch. You can use a correlation or cross-correlation algorithm to then find similar parts in both overlapping portions and then align the image for proper merging.

Another thought, you could also use a line scan camera and create long continuous strips of images, if that is feasible for your application. That way you don't need to worry about stitching, unless you need image tiling, meaning stitching in X and Y direction.

In any case, you would have to come up with a "hand coded" algorithm, or hire a company like ours. Smiley Happy

Best,
Markus Tarin

0 Kudos
Message 3 of 5
(4,350 Views)

Hi Komal ,

I would suggest you to try the 2D FFT approach to create a panorama of 2 or more images .

since the pixel approach is highly sensitive to noise and wouldnt blend correctly.

FFT approach is highly recomendded , I have personally used this and is very efficient.

Regards,

Sundar.

0 Kudos
Message 4 of 5
(4,224 Views)
Hey
 
Here are two VIs that I've used to piece/stich images together.
 
The one pieces them together in horizontal fashion (left to right) and the other pieces them together in vertical fashion (one on top of the other).
 
Hope this helps
 
 
Download All
0 Kudos
Message 5 of 5
(4,217 Views)