Each pixel is a point (x, y). You simply apply the same transformation to this 2-D Point as to the image. Use transform() or perspectiveTransform() to perform this matrix-vector multiplication.
Each pixel is a point (x, y). You simply apply the same transformation to this 2-D 2-D Point as to the image. Use transform() or perspectiveTransform() to perform this matrix-vector multiplication.