1. A method of estimating background color in an image comprising: segmenting each scan line of the image into like-color line segments; grouping the like-color line segments by color; and estimating the background color on the basis of edge pixels along the line segments of said groups.