Image Sampling, Aliasing, and Prefiltering

Explain why downsampling can turn fine detail into a different low-frequency pattern and choose a filter before decimation.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Different signals can agree at the sampled positions
  2. Remove high frequencies before reducing the sample rate

Different signals can agree at the sampled positions

An alternating sequence \(0,1,0,1,\ldots\) sampled every second position becomes all zeros or all ones depending on the starting point. The lower-rate samples conceal the original alternation. In images, repeated patterns above the new sampling limit can likewise appear as artificial bands or textures. Selecting fewer pixels does not by itself compute an appropriate lower-resolution image.

Remove high frequencies before reducing the sample rate

A low-pass filter combines nearby values before the smaller grid samples them. Averaging aligned pairs in the toy sequence gives one-half throughout. Real kernels choose a compromise between suppression, blur and edge behavior. Upsampling later cannot determine which of several original signals produced aliased data. Gaussian scale space provides a principled smoothing family. Strided convolution also changes which spatial samples a model sees.[1][2]

References

  1. Richard Szeliski, Computer Vision: Algorithms and Applications ↩
  2. Matt Pharr, Wenzel Jakob and Greg Humphreys, Physically Based Rendering ↩