2012-12-09 06:16:51 -0600 | received badge | ● Student (source) |
2012-12-08 07:10:33 -0600 | asked a question | warpAffine issues Hi, I want to calculate manually the new coordinates of points using a transformation matrix, and then copy some values of the original image to their new coordinates in another one. But i don't have the same result by using warpAffine, mine is obvsiously wrong but i don't know why. I used the formula given in the documentation http://opencv.willowgarage.com/documentation/cpp/imgproc_geometric_image_transformations.html#warpAffine Here is my code: m_xx are the components of my matrix (floats). The two images obtained with warpAffine and this method are similar but no pixels fits where it should be. |