Ask Your Question
0

How do you compare the x and y differences of feature points in two different images

asked 2019-10-06 02:40:32 -0600

I use KeyPoint::convert to convert KeyPoint to Point2f with keypointIndexes. but two different vector<point2f>.at(i) can not correspond. How can I achieve this goal.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-10-06 03:15:08 -0600

berak gravatar image

updated 2019-10-06 03:18:29 -0600

you don't, the positions are meaningless (there can be arbitrary translation / rotation between your images)

what you do instead is - look at the texture around the keypoints, gather features from there and compare those, not the keypoints.

please have a look at the resp. tutorials , e.g. this one

edit flag offensive delete link more

Comments

2

Thank you for your answer. I am learning opencv

kerorohu gravatar imagekerorohu ( 2019-10-06 03:20:49 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-10-06 02:40:32 -0600

Seen: 142 times

Last updated: Oct 06 '19