Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image panorama - why not working

Hi, i would like make an image panorama. My program reads two pictures, it extracts the left-top corner (10x10 pixels) from the second picture, finds this pattern in the first picture (it gives the position) and concatenates and overlaps the two pictures from the given position. But it doesn't work. What's the problem? Can somebody fix it?

0 Kudos
Message 1 of 3
(4,369 Views)

Technically IMAQ Find Pattern requires 8 bit image, but you have RGB - therefore this doesn't work. You need to convert your images to grayscale first.

By the way - proposed algorithm is not the best for panorama creation.

 

Andrey.

 

0 Kudos
Message 2 of 3
(4,359 Views)

Hello,

 

try looking at SIFT (SURF, MSER) descriptors and HOMOGRAPHY.

 

Example of SIFT (+ homography) and SURF for Labview can be found here (from OpenCV):

 

https://decibel.ni.com/content/blogs/kl3m3n

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 3 of 3
(4,350 Views)