Understanding Orthogonal Transform

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What distinguishes an orthogonal transform from other types of transforms?

  • It operates only on real-valued functions.
  • It uses basis polynomials that are orthogonal to each other. (correct)
  • It uses basis polynomials that are normalized but not necessarily orthogonal.
  • It always results in a diagonal transformation matrix.

In the context of orthogonal polynomials (OP), what does the term 'orthogonal' signify?

  • The polynomials are scaled versions of each other.
  • Any two different polynomials in the sequence have a zero inner product. (correct)
  • The polynomials have a constant magnitude.
  • The polynomials are identical to each other.

In the orthogonality condition formula, what does $\omega(x)$ represent?

  • The Kronecker delta function.
  • The weight function. (correct)
  • The squared norm of the orthogonal polynomial.
  • Imaginary number
  • The complex conjugate of the polynomial.

Given $R$ is a matrix representing an orthogonal transform, which of the following expressions defines a unitary transform?

<p>$R^{-1} = R'$ (B)</p> Signup and view all the answers

What mathematical operation does the symbol '*' represent in the expression $R' = R^{*T}$?

<p>Complex conjugate. (B)</p> Signup and view all the answers

In signal processing, what is the primary purpose of applying an orthogonal transform?

<p>To convert a signal from the time domain to the transform domain. (C)</p> Signup and view all the answers

To reconstruct a 1-D signal after applying an orthogonal transform, which of the following operations is required?

<p>Multiply the transformed signal by the conjugate transpose of the transform matrix $R'$. (B)</p> Signup and view all the answers

For a 2-D signal, what is the correct matrix multiplication order to transform the signal $f$ to its transform domain representation $F$, using transform matrices $R_x$ and $R_y$?

<p>$F = R_y \times f \times R_x'$ (D)</p> Signup and view all the answers

Under what condition is $R_x$ equal to $R_y$ when transforming a 2D signal?

<p>If the matrix is square ($N_x = N_y$). (A)</p> Signup and view all the answers

In the context of the Fourier Transform, what is the 'spatial domain'?

<p>The physical space where the image or signal is defined. (B)</p> Signup and view all the answers

What is the key distinction between information presented in the transform domain versus the original domain?

<p>The transform domain provides mathematically equivalent information, but represented differently. (D)</p> Signup and view all the answers

In a Fourier series representation of a function, what do the 'peaks' in the frequency spectrum typically represent?

<p>The frequencies at which the function has significant components. (C)</p> Signup and view all the answers

Which of the following formulas represents the 2D Fourier Transform?

<p>$F(\omega_x, \omega_y) = \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} f(x, y) e^{-j(\omega_x x)} e^{-j(\omega_y y)} dx dy$ (A)</p> Signup and view all the answers

Evaluate $e^{j\alpha}$

<p>$cos(\alpha) + j \cdot sin(\alpha)$ (A)</p> Signup and view all the answers

Which of the following formulas represents the 2D Inverse Discrete Fourier Transform (IDFT)?

<p>$f(x, y) = \frac{1}{N_x N_y} \sum_{k_x=0}^{N_x-1} \sum_{k_y=0}^{N_y-1} F(n, m) e^{j2\pi \frac{nx}{N_x}} e^{j2\pi \frac{my}{N_y}}$ (D)</p> Signup and view all the answers

Given $N = 4$ in the context of Discrete Fourier Transform (DFT) orthogonality, what is the simplified form of the orthogonality condition?

<p>$\sum_{x=0}^{3} e^{-i\frac{\pi}{2}x(n-m)} = 0$ if $n \ne m$ and will be equal to 4 if $n = m$ (D)</p> Signup and view all the answers

When $n \ne m$ for $N=4$, what must be true?

<p>$n + m$ must always be odd. (B)</p> Signup and view all the answers

If $N = 4$, express the orthogonality condition in terms of matrix multiplication.

<p>$R \times R' = 4I$ (D)</p> Signup and view all the answers

For real images, what relationship exists between $F(k)$ and $F(-k)$ in the context of the Discrete Fourier Transform?

<p>$F(k) = F^*(-k)$ (A)</p> Signup and view all the answers

What does Parseval's Theorem state in the context of the Discrete Fourier Transform?

<p>All of the above. (D)</p> Signup and view all the answers

In the given example related to the Discrete Fourier Transform, if the real part of a complex number is 0, and the imaginary part is any non-zero number, what is the angle?

<p>90 degrees. (A)</p> Signup and view all the answers

In the given example, related to the Discrete Fourier Transform, if a complex number only has a negative real component, then what is its angle?

<p>180 degrees (C)</p> Signup and view all the answers

What is the formula to calculate the magnitude of a complex number? (Where real is the real number, and img is the imaginary number)

<p>magnitude = $\sqrt{real^2 + img^2}$ (C)</p> Signup and view all the answers

What represents $tan^{-1}$ (img / real) in the context of Discrete Fourier Transforms

<p>The angle (A)</p> Signup and view all the answers

Flashcards

Orthogonal Transform

A transform where the basis polynomials (functions) are orthogonal.

Orthogonal Polynomial (OP)

A family of polynomials where any two different polynomials are orthogonal to each other under some inner product.

Orthogonality Condition for OP

The condition that defines when a set of polynomials is orthogonal, involving an inner product equal to zero for different polynomials.

Orthonormal Polynomial

Using the weighted normalized form, the polynomial is not only orthogonal but also orthonormal.

Signup and view all the flashcards

Unitary Transform

Transformation is invertible and called unitary transform. (R-1 = R')

Signup and view all the flashcards

Transform Signal

Transforming a signal from time domain to transform domain.

Signup and view all the flashcards

Inverse Transform

Retrieving the original signal from its transform domain representation.

Signup and view all the flashcards

2D Fourier Transform

Transforms an image from its spatial domain into the frequency domain

Signup and view all the flashcards

Fourier Transform

Traditional way for processing signals

Signup and view all the flashcards

Fourier series

A function that is resolved into sines and cosines.

Signup and view all the flashcards

1D Fourier Transform

Transforms continuous functions into frequency components.

Signup and view all the flashcards

2D Fourier Transform

Extends Fourier Transform to two dimensions.

Signup and view all the flashcards

Discrete Fourier Transform (DFT)

Fourier transform for discrete data.

Signup and view all the flashcards

Inverse Discrete Fourier Transform

Reconstructs original discrete signal.

Signup and view all the flashcards

Orthogonality of DFT

The OP for DFT is:

Signup and view all the flashcards

Properties of DFT

Properties of Discrete Fourier Transform

Signup and view all the flashcards

Parseval Theorem

Parseval Theorem

Signup and view all the flashcards

Superposition

Superposition property

Signup and view all the flashcards

Shift

Shift property

Signup and view all the flashcards

Reversal

Reversal property

Signup and view all the flashcards

Convolution

Convolution property

Signup and view all the flashcards

Differentiation

Differentiation property

Signup and view all the flashcards

Images angle in ImaginaryLine

If real=0, img= ± any number, Then angle=± 90

Signup and view all the flashcards

Images angle if real= +

If real= +, img=0, Then angle=0

Signup and view all the flashcards

Images angle when real negative

If real=-, img=0, Then angle=180

Signup and view all the flashcards

Study Notes

Orthogonal Transform

  • The basis polynomials/functions of a transform are orthogonal making it an orthogonal transform
  • Orthogonal polynomials (OP) are a family of polynomials
  • Any two different polynomials in the sequence are orthogonal to each other under some inner product
  • The orthogonality condition for an OP:
    • ∑ Rₙ(x)Rₘ(x) ω(x) = ρ(η)δₙₘ, summed from x=0 to N-1
    • n, m = 0, 1, 2, ..., N – 1
    • ρ(η) is the squared norm of OP
    • ω(x) is the weight function
    • δₙₘ is the Kronecker delta
  • The weighted normalized form is for calculating polynomial coefficients:
    • Rₙ(x) = Rₙ(x) * sqrt(ω(x) / ρ(η))
  • The orthogonality condition can be written as:
    • Σ Rₙ(x)Rₘ(x) ω(x) = ρ(η)δₙₘ (summed from x=0 to N-1)
    • Σ Rₙ(x)Rₘ(x) = δₙₘ (summed from x=0 to N-1)
  • In matrix multiplication:
    • R × R' = I
    • If the weighted normalized form of the polynomial is used to calculate the polynomial coefficients, the polynomial is orthonormal
    • The transformation is invertible and is called a unitary transform
    • R⁻¹ = R', where R' = R*ᵀ
      • represents complex conjugate
    • T represents the transpose of a matrix

Transforming Signals

  • To transform a 1-D signal from time to transform domain:
    • F(n) = Σ Rₙ(x) f(x) from x=0 to N-1
    • In matrix multiplication, F = R × f
    • f should be a column vector
  • To reconstruct the signal from the transform domain using inverse transformation:
    • f(x) = Σ Rₙ(x) F(n) from n=0 to N-1
    • In matrix multiplication, f = R' × F

Transforming 2D Signals

  • To transform a 2-D signal from time to transform domain:
    • F(n, m) = ΣΣ Rₙ(x, Nₓ)Rₘ(y, Nᵧ)f(x, y) summed from x=0 to Nₓ-1 and y=0 to Nᵧ-1
    • In matrix multiplication, F = Rᵧ × f × R'ₓ
  • To reconstruct the signal from the transformation domain using inverse transformation:
    • f(x, y) = ΣΣ Rₙ(x, Nₓ)Rₘ(y, Nᵧ)F(n, m) summed from n=0 to Nₓ-1 and m=0 to Nᵧ-1
    • In matrix multiplication, f = R'ᵧ × F × Rₓ
  • When the matrix is square (Nₓ = Nᵧ):
    • Rₓ = e^(-j2π(nx/Nₓ))
    • Rᵧ = e^(-j2π(my/Nᵧ))
    • Rₓ = Rᵧ

Fourier Transform

  • Defines a traditional way of processing signals
  • Introduces the basics of the Fourier transform and Fourier filtering
  • High-frequency and low-frequency information in an image is explained
  • The 2D Fourier transform maps an image from its spatial domain into the frequency domain (Transform Domain)
  • The transform domain provides a different but mathematically equivalent representation

Fourier series

  • A function f is resolved into Fourier series as a linear combination of sines and cosines
  • The component frequencies of sines and cosines spread across the frequency spectrum and are represented as peaks in the frequency domain (Dirac delta functions)
  • The frequency domain representation of f is the collection of peaks at the frequencies that appear in this resolution

Fourier Transform Equations

  • 1D Fourier Transform:
    • F(ωₓ) = ∫ f(x) e^(-j(ωₓx)) dx integral from -∞ to ∞
  • 2D Fourier Transform:
    • F(ωₓ, ωᵧ) = ∫∫ f(x, y) e^(-j(ωₓx))e^(-j(ωyy)) dx dy integral from -∞ to ∞
    • F(ωₓ, ωᵧ) = ∫∫ f(x, y) e^(-j(ωₓx + ωyy)) dx dy integral from -∞ to ∞

Discrete Fourier Transform

  • 1D discrete Fourier Transform:
    • F(n) = Σ f(x) e^(-j2π(nx/Nₓ)) from x=0 to Nₓ-1
  • 2D discrete Fourier Transform:
    • F(n, m) = ΣΣ f(x, y) e^(-j2π(nx/Nₓ)) e^(-j2π(my/Nᵧ)) from x=0 to Nₓ-1 and y=0 to Nᵧ-1
    • F(n, m) = ΣΣ f(x, y) e^(-j2π((nx/Nₓ) + (my/Nᵧ))) from x=0 to Nₓ-1 and y=0 to Nᵧ-1
  • Euler's formula:
    • e^(jα) = cos α + j ⋅ sin α
    • j = √-1

Inverse Discrete Fourier Transform

  • 1D inverse discrete Fourier Transform:
    • f(x) = (1/Nₓ) Σ F(n) e^(j2π(nx/Nₓ)) from kₓ=0 to Nₓ-1
  • 2D inverse discrete Fourier Transform:
    • f(x, y) = (1/NₓNᵧ) ΣΣ F(n, m) e^(j2π(nx/Nₓ)) e^(j2π(my/Nᵧ)) from kₓ=0 to Nₓ-1 and kᵧ=0 to Nᵧ-1
    • f(x, y) = (1/NₓNᵧ) ΣΣ F(n, m) e^(j2π((nx/Nₓ) + (my/Nᵧ))) from kₓ=0 to Nₓ-1 and kᵧ=0 to Nᵧ-1

Orthogonality of DFT

  • The OP for DFT is Rₙ(x) = e^(-i2π(nx/N))
  • Σ Rₙ(x)Rₘ(x) = Σ e^(-i2π(nx/N)) e^(+i2π(mx/N)) = Σ e^((i2π/N)x(n-m)) summed from x=0 to N-1
  • Let N = 4:
    • Σ e^((i2π/4)x(n-m)) = Σ e^((iπ/2)x(n-m)) summed from x=0 to 3
    • e⁰ + e^(-iπ/2) (n-m) + e^(-iπ(n-m)) + e^(i3π/2) (n-m)
    • 1 + cos((π/2)(n-m)) + i sin((π/2)(n-m)) + cos(π(n-m)) + i sin(π(n-m)) + cos((3π/2)(n-m)) + i sin((3π/2)(n-m))
    • 1 + 2 cos(π(n-m)) cos((π/2)(n-m)) + i2 sin(π(n-m)) cos((π/2)(n-m)) + cos(π(n-m)) + i sin(π(n-m))
    • 1 + 2 cos(π(n-m)) cos((π/2)(n-m)) + cos((π/2)(n-m))
    • 1 + cos((π/2)(n-m)) (2cos(π(n-m)) + 1)
    • 1 + cos((π/2)(n-m)) (2 cos(π(n-m)) + 1) → (-1)^(n-m)
    • 1 + cos((π/2)(n-m)) (1 + 2(-1)^(n-m))
  • If n = m:
    • 1 + 1 × (2 + 1) = 4
  • If n ≠ m:
    • 1 + cos((π/2)(n-m)) (1 - 2) = 0, because n + m are always odd
  • The orthogonality condition in terms of matrix multiplication:
    • If N = 4, Rₙ(x) = e^(-i2π(nx/N))
    • R = a 4x4 matrix in terms of i, -i, 1, and -1
    • R' = R*ᵀ
    • R × R' = a 4x4 matrix with the diagonal as 4 and the rest of the elements at 0

Properties of Discrete Fourier Transform

  • Superposition: f1 + f2 transforms to F1 + F2
  • Shift: f(x - x₀) transforms to F(k)e^(-jw x₀)
  • Reversal: f(-x) transforms to F*(ω)
  • Convolution: f(x) * h(x) transforms to F(k)H(k)
  • Correlation: f(x) ⊗ h(x) transforms to F(k)H*(k)
  • Multiplication: f(x)h(x) transforms to F(k) * H(k)
  • Differentiation: f'(x) transforms to jkF(k)
  • Domain scaling: f(ax) transforms to 1/a F(k/a)
  • Real images: f(x) = f*(x)
  • Parseval Theorem: Σₓ[f(x)]² = Σₖ[F(k)]²

Example 1

  • Given matrix I = [[4, 5], [2, 1]]
  • F(n,m) = ΣΣ f(x,y) e^(-j2π(nx/Nₓ)) e^(-j2π(my/Nᵧ)) from x=0 to Nₓ-1 and y=0 to Nᵧ-1
  • f(x, y) = [[f(0,0), f(1,0)], [f(0,1), f(1,1)]]
  • Nₓ = 2, Nᵧ = 2
  • F(n,m) = ΣΣ f(x,y) e^(-j2π(nx/2)) e^(-j2π(my/2)) from x=0 to 1 and y=0 to 1
  • f(x, y) e^(iπnx) e^(iπmy)
  • F(n,m) = [[F(0,0), F(1,0)], [F(0,1), F(1,1)]]
  • F(0,0) = f(0,0) e^(iπ⋅0⋅0) e^(iπ⋅0⋅0) + f(0,1) e^(iπ⋅0⋅0) e^(iπ⋅0⋅1) + f(1,0) e^(jπ⋅0⋅1) e^(iπ⋅0⋅0) + f(1,1) e^(iπ⋅0⋅1) e^(iπ⋅0⋅1)
  • F(0,1) = f(0,0) e^(iπ⋅0⋅0) e^(iπ⋅1⋅0) + f(0,1) e^(iπ⋅0⋅0) e^(↑π⋅1⋅1) + f(1,0) e^(iπ⋅0⋅1) e^(iπ⋅1⋅0) + f(1,1) e^(iπ⋅0⋅1) e^(↑π⋅1⋅1)
  • F(1,0) = f(0,0) e^(iπ⋅1⋅0) e^(iπ⋅0⋅0) + f(0,1) e^(↑π⋅1⋅0) e^(iπ⋅0⋅1) + f(1,0) e^(↑π⋅1⋅1) e^(iπ⋅0⋅0) + f(1,1) e^(↑π⋅1⋅1) e^(iπ⋅0⋅1)
  • F(1,1) = f(0,0) e^(iπ⋅1⋅0) e^(iπ⋅1⋅0) + f(0,1) e^(↑π⋅1⋅0) e^(↑π⋅1⋅1) + f(1,0) e^(↑π⋅1⋅1) e^(iπ⋅1⋅0) + f(1,1) e^(↑π⋅1⋅1) e^(↑π⋅1⋅1)
  • F(0,0) = f(0,0) ⋅ 1 ⋅ 1 + f(0,1) ⋅ 1 ⋅ 1 + f(1,0) ⋅ 1 ⋅ 1 + f(1,1) ⋅ 1 ⋅ 1
  • F(0,1) = f(0,0) ⋅ 1 ⋅ 1 + f(0,1) ⋅ 1 ⋅ (-1) + f(1,0) ⋅ 1 ⋅ 1 + f(1,1) ⋅ 1 ⋅ (-1)
  • F(1,0) = f(0,0) ⋅ 1 ⋅ 1 + f(0,1) ⋅ 1 ⋅ 1 + f(1,0) ⋅ (-1) ⋅ 1 + f(1,1) ⋅ (-1) ⋅ 1
  • F(1,1) = f(0,0) ⋅ 1 ⋅ 1 + f(0,1) ⋅ 1 ⋅ (-1) + f(1,0) ⋅ (-1) ⋅ 1 + f(1,1) ⋅ (-1) ⋅ (-1)
  • F(0,0) = f(0,0) + f(0,1) + f(1,0) + f(1,1) = 12
  • F(0,1) = f(0,0) - f(0,1) + f(1,0) - f(1,1) = 0
  • F(1,0) = f(0,0) + f(0,1) - f(1,0) - f(1,1) = 6
  • F(1,1) = f(0,0) - f(0,1) - f(1,0) + f(1,1) = -2
  • The transformed matrix I = [[12, 0], [6, -2]]
  • Magnitude matrix ||I||= [[12, 0], [6, 2]]
  • Angle matrix angle(I) = [[0, 0], [0, 180]]
  • Magnitude of elements √real² + img²
  • Angle of elements tan⁻¹(img/real)
  • If real = 0, img = ± any number, then angle = ± 90
  • If real = +, img = 0, then angle = 0
  • If real = -, img = 0, then angle = 180

Example 2

  • Given matrix I = [[4, 5, 6, 7], [2, 1, 8, 9], [2, 5, 4, 6]]
  • The tranformed matrix I = [[59, -10 - 11i, -7, -10 + 11i], [3.5 - 2.59i, -4.06 + 5.96i, 0.5 + 4.33i, 8.06 + 0.96i], [3.5 + 2.59i, 8.06 - 0.96i, 0.5 + 4.33i, -4.06 - 5.96i]]
  • Magnitude matrix ||I|| = [[59, 14.86, 7, 14.87], [4.36, 7.22, 4.36, 8.12], [4.36, 8.12, 4.36, 7.22]]
  • Angle matrix angle(I) = [[+000.00, -132.27, +180.00, +132.27], [-036.59, +124.56, -083.41, +006.82], [+036.59, -006.82, +083.41, -124.26]]

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser