warpPoint question [closed]
Hi all,
I have some region of interest in my source images which I would like to visualise after doing a warping.
So, I tried to warp the points using the warpPoint function so that I could re-draw these ROIs on the final image.
This also does not seem to work as I am getting negative coordinates for my points.
The code is:
Mat dst; wrap.warp(origImg, K, R, INTER_LINEAR, BORDER_CONSTANT, dst);
Point2f p = wrap.warpPoint(Point2f(0, 0), K, R);
How can I find the point position after the warping correctly?
please be so kind, to close your issue here , as you do not have a bug to present.
we can't help you, without seing some code, i guess.
I have a
Mat dst; wrap.warp(origImg, K, R, INTER_LINEAR, BORDER_CONSTANT, dst);
If I do wrap.warpPoint(Point2f(0, 0), K, R), the returned point has a negative axis value.
Don't know what it is happening.