Basic Geometric Transformations

  • Transform theory is fundamental in image processing.
  • Working with the transform of an image can provide more insight than working with the image itself.
  • Applications: image enhancement, restoration, encoding, and description.

Properties of 2D DFT

  • Linearity:
  • Shifting:
  • Modulation:
  • Convolution:
  • Multiplication:
  • Separability:

Separability in Detail

  • 2D Fourier Transforms can be done as a sequence of 1D Fourier Transforms along each axis.
graph LR
    A[2D DFT] --> B(1D DFT along the rows)
    B --> C(1D DFT along the cols)
  • If functions are separable, i.e. .
  • The FT of a separable function is the product of the FTs of individual functions. if .

Discrete Cosine Transform (DCT)

  • Separates the image into parts of differing importance (spectral sub-bands).
  • Similar to DFT but uses only cosine functions.

1D DCT

where:

2D DCT

where:

\Lambda(\xi) = \begin{cases} \frac{1}{\sqrt{2}} & \text{for } \xi = 0 \\ 1 & \text{otherwise} \end{cases}$$ ### DCT Basic Operation - Input image: *N* by *M*. - $f(i, j)$: intensity of the pixel at row *i* and column *j*. - $F(u, v)$: DCT coefficient at row *u* and column *v*. - Most signal energy lies at low frequencies (upper-left corner of the DCT matrix). - Compression: Achieved because higher frequencies (lower-right values) are often small and can be neglected. - DCT input is typically an 8x8 array of integers, representing pixel gray scale levels (0-255 for 8-bit pixels).