Image-based logical document structure recognition
a general approach to connected - component labelling for arbitrary image representations .