[magick-users] Retain perspective transformation matrix?
Anthony Thyssen
A.Thyssen at griffith.edu.au
Fri Nov 7 23:57:23 PST 2008
On Fri, 7 Nov 2008 16:41:36 -0800
Fred Weinhaus <fmw at alink.net> wrote:
| For example, 2-point affine (fallback from perspective!)
|
| convert rose: -virtual-pixel black -set option:distort:verbose 1 \
| -distort perspective '0,0,10,5 0,45,5,20' x:
|
| Outputs to STDERR
|
| Affine Reverse Map
| -fx 'xx=+2.700000*i +0.900000*j -31.500000;
| yy=-0.900000*i +2.700000*j -4.500000; p{xx,yy}'
| Affine Forward Map
| -distort AffineProjection \
| '0.333333,0.111111,-0.111111,0.333333,10,5'
|
The -set option:distort:verbose 1 was an old technique that was used before I figured out to access the normal -verbose setting.
Use -verbose instead of -set option:distort:verbose 1
--
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
At a video game, any kid could be in command, could make life and death
decidions, on the glowing field of the screen.
-- Dean Alan Foster, ``The Last Starfighter''
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list