Old Manuscripts Restoration Using Segmentation