Image denoising based on adaptive spatial and Wavelet Thresholding methods