| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GABOREXT
Syntax:
GABOREXT X/Y coordinates of center stimulus angle percent contrast
The Gabor patch extension, GABOREXT, draws Gabor patches, fixation point,
a box around the patch, and "pink" noise with controllable contrast.
GABOREXT requires four integers in its most basic form: X-coordinate,
Y-coordiante,stimulus angle, and
contrast in percentage of full-scale contrast,
where all angles are measured clockwise
from the vertical axis. Any integer is allowed for the angles, measured
in degrees, but it is recommended that the angles be kept between 0 and 360
degrees, or between -180 and +180 degrees, for clarity.
A Cogsys variable, V93, changes the default size of the Gabor patch from the default.
Two examples follow.
In the complete testlist below, each %I command creates a Gabor
patch.
%X[gaborext.cxr] %M2%C2 #W1000%A[Y100,C15,F1]#G[Press Space Bar - Sample 1]#Z[ ]#S/0,0,0/@C %C%I[1,4,999]%I[1,P1,1,160,100,348,16]%L[2,2,1]#S/9,9,9/@C #W1000%A[Y100,C15,F1]#G[Press Space Bar - Sample 2]#Z[ ]#S/9,9,9/@C %C%I[1,4,999]%I[1,P1,1,160,100,12,16]%L[2,2,1]#S/9,9,9/@C #W1000%A[Y100,C15,F1]#G[Press Space Bar - Sample 3]#Z[ ]#S/9,9,9/@C %C%I[1,4,999]%I[1,P1,1,160,100,348,8]%L[2,2,1]#S/9,9,9/@C #W1000%A[Y100,C15,F1]#G[Press Space Bar - Sample 4]#Z[ ]#S/9,9,9/@C %C%I[1,4,999]%I[1,P1,1,160,100,12,4]%L[2,2,1]#S/9,9,9/@C #G[Done - press any key to exit] |
Image 1 | Image 2 |
![]() | ![]() |
Image 3 | Image 4 |
![]() | ![]() |
GABOREXTImplementation