Abstract:Based on the analysis of the reasons and the features of the data loss when images are transferred, the paper makes use of the idea of the grey prediction and comes up with a new algorithm when images are repared. The new algorithm is to apply the grey prediction method to image inpainting, which basically meets the needs of image restoration and attains the applicable conditons for the algorithm through the experiments.