Today there has been much interest in developing statistical model for analyzing and organizing images. In this work a novel methodology is used to compare the two images and restoring the image according to the values of the images, for this ANOVA table is used as a statistical tool according to the set of values the images are compared . if the values are equal according to that then the images are to be restored. Very old images which are not properly maintained get diminished and it should be replaced. Our work makes a similar comparison of destroyed with original some novel methods are used to identify pattern matching.