Ask Your Question
0

remap: how to find the (x,y) in dst given (u,v) in src? [closed]

asked 2015-10-21 04:48:44 -0600

xzp777 gravatar image

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??

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by berak
close date 2015-10-25 04:24:45.083290

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-24 10:51:55 -0600

xzp777 gravatar image

well, 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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-10-21 04:48:44 -0600

Seen: 322 times

Last updated: Oct 24 '15