×

Method and apparatus for separating foreground from background in images containing text

  • US 5,889,885 A
  • Filed: 04/24/1997
  • Issued: 03/30/1999
  • Est. Priority Date: 01/31/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of comparing two binary images corresponding to different thresholdings of a gray-scale image, each of said binary images having a first one of two values for portions of said binary image and a second one of two values for the remainder of said binary image, comprising, prior to applying a character recognition process to said images, the steps of:

  • locating connected components in each of said binary images;

    determining a piece size of each of said connected components, said piece size having a value corresponding to the number of pixels in each of said connected components;

    determining piece size distributions for said binary images, each piece size distribution having the number of connected components by size for connected components of each said binary image having said first one of two values; and

    comparing said piece size distributions by;

    constructing a multi-bin histogram of each of said piece size distributions with a first bin corresponding to small piece sizes in said binary images and with a second bin corresponding to big piece sizes in said binary images;

    computing a first quotient by dividing the value of said first bin of said histogram for a first of said two binary images by the value of said first bin of said histogram for a second of said two binary images; and

    computing a second quotient by dividing the value of said second bin of said histogram for a first of said two binary images by the value of said second bin of said histogram for a second of said two binary images; and

    selecting said first binary image if said first quotient is less than said second quotient multiplied by a quality value.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×