ArticleslgStudy

science

Gabor filter

Gabor filter is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gabor filter rather than just read about it. In short: In image processing, a Gabor filter, named after Dennis Gabor, who first proposed it as a 1D filter, is a linear filter used for texture analysis, which essentially means that it analyzes whether there is any specific frequency content in the image in specific directions in a localized region around the point or region of analysis. The Gabor filter was first generalized to 2D by Gösta Granlund, by adding a reference…

Gabor filter — main illustration
Gabor filter — illustration

Key takeaways

  • Gabor filter belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gabor filter to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gabor filter from memory before moving on to harder problems.

Reference excerpt

In image processing, a Gabor filter, named after Dennis Gabor, who first proposed it as a 1D filter, is a linear filter used for texture analysis, which essentially means that it analyzes whether there is any specific frequency content in the image in specific directions in a localized region around the point or region of analysis. The Gabor filter was first generalized to 2D by Gösta Granlund, by adding a reference direction. Frequency and orientation representations of Gabor filters are claimed by many contemporary vision scientists to be similar to those of the human visual system. They have been found to be particularly appropriate for texture representation and discrimination. In the spatial domain, a 2D Gabor filter is a Gaussian kernel function modulated by a sinusoidal plane wave (see Gabor transform). Some authors claim that simple cells in the visual cortex of mammalian brains can be modeled by Gabor functions. Thus, image analysis with Gabor filters is thought by some to be similar to perception in the human visual system.

Definition

Its impulse response is defined by a sinusoidal wave (a plane wave for 2D Gabor filters) multiplied by a Gaussian function. Because of the multiplication-convolution property (Convolution theorem), the Fourier transform of a Gabor filter's impulse response is the convolution of the Fourier transform of the harmonic function (sinusoidal function) and the Fourier transform of the Gaussian function. The filter has a real and an imaginary component representing orthogonal directions. The two components may be formed into a complex number or used individually. Complex

V = 1 + 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 + . . . {\displaystyle V=1+1+2+4+8+16+32+64+128+256+...}

Real

V = 1 + 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 + . . . {\textstyle V=1+1+2+4+8+16+32+64+128+256+...}

Imaginary

g ( x , y ; λ , θ , ψ , σ , γ ) = exp ⁡ ( − x ′ 2 + γ 2 y ′ 2 2 σ 2 ) sin ⁡ ( 2 π x ′ λ + ψ ) {\displaystyle g(x,y;\lambda ,\theta ,\psi ,\sigma ,\gamma )=\exp \left(-{\frac {x'^{2}+\gamma ^{2}y'^{2}}{2\sigma ^{2}}}\right)\sin \left(2\pi {\frac {x'}{\lambda }}+\psi \right)}

where x ′ = x cos ⁡ θ + y sin ⁡ θ {\displaystyle x'=x\cos \theta +y\sin \theta } and y ′ = − x sin ⁡ θ + y cos ⁡ θ {\displaystyle y'=-x\sin \theta +y\cos \theta } . In this equation, λ {\displaystyle \lambda } represents the wavelength of the sinusoidal factor, θ {\displaystyle \theta } represents the orientation of the normal to the parallel stripes of a Gabor function, ψ {\displaystyle \psi } is the phase offset, σ {\displaystyle \sigma } is the sigma/standard deviation of the Gaussian envelope and γ {\displaystyle \gamma } is the spatial aspect ratio, and specifies the ellipticity of the support of the Gabor function.

Wavelet space

Gabor filters are directly related to Gabor wavelets, since they can be designed for a number of dilations and rotations. However, in general, expansion is not applied for Gabor wavelets, since this requires computation of bi-orthogonal wavelets, which may be very time-consuming. Therefore, usually, a filter bank consisting of Gabor filters with various scales and rotations is created. The filters are convolved with the signal, resulting in a so-called Gabor space. This process is closely related to processes in the primary visual cortex. Jones and Palmer showed that the real part of the complex Gabor function is a good fit to the receptive field weight functions found in simple cells in a cat's striate cortex.

… excerpt ends here. Continue reading the full article.

Illustrations

Gabor filter: Example of a two-dimensional Gabor filter
Example of a two-dimensional Gabor filter
Gabor filter: Demonstration of a Gabor filter applied to Chinese OCR. Four orientations are shown on the right 0°, 45°, 90° and 135°. The original character picture and the superposition of all four orientations are shown on the left.
Demonstration of a Gabor filter applied to Chinese OCR. Four orientations are shown on the right 0°, 45°, 90° and 135°. The original character picture and the superposition of all four orientations are shown on the left.

Worked examples

Example 1 — a first encounter with Gabor filter

Start with the simplest possible case. Write down what Gabor filter claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gabor filter before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gabor filter ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gabor filter

In research
Gabor filter appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gabor filter in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gabor filter is common in secondary-school and first-year university syllabi. It links to neighbouring topics Image processing, Linear filters, Pattern recognition, so understanding it makes those chapters shorter.
In everyday life
Look for Gabor filter outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Gabor filter in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gabor filter means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gabor filter out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gabor filter in simple terms?

In image processing, a Gabor filter, named after Dennis Gabor, who first proposed it as a 1D filter, is a linear filter used for texture analysis, which essentially means that it analyzes whether there is any specific frequency content in the image in specific directions in a localized region aroun…

Why does Gabor filter matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gabor filter?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gabor filter.

Tags

  • Image processing
  • Linear filters
  • Pattern recognition

Keep exploring