Re: [Image-SIG] Image.eval problem with math.sqrt
by other posts by this author
Jul 13 2003 10:07PM messages near this date
[Image-SIG] Image.eval problem with math.sqrt
|
[Image-SIG] Re: Obtaining image data in numarray
On 13 Jul 2003 16:55:46 -0400
"Alan Grosskurth" <alan.grosskurth@[...].ca> wrote:
> out = Image.eval(math.sqrt, in)
>
> As far as I can see, this should work because math.sqrt is a function
> that takes one argument. But I get the following error:
It looks like the arguments in the documentation are reversed. Should
be:
out = Image.eval(im, math.sqrt)
(BTW: "in" is a reserved word).
-Bill
--
Sattre Press In the Quarter
http://sattre-press.com/ by Robert W. Chambers
info@[...].com http://itq.sattre-press.com/
_______________________________________________
Image-SIG maillist - Image-SIG@[...].org
http://mail.python.org/mailman/listinfo/image-sig
Thread:
Alan Grosskurth
|