1. A method, comprising using a processor to perform the following steps: obtaining a Fourier Transform (FT) of a first image; obtaining an M-level quantization of one or more frequency samples contained in said FT of said first image, wherein said M-level quantization produces a first set of quantized values; constructing a filter using said first set of quantized values; obtaining an FT of a second image; obtaining an N-level quantization of one or more frequency samples contained in said FT of said second image, wherein said N-level quantization produces a second set of quantized values and the value of N varies with the frequency of the frequency sample of said second image being quantized; and applying said filter to said second set of quantized values.