Downsampling and Aliasing in an Image
Keeping fewer samples can turn a fine repeating pattern into a misleading lower-frequency one. Filtering before taking samples can reduce that effect.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace an alternating row
Keeping every other point of a row alternating zero and one yields a constant row, depending on which positions are retained. Averaging adjacent pairs gives one half across the row. See steps in a slice.
Tie the filter to the task
Ordinary photographic downsampling and categorical label maps may need different rules. A label map may preserve one selected category. Nearest-neighbor resampling gives that option.[1][2]