Efficient spatial-domain implementation of a multiscale image representation based on Gabor functions