gabor

generate a Gabor patch

usage: gabor diameter filename.bw

gabor produces a greyscale image of the given diameter in pixels, containing a Gabor patch whose intensity at the centre of the image is the maximum greyscale value and whose intensity at the edge of the diameter is one greyscale step above black. The image is stored in the given file.

Gabor patches produced by gabor can be used with multimg to mask other stimuli. This renders the boundary of the masked stimulus indistinct.

Author: Matthew Belmonte