Vehicle detection using approximation of feature pyramids in the DFT domain