OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Sat, 24 Oct 2015 10:51:55 -0500remap: how to find the (x,y) in dst given (u,v) in src?http://answers.opencv.org/question/73811/remap-how-to-find-the-xy-in-dst-given-uv-in-src/
remap function can give you the point (u,v) in the src image when you have point (x,y) in dst image through the map1 and map2 mapping function. I do not know if I have the input (u,v) in the src image, how can I get the corresponding point (x,y) in the dst image??
Wed, 21 Oct 2015 04:48:44 -0500http://answers.opencv.org/question/73811/remap-how-to-find-the-xy-in-dst-given-uv-in-src/Answer by xzp777 for <p>remap function can give you the point (u,v) in the src image when you have point (x,y) in dst image through the map1 and map2 mapping function. I do not know if I have the input (u,v) in the src image, how can I get the corresponding point (x,y) in the dst image??</p>
http://answers.opencv.org/question/73811/remap-how-to-find-the-xy-in-dst-given-uv-in-src/?answer=74181#post-id-74181well, I finally solved it through the model given in the opencv document. I just transform the input point (u,v) in src image as the projection model and get the corresponding point (x,y) in the dst image.
However, I assume the distortion to be zero vector and this may be not general. Anyhow, it works when the distortion is regarded as zero vector.Sat, 24 Oct 2015 10:51:55 -0500http://answers.opencv.org/question/73811/remap-how-to-find-the-xy-in-dst-given-uv-in-src/?answer=74181#post-id-74181