Hi, I have trouble in pow operation for images. I have the following error. Thanks in advance.
print A.format, A.size, A.mode
TIFF (508, 807) RGB
import ImageMath
>>> Alin = A ** 2
Traceback (most recent call last):
File "<pyshell#37>", line 1, in <module>
Alin = A ** 2
TypeError: unsupported operand type(s) for ** or pow(): 'instance' and 'int'
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig