Pattern recognition and validation, especially for hand-written signatures

Abstract: For pattern recognition and validation, especially of hand-written signatures, the invention provides that original files of basic structures are established and stored in a reference image file (39). The structure to be verified is analyzed in the same way and with the same methods to find their significant basic structures. Information stored in the reference image file and information found as significant basic structures are compared. This comparison is performed in the order of significance sequentially or parallel at least for some information entities. Validation is performed for each single comparison step and the results are weighted. If no clear result is gained, a stepwise refinement of the recognition structures is performed by repeating the recognition and validation procedure on a higher level of information, or with other words with finer details to be analyzed.

Description: The invention pertains to a method for pattern recognition and validation, especially of hand-written signatures, said are written remote from the place of recognition and validation, using a computer system. The invention furthermore pertains to an arrangement for performing this method as well as to the use of the method and the arrangement in a signature verification environment such as preferably in the banking area. In US-A- 4 028 674 a signature verification where an image mosaic for a signature to be verified is stored in a memory and wherein a prototype feature set for said signature is stored in a memory, is described. Binary signals representative of the location and magnitude of positive and negative peaks in mosaic and the stroke character in the region of each of said peaks are generated. A two-dimensional feature set pattern after the prototype set is stored with the signals ordered in dependance upon the occurrence of the peaks in the signature and accompanied by peak rank in terms of peak magnitude and stroke character in the vicinity of each peak. The feature vector set is then compared with the prototype vector set and identity is signalled when within predetermined limits the feature set matches the prototype set. US-A- 4 286 255 describes a method and apparatus for determining whether a newly-signed signature and previously recorded signature were made by the same person. The method and apparatus include the steps of an apparatus for scanning a document containing the newly-signed signature to provide an electrical signal representative of the reflectivity of the newly-signed signature and the document and generating a signature envelope derived from the electrical signal with the envelope being formed of selected points on the signature. A plurality of characteristics of the newly-signed signature are then calculated based on the location and magnitude of the selected points forming the signature envelope with respect to a reference line. The calculated characteristics of the newly-signed signature are then compared with corresponding characteristics of a standard signature formed from a group of previously recorded signatures and a signature verification decision is generated based on the degree with which the compared characteristics match. A method of signature verification in the frequency domain is known from US-A-4 789 934. The preferred signature characteristics that are measured are two acceleration components of the pen, and the rate of change of axial pressure on the pen. More specifically, correlation functions operating on a sample and reference signature produce a correlation score. If the total correlation score is in a selected interval, then the above measured characteristics are analyzed in the frequency domain with the magnitude squared coherence function. From the co-pending European application EP 90 120 620.1 of the present applicant, published as EP-A-0 483391, a method of automatically verifying a signature of an individual with a computer is described. In this known method a digitized image with a number of picture elements is established from the signature to be verified. Parameter values to be verified are calculated from this digitized image and are compared with corresponding reference parameter values that were calculated and stored previously. Depending on a comparison of the reference parameter values and the parameter values to be verified, it is decided if the signature to be verified is true or false. Various possibilities are described in this pending application for the calculation of significant parameters. The gravity-center of all densities of all rows and all columns of the digitized image is a parameter which can be used for a preselection. Centers-of-gravity, gravity-lines, maximum values and maximum lines, etc. are further significant parameters. Parameters with a very high reliability can be generated by calculating second order polynomials which describe segments of the signature. The general problem underlying signature verification or more generally spoken, pattern recognition and validation pertains to the fact that an image typically has a very high amount of information. Analyzing all the information is very time-consuming and at least may lead to confusion at validation. Such an image contains important information and in most cases information which are of no or minor interests. But this information which is of no interests makes very often identification of the important information very difficult. Under statistical considerations in many cases the distribution is so wide that the desired information cannot be detected. It is the main object of the present invention to provide a solution to the question how to find in a very short time the important information out of such an image. The invention as laid down in the independent claims basically solve this object. In solving this problem to identify the essential information the following basic road is used: analyzing sequentially in a predefined way the important structural characteristics, comparing them with a set of reference structural characteristics, and qualifying the extracted information. Further advantageous embodiments and developments of the basic solutions of the invention are laid down in the respective sub-claims. Advantages are either self-explanatory or explained later-on in the more specific description of the embodiments of the present invention. The invention is described subsequently in more detail in connection with the embodiments shown in the drawing in which Fig. 1 shows two basic shapes of two different trees; Fig. 2A and 2B show two different validation functions for the true-falls decision; Fig. 3 shows in a schematic block diagram the basic arrangement for the analyzing method of the present invention; Fig. 4 shows schematically a position-shifted-polar-matrix and a polar density vector; Figs. 5A to 5F show different states during the shifting procedure, the different vector built, the position-shifted-polar-matrix and also the length and angle vector; Fig. 6 shows a signature of a "K Möller"; Fig. 6A shows a density matrix of a signature similar to that of Fig. 6; Fig. 6B shows the bit matrix built out of the density matrix of Fig. 6A; Fig. 7A shows the bit matrix of Fig. 6B; Fig. 7B shows a position-shifted-polar-matrix pertaining to the bit matrix of Fig. 7A; Fig. 7C shows the polar length vector derived from the matrix shown in Fig. 7B; Fig. 7D shows the polar-angle-vector pertaining to the matrix shown in Fig. 7A and 7B; Fig. 8 shows in Fig. 8A another example of a bit matrix of a similar but not equal signature of the same person of Fig. 6, in Fig. 8B the pertaining polar-length- vector and in Fig. 8C the pertaining polar- angle-vector; Fig. 9 shows a further example of a signature of the same person, similar to that of Fig. 6 with the bit matrix in Fig. 9A, the pertaining polar-length-vector in Fig. 9B, and the pertaining polar-angle-vector in Fig. 9C; Fig. 10 shows another example of a signature of the same person, similar to that of Fig. 6 with the bit matrix in Fig. 10A, the pertaining polar-length-vector in Fig. 10B, and the pertaining polar-angle-vector in Fig. 10C; Fig. 11 shows a still further example of a signature of the same person, similar to that of Fig. 6 with the bit matrix in Fig. 11A, the pertaining polar-length-vector in Fig. 11B, and the pertaining polar-angle-vector in Fig. 11C; and Fig. 12 shows as an example of a decision tree using images and shapes of different trees. An image of a pattern has usually a lot of different information. This information, for example, can be lineart structures of regular or irregular form, it can be shapes and their arrangement, it may be defined by black and white and/or color areas, it may be letters or characters, it may be hand-written, it may be endorsements, it may be symbolic or it may be of other kind. In many cases a certain kind of information can be considered separately by suppressing other information. Such a certain information is analyzed by using a sequence of detailed information in comparing with a set of basic information. The result of the compare is ranked by priorities and is weighted. For example, by analyzing the type of a tree with the help of detection of the basic shape. In Fig. 1 there is shown the basic shape of a leaf-tree 11 and the basic shape of a needle-tree 12. The leaf-tree 11 is characterized by an elliptic portion 13 above a stem 14. The basic shape of needle-tree 12 is formed by a triangle portion 15 above a stem 16. Beside the characteristic difference of the elliptic and triangle shaped upper portions 13 and 15 there is also a difference in the length of the two different stems 14 and 16. In analyzing an image of a pattern as, for example, shown in Fig. 1, the basic outer shapes of the two patterns of leaf-tree 11 and needle-tree 12 are tried to detect first. This is the most important information for which first is looked out. If there is a match with the shape of a leaf-tree, then the next step is to compare the shape of the leafs with those of a leaf library. If, for example, still a higher level of confidence is desired, the wood structure could be used in analyzing the patterns by comparing this wood structure with wood structure information taken from a library. If the level of confidence is high enough the analyzing process is stopped. In connection with a decision tree schematically shown Fig. 12, this example is described in more detail in the following: In step 120 of Fig. 12 there is a start-point indicated for finding the shape/outline of the tree to be found. From step 120 it branches either to elliptic or triangle form of the outline. Elliptic leads to step 121, where the leaf form is going to be found. The other branch triangle leads to step 122 in which the needle form is to be distinguished. This needle form might be a long needle or a short needle. This branch of the decision tree is not further followed on in the shown example. The leaf-form to be distinguished in step 121 might be finger-like or elliptic. Is it finger-like, it may lead in step 123 to find out that the tree to be searched is e. g. a chestnut. This then is the final result. If the leaf-form is elliptic, in step 124 other distinguishing information has to be followed. There might now be distinguished between risp-form or elliptic leafs or single leafs. In case of a risp-form, in step 125 the acacia is found and the decision tree ends there in this branch. If on the other hand the single leaf-form is followed, there might be different leaf-edge variances followed from step 126. Branching to a smooth form leads to the final decision for a beech tree in step 127. If the leaf is single and has round edges, it may end in the German oak tree in step 128. If the single elliptic leaf has a outer form of a sawtooth, then it may end in the maple tree in step 129. This decision tree shows in an example more general principles to be followed. In step 120 we have a low resolution in the edge detection method which, for example, is comparable with the angle distribution of lines. On the level of steps 121 and 122 we have a medium resolution or a zooming of the smaller contiguous objects. On the level of steps 123 and 124 we have a higher resolution and already an object relationship. On the level of steps 125 and 126 there is a very high resolution given and the objects are found by the edge shape of smaller objects. Compared to the step 120 in low resolution we have a detection of the whole object and on the level of steps 125 and 126 there is edge shape recognition of smaller objects, i. e. the leafs themselves. In connection with Fig. 12 it generally can be said that decision tree levels refer to related databanks with reference images or files. Every decision tree step is related to a finer resolution or generally speaking to a finer and higher amount of information. The level of detail increases drastically from step to step and with that also the effort necessary for the recognition increases drastically. One of the basic advantages of the present invention is that only in worst cases the whole decision tree has to be taken into consideration. In best cases, see for example the chestnut tree in step 123 of Fig. 11, only few steps are necessary to find the wanted result. Another important advantage is that in case of an early firm decision much more further details could lead to confusion. The application of the present invention is possible for the recognition of characters be it optical character recognition, be it intelligent character recognition. It is also possible to recognize line art, like hand-writing and signatures, as well as to recognize two-dimensional or three-dimensional objects and to recognize even faces and humans. Generally speaking, basic sets of information is used to analyze the actual information. In this a most important fact is that what is called basic information has very few data. This data on the other hand is essential. If one considers this fact in a mathematical way, it can be considered as senseful predefined cuts in an n-dimensional information room to describe the desired information. As more cuts are available, as better is the information. But very often only a few information is sufficient. In order to get high efficiency in analyzing the information, which is an important object of the present invention, it is important to use only those sets of basic information in the optimal sequential priority which give the right answer in the shortest time. It is not necessary that the sets of basic information are used completely. How many of such basic information is used depends on the desired accuracy or with other words depends on the needed level of confidence. It also depends on the application and the kind of questioning. In Fig. 2A there is shown a deviation function of the type 1/1+e -x . The deviation is shown over the X-axis and in a way that the deviation becomes smaller with increasing value of x. In Fig. 2B this function is shown in a schematically form such that there exist above the X-axis an area A where one says with certainty that there is a non-match, an area C were one could say that a match occurs and a linearized transition area B were the decision is not sure. As shown in connection with the match and non-match representation given in Fig. 2B, and including a not sure area, this shows that in comparing selected information with basic information the output result delivered can tell whether the input is true, respectively if it matches, or if the output result is false, respectively does not match or if the output is not sure. In the comparison the true-false condition is used to define the procedure of analyzing the information. If the comparison with the basic information of highest priority leads to false then the answer is that the object or the partial information respectively cannot be identified by the basic information set. That means, that the question if this information matches with a stored information, that for such a type of object the question of matching must be denied. In case of not sure further comparisons with other basic structures may be done. Those other basic structures then have a lower priority than the preceding ones. In case of a match or the answer true respectively, the information is true with a certain possibility and a certain failure. If the possibility is high enough or with other words if the pre-set level of confidence is reached, no further compares are necessary. If on the other hand the probability is not high enough, further comparisons with other basic information have to be performed. In connection with Fig. 3 the overall scheme for the analyzing method in accordance with the present invention as well as the scheme for analyzing per each decision step used in the stepwise refinement scheme of the present invention will be described. The actual image of the pattern to be recognized and validated is scanned by an image scanner 31. This image scanner 31 delivers a pixel array to an image normalizer 32. Generally speaking, in this image normalizer 32 the scanned image is brought to a format in height and width that is equal for all patterns to be recognized. By three indicated pattern identificators 33, 34 and 35 different significant basic structures of the normalized image is extracted. This significant basic structure information preferably is outputted in bit strings to pattern comparators 36, 37 and 38. These three pattern comparators 36, 37 and 38 are shown in a number equal to the indicated pattern identificators 33, 34 and 35. The significant basic structures outputted from pattern identificators 33, 34 and 35 to the pattern comparators 36 or 37 or 38 respectively are compared there with stored information strings delivered from a file 39 storing generally speaking the characteristic parameters of a reference image with which the actual image is compared. The outputs of the pattern comparators 36, 37 and 38 are input to a weighting net 301 in which the contribution of each pattern comparator is provided with a certain weight. This reflects the priority or in other words the level of confidence of each contribution. The result of this is output on output line 302. Dependent on this weighting process and the result, the afore-mentioned true, false, or not sure decision is given. In case of not sure, one or more further steps of recognition and validation may be performed for the same actual image using significant basic structures of finer or higher resolution value. These steps then follow per decision step the same procedure as generally indicated above in connection with description of Fig. 3. In the co-pending European patent application EP 90 120 620.1, filed 20th October 1990, published as EP-A-0 483391, of the present applicant, there are described various possibilities for the calculation of significant parameters. For example, gravity center lines are determined for different rows and different columns, as well as center of gravities. For further details, reference is made to this application. In accordance with the present invention in the following example of an embodiment of the invention the angle structures of lines is described. One basic characteristic of a hand-written image, for example of a signature, is the predominant angle structure of the lines and the distribution around the image or along the direction of writing respectively. In the following there will be described how in accordance with the present invention straight lines and their predominant angles are found. Every image of a pattern, like a hand-written text, in the form of a word or signature, has a predominant axis. This is normally the "horizontal" axis in the direction of writing. Furthermore, there is a predominant angle for the lines arranged usually vertical or close to vertical in respect to the writing axis. This so-call "vertical" axis needs not to be arranged in a right angle to the writing axis or the "horizontal" axis. For a common processing in pattern recognition and validation normalizing is advisable. For the normalization purpose the horizontal axis of the digital image to be processed is set to the principle axis of writing direction and the angle for the "vertical" lines is measured relative to this axis. Thus, the predominant angle is determined. Furthermore, in normalization the image of the pattern is set to a common format with respect to width and height. This might include an enlargement or a reduction of size of the pattern to be recognized. In the example of signature recognition and after finding the predominant angle of the straight lines arranged essentially "vertical", the whole image is erected by shifting the image matrix in a direction opposite to the angle direction of the predominant straight lines. This shifting is performed by the same angle as the predominant angle. Thus, the image is erected. In total, all the columns of the image built a histogram that is significant for a signature after normalization in image height and width. The significant parameters that can be taken from that are the absolute and relative distances between peaks in the histogram, the absolute and relative peak values, the shape or outer envelope of the histogram, and the absolute and relative length of the lines in the peak positions. A histogram is the presentation of the integral of the density of an image referring to one axis. The histogram of a raster image with regard to the X-axis means the sum of the density per column i. For 1 ≤ i ≤ n, 1 ≤ j ≤ m, j being the image row and m the total number of rows, the following formula is valid: In an index shifted histogram, the density values are summed up in a more complex way. For this more complex way the following general formula is valid: whereby i = f(x, y) and j = g(x, y) is, and f and g are complex functions that might be coupled. Out of this index shifted histogram, a special case is the linear index shifted histogram. For shift min ≤ k ≤ shift max , whereby k is the number of shifts and for M = m/(k + 1), the following formula is valid: This formula allows the calculation under which angle the predominant blackness of the image occurs. With the help of this technique a linear index shifted density matrix can be realized. The realization can be done mechanically by rotating an aperture stepwise, counting always the integral of density, and then shifting the aperture stepwise across the image. Instead of rotating an aperture a linear scan-array can be rotated with the help of a program. This leads to the same result as the mechanical rotation. It is also possible to combine both methods. From the above defined density matrix a bit matrix is derived. This is performed by setting all density values of the bit matrix to a "1" if the density is greater than a predefined offset or threshold value respectively. All other values are set to "0". In connection with Fig. 4 the index-shift of angle and the position-shift will be described. In accordance with the present invention the rotating of the "aperture" on a fixed point and the counting of the density for each step of rotation leads to an absolute maximum of the sum of density. This is defined and named as a polar maximum. A table which shows as well the density values for each index-shift in "angle" as well as in position is called a "position-shifted-polar-matrix". The index-shift of angle is performed stepwise along the indicated y-direction and the position-shift is done stepwise along the orientation line indicated by the arrow in x-direction. Finding the maximum within a column of this matrix leads to the polar maximum for the fixed position which is defined by the corresponding column. Considering the density matrix all polar maxima build a vector of the length of the image, named the polar-density-vector. Considering the bit-matrix all polar-maxima build the polar-bit-vector. This polar-bit-vector contains the information about how many lines of maximal length are detected, how the length of these lines is, how their angles are, and what their positions are. It should be noted that the length of these lines is unequal with the density. Furthermore, for detailed processing also gaps in the vector have to be taken into consideration. If the polar-bit-matrix contains only a single line or if the line of maximal length is considered to be the polar-bit-vector then this vector is named polar-length-vector. This vector describes the maximum vector of each position referring to the reference axis. The value of angle-shift where the polar-vector exists, is named the angle-vector. This angle-vector describes the angle of the polar-maxima and the position with reference to the reference axis. For finding the start-point of a line, a third vector, which contains this start position, is created and called the start-vector. The length-vector, the angle-vector, and the start-vector describe uniquely the position of the line with the greatest length. The following example shows how to detect the polar-maximum for one line in using linear-index-shift and using as reference the x-axis. The calculation comprises the following steps: 1. create bit-matrix: if density y, x > threshold pixel-matrix [y], [x] = 1 else pixel-matrix [y], [x] = 0 2. sum up all values of the pixel-matrix within each columns, 3. sum up all values of the pixel-matrix within the shifted columns, 4. search the length-vector and the angle-vector by finding the maxima in the position-shifted-polar-matrix. This example is shown in connection with Fig. 5. In Fig. 5A there is shown an example of one line represented by the representation of a slanted chain of "1". All other points in the matrix equal "0". In shift "0" shown in Fig. 5A all "1" are added which occur in the columns. Underneath the table there is shown a line containing a chain of "0" and "1" showing the result of this summing-up. Fig. 5B shows the stage of shift "1" indicated by the rectangulars in the table. In summing-up in column 7 from the left starting and then jumping to the "1" encompassed by the shifted rectangular shows a result of two in the bottom line polar-density-bit-vector. Fig. 5C shows shift 3 and the pertaining result showing in column 5 and 6 a result of two each. Finally in Fig. 5D in shift 7 in column 4 from the left the result is a six as polar-density-bit-vector. In Fig. 5E all vectors of shift 0 shift 7 are put together to in building the position-shifted-polar-matrix. Only the lines pertaining to shift 0, shift 1, shift 3, and shift 7, are filled with zeros and numbers. The maxima in the columns give the final result for the length vector with six and the angle vector with seven, because in shift 7 this maximum length vector of six occurs. This is shown in Fig. 5F. The example shown in Fig. 5 is a simple one in-so-far as only one line was contained in the matrix. Usually there are many lines in the picture and the structures are much more complex. Therefore, if there are more than one line, the same procedure is used in order to find the polar-maxima and their position length and angle. A multi-line structure leads to a length-vector of the maxima. The lines which give the maxima are named the most significant or the predominant lines and a vector is created which contains only the values greater "0". An example for this is: {123521002463} for a length-vector and {014321004531} for the pertaining angle-vector. This leads to the vectors for the most significant lines: {000500000060} for the length vector and {000300000030} for the angle-vector. For the predominant lines the "1" of the bit-matrix were added to find these lines. In adding in comparable manner the zeros, the gap-vector is created. This gap vector indicates were the gaps are and the corresponding angle-vector shows the angle of the gap. The procedure to find the gaps is to analyze the position-shifted-polar-matrix for zeros, that means for polar-vectors with a length of "0". This leads to the gap vector and the corresponding angle like shown above, is for example: {-1 -1 -1 -1 -1 -1 0 0 -1 -1 -1 -1} for the gap-vector and {-1 -1 -1 -1 -1 -1 3 4 -1 -1 -1 -1} for the pertaining angle-vector. "-1" means no gap or no hit respectively and "0" means that a gap existis. The sum of all pixels equals 0. In conclusion it can be stated that basic information can be extracted from the density-matrix as well as from the bit-matrix using the index-shifted-histogram, the polar-maxima, the position-shifted-maxima, the polar-density-vector, the polar-bit-vector, the length-vector, the angle-vector, the start-vector, and the gap-vector. The following should be noted and made be clear: the polar-shift needs not necessary to consider all possible angles. One or more angle ranges may be considered. The used "aperture" can be linear or can be more complexly shaped. The "aperture" and the rotation can be built by software as well as by hardware or a mixture of both. In analyzing hand-writing like words or a signature, the above explained method in finding polar maxima and polar minima allows it to find the predominant lines in position, length and angle of such a hand-written signature. These predominant lines are preferably described by vectors in a data string manner. A signature, for example, has typical string pattern, which is given by the arrangement, size and the angle of maximum lines. The same is true for gaps. An example of the afore-mentioned is shown in connection with a signature of a "K Möller" which is shown in Fig. 6 in hand-written representation. Fig. 6A shows the density matrix of this example of a signature of "K Möller" and Fig. 6B shows the bit matrix of the density matrix shown in Fig. 6A. For producing said bit matrix of Fig. 6B all density values greater than the threshold value "1" are set to be a "1" in the matrix. It should be noted that the sign "-" equals a zero in the density and in the bit matrix. In Fig. 7A the same bit matrix as in Fig. 6B is shown and in Fig. 7B the position-shifted-polar-matrix pertaining to this bit matrix is depicted. In the left-most column there is indicated by the numbers 0 to 9 the possible shifts for the angle. Encircled in the bit matrix of Fig. 7A is an example of how many bits can be added in the angle in the forth shift by the encircled ones. The result is the encircled 11 in the position-shifted-polar-matrix of Fig. 7B. Fig. 7C shows the pertaining polar-length-vector and there is encircled the pertaining 11 as a result and in Fig. 7D the polar-angle-vector pertaining to the respective polar-length-vector shown in Fig. 7 is depicted. In Fig. 8A to 8C, Fig. 9A to 9C, Fig. 10A to 10C and Fig. 11A to 11C there are shown four more different examples of the bit matrix. In each case it is again the bit matrix of the signature "K Möller" but the versions are different. In the Figs. denominated with b and c the respective polar-length-vectors and polar-angle-vectors are shown with their respective values. Indicated in the Figs. denominated with a the predominant lines pertaining to these polar-length-vectors and polar-angle-vectors are shown. As one analyses those predominant lines, one can see that there are six predominant lines more or less arranged in two groups, the left hand group encompasses three lines which do not cross, and there is a right hand group encompassing three lines of which sometimes some if not always at least partly do cross. Furthermore, it can be noted that between the second and the third predominant line from the left there is always a gap. Therefore, although this not in detail shown, gap-vector is a significant basic structure of this signature. If the predominant lines, as shown in Figs. 7 to 11, are found and have fulfilled their purpose, one can delete them from the matrix and perform a second iteration using the same method as before. In this second iteration or the second order polar maxima there is found a new set of polar-vectors and built-up a new set of lines, the so-called second order lines. It is clear that further iterations can be performed to find again a new set of vectors up to the point were all lines are described or the rest of all lines can be considered by integration and can be described by a value. The sequence of the steps gives a natural ranking of the importance of the lines in the groups. By this manner a stepwise refinement of the recognition structure is performed. The refinement is stopped by a logical decision or if the procedure has delivered the desired accuracy or if a non-match occurs. For the comparison of hand-written text such as words or signatures, the following method is used: 1) The original files of the base structures are established and stored in a reference image file, such as file 39 shown in Fig. 3. 2) The structure to be verified use the same methods to find their significant basic structures. 3) The information strings are compared in the order of significance - this can be performed sequentially or parallel at least for some information entities. 4) The validation of each step is performed and, 5) the results are weighted. The process delivers decision criterias to stop the comparison if a certain level of confidence is reached or as already said a non-match occurs. The method of stepwise refinement of the recognition structures, as has been described before on the example of finding predominant lines and an angle structure, can be used in an analogous way for integral methods as histogramming, as finding gravity lines, as analyzing areas with high density, as describing envelopes of line structures or areas and so on. This method in accordance with the present invention allows to group information in a defined order, allows logical decisions as stopping analyzing process at non-match conditions, or if sufficient validity of the question to be answered is reached. The most predominant basic information can also be used for adjustment. The result is put in data strings and bit patterns of the strings are describing the characteristics of the recognition structure so that they can be identified. The strings are ranked in order and filed as basic pattern. Certainly do different methods of analyzing lead to different basic structures. The method proposed by the present invention and demonstrated by the example of polar vectors allows to get a higher efficiency in pattern recognition and validation. This especially in cases of high amount of information and complex structure of images. The method of the invention of stepwise refinement starting with predominant information and then going step by step to information with lower content does this. It uses maximum and minimum analyzes and makes a decision after each step in a true/ false mode. It neglects information of minor importance and the quality of information and its weight can be extracted. The process of analyzing is stopped if the desired quality level is reached. The method of the invention can be considered as a method for searching of basic pattern of interest. The weighting is done immediately after each step. Information of no or minor importance is neglected. Thus, in advantageous manner the high amount of information of an image is drastically reduced to the significant information and this significant information is found in a short time and in an effective way.

Claims: A method for pattern recognition and validation, using a computer system, and comprising the following steps: a) scanning a document containing said pattern, b) providing an electric representation of said scanned pattern, c) determining at least two different basic structural characteristics of said pattern by filtering information relative to said at least two different basic structural characteristics out of said scanned pattern and suppressing other information on said scanned pattern, d) comparing said at least two different basic structural characteristics with a set of structural characteristics of a reference image, previously stored in a file, e) providing the results of comparing said at least two different basic structural characteristics with said stored set of structural characteristics with a certain weight reflecting the level of confidence associated with said structural characteristics, f) deciding whether a predetermined level of confidence of pattern recognition and validation is reached on the basis of the weighted comparison results, g) stopping pattern recognition and validation if said predetermined level of confidence is reached, or repeating step c) to f) on at least two new different basic structural characteristics of said pattern providing a higher resolution than the basic structural characteristics involved in the preceding round of steps c) to f), until said predetermined level of confidence is reached or until a non-match occurs. Method as in claim 1, wherein said determined at least two different basic structural characteristics or said at least two new different basic structural characteristics of said pattern and said set of structural characteristics are compared in descendant order of the weight associated with said two different basic structures or said at least two new different basic structural characteristics until said predetermined level of confidence is reached or a non-match occurs. Method as in claim 1 or 2 wherein said pattern to be recognised and validated is a hand-written text, which is written remote from the place of recognition and validation, and said at least two different basic structural characteristics are chosen out of (absolute or relative) location, magnitude, line position and length or angle of lines relatively to a principal axis of said hand-written text. Method as in claim 3, wherein step c) comprises the following further steps: c1) determining the angle structure by setting the horizontal axis of said pattern to be the principal axis, c2) determining the distribution of positions and angles of lines of said pattern, relative to said principal axis and c3) determining the length of said lines in dependency of different angles. Method as in claim 4, wherein a normalised scanned image histogram is formed by the following steps a) the scanned image is normalized by setting it to a common format with respect to width and height, b) the direction of writing is set to a specific axis, c) in an angle analysis the angle between the predominant "vertical" direction of the written lines and said specific axis is determined, d) the image pattern is rotated in the opposite direction of said determined angle by an angle which corresponds to said predominant "vertical" angle as determined by step c) above, and e) the contents of columns of said image pattern are accumulated so as o build a histogram. Method as in claim 5, wherein said histogram is transformed into a binary matrix, by setting all values in the histogram greater than a defined threshold value to a "1" and all other values to a "0". An apparatus for pattern recognition and validation, using a computer system, and comprising: 1) an image scanner (31) for scanning the pattern to be recognized and validated, 2) an image normalizer (32) for generating an image of said pattern that is set to a common format in height and width, 3) pattern identificators (33, 34, 35) for determining at least two different basic structural characteristics of said image, 4) a storage file (39) for storing a set of structural characteristics of a reference image, 5) pattern comparators (36, 37, 38) for comparing said at least two different basic structural characteristics derived from said actual scanned pattern with a corresponding set of structural characteristics of said reference image delivered from said storage file, 6) a weighting net (301) for weighting the different results of said pattern comparators according to a level of confidence associated with each of said at least two different structural characteristics, 7) means for deciding whether a predetermined level of confidence of pattern recognition and validation is reached, and 8) means for stopping pattern recognition and validation if said predetermined level of confidence of pattern recognition and validation is reached or, if not, for repeating pattern recognition and validation with at least two new different basic structural characteristics until said predetermined level of confidence of pattern recognition and validation is reached, or until a non-match occurs. Apparatus as in claim 7, wherein said two different basic structural characteristics and said set of structural characteristics of a reference image, which are to be compared in the pattern comparators, are provided in the form of bit strings.

Inventors: RUDOLPH VOLKER DR DIPL-PHYS, RUPPERT WERNER DIPL-ING, RUDOLPH, VOLKER, DR. DIPL.-PHYS., RUPPERT, WERNER, DIPL.-ING.
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1992
Main classification: G06K9
IPC codes: G06T7, G06K9