Line filtering using 1D Fourier transform.