# Gabor变换

Gabor变换是一种时频分析方法，它用高斯窗调制的正弦波对信号进行分解；它就是以高斯窗为[窗函数](https://www.edgepedia.org/zh/window-function)的短时傅里叶变换（STFT），产生一个二维表示，显示信号的频率成分如何随时间变化。单独的[傅里叶变换](https://www.edgepedia.org/zh/fourier-transform)包含的是所有时间上的频率信息，而不是显示频率如何随时间变化，这正是此类随时间变化分析方法的动因。<sup>[1](https://heil.math.gatech.edu/papers/siam.pdf)</sup> 采样后的STFT也称为Gabor变换，STFT与Gabor展开是相关的。<sup>[2](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)</sup> 该变换可以读作信号的“乐谱”，描述每个频率对信号在各时刻附近行为的贡献。<sup>[3](https://doi.org/10.1016/j.acha.2012.11.007)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | 以高斯窗 \( w(t) = e^{-\alpha t^{2}} \) 进行的STFT；参数 \( \alpha \) 控制对时间分辨率或频率分辨率的侧重<sup>[4](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> |
| 不确定性界 | 以等号满足不确定性界 \( B \cdot T \geq \frac{1}{4\pi} \)，在STFT各窗函数中给出最佳的联合时频分辨率<sup>[4](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> |
| 展开 | \( \varphi(t) = \sum_{m} \sum_{k} a_{mk} g_{mk}(t) \)，其中 \( g_{mk}(t) = g(t - mT) e^{jk\Omega t} \)，且 \( T \cdot \Omega = 2\pi \)<sup>[5](http://www.martinbastiaans.org/pdfs/neaman.pdf)</sup> |
| 采样条件 | 对任意信号存在展开要求 \( T \cdot \Omega \leq 2\pi \)；离散情形下稳定重建要求 \( M \cdot N \geq L \)<sup>[6](https://www.egr.msu.edu/~aviyente/qianchen.pdf)</sup> |
| 快速算法 | 离散Gabor变换可经由离散Zak变换和FFT计算，复杂度与快速卷积相当<sup>[5](http://www.martinbastiaans.org/pdfs/neaman.pdf)</sup> |
| 关键障碍 | Balian–Low定理：临界采样的Gabor基不可能具有良好局部化的窗函数<sup>[7](https://heil.math.gatech.edu/papers/blt.pdf)</sup> |

## 工作原理

该变换用窗函数的平移使傅里叶分析局部化，而Gabor选择高斯函数作为该窗。<sup>[8](https://ar5iv.labs.arxiv.org/html/1812.08647)</sup> 对于信号 \( f \in L^{2}(\mathbb{R}^{d}) \) 和窗函数 \( \psi \)，连续Gabor变换为

\[ G_{\psi} f = \int_{\mathbb{R}^{d}} f(\xi) \psi(\xi - p) e^{-2\pi i (\xi - p) \cdot q} \, d\xi, \]

它是时间平移 \( p \) 和频率 \( q \) 的函数。<sup>[3](https://doi.org/10.1016/j.acha.2012.11.007)</sup> 它容许傅里叶表示 \( G_{\psi} f(\omega, t) = e^{2\pi i t \omega} \mathcal{F}(f(x)\psi(x - t))(\omega) \)，与定义积分中的相位因子一致。<sup>[9](https://www.maths.tcd.ie/EMIS/journals/DMJDMV/vol-05/08.pdf)</sup> 高斯函数之所以特殊，是因为不确定性原理限制了时间分辨率与频率分辨率的乘积，\( B \cdot T \geq \frac{1}{4\pi} \)，而高斯窗以等号满足此界；Gabor选择它作为基元函数，因为它在联合时频域中具有最优的集中性。<sup>[4](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup><sup> • </sup><sup>[2](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)</sup>

在展开形式中，平移和调制后的基元信号为 \( g_{mk}(t) = g(t - mT) e^{jk\Omega t} \)，其中 \( T \cdot \Omega = 2\pi \)，而具有该宽度参数、\( L^{2} \) 范数为1的高斯基元信号为 \( g(t) = 2^{1/4} T^{-1/2} e^{-\pi (t/T)^{2}} \)。Gabor变换给出系数阵列 \( a_{mk} = \int \varphi(t) w^{*}_{mk}(t) \, dt \)，当由 \( g \) 生成的Gabor系统是一个框架、其对偶分析窗 \( w \) 与合成窗 \( g \) 配对时，逆Gabor展开重建 \( \varphi(t) = \sum_{m} \sum_{k} a_{mk} g_{mk}(t) \)；Gabor原始方案中的临界采样高斯系统不是框架，因此不能对任意信号提供稳定重建。<sup>[5](http://www.martinbastiaans.org/pdfs/neaman.pdf)</sup> 一般而言，Gabor系统 \( G(g, a, b) \) 是对所有整数 \( m, n \) 的函数集合 \( g_{m,n}(t) = g(t - na) e^{2\pi i m b t} \)。<sup>[10](https://www.sciencedirect.com/science/article/pii/S1063520314000190)</sup> Gabor系数可以确定为以分析窗 \( \gamma \) 进行的STFT的采样。<sup>[11](https://www.math.ucdavis.edu/~strohmer/research/gabor/gaborintro/node6.html)</sup>

## 实现方法

对于离散信号，实践者选择合成窗、时频采样网格和分析窗，然后计算系数阵列。对于长度为 \( L \) 的信号，时频采样点数为 \( M \times N \)；过采样率为 \( M \cdot N / L \)，由于 \( M = L/d_{M} \)，它等于 \( N/d_{M} \)，且必须至少为1才能重建时域信号。<sup>[12](https://www.ni.com/docs/en-US/bundle/labview-advanced-signal-processing-toolkit/page/discrete-gabor-transform-and-expansion.html)</sup> 稳定重建必须满足条件 \( \Delta M \cdot \Delta N = M \cdot N \geq L \)；\( M \cdot N = L \) 为临界采样，\( M \cdot N < L \) 为可能丢失信息的欠采样。<sup>[6](https://www.egr.msu.edu/~aviyente/qianchen.pdf)</sup>

快速离散Gabor变换经由离散Zak变换和离散傅里叶逆变换计算阵列 \( A_{mk} \)：通过FFT确定信号与窗的离散Zak变换，形成离散Gabor变换的乘积表达式，通过FFT施加逆DFT，读取周期系数阵列的一个周期；该过程等价于快速卷积。<sup>[5](http://www.martinbastiaans.org/pdfs/neaman.pdf)</sup> 线性时频分析工具箱（LTFAT）实现了对长FIR窗具有已知最低复杂度的算法，并提供可自由获取的C语言实现。<sup>[13](https://link.springer.com/article/10.1007/s00041-011-9210-5)</sup> 在Qian和Chen的DGT框架中，窗长与数据大小无关，且对任意给定的合成窗和采样模式都能找到双正交分析窗。<sup>[6](https://www.egr.msu.edu/~aviyente/qianchen.pdf)</sup>

## 起源

D. Gabor在其论文《通信理论》（“Theory of communication”）中报告了将信号展开为离散的平移和调制高斯基元信号集合的工作，该论文于1946年发表在《电气工程师学会杂志，第三部分：无线电与通信工程》上。<sup>[14](https://doi.org/10.1049/ji-1.1947.0015)</sup> 该论文坚持同时用时间和频率来描述，以时间和频率为坐标在二维中表示信号，并用定量语言发展了这一观点。<sup>[15](https://digital-library.theiet.org/content/journals/10.1049/ji-3-2.1946.0074)</sup> Gabor的动机是：每个基元信号——由概率脉冲调制的谐振荡——在信息图中占据尽可能小的面积，可以被认为恰好传递一个数据，即一个“信息量子”。<sup>[5](http://www.martinbastiaans.org/pdfs/neaman.pdf)</sup> 他声称 \( \mathbb{R} \) 上每个平方可积函数 \( f \) 都具有非正交展开

\[ f(x) = \sum_{n \in \mathbb{Z}} \sum_{k \in \mathbb{Z}} c_{nk} \, e^{-\frac{\pi (x - n\alpha)^{2}}{2\alpha^{2}}} \, e^{2\pi i k x / \alpha}. \]<sup>[8](https://ar5iv.labs.arxiv.org/html/1812.08647)</sup>

该论文几乎无人注意，直到20世纪80年代初，Bastiaans和Janssen的工作在数学家和工程师中重新唤起了对Gabor分析的兴趣。<sup>[16](https://www.math.ucdavis.edu/~strohmer/research/gabor/gaborintro/node2.html)</sup> Gabor因全息术的构想而非因这篇论文获得了1971年[诺贝尔物理学奖](https://www.edgepedia.org/zh/nobel-prize-in-physics)。<sup>[16](https://www.math.ucdavis.edu/~strohmer/research/gabor/gaborintro/node2.html)</sup>

## 变体

非平稳Gabor框架通过允许分析窗和采样点的自适应性来推广经典Gabor框架，同时在局部上类似经典Gabor框架并共享其部分结构。<sup>[17](https://pmc.ncbi.nlm.nih.gov/articles/PMC3257872/)</sup> 该概念建立在“无痛非正交展开”之上。<sup>[17](https://pmc.ncbi.nlm.nih.gov/articles/PMC3257872/)</sup> 在离散时间情形下，对于无痛非平稳Gabor框架和具有快速衰减窗函数的框架，也存在存在性与构造结果。<sup>[18](https://onlinelibrary.wiley.com/doi/10.1002/mma.5278)</sup> 一个实际衍生物是恒定Q变换：MATLAB的`cqt`和`icqt`函数使用非平稳Gabor框架来获得信号的恒定Q、频率自适应变换。<sup>[19](https://www.mathworks.com/help/wavelet/gs/non-stationary-gabor-frames.html)</sup>

## 应用

在音频中，Gabor框架用作深度散射网络的卷积滤波器，将Gabor框架理论与用于音频数据分析的机器学习架构联系起来。<sup>[20](https://arxiv.org/abs/1706.08818)</sup> 在成像中，Gabor变换支持二维图像处理任务，如微分重分配和纹理增强；在心脏成像中，心脏壁变形由MRI标记图像的Gabor变换的稳健频率场估计计算得到。<sup>[3](https://doi.org/10.1016/j.acha.2012.11.007)</sup> Gabor框架展开 \( f(x) = \sum_{k,n} c_{k,n} e^{2\pi i n \alpha x} g(x - k\beta) \) 类似于小波展开，它们所刻画的函数空间是调制空间，由Gabor系数的可和性性质描述。<sup>[21](https://www.sciencedirect.com/science/article/pii/S0022123696930785)</sup>

## 局限与替代方法

固定的高斯窗固定了单一分辨率：短窗给出精确的时间分辨率但频率分辨率差，长窗则相反，因此逆宽度平方参数 \( \alpha \)——其时间宽度按 \( 1/\sqrt{\alpha} \) 缩放、频率宽度按 \( \sqrt{\alpha} \) 缩放——体现的是权衡而非免费的午餐。<sup>[4](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> 实践中高斯窗不能直接使用，因为它缺乏紧支撑，因此使用截断版本。<sup>[2](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)</sup> 在离散网格上，如果信号分量的时频中心与采样网格不对齐，谱能量会错误地扩散到相邻点，以令人困惑的伪影扭曲频谱。<sup>[12](https://www.ni.com/docs/en-US/bundle/labview-advanced-signal-processing-toolkit/page/discrete-gabor-transform-and-expansion.html)</sup>

时频平移构成框架的Gabor系统允许对任意信号进行稳定展开和重建。对任意 \( s(t) \) [存在](https://www.edgepedia.org/zh/existence)Gabor展开仅在 \( T \cdot \Omega \leq 2\pi \) 时可能；\( T \cdot \Omega = 2\pi \) 称为临界采样，\( T \cdot \Omega < 2\pi \) 为过采样。<sup>[6](https://www.egr.msu.edu/~aviyente/qianchen.pdf)</sup> 在Gabor的原始方案中采样是临界的，因此展开系数可以解释为信号的独立自由度；以有理因子过采样时，系数不再独立。<sup>[22](http://martinbastiaans.org/pdfs/eusip96.pdf)</sup>

临界采样带有Balian–Low定理所述的结构性代价：若满足 \( a \cdot b = 1 \) 的Gabor系统 \( \{ e^{2\pi i m b t} g(t - na) \} \) 构成 \( L^{2}(\mathbb{R}) \) 的正交基，则时间扩展与频率扩展的乘积为无穷，

\[ \| t g(t) \|_{2} \, \| \gamma \hat{g}(\gamma) \|_{2} = +\infty. \]<sup>[7](https://heil.math.gatech.edu/papers/blt.pdf)</sup>

同样的障碍对Riesz基也成立：在临界采样下不可能有良好局部化的窗函数。<sup>[11](https://www.math.ucdavis.edu/~strohmer/research/gabor/gaborintro/node6.html)</sup> 这是Gabor展开的应用在历史上受限于Gabor系数计算困难的原因之一，这一困难与Balian–Low现象有关。<sup>[6](https://www.egr.msu.edu/~aviyente/qianchen.pdf)</sup> 过采样可缓解它：在临界采样下分析窗由合成窗唯一确定，且可能具有较差的时频局部化；但在过采样格点（\( F_{0} \cdot T_{0} < 1 \)）下，分析窗不再唯一，可以选择具有良好局部化的窗，例如作为最接近高斯合成窗的均方误差解；随着过采样增加，分析窗越来越接近高斯合成窗。<sup>[2](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)</sup>

与替代方法相比，STFT/Gabor变换的时频分辨率较差但没有伪影，且是通用的；而Wigner–Ville分布在时间和频率上都能提供精细得多的分辨率，但受强交叉项伪影困扰，其幅度可达自项的两倍，因为它是二次非线性变换；平滑伪Wigner–Ville分布以部分分辨率换取伪影的减少。<sup>[4](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> 连续小波变换通常建立在Morlet（Gabor）小波 \( \Psi_{\mathrm{Morlet}}(t) = e^{-\alpha t^{2}} e^{j 2\pi f_{c} t} \) 之上，具有频率依赖的多尺度分辨率，在低频处频率分辨率更细、时间分辨率更粗，在高频处相反。<sup>[4](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> Stockwell变换提供频率依赖的分辨率，并具有固定的相位对齐。<sup>[4](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> 离散小波变换保留完整的时域信息且可逆，适合稀疏表示和压缩，但被认为不太适合可读的时频图。<sup>[4](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> Gabor变换也被称为“Weyl–Heisenberg小波变换”，以区别于“仿射小波变换”。

## References

1. [A Primer on the Wavelet Transform (Heil, SIAM)](https://heil.math.gatech.edu/papers/siam.pdf)
2. [Time-Frequency Analysis (Maria Sandsten, lecture compendium, Lund University)](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)
3. [Evolution equations on Gabor transforms and their applications](https://doi.org/10.1016/j.acha.2012.11.007)
4. [Fourier, Gabor, Morlet or Wigner: Comparison of Time-Frequency Transforms](https://ar5iv.labs.arxiv.org/html/2101.06707)
5. [Gabor's Expansion and the Zak Transform for Continuous-Time and Discrete-Time Signals](http://www.martinbastiaans.org/pdfs/neaman.pdf)
6. [Discrete Gabor transform (IEEE Transactions on Signal Processing, Qian & Chen)](https://www.egr.msu.edu/~aviyente/qianchen.pdf)
7. [The Balian–Low theorem (Benedetto, Heil, Walnut)](https://heil.math.gatech.edu/papers/blt.pdf)
8. [An invitation to Gabor analysis](https://ar5iv.labs.arxiv.org/html/1812.08647)
9. [New Uncertainty Principles for the Continuous Gabor Transform and the Continuous Wavelet Transform](https://www.maths.tcd.ie/EMIS/journals/DMJDMV/vol-05/08.pdf)
10. [Structure of nonstationary Gabor frames and their dual systems](https://www.sciencedirect.com/science/article/pii/S1063520314000190)
11. [Critical sampling, oversampling, and the Balian-Low Theorem](https://www.math.ucdavis.edu/~strohmer/research/gabor/gaborintro/node6.html)
12. [Discrete Gabor Transform and Expansion - NI LabVIEW Advanced Signal Processing Toolkit](https://www.ni.com/docs/en-US/bundle/labview-advanced-signal-processing-toolkit/page/discrete-gabor-transform-and-expansion.html)
13. [Efficient Algorithms for the Discrete Gabor Transform with a Long Fir Window (Journal of Fourier Analysis and Applications)](https://link.springer.com/article/10.1007/s00041-011-9210-5)
14. [D. Gabor (1947). Theory of communication. Journal of the Institution of Electrical Engineers, Part 1, General.](https://doi.org/10.1049/ji-1.1947.0015)
15. [Theory of communication. Part 1: The analysis of information](https://digital-library.theiet.org/content/journals/10.1049/ji-3-2.1946.0074)
16. [From Fourier expansions to Gabor expansions (Strohmer, historical review)](https://www.math.ucdavis.edu/~strohmer/research/gabor/gaborintro/node2.html)
17. [Theory, implementation and applications of nonstationary Gabor frames](https://pmc.ncbi.nlm.nih.gov/articles/PMC3257872/)
18. [Nonstationary Gabor frames for discrete-time signals](https://onlinelibrary.wiley.com/doi/10.1002/mma.5278)
19. [Nonstationary Gabor Frames and the Constant-Q Transform - MATLAB & Simulink](https://www.mathworks.com/help/wavelet/gs/non-stationary-gabor-frames.html)
20. [Gabor frames and deep scattering networks in audio processing](https://arxiv.org/abs/1706.08818)
21. [Gabor Frames and Time-Frequency Analysis of Distributions](https://www.sciencedirect.com/science/article/pii/S0022123696930785)
22. [Gabor Transform and Zak Transform with Rational Oversampling](http://martinbastiaans.org/pdfs/eusip96.pdf)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Numerical, string, and geometric algorithms › Fourier and signal transforms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/gabor-transform

English original: https://www.edgepedia.org/gabor-transform
