Automatic Single Page-based Algorithms for Medieval Manuscript Analysis