Segmentation of text styles
AssigneeXerox Corporation
InventorsDan S. Bloomberg, M. Margaret Withgott
Life of this patent
Estimating the term…
Loading patent…
AssigneeXerox Corporation
InventorsDan S. Bloomberg, M. Margaret Withgott
Estimating the term…
A method and apparatus for differentiating and extracting handwritten annotations and machine printed text in an image. The method provides for the use of morphological operations, preferably at reduced scale, to eliminate for example, the handwritten annotations from an image. A separation mask is produced that, for example, converts all the image pixels corresponding to machine printed text, and none of the image pixels corresponding to handwritten or handprinted annotations. The separation mask is used in conjunction with the original image to produce separate handwritten annotations and machine printed text images. The invention also provides a method and apparatus for identifying the location of specialized type styles such as bold and italic is disclosed. The method erodes a binary image utilizing structuring elements which provide a relatively large number of hits in regions containing the specialized type styles. The destination image resulting from the erosion is coalesced so as to form masks which may be used to extract portions of the original image containing the specialized type styles.
In a digital processing system, a method of processing a binary text image containing at least a first region containing at least a first word having a first type style and a second region containing at least a second word having a second type style to identify locations of said first words having said first type style, comprising the steps of:
In a digital processing system, a method of processing a binary text image to identify and distinguish a location of a first type style wherein said first type style is an italic type style, comprising the step of eroding said binary text image with a first structuring element, wherein said first structuring element comprises a plurality of ON pixels along a first line, said first line at an angle of greater than about 5 degrees from vertical and less than about 25 degrees from the vertical, said structuring element further comprising a plurality of OFF pixels adjacent said first line, to provide a first destination image, said first structuring element more likely to provide a hit in said first region than in said second region, remaining pixels used to identify said location of said first type style, and distinguish said location of said first type style from said second region of said second type style.
In a digital processing system, a method of processing a binary text image to identify and distinguish a location of a first type style, wherein said first type style is a bold type style, and wherein said image contains at least a first region of said first type style and a second region of a second type style, comprising the step of eroding said binary text image with a fist structuring element, wherein said step of eroding comprises the steps of:
In a digital processing system, a method of processing a binary text image to identify and distinguish a location of a first type style, said image containing at least a first region of said first type style and a second region of a second type style, said method comprising the steps of:
In a digital processing system, a method of processing a binary text image to identify and distinguish a location of a first type style, said image containing at least a first region of said first type style and a second region of a second type style, comprising the step of eroding said binary text image with a first structuring element to provide a first destination image, using said first destination image to form a second destination image containing substantially only said first type style from said text image wherein the step of forming a second destination image further comprises the steps of, i) forming a seed image from said first destination image wherein said step of forming a seed image further comprises the steps of, a) dilating said first destination image vertically, b) closing said image horizontally, c) opening said image horizontally;
In a digital processing system, a method of processing a binary text image to identify and distinguish a location of a first type style, said image containing at least a first region of said first type style and a second region of a second type style, comprising the step of eroding said binary text image with a first structuring element to provide a first destination image, using said first destination image to form a second destination image containing substantially only said first type style from said text image wherein the step of forming a second destination image further comprises the steps of, i) forming a seed image from said first destination image;
A method of forming a word mask from a binary image comprising the step of dilating said image with a horizontal structural element, said horizontal structural element comprising at least two adjacent ON pixels preceded by the step of reducing said binary image at least once.
A method of forming a word mask from a binary image comprising the step of dilating said image with a horizontal structural element, said horizontal structural element comprising at least two adjacent ON pixels preceded by two reductions by a factor of 2 with threshold LEVEL=1.
An optical character recognition system for identifying characters of a first type style in a document, said document containing characters of a first type style and a second type style, comprising:
In a digital processing means, a method of identifying handwritten annotation areas of an input image having handwritten annotation areas and machine printed text areas, said method comprising the steps of:
Dependencies are inferred from the claim text.