Hi, there's a small error in the equation given here:
( 1/(1+exp(β*(α-u))) - 1/(1+exp(β)) ) / ( 1/(1+exp(β*(α-1))) - 1/(1+exp(β*α)) )
It should be:
( 1/(1+exp(β*(α-u))) - 1/(1+exp(β*α)) ) / ( 1/(1+exp(β*(α-1))) - 1/(1+exp(β*α)) )
ie. there's a missing alpha in the second term.
You can find discussion of this error in various places, for example the second comment on:
http://php.net/manual/en/imagick.sigmoi ... timage.php
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.
1 post • Page 1 of 1