Page 1 of 1

Re: 'PolynomialDistortion' undeclared

Posted: 2008-07-14T16:31:11-07:00
by rmagick
I'm seeing the same error with 6.4.2-2 on my Kubuntu system. 6.4.2-1 installs successfully.

Re: 'PolynomialDistortion' undeclared

Posted: 2008-07-14T16:44:47-07:00
by mjthe2nd
I encountered an error as well, on 2 separate Linux x86_64 systems. Adding the line "PolynomialDistortion," to distort.h fixed it, and ImageMagick compiles successfully on both. Still figuring out what the right channels are to submit a patch, but this should be an easy one if someone knows where/to whom to submit.

Re: 'PolynomialDistortion' undeclared

Posted: 2008-07-14T17:24:37-07:00
by anthony
My bad... I was adding this and neglected to upload the change in the header file. I had it fixed in the SVN as soon as I discovered this.

YES I am now adding new distorts. No docs yet, but it is happening.

Re: 'PolynomialDistortion' undeclared

Posted: 2008-07-14T17:28:41-07:00
by magick
We will release ImageMagick 6.4.2-3 sometime tomorrow to correct this problem.

Re: 'PolynomialDistortion' undeclared

Posted: 2008-07-14T17:41:45-07:00
by anthony
Which will have Polynomial Distortion (without bestfit) working.

Though I have become doubtful of just how useful it is, so I would not trust it to remain, at least in its present form...

Code: Select all

    -distort polynomial 'order  control_points....'
Next distortions to add...
radial-cubic (using control points)
barrel/pincussion (using PTlens type coefficients)

After that there will be a long project to add triangulization, and mesh.
Which will first be used for generating interpolated gradients/surfaces (gradients from a sparse set of points).
That in turnWhich should allow a whole range of distortions, forward mapping of bilinear/polynomial, and true spatial morphing of images.