I get an H matrix using findHomography function.
H = findHomography(points_src, points_dst);
Then, I use H with warpPerspective to get a perspective projection of the image
warpPerspective(im_src, im_dst, H, Size(100, 100));
and from here I get a set of points of interest
vector<Point2f> points = some_function(im_dst)
Now I want to get back only the set of "points" to the original image and in this way I will now the set of points of interest in the original image.
For this task, I guess that I need to use again warpPerspective with the flag WARP_INVERSE_MAP but this does not work.