sorry probably it's a stupid question :) it's possible to apply a homography to the coordinates of a point?
for example in his code:
double X;
double Y;
std::vector<KeyPoint> key_filtered;
for( int i=0; i<(int)keypoints.size(); i++)
{
double x = keypoints[i].pt.x, y = keypoints[i].pt.y;
if((X >= corner[0].x && X <= corner[1].x) && (Y >= corner[0].y && Y <= corner[2].y)){
key_filtered[j]=keypoints[i];
j++;
}
}
i want apply the homography "inv" to "x" and "y"....