[visionegg] Re: gaussian mask on image

  • From: Kenji YOKOI <k.yokoi@xxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Thu, 15 Jul 2004 13:58:33 +0900

Dear Andrew:

Thank you for the demo code. I tried it, but it seems the program doesn't work well.
The error occurred again as noted first, such like


----
Traceback (most recent call last):
File "/Users/yokoi/Desktop/YOKOI_WORK/spiral.py", line 48, in ?
viewport.draw()
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/VisionEgg/Core.py", line 1213, in draw
stimulus.draw()
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/VisionEgg/Textures.py", line 1427, in draw
l,r,b,t) # l,r,b,t in eye coordinates
TypeError: draw_masked_quad() takes exactly 10 arguments (9 given)
----


Is this a problem of installed module versions or path settings ?
I recently installed the VisionEgg and other modules to Win2000 and Mac OS X 10.3.4 following the step-by-step instructions on the web, but the same error occurred in both environments.
Demo programs downloaded from the web work well, including GABOR.PY in which sine gratings are masked by a gaussian window.


Although adding an argument (such as "8" or "32") to draw_masked_quad
could eliminate the error, the image texture didn't appear.

Installed versions are as follows:
                Win2000 OS X
Python  2.2.1   2.3
Numpy   21.0
PIL             1.1.4   1.1.4
PyOpenGL        2.0.0.44        2.0.1.7
Pygame  1.5.3   1.6
(Textures.py    1.84    1.90)

Sincerely,

Kenji Yokoi

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: