Lecture 3 - Fourier Transform Flashcards

(40 cards)

1
Q

What is a signal?

A

A signal is any physical phenomenon that can be represented as a function over time or space and carries information.
* Formally: a function s(t) or s(x,y) that maps from a domain (time or space) to a real or complex range.
* Signals can be 1D (like audio over time) or 2D (like images over space).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Analog and Discrete (digital) Signal

A
  • Analog signal: both domain and range are continuous.
  • Discrete (digital) signal: both domain and range are sampled into finite steps.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a 1D vs 2D Signal

A
  • 1D signal: function of a single variable over time, e.g., audio s(t)
  • 2D signal: function of two variables over space, e.g., image s(x,y)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Filter/Kernel/Operator?

A
  • Filter: transforms one signal into another by emphasizing or removing components.
    Also called: kernel, mask, or window
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the superposition principle?

A

The Superposition Principle applies to linear systems, meaning that the response of the system to multiple inputs can be determined by summing the responses to each input individually.
This includes additivity and homogenity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is additivity and homogenity?

A

Additivity: T(s1 + s2) = T(s1) + T(s2)
Homogenity T(alpha * s) = alpha * T(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Linear and non-linear filtering?

A

A filter is linear if it satisfies the superposition principle, otherwise it is non-linear filtering

Examples:
Scaling of intensity s(x,y) -> c * s(x,y) is linear
Geometric operations (translation, rotation mirroring) are linear
===
But gamma correction s(x,y) -> c * s(x,y)^2 is non-linear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Convolution?

A

Used to measure how much two signals match as one slides over the other
* Convolution gives the area overlap between the two functions as a function of the amount that one of the original functions is translated after reversal

An Example is blurring an image using an average kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to do convolution/What is 2D convolution?

A

REFER TO SLIDES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is signal detection?

A

Signal detection refers to identifying a known pattern (signal) within a larger signal.
* Often implemented using correlation to see if a known signal appears at any point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What’s correlation of 2 signals?

A

Correlation measures the similarity between two signals.
- Used for pattern matching and detection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What’s cross-correlation of 2 signals?

A

Cross-correlation is correlation of two different signals
- Measures similarity at varying shifts.
- Key in template matching, signal detection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Convolution vs Correlation

A

Convolution: Reverses signal
Correlation: Does not reverse signal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What’s auto-correlation?

A

Auto-correlation is the correlation of a signal with itself
- Used to find repeating patterns or periodicity in a signal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a periodic signal?

A

A periodic signal is a signal that repeats itself at regular intervals over time
A signal f(t) is periodic if: f(t + T) = f(t) for all t, where T is the period

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Fourier Series Theorem?

A

Any periodic function can be expressed as a weighted sum of sines and cosines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Analyse Fourier Series (e.g. rectangular wave)

A
  • Represented as the sum of odd harmonics
  • Higher harmonics contribute to sharper edges
    REFER TO SLIDES FOR BREAKDOWN
18
Q

What are the steps to find Fourier Coefficients?

A

Step 1: Identify the Period T
Determine the duration over which the signal repeats itself. This period defines the basic interval for analysis and sets the fundamental frequency of the signal.

Step 2: Compute the Average Value (DC Component)
Find the average value of the function over one period. This value, often called the DC component, represents the constant (non-varying) part of the signal.

Step 3: Compute the Cosine Components
Extract the parts of the signal that behave like cosine waves at different frequencies. These capture the even symmetry (mirror symmetry around the y-axis) of the signal.

Step 4: Compute the Sine Components
Extract the parts that behave like sine waves at different frequencies. These describe the odd symmetry (mirror symmetry with sign change) in the signal.

Step 5: Reconstruct the Signal Using the Coefficients
Combine the average value, cosine parts, and sine parts together to reconstruct the original signal. The more terms you use, the more accurate the approximation becomes.

19
Q

What is Discrete vs Continuous Spectrum

A

A discrete spectrum arises when a signal is periodic. This means the signal repeats itself after a fixed interval (period T).
- Fourier Series → discrete spectrum (periodic signal)

A continuous spectrum arises when a signal is non-periodic. This means the signal does not repeat itself.
- Fourier Transform → continuous spectrum (non-periodic signal)

20
Q

What is the Fourier Transform?

A

Used to decompose an image into its sine and cosine components.
The non periodic signals whose area under the curve is finite can also be represented into integrals of the sines and cosines after being multiplied by a certain weight.

21
Q

Why negative frequencies?

A
  • Negative frequencies represent phase-shifted versions of positive frequencies.
22
Q

What is the Inverse Fourier Transform (IFT)

A

Recovers the signal from its frequency representation.

23
Q

Why are we interested in Fourier Transform (what are the advantages)?

A
  • Separates image content by frequency
  • Makes filtering efficient
  • Enables compression, denoising
  • Highlights patterns (edges, textures)
24
Q

What is Amplitude and Phase?

A

Amplitude and Phase Concepts
* Amplitude: magnitude of frequency component.
* Phase: angle, determines position/structure.
In images, phase carries critical structure information.

25
What are the Fourier Transform Properties?
FT Properties * Linearity: FT of sum = sum of FTs * Shift: spatial shift → phase change * Scaling: wider in space = narrower in frequency * Conjugate symmetry: FT of real signals is symmetric
26
What is convolution theorem?
Convolution in the spatial domain corresponds to multiplication in the frequency domain and vice versa Given by f * g <-> F(w) x G(w)
27
What is Discrete Fourier Transform (DTF)
Transforms uniformly spaced real signals from the spatial domain into complex numbers in the frequency domain - DFT expresses an image as a weighted sum of sinusoidal basis functions. - These basis functions are combinations of sine and cosine waves.
28
What are the properties of DTF?
Periodicity: DFT is periodic in both directions Conjugate Symmetry: DFT of real-valued signals exhibits symmetry Complex output: Real and imaginary components DC component: Located at F[0,0], represents average intensity
29
What is Inverse Discrete Fourier Transform (IDTF)?
Converts the frequency-domain signal back to its spatial form.
30
Sampling vs Reconstruction
Sampling: Sampling is the process of converting a continuous signal into a discrete signal by taking measurements at regular intervals. Reconstruction: Reconstruction is the process of converting a discrete signal back into a continuous one.
31
What is Nyquist Frequency?
This is the maximum frequency that can be correctly sampled without aliasing.
32
What is Aliasing?
Aliasing is a phenomenon where high-frequency components appear as lower frequencies in the sampled signal due to insufficient sampling. This creates distortions, especially in images: * Fine patterns may appear as incorrect shapes or textures. * In audio, aliasing leads to unnatural tones.
33
What is a High Pass filter
High-Pass Filter (HPF) - Suppressing Low Frequencies * Function: A high-pass filter allows high-frequency signals to pass through while attenuating (removing) lower frequencies. === After applying the high-pass filter, the low-frequency components are removed, leaving only the fast-moving high-frequency parts.
34
What is a Low Pass Filter
Low-Pass Filter (LPF) - Suppressing High Frequencies * Function: A low-pass filter allows low-frequency signals to pass through while attenuating (removing) higher frequencies. === After filtering, only the slower, low-frequency components remain, while the high-frequency parts are removed.
35
What is the Fast Fourier Transform (FFT)
Exploits properties of the Fourier Transform to enable the transformation to be done faster Efficient algorithm for DFT: * Reduces complexity from O(N^2) → O(Nlog⁡N) * Uses divide and conquer * Essential for real-time applications
36
What and where are Low and High frequencies?
Low frequencies make up the bulk of the information (areas of low variation in intensity) such as smooth regions in image - Low frequencies are near the origin === High frequencies make up the edges and fine detail (areas of high variation in intensity) such as edges in an image - High frequencies are away from the origin
37
What are Transforms?
A signal can be converted from time domain into frequency domain using mathematical operators
38
What can an appropriate manipulation in the frequency domain can lead to
– the output image being smoothed (noise removal) – the output image being sharpened – certain features being removed in the output image because they fall inside a specific frequency range
39
What is the image processing pipeline in the Frequency Domain?
- input image (spatial domain) -> Fourier Transform then -> - Complex image (freq domain) -> Manipulate then -> - Complex image (freq domain) -> Inverse Fourier Transform -> output image (spatial domain)
40
Applications of the frequency domain
- Preprocessing ▪ Filtering ▪ Enhancement, etc. - Data Compression - Feature Extraction ▪ Edge Detection ▪ Corner detection, et