Image enhancement using wavelet modeling