i need to perform homography matching for multiple images ,how can i pass multiple image for the matching?

asked 2017-10-06 05:07:20 -0600

usuf gravatar image

updated 2017-10-06 05:14:42 -0600

berak gravatar image

we have tutorial for single image homograpgy matching.....i have folder that contain some 100 images i need pass that all images and compare that with one reference image how can i do that one....any one please ans me? here the tuto for single image . link text

edit retag flag offensive close merge delete

Comments

what are you trying to achieve ? what is the goal of it ?

(it sounds like the umpteenth attempt at abusing this for object detection)

berak gravatar imageberak ( 2017-10-06 05:16:25 -0600 )edit

the above one we have to pass two image one is source and another one is matching file....during run time the matching file compare with source file if perfect matches found it shows the homography modal.... i my case i have to pass multiple images as source file and only one match file so run time it compare all the images with match file and produce homography match if matches found...

usuf gravatar imageusuf ( 2017-10-06 10:36:11 -0600 )edit

i might misunderstand you here:

"pass that all images and compare that with one reference image"

but right now, i'd say - your plan is broken. finding a homography is for when you know , that your object is in the scene, it is not for finding out if it's so or not. (that simply will not work). it's not a comparison mechanism for images.

apart from that, theres no real difference between doing that with 1 or several images. just repeat the whole process, over and over.

berak gravatar imageberak ( 2017-10-07 02:25:12 -0600 )edit

Mat img_object = imread( argv[1], IMREAD_GRAYSCALE ); Mat img_scene = imread( argv[2], IMREAD_GRAYSCALE );

here pass single image via scene instead of that i need to pass multiple images in the "scene" is it possible?

usuf gravatar imageusuf ( 2017-10-08 22:55:48 -0600 )edit