[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
- Re: Image transformations, (continued)
- Re: Image transformations, Eli Zaretskii, 2019/06/24
- Re: Image transformations, Stefan Monnier, 2019/06/24
- Re: Image transformations, Eli Zaretskii, 2019/06/24
- Re: Image transformations, Stefan Monnier, 2019/06/24
- Re: Image transformations, Eli Zaretskii, 2019/06/25
- Re: Image transformations, Stefan Monnier, 2019/06/25
- Re: Image transformations, Eli Zaretskii, 2019/06/25
- Re: Image transformations, Alan Third, 2019/06/25
- Re: Image transformations, Eli Zaretskii, 2019/06/25
- Re: Image transformations, Tak Kunihiro, 2019/06/18
- Re: Image transformations,
Alan Third <=
- Re: Image transformations, Eli Zaretskii, 2019/06/13