Page 2 of 2

Re: Shepards distortion

Posted: 2012-12-13T16:30:53-07:00
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.

Re: Shepards distortion

Posted: 2012-12-16T21:31:17-07:00
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.