SIFT between 1 image and dataset (2 images)

asked 2019-10-31 04:37:29 -0500

updated 2019-10-31 06:07:52 -0500

Hello,

I use SIFT, and I want to find the angle of inclination of an image compared to two reference images, in short:

I have 3 images :

  • Image x: input image
  • Two images 1 and 2, reference images that are very similar.

My goal is to find the angle of rotation between the image x and a combination between the two images 1 and 2. My problem is that I dont know how to combine the two images of the database to compare them with to the image x.

The purpose of the combination is to extract a vector Keypoints and Mat descriptor from the 2 keypoint vectors and the 2 Mat descriptors

image description

And thank you.

edit retag flag offensive close merge delete

Comments

1

I dont know how to combine the two images of the database to compare them with to the image x.

and probably noone else knows, because it is entirely unclear, what should happen and why.

what are you trying to achieve ? what is the goal of it ? why is there an "image x" even ?

berak gravatar imageberak ( 2019-10-31 05:33:08 -0500 )edit

Image 1 and 2 are the same image, with a difference in scale or angle, I want to extract keypoint and descriptor from the two images, then I will have keypoint1 and descriptor1 from the first image and keypoint2 and descriptor2 from the second image, what I want is to use the 2 keypoints and the 2 descriptors to find rotation of this image (combination of image 1 and 2 ) in a video stream(Image x). i know that i can only use one image. but i have to do it this way.

Kitnos gravatar imageKitnos ( 2019-10-31 05:47:12 -0500 )edit

Sorry my diagram was not very clear i edit it now

Kitnos gravatar imageKitnos ( 2019-10-31 06:01:13 -0500 )edit

this still looks like a classic XY problem.

berak gravatar imageberak ( 2019-10-31 06:45:20 -0500 )edit