Shepards distortion

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

Re: Shepards distortion

Post by anthony »

fmw42 wrote:
Anthony wrote:-define shepards-power=2.0
Is not the generally used syntax with a colon?

-define shepards:power=2.0

That seems to be the syntax used in most other defines.
The colon is used to deperate 'operation' from varible, eg distort:viewport.
It probably should be more like distort:shepards-power, but like kernels it is used for sparse-color as well.

I'll change it to "shepards:power" unless someone can come up with a better name.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Shepards distortion

Post by anthony »

I have added new examples showing the shepards:power define in action for both sparse color and distortions.

Sparse Color - Shepards Power Factor
http://www.imagemagick.org/Usage/canvas/#shepards_power

Distortions - Shepard's Power Factor
http://www.imagemagick.org/Usage/distor ... ards_power

As always, give is a couple of hours to appear on the official website

Enjoy.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply