Controlling Noise Effect using Wavelet Filters in Edge Detection