1. A method of processing an image represented by a plurality of pixel values, each pixel value corresponding to a pixel element, the method comprising: operating a processor in a computer system to generate for each of a plurality of first bands of pixel values in said image, a first set of first histogram values, said first bands extending in a first direction, each first histogram value corresponding to a set of pixel values extending in a second direction perpendicular to said first direction; and analyzing at least some of the first set of histogram values to determine for each analyzed first set of histogram values a location of a first image edge and a first confidence value corresponding to the determined first image edge location.