Methods and apparatus for selecting semantically significant images in a document image without decoding image content

Abstract: A method and apparatus for processing a document image, using a programmed general or special purpose computer, includes forming the image into image units, and at least one image unit classifier of at least one of the image units is determined, without decoding the content of the at least one of the image units. The classifier of the at least one of the image units is then compared with a classifier of another image unit. The classifier may be image unit length, width, location in the document, font, typeface, cross-section, the number of ascenders, the number of descenders, the average pixel density, the length of the top line contour, the length of the base contour, the location of image units with respect to neighboring image units, vertical position, horizontal inter-image unit spacing, and so forth. The classifier comparison can be a comparison with classifiers of image units of words in a reference table, or with classifiers of other image units in the document. Equivalent classes of image units can be generated, from which word frequency and significance can be determined. The image units can be determined by creating bounding boxes about identifiable segments or extractable units of the image, and can contain a word, a phrase, a letter, a number, a character, a glyph or the like.

Description: The invention relates to improvements in methods and apparatuses for automatic document processing, and more particularly to improvements for automatically selecting information containing segments indicative of the subject matter content of undecoded document images without first decoding the document or otherwise understanding the information content thereof. 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 significance 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 scanned image, identification also fails. U.S. Patent 4,010,445 to Hoshino describes a word recognition apparatus that uses character decoding for retrieving key characters. The decoded characters are placed in one or more given positions of a word to form an input character string for use as a retrieving-key into a stored word dictionary. U.S. Patent 4,977,603 to Irie et al. describes a method and apparatus for pattern recognition utilizing the multiple similarity method in which structural features of a pattern to be recognized are taken into account by deriving a vector quantity indicating distribution of black picture elements constituting the pattern. Information derived from the vector quantity is then used to identify the pattern with a pattern of a standard library. U.S. Patent No. 2,905,927 to Reed describes a method and apparatus for recognizing a word employing three scans to determine the characteristics or pattern of the word. An upper scan is used to determine the number and position of full-height symbols, and a lower scan is used to determine the number and position of the symbols extending below a baseline. A center scan is used to acquire information relative to the symbol spacing and the number of symbols in the word. U. S. Patent 4,773,098 to Scott describes a method for recognizing and providing an output corresponding to a character in which the character is received by an imager, digitized and transmitted to a memory. Data in the memory is read in a sequence which circumnavigates the test character. Only data representative of the periphery of the character are read. During the circumnavigation, character parameters, such as height, width, perimeter, area and waveform are determined. The character parameters are compared with reference character parameters and the ASCII code for the reference character which matches the character is provided as an output. Also described are other contour "data signatures" for objects consisting of a sailboat, circle, rectangle, "7", and star, which may be stored as firmware in the RAM of a microprocessor. When the imager of a didactic device is exposed to a flash card or similar implement on which indicia of some form appears, the image signal data collected in the RAM is compared with the data signatures comprising the firmware in the RAM of the microprocessor. U.S. Patent No. 4,377,803 to Lotspiech et al. describes an apparatus and method for segmenting characters generated by an optical scanner. The boundaries of characters in a type-written data field are determined by scanning a document and inputting a raster scan into a video buffer. As the scan is placed into the buffer, it is separated into a plurality of sectors. A horizontal histogram establishes the number of ON pixels associated with each sector. A baseline is determined and a vertical histogram and pitch data are used to find the "word" location of the line to be segmented. The word location data and the vertical histogram data are utilized by a find character unit to locate each character. U.S. Patent No. 4,155,072 to Kawa describes a method in which a character is scanned in a plurality of parallel scan lines, and the starting and ending positions of the character in the respective scan lines are detected. The portions of the character between the starting and ending positions of the respective scan lines are quantized and classified into a code. The starting and ending positions and the classification codes are compared with those of standard character patterns, and the character with the closest correlation is recognized as the standard character. This operation corresponds to tracing the right and left outlines of the character, and classifying the interior of the character. Means are provided for normalizing the horizontal size, position and slant of the character prior to correlation. A quadratic correlation function is described which selectively utilizes root mean square values of positive and negative projection components of a characteristic vector of a covariance matrix of a standard character pattern. U.S. Patent No. 4,979,227 to Mittelbach et al. describes a method for automatic character recognition in which character strings marked by word start and word end are formed from the discrete characters calculated with the assistance of a character classifier. The character strings are compared with stored comparison strings of a context lexicon to determine identity or similarity. The context lexicon is continuously updated by continuous read-in of strings containing no rejection characters, and the repeated read-in of identical strings is counted. The string with optimum similarity and frequency is selected for further evaluation. A correction provided with reference to the context comparison is only executed when the substitution transposition is probable, based on the classifier characteristic for the characters under consideration. U.S. Patent No. 4,731,857 to Tappert describes a recognition system for run-on handwritten characters wherein a word is preprocessed by segmenting an image and recognizing the segments. A method is disclosed which has the following steps: 1) determining potential segmentation points; 2) sending all segments which could be characters to a character recognizer which calculates a probability that the character is part of a word; and 3) using the probability as a basis for determining the best possible word choices. U.S. Patent No. 4,809,344 to Peppers et al. describes an apparatus for preprocessing of character recognition wherein a page is segmented by extracting a plurality of features based on character and line separations. After preprocessing, the features are sent to a character recognizer. If the character recognizer cannot recognize the character, the image is returned to the preprocessor for more segmentation. A number of masks are used to detect vertical and horizontal features and to determine coordinates for the features. "Understanding Multi-Articled Documents" by Tsujimoto and Asada, a paper presented at the 10th International Conference on Pattern Recognition, Atlantic City, New Jersey (June 1990), describes a method to understand document layouts without the assistance of the character recognition results, i.e., the organization of the contents of the documents. It is related that documents have an obvious hierarchical structure in their geometry which is represented by a tree. A small number of rules are introduced to transform the hierarchical structure into a logical structure which represents the semantics carried by the documents. A virtual field separator technique is employed to utilize the information carried by special constituents of the documents, such as field separators and frames, keeping the number of transformation rules small. "Document Analysis System," by Wong, K.Y., Casey, R.G., and Wahl, F.M., IBM Journal of Research and Development , Vol. 26, No. 6, November 1982, pp. 647-656, describes a system that assists a user in encoding printed documents for computer processing. An image manipulation editor reads and stores images on a disk and provides image-editing functions such as copy, move, erase, etc. A digitized printed document is segmented and classified into regions of text and images. Blocks containing text can be analyzed with a pattern-matching program that groups similar symbols from the document and creates a prototype pattern to represent each group. During pattern matching, the position and matching prototype index for each text pattern is recorded. The prototype patterns are identified interactively or by automatic recognition logic. Introduction to Modern Information Retrieval by Salton and McGill, McGraw-Hill, Inc., 1983, describes techniques for computing key word matches, locating the most frequent noun phrases in the text, and composing stop-lists of words which are not likely to be of interest to a user of an information retrieval system. Such techniques assume noise-free (perfectly recognizable) text. Perfectly recognized scanned texts are viewed as interchangeable with electronically stored character code files. U.S. Patent No. 4,985,863 to Fujisawa et al. describes a document storage and retrieval system and a method of document retrieval that stores a portion of characters for outputting and also stores the document in the form of an image for retrieving. A retrieval request for a text is made using a proper number of the text or a special symbol. The document image can then be retrieved and stored or decoded to character codes for outputting. Note that character recognition must be performed to recognize a retrieval key of a document before retrieval, although the actual retrieval or transfer of the document does not require complete character recognition. U.S. Patent No. 4,908,716 to Sakano describes an image processing apparatus in which an area of a document is designated by a marking entered in the document and a portion encircled by the marking is treated as a marked area which is the subject of a trimming or a masking process. A color felt pen or the like is used to encircle a designated area of a document. Then, a mark detection circuit can detect the marking by detecting the tone of the image. The disparate reflectivity or tone of the marker pen allows marked area detection. Thereupon, the marked area can be erased or maintained as desired. FIRST INTERNATIONAL CONFERENCE ON DOCUMENT ANALYSIS AND RECOGNITION ICDAR 91, 30 September-2 October 1991, St. 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, the article discloses techniques for identifying italic and bold words in text using word-level extraction at reduced resolution. SPIE PROC. CONF. ON IMAGE ALGEBRA AND MORPHOLOGICAL IMAGE PROCESSING II, vol. 1568, 23-24 July 1991, San Diego, US, pages 38-52; D.S. BLOOMBERG: "Image analysis using threshold reduction" discloses shift-variant reduction operations for performing shape and texture transformations between resolution levels. The article also discloses application of threshold reduction to extract halftone regions from scanned images that also contain text and line graphics. EP-A-0364179 discloses techniques for extracting keywords automatically from files. If a word's frequency exceeds by a predetermined threshold the frequency of occurrence of the same word in an appropriate reference domain, the word is selected as a keyword. In the light of the above, therefore, one object of the invention is to provide a method and apparatus for selecting semantically significant image segments or units in a scanned document image according to their relative information content without decoding all or part of the document image and without otherwise understanding the information content thereof. In one aspect of the invention, there is provided a method for electronically processing at least one electronic document image, comprising (A) segmenting said at least one document image into word image units each including one or more undecoded words; (B) classifying at least some of said image units, without decoding the image units being classified and with out reference to decoded image data, based on an evaluation of characteristics of said image units being classified; and (C) selecting image units for further processing according to the classification of said image units obtained in (B); characterised in that (B) comprises: (B1) assigning a value for each image unit characteristic in a set of image unit characteristics for each image unit being classified; and (B2) applying at least one selection criterion to the values to classify the image units, the selection criterion distinguishing image units that may be selected by (C) from other image units. Embodiments of the invention provide a method and apparatus of the type described that enables a reduction in the degree of error in performing image segment selection operations; provide a method and apparatus of the type described that requires relatively little data processing, in view of prior techniques, and therefore can be performed more rapidly than prior document image segment selection techniques; provide a means for reducing the effort necessary to automatically or interactively locate segments within a particular region of a document without first converting the document to character codes; and provide a method and apparatus for recognizing a portion of a document image segment without first converting the image segment to character codes. The present invention addresses the problems of the prior art by providing a method and apparatus for the selection of information containing image units in a document which reflects the relative information content of the image units without first decoding the image units, such as by converting the image to character codes or deriving mathematical vectors of the character contents or a portion thereof. Eliminating the need for character decoding for character and word selection minimizes error in the recognition process and decreases the time necessary for image processing, particularly in regard to word recognition. The invention provides an important step in streamlining word recognition processes, enabling and enhancing a variety of applications in the field of image processing. The predetermined image characteristics advantageously include at least one of an image unit length, width, or other dimension; location within the document image; font; typeface; cross-sectional characteristics; the number of ascenders; the number of descenders; the average pixel density; the length of the top line contour; the length of the base contour; or other such characteristic. The classification also advantageously can be based on a determination of the relative frequencies with which image units having similar predetermined image characteristics are present among the image units being classified. Further, the method of the invention advantageously includes, prior to the classifying step, image-analysis based discrimination, without decoding the image units or reference to decoded image data, of the image units which do not contain sufficient information to be useful for evaluation of the subject matter content of the document; and classification of only the image units not discriminated in the discrimination step. The present invention will be described further, by way of example, with reference to the accompanying drawings, in which:- Figure 1 is a flow chart diagram of a preferred embodiment of a method according to the invention, and Figure 2 is a block diagram of a preferred embodiment of apparatus for carrying out the method of the invention. A preferred embodiment of the method of the invention is illustrated in the flow chart of Figure 1, and apparatus for performing the method of Fig. 1 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. 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 5, which may include lines of text 7, titles, drawings, figures 8, 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 means such as an optical scanner 12 and sensor 13 as shown, a document copier machine scanner, a Braille reading machine scanner, a bitmap workstation, an electronic beam scanner or the like. Such means are well known in the art, and thus are not described in detail herein. An output derived from the scanner sensor 13 is digitized to produce an undecoded bitmap image data representing 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 16. The output from the computer 16 is delivered to an output device, such as, for example, a memory or other form of storage unit, or an output display 17 as illustrated, which may be, for instance, a photocopier, CRT display, printer, facsimile machine, or the like. 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. Advantageously, 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, the image units not discriminated in step 30 are classified according to their relative information content, without decoding the image units being classified or reference to decoded image data, based on an evaluation of predetermined image characteristics of the image units. One preferred method for defining the image unit image characteristics to be evaluated is to use word shape derivation technique. (It should be well noted that the present invention can compare image units within a document, but there is no comparison of image units to a list of known image units as in a dictionary entry or stop list.) At least one, one-dimensional signal characterizing the shape of a word unit is derived; or an image function is derived defining a boundary enclosing the word unit, and the image function is augmented so that an edge function representing edges of the character string detected within the boundary is defined over its entire domain by a single independent variable within the closed boundary, without individually detecting and/or identifying the character or characters making up the word unit. The image unit classification can be achieved, for example, by comparing the image units with other selected image units to identify equivalence classes of image units, such that each equivalence class contains most or all of the instances of a given word in the document. The equivalence classes can be formed by clustering the image units in the document based on the similarity of image unit classifiers, without actually decoding the contents of the image units, such as by conversion of the word images to character codes or other higher-level interpretation. Any of a number of different methods of comparison can be used. One technique that can be used, for example, is by correlating the raster images of the extracted image units using decision networks, such technique being described in a Research Report entitled "Unsupervised Construction of Decision networks for Pattern Classification" by Casey et al., IBM Research Report, 1984, said document being incorporated by reference herein. Preferred techniques that can be used to identify equivalence classes of word units are word shape comparison techniques. The image unit classification can also be achieved by comparing the image characteristics of the selected images with image characteristics corresponding to one or more selection criteria which can be predetermined or user selected. Depending on the particular application, the purpose(s) for which image units are being selected, and the relative importance of processing speed versus accuracy, for example, image unit classification schemes of different degrees of sophistication and complexity can be used. For example, useful image unit classifiers can include length, width, or other dimension of the image unit (e.g., medium frequency word image units or the largest figure); location or region of the document (including any selected figure or paragraph of a document image, e.g., headings, initial figures, one or more paragraphs or figures), font; typeface; cross-section (a cross-section being a sequence of pixels of similar state in an image unit); the number of ascenders; the number of descenders; the average pixel density; the length of the top line contour, including peaks and troughs; the length of the base contour, including peaks and troughs; and combinations of such classifiers. The various classifiers can also be given different weights for purposes of selecting image units for further processing. One simple technique for efficiently combining classifiers to consolidate the information yielded by evaluating the image units according to individual classifiers is filtering through list intersection. For example, to identify key phrases, multiple lists of image units having separate image characteristics are created and intersected on the basis of the locations of the image units in the respective lists. As an example, an italic- region list formed of all image units, with their locations, that are located in a region (e.g., sentence or a graphical line) containing italics is intersected on the basis of page locations with a word-frequency list formed of all image units and their locations which occur with a frequency falling in a medium frequency range, thereby creating an emphasized-word list. A phrase-frequency list listing phrases occurring with a frequency falling within a predetermined range with their respective page locations is then intersected with the emphasized-word list to produce the set of phrases to be output as the key or most significant phrases. It will be appreciated that this list intersection technique can be extended to larger regions of the document image, such as, for example, paragraphs. Image markings associated with an image unit, such as underlining, encircling or other form of notation, which highlight particular image units are another useful type of image unit classifier. Hand marks and hand marked regions can be identified, for example, by a morphological process by performing a plurality of morphological OPENING operations on the image using a first set of structuring elements, with each OPENING operation using a different structuring element to form a second image. Bounding boxes are then created around mark-up lines in the second image to identify the hand marked regions. The first set of structuring elements can include, for example, eight structuring elements, each having a length of 9 pixels, and representing eight lines in different orientations. Another morphological mark-up line detection technique is disclosed in U.S. Patent No. 5,048,109, the disclosure of which is incorporated herein by reference. In instances in which multiple page documents are processed, each page is processed and the data held in the memory 15 (see Figure 1), as described above. The entirety of the data can then be processed. Once the selected image units have been classified, further document processing (step 50) can be performed based on the classified image units. The technique described above can be used in many diverse applications. One application, for example, is to identify the most semantically significant portions of a document, based upon region criteria, the size of graphical image units such as figures, the frequency of occurrence of image units having a length falling within a selected range, and/or the frequency of occurrence of combinations of image units. Thus, for example, the number of times an image unit appears in its respective equivalence class can be used to construct a hierarchy of words and/or phrases, such hierarchy being useful for many functions. Other applications of the invention include modification of the document image to emphasize image units selected as being significant; the creation of document extracts or summaries indicative of the subject matter contained within a document; and annotating or supplementing a document with additional information relating to the document or selected image units thereof, such as, for example, incorporating translations of selected significant words or cross-references to other documents containing related information. Moreover, if desired, the technique described above can be used in word recognition applications by comparing the segmented image unit classifiers determined above with a predefined set of image units, and selecting the image units with closest matching classifiers. It is noted, however, that the classifiers are determined without actually decoding the content of the image unit; only the selected classifiers of the image unit itself are used. A salient feature provided by the technique of the invention is the processing, identification, comparison, or manipulation of image units without an accompanying requirement that the content of the image units be decoded, even for output. More particularly, image units are determined, processed and delivered for output without decoding, so that in essence, the actual content of the image units is never required to be 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 ASCII or other encoding/decoding requirements, image units can be identified, and processed using one or more morphological characteristic or property of the image unit. The processing may involve, for instance, comparison with other image units of unknown content, counting, producing a number corresponding to a number of matches with another unknown image unit, or other similar procedure. The image unit of unknown content can then be optically or electronically delivered for output, for example, to an image reproducing apparatus of a copier machine, an electronic memory, a visual display, or the like. One of the advantages that results from the ability to perform such image unit processing without having to decode the image unit contents at any stage of the process is that the overall speed of image handling and manipulation can be significantly increased. In addition, document processing techniques that have been heretofore impractical to rapidly accomplish, such as automatically creating document summaries, generating significant word lists, automatically creating document annotations or enhancements, and so on, are enabled. The present invention recognizes that image and character code files exhibit important differences in processing techniques. The method and apparatus of the invention exploits the visual properties of paper documents, for example, taking advantage of font and type face information, formatting and the presence and frequency of linguistic terms. This information can be used, for example, to draw a user's attention to a specific phrase or region in a text. The present invention includes methods that can operate even upon degraded or distorted documents, within reasonable limits. For example, it has long been recognized that the location of a word unit in a text is significant for its role in classification. Typically, the most successfully employed characterization of location information has been proximity information, that is, information which distinguishes a word in text that occurs multiple times in close proximity. A viable alternative for location or region criteria is sensitivity to the notion of location of a word unit within a document which provides significant or additional weight to the document segment where the word unit is located. The significance of a particular word unit or document segment occurs in the context of graphical or textural emphasis as well as through frequency determinations. Thus, certain traditional information extraction techniques, as well as simple phrase spotting and relevance searches, can be augmented or replaced for either scanned images or images processed by optical character recognition. It will be appreciated moreover, that employing the above described techniques enables a significant characteristic or a region criteria to be automatically preprogrammed or interactively selected by a user. For example, the stored word units may be examined in a significant region of interest in the scanned document, which has been previously stored in memory or chosen interactively by the user. For example, a user could request display of all flowcharts in the document, or the user could request all documents with diagrams and annotations on a particular page. It should be emphasized that the method described is not limited to a single document search, rather the method can also be applied to a portion of a document, or a corpus of documents. Also, once the selected document portions are located and retrieved, optical character recognition can be performed for visual document inspection. One of the primary aims of the present invention is to provide for the initial search and location of significant portions of a scanned document in a significant portion or region of the document. Thus, image processing techniques are used for speedy computations without first converting the source document to character codes. In addition, the invention enables the recognition of a small part of an image segment by discriminating segments of the image, then performing recognition techniques on the discriminated segments. The discriminated segments may include a relatively small part of the recognizable content of the image, and may include any non-content based segment, not merely an ASCII character. In addition, the recognition of an image segment can be accomplished without first converting the image to character code representations. Specifically, the image segment can be recognized by scanning the image and segmenting the image into segments. Then the segments are discriminated and recognized. The image can be segmented, for example, into word units, glyphs or morphemes and the discrimination can be performed on any small part of the image or any section thereof, to recognize, for example, a contour, side, height, or the like. The criteria for discrimination may include for example, frequently occurring graphic symbols or words. The recognition step of the process can include, for example, optical character recognition or word shape 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 at least one electronic document image, comprising (A) segmenting said at least one document image into word image units each including one or more undecoded words; (B) classifying at least some of said image units, without decoding the image units being classified and without reference to decoded image data, based on an evaluation of characteristics of said image units being classified; and (C) selecting image units for further processing according to the classification of said image units obtained in (B); characterised in that (B) comprises: (B1) assigning a value for each image unit characteristic in a set of image unit characteristics for each image unit being classified; and (B2) applying at least one selection criterion to the values to classify the image units, the selection criterion distinguishing image units that may be selected by (C) from other image units. A method as claimed in claim 1 in which (B2) comprises: applying a region criterion to determine whether said image units being classified are located within selected regions within the document image. A method as claimed in claim 1 or claim 2 in which (B2) further comprises: applying a frequency criterion that distinguishes based on the relative frequencies with which image units having similar image characteristics are present among the image units being classified. A method as claimed in any preceding claim in which (B2) applies two or more selection criteria and in which (C) comprises: (C1) selecting image units for further processing by combining the classifications from (B). A method as claimed in claim 4 in which (B2) further comprises: for each selection criterion, obtaining a list of image units that may be selected; and in which (C1) comprises: intersecting two or more of the lists of image units to select image units for further processing. A method as claimed in claim 5 in which (B2) obtains first and second lists of image units; the first list of image units including all image units located in a region in which a first image unit characteristic occurs and their locations; the second list of image units including all image units in equivalence classes that have frequencies falling in a medium frequency range and their locations; and in which (C1) further comprises: intersecting the first and second lists of image units based on the locations. A method as claimed in any preceding claim in which the set of at least one image unit characteristic includes at least one of a dimension, font, typeface, number of ascender elements, number of descender elements, pixel density, pixel cross-sectional characteristic, the location of image units with respect to neighboring image units, vertical position, horizontal inter-image spacing, and contour characteristic of said image units. A method as claimed in any preceding claim in which (B) comprises, prior to (B1): (B0) processing said image units to discriminate which of said image units do not contain sufficient information content for useful evaluation of the subject matter of the information contained in said document image; and in which (B1) is performed only with the image units not discriminated by (B0) and (B0) is performed based on an evaluation of predetermined image characteristics of said image units, without decoding the image units or reference to decoded image data. A method as claimed in any preceding claim in which a document corpus containing a plurality of documents is processed, and (A), (B), and (C) are performed with respect to the document image for each document in the document corpus. A method as claimed in claim 9, further comprising: (D) classifying the documents in the document corpus according to the classification of the image units obtained in (B).

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