[Image-SIG] Raster Calculation: Script Error
fredrik at pythonware.com
Fri Apr 3 17:54:54 CEST 2009
On Fri, Apr 3, 2009 at 5:10 PM, abel deuring <adeuring at gmx.net> wrote:
> Use either:
> from math import cos
> x = cos(1)
> import math
> x = math.cos(1)
That doesn't work with ImageMath.eval - it provides its own
environment (including the names you pass in).
It does the trick if you're using "point" instead, though.
More information about the Image-SIG