remap single point does not give me the correct value
Hello!
I am trying to compute the remaped position of a specific point of an image but it does not give me the correct coordinate as I compare it with the remaped image.
is this correct?
Point2f relocated = Point2f(mapx.at<float>(input.rows,input.cols),mapy.at<float>(input.rows,input.cols));
the farthest point you can legally access is:
while
is already out of bounds
my mistake... the point can be mapx.at<float>(input.rows/2,input.cols/2) and still give me the wrong value
please show code
This is the code for creating the maps. This is basically a barrell distortion mapping // clean the room mapx.release(); mapy.release();
So the mappings work on the whole imframe if I remap it. but if i draw a circle in the remaped image using the mapx.at<float>(imframe.rows/2,imframe.cols/2) it does not follow the remapped image
Show the part where you use the maps. I don't entirely understand what you're doing with them.
Hi, i need to do the same. Did you get any sucess to remap a single point or an array of points?