I want to a dense feature matching in two images. Is there openCV function which allows me to do that?

asked 2019-07-05 15:21:16 -0600

Daman gravatar image

updated 2019-07-09 21:53:45 -0600

supra56 gravatar image

I can see there are implementations of feature descriptors like SIFT, SURF in OpenCV but they extract sparse key points on the images. I want to do a dense feature matching in two images.

My approach: I can fetch the keypoints on the images this way and now I need to compute the descriptors of these keypoints.

step_size = 2
keypoint = [cv2.KeyPoint(x, y, step_size) for y in range(0, img1.shape[0], step_size) 
for x in range(0, img1.shape[1], step_size)]
edit retag flag offensive close merge delete

Comments

imho, there isn't more "magic" to it, than you already found ;(

berak gravatar imageberak ( 2019-07-05 15:28:14 -0600 )edit

WHY are you trying to do this ? what is the final goal ?

berak gravatar imageberak ( 2019-07-10 02:25:27 -0600 )edit