Ask Your Question
0

affine transform coordinate

asked 2013-08-12 08:37:08 -0500

pkohout gravatar image

updated 2013-08-12 08:57:09 -0500

Hi,

how can I transform a Coordinate (X/Y) with a 3x2 Transform Matrix?

For example, I have an image (img1) of 2048x2048 px, transform it (apply some rotation and translation) and then get img2. Now I want to know, where the pixel, which was at the point P(100/150) in img1, is in img2?

It does not have to be totally accurate, some pixels off is no problem. Is there any method to achieve this in OpenCV ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-08-12 08:41:13 -0500

engine gravatar image
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-08-12 08:37:08 -0500

Seen: 499 times

Last updated: Aug 12 '13