[Gimp-developer] Problem with perspective transform matrix
David Hodson
hodsond at ozemail.com.au
Tue May 29 07:11:25 PDT 2007
Hi Willem,
> However, when I use this transformation matrix in my own code, I get
> strange results, even using the function gimp_matrix3_transform_point
> from gimpmatrix.c.
It looks like you are applying the transform in the wrong direction...
> To compute a transformed coordinate (x', y') I simply multiply
> (x, y, 1) by the transformation matrix that GIMP shows
In that case, I think that the transformation converts the destination
coordinate to the corresponding source coordinate.
--
David Hodson -- this night wounds time
More information about the Gimp-developer
mailing list