[magick-users] How to make a perspective from an image?

Wolfgang Hugemann Auto at Hugemann.de
Tue Jun 26 00:13:24 PDT 2007


> Don't fret. Cristy is just putting together a general distortion
> function, when that is done we should be able to insert perspective,
> bilinear, and a whole swag of other common distortion functions into IM
> very quickly.

This sounds very interesting. I haven't been following the IM threads 
for quite a while now, so I have just detected this one.

At the end of last year we set up a VB-Skript (sorry, only Windows) 
calculating the transformation parameters and handing them over to the 
IM -fx function. We succeded in rectifying faccades (as shown in 
Anthony's examples) and mapping a pespectively distorted photograph of 
vehicle damage to a planar photograph of a vehicle of same make and model.

This works fine, but it is very slow due to the use of the -fx operator 
and the need for divisions. I was almost about to look at the IM source 
code myself to see what can be done.

Thus it is most intersteing to hear that someone else is already taking 
this effort. With the affine transformation already built in, this 
should not be too difficult. Any timeline for the build-in of this feature?

Greetings from Münster, Germany
Wolfgang Hugemann


More information about the Magick-users mailing list