[EMAIL PROTECTED] on wrote...
| Hi,
|
| First time I'm posting, so sorry if this is a faq.
| I'm using the -fx tag, trying to transform an image with things like - fx
| 'p{asin(i/w),j}' .
|
| I'm surprised that the asin function, which arguments should
| mathematically be between -1 and 1, expect actually a number which is much
| higher than 1 (in fact the "i" argument)
|
| Furthermore, if I'm not wrong, pi/2-asin(x) should be equal to acos (x),
| which doesn't seem to be the case. I cannot understand what is exactly the
| behaviour of the asin and acos mathematical functions in convert -fx. I
| know what they should be mathematically. Can someone explain, or is this
| a bug ? Was it corrected in newer or beta versions (I'm using imagemagick
| 6.1.8)
|
There were some faults like this in -fx early on. These should be all
fixed now.
What are you attempting to do with the arc-sine function?
I myself have been using arc-tangent for generating 'wrap into a
circle' or 'polar function' image displacement maps...
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/distorts/#map_polar
So I am curious as to what you use the src-sine positional lookup for.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
You could say its the Egyptian God of Frustration
-- about Daffy Duck to an alien -- Babylon 5 "Hour of the Wolf"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users