1. A method for enhancement of electronic images of a document, the electronic images having a background with foreground markings placed thereon, the method comprising: receiving an electronic image comprised of pixels; assigning initial provisional foreground/background status to said pixels to form an initial foreground/background estimate; revising said initial foreground/background estimate to form a revised foreground/background estimate; determining whether said revised foreground/background estimate is the final foreground/background assignment for said pixels; repeating revising said revised foreground/background estimate until said final foreground/background assignment for said pixels is achieved; and providing said final foreground/background assignment for said pixels.