18. A non-transitory computer readable storage medium encoded with instructions for performing a computer-implemented method for determining a logical structure of a document, the computer-implemented method comprising: acquiring an image of the document; generating at least one document hypothesis for the image of the document, wherein said generating includes referencing a plurality of document models, wherein each document model describes one or more possible logical structures in the image of the document; selecting programmatically as an acceptable document hypothesis the document hypothesis that has an acceptable correspondence with the image of the document; and forming a representation of the document based on the acceptable document hypothesis.
18. A non-transitory computer readable storage medium encoded with instructions for performing a computer-implemented method for determining a logical structure of a document, the computer-implemented method comprising: acquiring an image of the document; generating at least one document hypothesis for the image of the document, wherein said generating includes referencing a plurality of document models, wherein each document model describes one or more possible logical structures in the image of the document; selecting programmatically as an acceptable document hypothesis the document hypothesis that has an acceptable correspondence with the image of the document; and forming a representation of the document based on the acceptable document hypothesis. 19. The non-transitory computer readable storage medium of claim 18 , wherein one or more of the plurality of document models is stored in the computer readable storage medium.