emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image transformations


From: Alan Third
Subject: Re: Image transformations
Date: Thu, 13 Jun 2019 20:39:23 +0100
User-agent: Mutt/1.12.0 (2019-05-25)

On Thu, Jun 13, 2019 at 08:27:24PM +0100, Alan Third wrote:
> 
> I think this should be what you need:
> 
>    x’ = tm[0][0] * x + tm[0][1] * y + tm[0][2] * 1
>    y’ = tm[1][0] * x + tm[1][1] * y + tm[1][2] * 1
> 
> where tm is the completed transformation matrix.

Now I’m getting confused by the fact I transposed the rows and columns
as compared to standard matrix notation.

   x’ = tm[0][0] * x + tm[1][0] * y + tm[2][0] * 1
   y’ = tm[0][1] * x + tm[1][1] * y + tm[2][1] * 1

Should be correct.
-- 
Alan Third



reply via email to

[Prev in Thread] Current Thread [Next in Thread]