Spatial Filtering

Implements:

  • Low-pass filters: Mean and Gaussian
    alt text
  • High-pass filters: Laplacian and Laplacian of Gaussian (LoG)
    Includes a custom convolution with edge-padding (ConvPadded). alt text

Observation:

  • Mean filter increases blur with kernel size.
  • Gaussian filter maintains more structure.
  • LoG detects sharper edges compared to Laplacian alone.