1. A method for processing a digital image, said digital image comprising an imaged document and surrounding image, said method comprising: finding potential edges of said imaged document by at least two different computer implemented edge detection techniques; grouping the found potential edges into top, bottom, left and right side potential edge groups; for each edge group, selecting a subset of potential edges that are determined to likely represent an edge of the imaged document; determining the edges of the imaged document, wherein said determining step includes further analysis of the subsets of potential edges; and segmenting the imaged document from the digital image using the determined edges of the imaged document.