Gabor filter 2026-10-13
A Gabor filter has a kernel formed by multiplying a Gaussian function by a sinusoid or a complex oscillation. In two-dimensional image processing, its orientation and spatial frequency select local image structure; evaluating the kernel's translated dot product with an image is spatial filtering. The real even example under signed spatial filter model of a simple cell uses a cosine.
There is experimental motivation for this family without making every simple cell an exact Gabor filter. Jones and Palmer fitted two-dimensional Gabor filters to measured spatial and spectral response profiles of simple cells in cat cortex and compared independently estimated parameters as a test of spatial linearity. Their reported residuals supported the approximation in that dataset. The chosen parameters and orientation tuning curve in this article are not extracted from their measurements. [ref]
https://pubmed.ncbi.nlm.nih.gov/3437332/. Jones and Palmer, An evaluation of the two-dimensional Gabor filter model of simple receptive fields in cat striate cortex (1987), primary abstract
Orientation selectivity 2026-10-13
Orientation selectivity is a systematic dependence of a visual neuron's response on the axis of a bar, edge or stripe pattern presented in its receptive field, under specified stimulus conditions. Here the angle measures the stripe axis from horizontal: is horizontal and vertical. An axis has no arrow, so and describe the same orientation. A preference for one direction of movement across that axis is an additional property; the 1962 recordings included both equal and unequal responses to opposite movements. [ref]
https://www.gatsby.ucl.ac.uk/teaching/courses/tn1-2020/additional/systems/JPhysiol-1962-Hubel-106-54.pdf. Hubel and Wiesel (1962), p. 112: orientation versus opposite movements
A particularly clear experiment using extracellular single-unit recording appears in the 1959 paper, Figures 2–3. A bright slit was centered on the same receptive field and rotated through successive angles; each presentation lasted one second. The vertical slit strongly increased the extracellularly recorded spike train, whereas the horizontal slit was ineffective. Small-spot tests had identified ON and OFF receptive-field subregions, with a central ON region and opposing flanks: rotation illuminated less of the center and more of the flanks. Geometry and location therefore mattered together. These dimensions belong to that recorded unit, not to every neuron. [ref]
https://xbio-live.s3.amazonaws.com/narratives/57358/Hubel%20and%20Wiesel%201959_Guided%20paper.pdf. Hubel and Wiesel, Receptive fields of single neurones in the cat's striate cortex (1959), pp. 578–579, Figures 2–3: primary recordings
An orientation tuning curve summarizes a controlled angle sweep. Keep location, size and visual contrast fixed; for a stripe pattern also specify spatial frequency and phase. The same signed spatial filter model of a simple cell can produce strong orientation selectivity and strong dependence on phase, as the following original toy illustrates. Its smooth curves are calculated predictions, not digitized or invented biological measurements.
Signed spatial filter model of a simple cell 2026-10-14
A signed spatial filter model of a simple cell assigns a weight to each sampled location and takes its dot product with the visual contrast image . Positive weights favor bright features; negative weights favor dark features. The signed driveis a linear function of the image, while the rectified linear unit output is nonlinear. and below are arbitrary model units. To obtain a predicted firing rate one would need a calibrated gain, background response and possibly a different output function. The model does not generate a spike train; a linear-nonlinear-Poisson cascade model adds a stochastic event-generation assumption.
For the first diagram, every one of five rows has weightsA bright central column, with and zero elsewhere, gives . A bright middle row gives ; a uniformly bright patch also gives , since every row sums to zero. Move the bright column one site right: , so . Make that shifted column dark instead: and . Thus an OFF-like weight can increase output for darkness. A negative weight is a descriptive sensitivity, not evidence for a particular inhibitory synapse.
For a smooth example use the real, even Gabor filterThe Gaussian function localizes the weights; the cosine supplies alternating polarity. Choose , and in arbitrary spatial units. The stripes' spatial frequency is cycles per unit. Their axis makes angle with horizontal, while brightness changes across the perpendicular axis. is their spatial phase. Normalize the full-plane integral of by its value at , . The Gaussian integral and the product identity for cosines givewhereAt , horizontal stripes give , stripes give , and vertical stripes give . At the same vertical orientation, gives , while reversing the polarity with gives and . The preferred axis persists while the response changes dramatically with position. Shifting the vertical stripes by a quarter of their wavelength changes phase by up to sign, without rotating them.
These are two different toy filters, not discretizations of the same fitted receptive field. The discrete filter exactly rejects a uniform contrast patch; this Gabor filter need not reject uniform contrast because its weight integral need not vanish. Neither toy includes stimulus history, recurrent interactions, saturation or a measured response baseline. Their value is a transparent prediction: orientation selectivity can emerge from spatial summation, and it does not by itself imply tolerance to phase.
