Abstract:
A pattern matching method for recognizing a pattern projected on a picture screen consisting of a plurality of picture elements by scanning the screen in which the plurality of picture elements are divided into a plurality of picture element groups, each group consisting of a plurality of picture elements, a sum of informations within each of the plural picture element groups is obtained, and the total sum of the information amounts of the picture element groups are used to represent the pattern on the picture screen. 
     An apparatus for carrying out the above method having a picture screen on which a pattern to be recognized is projected, the screen consisting of a plurality of picture element groups, each group including a plurality of picture elements, a device which scans the screen to produce a sum of information amounts of each of the plurality of picture element groups, and a circuit device which produces a line or series information based on the sums of the informations of the plural picture element groups.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates generally to a pattern matching method, and more particularly to a novel pattern matching method in which, upon achieving a pattern matching by scanning a picture screen consisting of a plurality of picture elements arranged, for example, in row and column directions, information of a pattern to be recognized is compressed to perform a superior pattern matching. 
     This invention relates also to an apparatus for carrying out the above pattern matching method. 
     2. Description of the Prior Art 
     In prior art pattern recognition techniques, a pattern such as a letter, picture image or the like on a two dimensional picture screen is divided into a number of picture elements which are arranged in a matrix. An electrical signal or information corresponding to the light image of a pattern, which is to be recognized and projected on the screen, is produced from the picture elements in response to the pattern, and correlation between the extracted electric signal and a basic or reference electrical signal or information provides the pattern recognition. 
     In this case, various arrangements to convert the light intensity projected onto the picture elements into an electrical amount are known in the art, such as use of rotary discs, utilizing spot scanners, using pickup tubes, single line or two dimensional arrangement of photo-electric elements, etc. Further, as for the methods of scanning, various methods are known such as: (1) sequential scanning like a television camera, (2) right angled direction scanning of a single or a plurality of photo-electric elements, and (3) a parallel data extraction method from a two dimensional matrix of photo-electric elements, etc. 
     Now, supposing that the scanning time per element is constant, the total element scanning time is naturally longer in the sequence of the above methods (3), (2) and (1) in that order. That is, in the case of simultaneous parallel processing as method (3) above, the scanning time can be the shortest, but special circuitry is required to simultaneously process the data from each picture element, so that the circuitry becomes complicated. 
     Accordingly, in the case that the number of picture elements, which are arranged in matrix, are limited to a small number such as for optical character reading, the above mentioned method (3) can be placed into practice. However, when a number of picture elements become involved such as the case of pattern recognition, the realization of the method (3) accompanies extreme difficulties. 
     OBJECT AND SUMMARY OF THE INVENTION 
     Accordingly, a main object of this invention is to provide a pattern matching method which can be placed into a practice with a simple construction and to present such an operation system. 
     According to an aspect of the invention there is provided a pattern matching method for recognizing a pattern consisting of a plurality of picture elements projected on a picture screen by scanning the screen which comprises the steps of dividing a plurality of picture elements into a plurality of picture element groups, each group consisting of a plurality of picture elements, finding the sum of information amounts in each of the plural picture groups, and using the total sum of the information amounts of all of the picture element groups to represent the pattern projected on the screen. 
     Further, an apparatus for carrying out the above method is provided, the apparatus having a picture screen on which a pattern to be recognized is projected, the screen consisting of a plurality of picture element groups, each group including a plurality of picture elements, a device which scans the screen to produce a sum of information amounts of each of the plurality of picture element groups, and a circuit device which produces a line or series information based upon the sums of the information in the plural picture element groups. 
     The additional, and other objects, features and advantages of this invention will become apparent from the following description taken in conjunction with the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIGS. 1A and 1B are plan views of the photo-electric convertible picture screen according to this invention; 
     FIG. 2 is a table showing information amounts obtained from the picture screen of FIG. 1; 
     FIG. 3 illustrates a schematic diagram showing an example of the apparatus according to this invention; and 
     FIG. 4 is a plan view showing another example of the photo-electric convertible picture screen according to this invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Details of an example of this invention will be explained hereunder with reference to the drawings. 
     FIGS. 1A and 1B illustrate a picture screen PS according to this invention. Such picture screen PS contains a plurality of photo-electric convertible elements (picture elements). The example illustrated on FIGS. 1A and 1B is constructed by arranging the substantially same picture elements attached to each other with 8 pcs vertically or in column direction and 6 pcs horizontally or in row direction to form the picture screen PS of matrix at which 6 picture element groups A, B, C, D, E and F are formed with each containing 8 picture elements. In order words, the 6 picture element groups A to F contain 8 picture elements such as A1-A8, B1-B8, C1-C8, D1-D8, E1-E8 and F1-F8, respectively. 
     Now, on the picture screen PS of FIG. 1A, the figure &#34;2&#34; is projected as indicated with the cross hatched elements, while the figure &#34;3&#34; is projected onto the picture screen PS of FIG. 1B. Accordingly, the examples of FIG. 1A and FIG. 1B are the cases where the figures &#34;2&#34; and &#34;3&#34; are the patterns to be recognized. 
     By taking numerical count of the information data of each picture element on the picture screens PS of FIGS. 1A and 1B, to which the figures &#34;2&#34; and &#34;3&#34; are projected as binary values, and by obtainment of the weight total of the information data of each element groups from A to F by the system explained later herein, the results are illustrated on the table of FIG. 2. In other words, the pattern of the figure &#34;2&#34; on the picture screen PS is represented by the line or series formation of the total of information data 5, 1, 2, 4, 1, 6 while the pattern of the figure &#34;3&#34; on the picture screen PS is represented by the line or series information of the total of the information data 5, 1, 5, 1, 2, 5. 
     In the same manner, other figures, characters and so on can be projected on the picture screen PS, the corresponding line formation of the total of information data are placed in memory as references. While if an unknown pattern is projected onto the picture screen PS and such corresponding line formation of total of information data may be compared with the already memorized references, it is judged whether such unknown pattern is contained in the readily established memories or not. In this case, according to this invention, compared to the conventional methods, the information can be compressed which avails shorter processing time and for the same reason the circuitry construction therefor can be made simpler and it is easy to place the same into use. 
     As the next step, an example of a system to obtain the above mentioned line formation of totals of the information data will be explained in reference to FIG. 3. In FIG. 3, 1 designates, for instance, a television camera which, although the details are omitted from the drawing, includes, as its target, the picture screen PS containing picture elements as illustrated on FIG. 1: This television camera 1 picks up a pattern to be recognized and obtains a light image of the pattern on the picture screen PS. In FIG. 3, 2 indicates a clock pulse generator. When the clock pulses from generator 2 are fed into the camera 1 through a scanning circuit 3, the picture elements A1, A2 . . . F7, F8 of the picture screen PS are scanned, for example, in sequence and the electrical outputs (informations) from the same are fed to analog memory elements A 11, A 12 . . . A 18, B 11 . . . B 18, C 11 . . . C 18, D 11 . . . D 18, E11 . . . E 18, F 11 . . . F 18 which are contained in analog memory groups A 10, B 10 . . . F 10 which are provided in correspondence with picture element groups A through F containing picture elements A1, A2 . . . F7, F8. 
     On the other hand, the output from the clock pulse generator 2 is also connected to a shift register 4 which provides signals in sequence to the analog memory elements A 11, A 12 . . . F 17, F 18, so that they memorize the information from each of the picture elements from A1 . . . F8 in sequence. Further, the clock pulse from generator 2 is also fed to a counter 5 which maintains a count on the clock pulses. 
     The outputs of the respective analog memory groups A 10, . . . F 10 are fed to a processor 6 through corresponding process amplifiers A 20, . . . F 20 and through analog switches A 30, . . . F 30 as information totals for operational processing. The processor 6 is not directly related with this invention, so that the details thereof are omitted. The output from counter 5 is fed to the analog switches A 30, . . . F 30 through one-shot multivibrators A 40, . . . F 40 to control the switching operation of analog switches A 30, . . . F 30, respectively. 
     In other words, in the case that camera 1 which includes the picture screen PS as its photo-electric conversion element, which picture screen PS contains the 6 picture element groups A, . . . F which each contain 8 picture elements as illustrated in FIG. 1, is used, the counter 5 makes the analog switches A30, . . . F 30 in sequence through one-shot multivibrators A 40 . . . F40 each time the counter 5 counts 8 clock pulses. Accordingly, the information corresponding to the picture element groups A, . . . F of the picture screen PS in the camera 1, which information is memorized in the analog memory groups A10, . . . F 10, are fed to the processor 6 as the weight total outputs of the groups, respectively. 
     By such processing, the above mentioned line or series formations of the totals of the information are obtained at processor 6 and compared therein with reference one. 
     Now, the above case is such an instance where the electric information from each picture element is either &#34;0&#34; or &#34;1&#34;, whereas in the case of FIG. 1A, the figure &#34;2&#34; is projected and the electric information of each element group shows a line or series information of 5, 1, 2, 4, 1, 6. In other words, in the case of FIG. 1A, the pattern is projected onto the picture elements A2, A3, A4, A5 and A7 from each of which an electric information of 1 is obtained, while no pattern is projected onto the picture elements A1.A6 and A8 from each of which an electric information of &#34;0&#34; is obtained which is equal to no information and as a total, an electric information of &#34;5&#34; is obtained as the total of picture element group A. However, if it is assumed that a pattern is projected onto the picture elements A1, A3, A4, A6 and A8 from each of which electrical information of &#34;1&#34; is obtained, while no projection on the other picture elements A2, A5 and A7 is made from each of which no electric information is obtained, which is a case that in spite of the projected pattern being different to the former case, the total of information from the picture element group A becomes &#34;5&#34; which is the same as the former case. Accordingly, in such case the pattern recognition is conducted in error. 
     However, if a proper weighting or weight attachment is made as an example, such as classifying the electric information of the picture elements A2, A4, A6 and A8 as 0.5 at element group A while the other picture elements are left as either &#34;1&#34; or &#34;0&#34;, the case of FIG. 1A with projection of pattern on picture element A2, A3, A4, A5 and A7 while no projection on picture elements A1, A6 and A8 is made, the electric information becomes one line information of 0, 0.5, 1, 0.5, 1, 0, 1, 0 and hence the weighting total of element group A becomes &#34;4&#34;. On the other hand, in the case of pattern projection on picture elements A1, A3, A4, A6 and A8 with no projection of pattern on picture elements A2, A5 and A7, the electrical information becomes the line information of 1, 0, 1, 0.5, 0, 0.5, 0, 0.5 which weighting total becomes 3.5 and is different from the former case. This means that a proper weight assignment to some of the picture element in each picture element group will show effect to segregate patterns that cannot be segregated without such weight assignment. 
     A system example, which conducts such weight assignment to some of the picture elements, shall be explained with reference to FIG. 3. At the output sides of analog memories A 11, A 12 . . . F 18, resisters A 1R-A 8R, B 1R-B 8R, . . . , F 1R-F8R, whose resistance values are selected to be different from one another according to the necessary weight assignments, are connected, and the output from analog memory elements A 11, . . . F 18 are fed to processor 6 through these resisters A 1R . . . F 8R and so on. Thus, the above mentioned weight assignment is accomplished. 
     Note that the above explanations is cited on the sequential scanning of a picture screen containing a number of picture element groups, but the scanning does not have to be limited to the sequential scanning and various other scanning methods may be adopted. Accordingly, it is not necessary to follow the sequential scanning arrangement for the construction of the element groups as well as distribution of picture elements, and for instance, as shown in FIG. 4, as indicated with +marks and O marks, the picture elements apart from each other may be assembled into element groups by which the same results are obtained, and it is not necessary to mention that the degree of pattern recognition can be raised by weight assignment to the proper picture elements. In the same respect, even though the picture element quantity, which constructs a picture screen as well as the element group construction or the scanning method may be properly selected, it is obvious to still obtain the same results. 
     It will be apparent that many modifications and variations could be effected by one skilled in the art without departing from the spirit or scope of the novel concepts of the present invention, so that the scope of the invention should be determined by the appended claims.