The invention discloses a non-local mean image denoising method based on filter window and parameter self-adaptation. Firstly, the noise detection is carried out, and the noise calibration matrix is established according to the detection results, whose size is consistent with the image size. The matrix value corresponding to the noise point is set to 1, and the non-noise point is set to 0. Then, each pixel in the noise image is taken as a reference point in turn, and then a predetermined number of non-noise reference points are taken counterclockwise around this point to participate in the calculation. Finally, the adaptive weighting parameters are determined according to the position information of the reference point, the weighting result is calculated, and the restored pixel value is obtained, and the corresponding element of the noise calibration matrix is set to 0, and the pixel point after denoising can be used as the reference point of the remaining noise points. Compared with the traditional image denoising method, this method adds noise detection and noise point screening, which improves the accuracy of the algorithm, changes the reference point selection window, and improves the adaptability of the algorithm.