'PolynomialDistortion' undeclared

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Re: 'PolynomialDistortion' undeclared

Post by rmagick »

I'm seeing the same error with 6.4.2-2 on my Kubuntu system. 6.4.2-1 installs successfully.
mjthe2nd

Re: 'PolynomialDistortion' undeclared

Post 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.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: 'PolynomialDistortion' undeclared

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 'PolynomialDistortion' undeclared

Post by magick »

We will release ImageMagick 6.4.2-3 sometime tomorrow to correct this problem.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: 'PolynomialDistortion' undeclared

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply