The definition of the spectrogram relies on the Gabor transform (also called short-time Fourier transform, for short STFT), whose idea is to localize a signal f in time by multiplying it with translations of a window function w ( t ) {\displaystyle w(t)} .
The definition of spectrogram is
where G x , w 1 {\displaystyle {G_{x,{w_{1}}}}} denotes the Gabor Transform of x ( t ) {\displaystyle x(t)} .
Based on the spectrogram, the generalized spectrogram is defined as:
where:
For w 1 ( t ) = w 2 ( t ) = w ( t ) {\displaystyle w_{1}(t)=w_{2}(t)=w(t)} , it reduces to the classical spectrogram:
The feature of Generalized spectrogram is that the window sizes of w 1 ( t ) {\displaystyle w_{1}(t)} and w 2 ( t ) {\displaystyle w_{2}(t)} are different. Since the time-frequency resolution will be affected by the window size, if one choose a wide w 1 ( t ) {\displaystyle w_{1}(t)} and a narrow w 1 ( t ) {\displaystyle w_{1}(t)} (or the opposite), the resolutions of them will be high in different part of spectrogram. After the multiplication of these two Gabor transform, the resolutions of both time and frequency axis will be enhanced.