The invention relates to a method for processing a video image, and discloses a method for de-noising an image. The method comprises the following steps of: A, calculating the joint probability distribution P(I,J) of the image; B, determining the threshold range [LI,UI] of gray scale according to the P(I,J); C, ensuring that Wi,j is a N*N window, the coordinate of a central point of the window is (i,j), x is used for representing the central pixel point of the window Wi,j, and the window Wi,j moves to the top left corner of the image; and D, sequencing N*N pixel points in the Wi,j according to gray scale values, finding a gray scale value J corresponding to a median (N*N+1) / 2 of the sequenced gray scale values, not processing the pixel point if J is in the threshold range [LI,UI] in the step B, and replacing the central point x of the window Wi,j with the gray scale value J if J is not in the threshold range [LI,UI]. The method has the advantage of solving the problems that image detail information is lost and the image blurs when pulse noise is removed by the conventional filtering method.