Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Matching the feature points

I have 2 vector of keypoints like this: vector<keypoint> points; vector<keypoint> keypoints; fea.detect(t,keypoints); goodFeaturesToTrack(t,points,100,0.001,8,CV_8UC1,5,false,0.04);

I need to store those keypoints which are at the same pixel location in both vectors. How can i do it? (eg., if there is a feature point at(3,4) in both vectors i should take it.. else i should not)