This paper presents a level set method for image restoration. In the light of the loss of image quality caused by occlusion or part stain, it adopts the method of picking-up image level sets and filling in level sets of occlusion to reconstruct the image. In the process of linking level lines, besides the traditional geodesic curves, it makes use of the Meaningful beeline detection technique. The experiment results show this method is of great importance in the preservation of images.