The paper presents an adaptive image denoising method using local histograms and earth mover's distance to adjust the extensions of range and domain filters in bilateral filtering. Experimental results demonstrate that this method effectively removes noise while preserving details better than traditional bilateral filtering and bayesshrink wavelet denoising techniques. The proposed technique shows improved visual quality and higher signal to noise ratios in the restored images.