pow operation failure in ImageMath library
황영하 <[email protected]>
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <[email protected]> |
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 - [email protected] http://mail.python.org/mailman/listinfo/image-sig