The invention provides a bivariate nonlocal average filtering de-noising method for an X-
ray image. The method is characterized by comprising the following steps: 1) a selecting method of a fuzzy de-noising window; and 2) a bivariate
fuzzy adaptive nonlocal average filtering
algorithm. The method has the beneficial effects that in order to preferably remove the influence caused by the unknown
quantum noise existing in an industrial X-
ray scan image, the invention provides the bivariate nonlocal
fuzzy adaptive non-linear average filtering de-noising method for the X-
ray image, in the method, a
quantum noise model which is hard to process is converted into a common white
gaussian noise model, the size of a window of a filter is selected by virtue of fuzzy computation, and a relevant weight matrix enabling an
error function to be minimum is searched. A
particle swarm optimization filtering parameter is introduced in the method, so that the weight matrix can be locally rebuilt, the influence of the local relevancy on the sample data can be reduced, the
algorithm convergence rate can be improved, and the de-noising speed and precision for the industrial X-ray scan image can be improved, so that the method is suitable for
processing the X-ray scan image with an uncertain noise model.