[magick-users] How to make a perspective from an image?
Anthony Thyssen
anthony at griffith.edu.au
Tue Jun 19 19:10:05 PDT 2007
Anthony Thyssen on wrote...
| "Ross Presser" on wrote...
| | The challenge is already solved, within the Leptonica source code
| | downloadable from that same site. Look at bilinearXformCoeffs() in
| | bilinear.c, which sets up the matrix and calls on gaussjordan() in
| | affine.c for a matrix equation solver.
| |
| | I ripped out what was needed, assembled a tool for calculating the bilinear parameters, and put the result up on my page here:
| | http://rpresser.googlepages.com/bilineartransformationcoordinates
| |
| Thanks Ross.
|
| I'll try to convert this to perl that can be used on multple systems.
| Not just windows.
|
| I'll see about adding this to IM examples.
| For a DIY -fx example to show people how to use it.
|
DIY examples of using a bilinear 'perspective' transform are now
created. However it may be a day or so before they appear on the
main IM Examples Web site
http://www.imagemagick.org/Usage/distorts/#bilinear
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
Aero ergo sum. (I fly, therefore, I am)
--- Gary Engvall <gengvall at aol.com> (a kite flyer)
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list