Shape Reconstruction and Image Restoration for Non-Flat Surfaces of Documents with a Stereo Vision System