Method and apparatus for document processing

Abstract: A method and apparatus for excerpting and summarizing an undecoded document image, without first converting the document image to optical character codes such as ASCII text, identifies significant words, phrases and graphics in the document image using automatic or interactive morphological image recognition techniques, document summaries or indices are produced based on the identified significant portions of the document image. The disclosed method is particularly adept for improvement of reading machines for the blind.

Description: This invention relates to improvements in methods and apparatuses for automatic document processing, and more particularly to improvements in methods and apparatuses for recognizing semantically significant word image units in a document image without first decoding the document image and automatically creating a summary version of the document contents. It has long been the goal in computer based electronic document processing to be able, easily and reliably, to identify, access and extract information contained in electronically encoded data representing documents; and to summarize and characterize the information contained in a document or corpus of documents which has been electronically stored. For example, to facilitate review and evaluation of the information content of a document or corpus of documents to determine the relevance of same for a particular user's needs, it is desirable to be able to identify the semantically most significant portions of a document, in terms of the information they contain; and to be able to present those portions in a manner which facilitates the user's recognition and appreciation of the document contents. However, the problem of identifying the significant portions within a document is particularly difficult when dealing with images of the documents (bitmap image data), rather than with code representations thereof (e.g., coded representations of text such as ASCII). As opposed to ASCII text files, which permit users to perform operations such as Boolean algebraic key word searches in order to locate text of interest, electronic documents which have been produced by scanning an original without decoding to produce document images are difficult to evaluate without exhaustive viewing of each document image, or without hand-crafting a summary of the document for search purposes. Of course, document viewing or creation of a document summary require extensive human effort. On the other hand, current image recognition methods, particularly involving textual material, generally involve dividing an image segment to be analyzed into individual characters which are then deciphered or decoded and matched to characters in a character library. One general class of such methods includes optical character recognition (OCR) techniques. Typically, OCR techniques enable a word to be recognized only after each of the individual characters of the word have been decoded, and a corresponding word image retrieved from a library. Moreover, optical character recognition decoding operations generally require extensive computational effort, generally have a non-trivial degree of recognition error, and often require significant amounts of time for image processing, especially with regard to word recognition. Each bitmap of a character must be distinguished from its neighbors, its appearance analyzed, and identified in a decision making process as a distinct character in a predetermined set of characters. Further, the image quality of the original document and noise inherent in the generation of a scanned image contribute to uncertainty regarding the actual appearance of the bitmap for a character. Most character identifying processes assume that a character is an independent set of connected pixels. When this assumption fails due to the quality of the image, identification also fails. EP-A-0-361-464 describes a method and apparatus for producing an abstract of a document with correct meaning precisely indicative of the content of the document. The method includes listing hint words which are preselected words indicative of the presence of significant phrases that can reflect content of the document, searching all the hint words in the document, extracting sentences of the document in which any one of the listed hint words is found by the search, and producing an abstract of the document by juxtaposing the extracted sentences. Where the number of hint words produces a lengthy excerpt, a morphological language analysis of the abstracted sentences is performed to delete unnecessary phrases and focus on the phrases using the hint words as the right part of speech according to a dictionary containing the hint words. "A Business Intelligence System" by Luhn, IBM Journal, October 1958 describes a system which in part, auto-abstracts a document, by ascertaining the most frequently occurring words (significant words) and analyzes all sentences in the text containing such words. A relative value of the sentence significance is then established by a formula which reflects the number of significant words contained in a sentence and the proximity of these words to each other within the sentence. Several sentences which rank highest in value of significance are then extracted from the text to constitute the auto-abstract. FIRST INTERNATIONAL CONFERENCE ON DOCUMENT ANALYSIS AND RECOGNITION ICDAR 91, 30 September-2 October 1991, San Malo, FR, pages 963-971; D.S.BLOOMBERG: "Multiresolution morphological approach to document image analysis" discloses morphological operations for performing document image analysis. For example, techniques are disclosed for identifying italic and bold words in text using word-level extraction at reduced resolution. SYSTEMS & COMPUTERS IN JAPAN, vol. 18, no. 8, 1987, NEW YORK, US, pages 77-87; M. HASE ET AL.: "A method for extracting marked regions from document images" discloses techniques for extracting marked regions from document images. The user may specify a region using felt-tip color-pen, with a color-on mark or a round mark. PATENT ABSTRACTS OF JAPAN, vol. 014, no. 298 (P-1068), 27 June 1990, describing JP-A-02 093 866, discloses a technique for extracting a sentence including a keyword and generating a summary sentence. The sentence is extracted from document data. FR-A-2 453 451 discloses a reading machine for the blind. The machine includes an optoelectronic camera, a logic unit, and an output unit that converts ASCII to Braille. The camera has an aperture and and has two rollers near the aperture to permit regular rectilinear manual movement across a paper with a text being read. In one aspect of the invention, there is provided a method for electronically processing an electronic document image, comprising: (A) segmenting the document image into word image units without decoding the document image; and (B) identifying a set of said word image units for further processing based on an image unit characteristic, without decoding the word image units; characterised in that the image unit characteristic is an image unit shape representation; and in which (B) comprises: (B1) comparing image unit shape representations of word image units segmented from the document image to each other or to predetermined or user-selected selection criteria so as to identify the set of word image units. In another aspect of the invention, there is provided an apparatus for electronically processing an electronic document image, comprising: segmentation means for segmenting the document image into word image units without decoding the document image; and identification means for identifying a set of said word image units for further processing based on an image unit characteristic, without decoding the word image units; characterised in that the image unit characteristic is an image unit shape representation; and the identification means comprises: comparison means for comparing image unit shape representations of word image units segmented from the document image to each other or to predetermined or user-selected selection criteria so as to identify the set of word image units. Advantages provided by embodiments of the invention include a method and apparatus for automatically generating ancillary document images reflective of the contents of an entire primary document image; a method and apparatus of the type described for automatically extracting summaries of material and providing links from the summary back to the original document; and a method and apparatus of the type described for producing Braille document summaries or speech synthesized summaries of a document. Further advantages provided by embodiments of the invention include a method and apparatus of the type described which is useful for enabling document browsing through the development of image gists, or for document categorization through the use of lexical gists; and a method and apparatus of the type described that does not depend upon statistical properties of large, pre-analyzed document corpora. A preferred embodiment of the invention will be described further with reference to, and as illustrated in, the accompanying drawing, in which: Figure 1 is a flow chart of a method of the invention, and Figure 2 is a block diagram of an apparatus according to the invention for carrying out the method of Figure 1 In contrast to prior techniques, such as those described above, the invention is based upon the recognition that scanned image files and character code files exhibit important differences for image processing, especially in data retrieval. The method of a preferred embodiment of the invention capitalizes on the visual properties of text contained in paper documents, such as the presence or frequency of linguistic terms (such as words of importance like "important", "significant", "crucial", or the like) used by the author of the text to draw attention to a particular phrase or a region of the text. A preferred embodiment of the method of the invention is illustrated in the flow chart of Figure 1, and an apparatus for performing the method is shown in Figure 2. For the sake of clarity, the invention will be described with reference to the processing of a single document. However, it will be appreciated that the invention is applicable to the processing of a corpus of documents containing a plurality of documents. More particularly, the invention provides a method and apparatus for automatically excerpting semantically significant information from the data or text of a document based on certain image shape characteristics of image units corresponding to units of understanding contained within the document image. The excerpted information can be used, among other things, to automatically create a document index or summary. The selection of image units for summarization can be based on frequency of occurrence, or predetermined or user selected selection criteria, depending upon the particular application in which the method and apparatus of the invention is employed. The invention is not limited to systems utilizing document scanning. Rather, other systems such as a bitmap workstation (i.e., a workstation with a bitmap display) or a system using both bitmapping and scanning would work equally well for the implementation of the methods and apparatus described herein. With reference first to Figure 2, the method is performed on an electronic image of an original document, which may include lines of text, titles, drawings, figures, or the like, contained in one or more sheets or pages of paper 10 or other tangible form. The electronic document image to be processed is created in any conventional manner, for example, by a conventional scanning means 12 such as those incorporated within a document copier or facsimile machine, a Braille reading machine, or by an electronic beam scanner or the like. Such scanning means are well known in the art, and thus are not described in detail herein. An output derived from the scanning is digitized to produce undecoded bit mapped image data represensing the document image for each page of the document, which data is stored, for example, in a memory 15 of a special or general purpose digital computer data processing system 13. The data processing system 13 can be a data driven processing system which comprises sequential execution processing means 16 for performing functions by executing program instructions in a predetermined sequence contained in a memory, such as the memory 15. The output from the data processing system 13 is delivered to an output device 17, such as, for example, a memory or other form of storage unit; an output display 17A as shown, which may be, for instance, a CRT display; a printer device 17B as shown, which may be incorporated in a document copier machine or a Braille or standard form printer; a facsimile machine, speech synthesizer or the like. Through use of equipment such as illustrated in Figure 2, the identified word units are detected based on significant image shape characteristics inherent in the image units, without first converting the scanned document image to character codes. The method by which such image unit identification may be performed is described with reference now to Figure 1. The first phase of the image processing technique of the invention involves a low level document image analysis in which the document image for each page is segmented into undecoded information containing image units (step 20) using conventional image analysis techniques; or, in the case of text documents, preferably using the bounding box method. The locations of and spatial relationships between the image units on a page are then determined (step 25). For example, an English language document image can be segmented into word image units based on the relative difference in spacing between characters within a word and the spacing between words. Sentence and paragraph boundaries can be similarly ascertained. Additional region segmentation image analysis can be performed to generate a physical document structure description that divides page images into labelled regions corresponding to auxiliary document elements like figures, tables, footnotes and the like. Figure regions can be distinguished from text regions based on the relative lack of image units arranged in a line within the region, for example. Using this segmentation, knowledge of how the documents being processed are arranged (e.g., left-to- right, top-to-bottom), and, optionally, other inputted information such as document style, a "reading order" sequence for word images can also be generated. The term "image unit" is thus used herein to denote an identifiable segment of an image such as a number, character, glyph, symbol, word, phrase or other unit that can be reliably extracted. For purposes of document review and evaluation, the document image is segmented into sets of signs, symbols or other elements, such as words, which together form a single unit of understanding. Such single units of understanding are generally characterized in an image as being separated by a spacing greater than that which separates the elements forming a unit, or by some predetermined graphical emphasis, such as, for example, a surrounding box image or other graphical separator, which distinguishes one or more image units from other image units in the scanned document image. Such image units representing single units of understanding will be referred to hereinafter as "word units." Advantageously, a discrimination step 30 is next performed to identify the image units which have insufficient information content to be useful in evaluating the subject matter content of the document being processed. One preferred method is to use the morphological function or stop word detection techniques. In this method, first a length and height of each image unit in the image is determined, and short image units are identified as image units of no more than a predetermined number of characters, preferably three characters or less in length. Next, image units which are not short image units are deleted from the image. Then, the image is blurred or smeared in a horizontal direction, although the image units are not smeared together. This can be accomplished for example by CLOSING the image with a horizontal structuring element having, e.g., a length of 5 pixels. The length of the horizontal structuring element used to blur the x-height characters in the image is dependent upon the width of the character type being used. Furthermore, other configurations of structuring elements may be used in the CLOSING operation to obtain the same smearing effect. However, the most efficient and effective way to smear characters of x-height is to use a horizontal structuring element as described above. A UNION of erosions is then taken of the image using a set of ascender matching structuring elements and a set of descender matching structuring elements. The UNION provides optional noise elimination filtering, and the UNION will provide a seed from which to fill short image unit masks in a subsequent seed filling operation such as a fillClip operation. The UNION acts on all image units remaining in the image (i.e., only short image units in this case) and since the UNION of erosions was taken using a set of ascender matching structuring elements and a set of descender matching structuring elements, the image units that will be filled are those containing ascender and/or descender characters, i.e., function words. The function words are then identified as those image units which are filled short image unit masks. Next, in step 40, selected image units, e.g., the image units not discriminated in step 30, are evaluated, without decoding the image units being classified or reference to decoded image data, based on an evaluation of predetermined image shape characteristics of the image units. The evaluation entails a determination (step 41) of the image characteristics and a comparison (step 42) of the determined image characteristics for each image unit with the determined image characteristics of the other image units. One preferred method for defining the image unit shape characteristics to be evaluated is to use word shape derivation techniques. At least one, one-dimensional signal characterizing the shape of a word unit is derived. Alternatively an image function is derived which defines a boundary enclosing the word unit. This image function is augmented so as to define an image function representing edges of the character string detected within the boundary. The edge function is defined over its entire domain by a single independent variable which represents the image unit shape representation. This allows image units to be detected, without individually detecting and/or identifying the character or characters making up the word unit. The derived image unit shape representations of each selected image unit are compared, as noted above (step 42), either with the derived image unit shape representations of the other selected image units (step 42A), or with predetermined/user-selected image shape characteristics to locate specific types of image units (step 42B). The determined image shape characteristics of the selected image units are advantageously compared with each other for the purpose of identifying equivalence classes of image units such that each equivalence class contains most or all of the instances of a given image unit in the document, and the relative frequencies with which image units occur in a document can be determined. Image units can then be classified or identified as significant according the frequency of their occurrence, as well as other characteristics of the image units, such as their length. For example, it has been recognized that a useful combination of selection criteria for business communications written in English is to select the medium frequency word units. It will also be appreciated that the selection process can be extended to phrases comprising identified significant image units and adjacent image units linked together in reading order sequence. The frequency of occurrence of such phrases can also be determined such that the portions of the source document which are selected for summarization correspond with phrases exceeding a predetermined frequency threshold, e.g., five occurrences. It will be appreciated that the specification of the image shape characteristics for titles, headings, captions, linguistic criteria or other significance indicating features of a document image can be predetermined and selected by the user to determine the selection criteria defining a "significant" image unit. For example, titles may be in larger font than the main text. Comparing the image shape characteristics of the selected image units of the document image for matches with the image characteristics associated with the selection criteria, or otherwise recognizing those image units having the specified image shape characteristics permits the significant image units to be readily identified without any document decoding. Any of a number of word shape comparison techniques may be used. Depending on the particular application, and the relative importance of processing speed versus accuracy, for example, comparisons of different degrees of precision can be performed. For example, useful comparisons can be based on length, width or some other measurement dimension of the image unit (or derived image unit shape representation, e.g., the largest figure in a document image) ; the number of ascenders; the number of descenders; the length of a top line contour, including peaks and troughs; the length of a base contour, including peaks and troughs; and combinations of such classifiers. A salient feature provided by the method of the invention is that the initial processing and identification of significant image units is accomplished without an accompanying requirement that the content of the image units be decoded, or that the information content of the document image otherwise be understood. More particularly, to this stage in the process, the actual content of the word units is not required to be specifically determined. Thus, for example, in such applications as copier machines or electronic printers that can print or reproduce images directly from one document to another without regard to ASC11 or other encoding/decoding requirements, image units can be identified and processed using one or more image shape characteristics or properties of the image units. The image units of unknown content can then be further optically or electronically processed. One of the advantages that results from the ability to perform such image unit processing without having to decode the image unit contents at this stage of the process is that the overall speed of image handling and manipulation can be significantly increased. The second phase of the document analysis of the invention involves processing (step 50) the identified significant image units to produce an auxiliary or supplemental document image reflective of the contents of the source document image. It will be appreciated that the format in which the identified significant image units are presented can be varied as desired. Thus, the identified significant image units could be presented in reading order to form one or more phrases, or presented in a listing in order of relative frequency of occurrence. Likewise, the supplemental document image need not be limited to just the identified significant image units. If desired, the identified significant image units can be presented in the form of phrases including adjacent image units presented in reading order sequence, as determined from the document location information derived during the document segmentation and structure determination steps 20 and 25 described above. Alternatively, a phrase frequency analysis as described above can be conducted to limit the presented phrases to only the most frequently occurring phrases. The present invention is similarly not limited with respect to the form of the supplemental document image. One application for which the information retrieval technique of the invention is particularly suited is for use in reading machines for the blind. One embodiment supports the designation by a user of key words, for example, on a key word list, to designate likely points of interest in a document. Using the user designated key words, occurrences of the word can be found in the document of interest, and regions of text forward and behind the key word can be retrieved and processed using the techniques described above. Or, as mentioned above, significant key words can be automatically selected according to prescribed criteria, such as frequency of occurrence, or other similar criteria, using the morphological image recognition techniques described above; and a document automatically summarized using the determined words. Another embodiment supports an automatic location of significant segments of a document according to other predefined criteria, for example, document segments that are likely to have high informational value such as titles or phrases that receive linguistic emphasis. The location of significant words or segments of a document may be accomplished using the image shape recognition techniques described above. The words thus identified as significant words or word units can then be decoded using optical character recognition techniques, for example, for communication to the blind user in a Braille or other form which the blind user can comprehend. For example, the words which have been identified or selected by the techniques described above can either be printed in Braille form using an appropriate Braille format printer, such as a printer using plastic-based ink; or communicated orally to the user using a speech synthesizer output device. Once a condensed document is communicated, the user may wish to return to the original source to have printed or hear a full text rendition. This may be achieved in a number of ways. One method is for the associated synthesizer or Braille printer to provide source information, for example, "on top of page 2 is an article entitled ...." The user would then return to point of interest. Two classes of apparatus extend this capability through providing the possibility of user interaction while the condensed document is being communicated. One type of apparatus is a simple index marker. This can be, for instance, a hand held device with a button that the user depresses whenever he or she hears a title of interest, or, for instance, an N-way motion detector in a mouse 19 (Figure 2) for registering a greater variety of commands. The reading machine records such marks of interest and returns to the original article after a complete summarization is communicated. Another type of apparatus makes use of the technology of touch-sensitive screens. Such an apparatus operates by requiring the user to lay down a Braille summarization sheet 41 on a horizontal display. The user then touches the region of interest on the screen 42 in order to trigger either a full printout or synthesized reading. The user would then indicate to the monitor when a new page was to be processed. It will be appreciated that the method of the invention as applied to a reading machine for the blind reduces the amount of material presented to the user for evaluation, and thus is capable of circumventing many problems inherent in the use of current reading technology for the blind and others, such as the problems associated with efficient browsing of a document corpus, using synthesized speech, and the problems created by the bulk and expense of producing Braille paper translations, and the time and effort required by the user to read such copies. The present invention is useful for forming abbreviated document images for browsing (image gists). A reduced representation of a document is created using a bitmap image of important terms in the document. This enables a user to quickly browse through a scanned document library, either electronically, or manually if summary cards are printed out on a medium such as paper. The invention can also be useful for document categorization (lexical gists). In this instance, key terms can be automatically associated with a document. The user may then browse through the key terms, or the terms may be further processed, such as by decoding using optical character recognition. Although the invention has been described and illustrated with a certain degree of particularity, it is understood that the present disclosure has been made only by way of example, and that numerous changes in the combination and arrangement of parts can be resorted to by those skilled in the art without departing from the scope of the invention, as hereinafter claimed.

Claims: A method for electronically processing an electronic document image, comprising: (A) segmenting the document image into word image units without decoding the document image; and (B) identifying a set of said word image units for further processing based on an image unit characteristic, without decoding the word image units; characterised in that the image unit characteristic is an image unit shape representation; and in which (B) comprises: (B1) comparing image unit shape representations of word image units segmented from the document image to each other or to predetermined or user-selected selection criteria so as to identify the set of word image units. A method as claimed in claim 1 in which (B) further comprises classifying said word image units according to frequency of occurrence. A method as claimed in claim 1 or claim 2 in which said image unit shape representation includes at least one of an image unit dimension, number of ascender elements, number of descender elements, and a contour characteristic of said image units. A method as claimed in any preceding claim, further comprising: (C) creating an abbreviated document image based on said identified set of word image units. A method as claimed in any of claims 1 to 3, further comprising at least one of the following: (D) generating a document index based on selected ones of said identified set of word image units; (E) producing a speech synthesized output corresponding to selected ones of said identified set of word image units; (F) producing selected ones of said identified set of word image units in printed Braille format; and (G) generating a document summary from selected ones of said identified set of word image units. A method as claimed in any of claims 1 to 3, further comprising: (H) forming phrase image units based on selected ones of said identified set of word image units, said phrase image units each incorporating one of said identified set of word image units and adjacent word image units linked in reading order sequence; and (I) outputting said phrase image units. An apparatus for electronically processing an electronic document image, comprising: segmentation means (13,20) for segmenting the document image into word image units without decoding the document image; and identification means (13,40) for identifying a set of said word image units for further processing based on an image unit characteristic, without decoding the word image units; characterised in that the image unit characteristic is an image unit shape representation; and the identification means (13,40) comprises: comparison means (13,32) for comparing image unit shape representations of word image units segmented from the document image to each other or to predetermined or user-selected selection criteria so as to identify the set of word image units. An apparatus as claimed in claim 7, further comprising: creation means (13,50) for creating a supplemental document image based on said identified set of word image units. An apparatus as claimed in claim 8, further comprising: scanning means (12) for scanning an original document to produce said document image, said scanning means (12) being incorporated in a document copier machine which produces printed document copies or in a reading machine for the blind having communication means for communicating data to the user; and control means for controlling said document copier machine to produce a printed document copy of said supplemental document image or for controlling said reading machine communication means to communicate the contents of said supplemental document image. An apparatus as claimed in claim 9 in which said communication means comprises a printer (17B) for producing document copies in Braille format, or in which said communication means comprises a speech synthesizer for producing synthesized speech output corresponding to said supplemental document image. An apparatus as claimed in claim 9 in which said reading machine includes operator responsive means for accessing the scanned document or a selected portion thereof corresponding to said supplemental document image following communication of the supplemental document image to the user.

Inventors: BAGLEY STEVEN C, BLOOMBERG DAN S, CASS TODD A, HALVORSEN PER KRISTIAN, HUTTENLOCHER DANIEL P, KAPLAN RONALD M, RAO RAMANA R, WITHGOTT MARGARET M, BAGLEY, STEVEN C., BLOOMBERG, DAN S., CASS, TODD A., HALVORSEN, PER KRISTIAN, HUTTENLOCHER, DANIEL P., KAPLAN, RONALD M., RAO, RAMANA R., WITHGOTT, MARGARET M.
Applicants: XEROX CORP, XEROX CORPORATION
Application year: 1992
Main classification: G06K9
IPC codes: G06K9, G06F17