[visionegg] Re: gaussian mask on image
- From: Andrew Straw <astraw@xxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx, Kenji YOKOI <k.yokoi@xxxxxxxxxx>
- Date: Thu, 15 Jul 2004 20:39:05 -0700
Dear Kenji,
I think you may have found a bug in the 0.9.9 distribution. I believe I
fixed this in CVS, and I just made a "bleeding edge" snapshot of the
code in preparation for the 1.0 release. I have uploaded it to the
sourceforge file site:
https://sourceforge.net/project/showfiles.php?group_id=40846
Install this ("python setup.py install" from the command line in the
unpacked directory) and, with any luck, your problem should be solved.
Cheers!
Andrew
Kenji YOKOI wrote:
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: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- Follow-Ups:
- [visionegg] Re: gaussian mask on image
- From: Kenji YOKOI
- References:
- [visionegg] gaussian mask on image
- From: Kenji Yokoi
- [visionegg] Re: gaussian mask on image
- From: Andrew Straw
- [visionegg] Re: gaussian mask on image
- From: Kenji YOKOI
Other related posts:
- » [visionegg] gaussian mask on image
- » [visionegg] Re: gaussian mask on image
- » [visionegg] Re: gaussian mask on image
- » [visionegg] Re: gaussian mask on image
- » [visionegg] Re: gaussian mask on image
- » [visionegg] Re: gaussian mask on image
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: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
- [visionegg] Re: gaussian mask on image
- From: Kenji YOKOI
- [visionegg] gaussian mask on image
- From: Kenji Yokoi
- [visionegg] Re: gaussian mask on image
- From: Andrew Straw
- [visionegg] Re: gaussian mask on image
- From: Kenji YOKOI