1. In a computer-based system, a method of delineating document boundaries and identifying document types, comprising: automatically categorizing a plurality of document images into a plurality of predetermined categories in accordance with classification rules for said categories; and automatically generating at least one identifier for identifying which of said plurality of document images belongs to which of said at least two categories.