Method and apparatus for correcting the degradation of the book middle image by image processing on the outline of the book middle of the image with reference