Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

affine transform coordinate

Hi,

how can I transform a Coordinate (X/Y) with a 3x2 Transform Matrix. For example, i have an image (img1) 2048x2048px and Transform it(some rotation and trans), and then get img2. Now i wanna know, the pixel which was at the point P(100/150) in img1 is where in img2?

It do not have to be total accurate, some +- some pixels is no problem.

Is there any method to achieve this in OpenCV ?

affine transform coordinate

Hi,

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

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

It do does not have to be total totally accurate, some +- some pixels off is no problem.

problem. Is there any method to achieve this in OpenCV ?