Incorporated preprocessing and physical layout analysis of a binary document image using a two stage classification | Synapse