Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

FREAK selectPairs Error

Hello, since I'm not happy with the results achieved via FREAK, I decided to use FREAK::selectPairs() . But I keep getting an error at a parameter. The error is: "illegal call of non-static member function" My code is below:

vector<Mat> images;
vector<vector<KeyPoint>> keypoints;

images[0].push_back(img1);
images[1].push_back(img2);
for (int i=1; i<keypointsB.size();i++)
{
    keypoints[0].push_back(keypointsB[i]);
}
for (int i=1; i<keypointsA.size();i++)
{
    keypoints[1].push_back(keypointsA[i]);
}

FREAK::selectPairs(images,keypoints,0.7,true);

Any help would be appreciated.

FREAK selectPairs Error

Hello, since I'm not happy with the results achieved via FREAK, I decided to use FREAK::selectPairs() . But I keep getting an error at a parameter. The error is: "illegal call of non-static member function" My code is below:

vector<Mat> images;
vector<vector<KeyPoint>> keypoints;

images[0].push_back(img1);
images[1].push_back(img2);
for (int i=1; i=0; i<keypointsB.size();i++)
{
    keypoints[0].push_back(keypointsB[i]);
}
for (int i=1; i=0; i<keypointsA.size();i++)
{
    keypoints[1].push_back(keypointsA[i]);
}

FREAK::selectPairs(images,keypoints,0.7,true);

Any help would be appreciated.