An Approach to Wavelet Based Image Denoising