Image DCT High-Pass and Low-Pass Filter Implementation with Fourier Transform Comparison
Implementation of Discrete Cosine Transform (DCT) high-pass and low-pass filters for image processing, with comparison to Fourier Transform (FFT) filtering. Visual results demonstrate that DCT low-pass filtering produces significant blurring due to energy reduction from taking the real component of FFT. DCT high-pass filtering removes low-frequency components, resulting in darkened images with only edge traces visible. Code implementation includes frequency domain masking and coefficient thresholding techniques.