Determination of the orientation of the ridges of a fingerprint

Information

  • Patent Application
  • 20030198369
  • Publication Number
    20030198369
  • Date Filed
    April 17, 2003
    21 years ago
  • Date Published
    October 23, 2003
    21 years ago
Abstract
A method and a circuit for determining the orientation of ridges of a digital image representing a fingerprint or the like, consisting for each image pixel of calculating a quantity taking into account the neighboring pixels in all directions, and of bidirectionally scanning the image line by line.
Description


BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention


[0002] The present invention relates to the field of fingerprint recognition, which is a well tried and tested technique for the identification of an individual. The present invention more specifically relates to processings to apply to digital images reproducing fingerprints to enable comparison thereof.


[0003] 2. Discussion of the Related Art


[0004] Methods and systems of fingerprint recognition based on digital images use various image-processing techniques. The aims of such processings is, generally, to improve the image definition and detect the positions of points, called minutiae, characteristic of the arrangement of the papillary lines of a fingerprint.


[0005] Among processings performed on digital images, the present invention more specifically relates to a step of determination of the orientation of the fingerprint ridges. This steps leads to the calculation of a directional image aiming at obtaining an image of the orientation of the fingerprint ridges. In other words, to each of the image pixels is assigned the orientation of the ridge to which it belongs.


[0006] Generally, this determination takes account of the image resolution and, more specifically, of the minimum and maximum widths of the ridges and valleys of the papillary arrangement in the digital image.


[0007] A first conventional method to determine the orientation of the ridges of a digital image reproducing a fingerprint consists of calculating the gradients at each point of the image in two orthogonal directions. The orientation is then determined by calculating the tangent of the gradient ratio, and this, for each image pixel. Generally, the calculations are rounded up by taking account of a limited number D of directions, for example, eight.


[0008] A second conventional method consists of calculating, for each image pixel and for an arbitrarily-chosen number D of directions, the sum of the differences between the grey level of the current pixel and the grey levels of the pixels surrounding it in each direction. On a ridge, this sum is maximum, and perpendicularly to a ridge, this sum is minimum. The minimum value obtained from the D calculated sums is thus selected, and the concerned pixel is assigned the orientation of the ridge to which it belongs. To enable such a determination, the number of pixels taken into account around the current pixel is determined according to the minimum and maximum possible widths of the ridges, and thus to the size and the resolution of the digital image.


[0009] This method amounts to applying, for each image pixel, and for each of D directions (for example, eight), the following formula:
1K(i,j)=d[MINd=0D-1(k=1L&LeftBracketingBar;C(i,j)-Cd(ik,Jk)&RightBracketingBar;)],where:


[0010] d designates the direction (d ranges between 0 and D−1, or between 1 and D);


[0011] MIN designates a function for selecting the value of d corresponding to the direction for which the sum is minimum;


[0012] K(i,j) is the orientation of the pixel of cartesian coordinates (i,j) in the resulting directional image, that is, value d assigned to the pixel;


[0013] C(i,j) is the grey level intensity of point (i,j) in the original image for which the formula is applied;


[0014] L represents the number of pixels taken into account to apply the formula, that is, the number of pixels on a line of direction d containing the point of coordinates (i,j);


[0015] k ranges between 1 and L and identifies the pixel of the line of direction d containing the point of coordinates (i,j); and


[0016] Cd(ik,ik) represents the intensity (grey level) of each pixel of rank k in the line of direction d containing the point of coordinates (i,j).


[0017] Number L (for example, equal to 13) is, in practice, determined by applying the following relation:




L=
2.Hd+1,



[0018] where:


[0019] Hd=(Wmax−1)/2 rounded up to the next higher integer; and


[0020] Wmax represents the maximum average width of the ridge, in number of pixels in the image to be processed.


[0021] Be it by the first or the second method, a resulting or directional image is obtained in which, for each pixel, a code representing one of the D directions is provided. This code may be assimilated to a grey level since it generally corresponds to a binary word having the same size as the grey level coding (for example, an 8-bit word enabling coding from 0 to 255), and since it could be used to generate an image, the grey levels of which would differentiate the codes. Accordingly, reference will sometimes be made hereafter to “grey levels” to designate the values given to points of a matrix corresponding to image pixels, even if these values do not actually really represent grey levels of the original image.


[0022] Once the directional image has been obtained, the average orientation of blocks b dividing up this image is determined. The size chosen for the blocks is set by the number of pixels taken into account around the current pixel to determine the ridge direction, which is itself a function of the minimum and maximum possible widths (in number of pixels) of a fingerprint ridge in the considered image.


[0023] For each block b, the direction d which most frequently appears in its pixels (among the D defined directions) is determined by applying a histogram calculation to determine the most frequent direction in the concerned block. This amounts, for each block b and for each direction d, to applying the following relation:




HIST
(d)=Pd/X,



[0024] where:


[0025] HIST represents the calculated discrete histogram function;


[0026] Pd represents the number of pixels of the directional image block having direction d, and


[0027] X represents the total number of pixels in the block.


[0028] Eight values HIST are obtained for each block and the direction d corresponding to the greatest value is chosen as the orientation O(b) of block b. This amounts to applying the following formula:
2O(b)=d[MINd=0D-1(HIST(d))],where:


[0029] MAX designates a function of selection of the value of d corresponding to the direction for which the histogram function provides the maximum value.


[0030] Different conventional processings are then implemented on the original image to more reliably determine, by means of the obtained orientation image, the respective positions of the minutiae and, on the same occasion, the orientation of the papillary arrangement which surrounds them locally.


[0031] An example of application of the above second method is described in article “Système automatique de reconnaissance d'empreintes digitales. Sécurisation de I'authentification d'une carte á puce” by Christel-Loïc Tisse, Lionel Martin, Lionel Torres, and Michel Robert, published in September 2001 in GRETSI'01 proceedings, Sept. 10-11, 2001, Toulouse (FR).


[0032] An obvious disadvantage of the first method is the large amount of complex calculations to be performed, in particular to calculate the tangents at each point in the image.


[0033] As for the second method, it requires a significant number of accesses to a memory (or memory area) in which the original image is stored.


[0034] Further, be it in the first or in the second method, a second series of memory accesses must be performed to calculate the average orientations of the blocks based on the stored directional image.


[0035] The significant number of memory accesses considerably slows down the image processing.


[0036] Moreover, the large number of pixels (several hundreds in each direction of the image) makes the execution of the calculations by groups of pixels in parallel over the entire image unrealistic. Now, in integrated applications, it is often preferable to process repetitive calculations by means of components in wired logic rather than by means of a processor executing calculation instructions of a software program.



SUMMARY OF THE INVENTION

[0037] The present invention aims at providing a novel method of determination of the directions of ridges of a fingerprint in the form of a digital image, which overcomes the disadvantages of known methods.


[0038] The present invention more specifically aims at providing a solution which is particularly well adapted to a hardware execution of the calculations.


[0039] The present invention further aims at minimizing the number of memory accesses necessary to load the grey levels of the pixels which much take part in the calculations.


[0040] To achieve these and other objects, the present invention provides a method for determining the orientation of ridges of a digital image representing a fingerprint or the like, consisting for each image pixel of calculating a quantity taking into account the neighboring pixels in all directions, and of bidirectionally scanning the image line by line.


[0041] According to an embodiment of the present invention, the orientation calculations take into account an even number (L−1)/2 of pixels on either side of the current pixel in a predetermined number D of directions, and the orientation of the pixels of the image sides over (L−1)/2 pixels in height and widthwise are not calculated.


[0042] According to an embodiment of the present invention, the method is implemented by means of a circuit of bidirectional shift registers enabling parallel loading of the words of each register.


[0043] The present invention also provides a circuit for temporarily storing blocks of a digital image, comprising:


[0044] a matrix of V shift registers of U words to store an image block of U*V pixels;


[0045] two shift registers for loading in a first direction, said two registers being unloadable in parallel into the first, respectively last, words of all registers in the matrix; and


[0046] at least one shift register for loading in the other direction, unloadable in parallel into all words of the first or last matrix register, the different registers being interconnected to enable loading of the image by blocks in the first direction, in both directions, and in the second direction.


[0047] According to an embodiment of the present invention, the size of the words corresponds to the number of bits over which are coded the grey levels of the image pixels.


[0048] The present invention also provides a circuit for determining the orientation of lines in a digital image, comprising a temporary storage circuit, the parallel outputs of the matrix registers being connected to inputs of a first wired logic circuit of calculation of the individual orientations of the image pixels.


[0049] According to an embodiment of the present invention, to outputs of the first circuit are connected to a set of latches for temporarily storing the individual orientations, outputs of the latches being connected to inputs of a second wired logic circuit of calculation of the average orientation of the image blocks.


[0050] According to an embodiment of the present invention, the circuit for determining the orientation of lines in a digital image comprises a control circuit in wired logic.


[0051] According to an embodiment of the present invention, the circuit for determining the orientation of lines in a digital image is applied to the determination of the orientation of ridges in a digital image representing a fingerprint or the like.


[0052] The foregoing objects, features and advantages of the present invention, will be discussed in detail in the following non-limiting description of specific embodiments in connection with the accompanying drawings.







BRIEF DESCRIPTION OF THE DRAWING

[0053]
FIG. 1 schematically shows an embodiment of a matrix for storing an image pixel block according to the present invention;


[0054]
FIG. 2 illustrates, in a simplified view of an image to be processed, an implementation mode of the method according to the present invention; and


[0055]
FIG. 3 very schematically shows in the form of blocks an embodiment of a circuit for calculating the average orientations of blocks of a digital image according to the present invention.







DETAILED DESCRIPTION

[0056] For clarity, only those elements of the storage circuit and those method steps that are necessary to the understanding of the present invention have been shown in the drawings and will be described hereafter. In particular, the steps upstream and downstream of the determination of the ridge orientation are no object of the present invention and have not been described. Further, the steps executing the actual calculations (sum, subtraction, etc.) have not been detailed and implement conventional processes. Further, the circuits of storage and addressing of the entire image, be it the original image or the directional image, have not been illustrated and are conventional.


[0057] The present invention provides a matrix of temporary storage (for example, by means of registers) of an image block representing the papillary arrangement, the average direction of which is desired to be determined, and a specific addressing of this storage matrix, to minimize the number of accesses to a memory for storing the entire image.


[0058]
FIG. 1 is a simplified view in the form of blocks of a circuit 1 of temporary storage of grey levels of pixels of an image to be processed according to the present invention. This circuit comprises V bidirectional shift registers R1, R2, . . . , Rj, . . . RV−1 and RV, capable of each storing U words B1j, B2j, . . . , Bij, . . . BU−1j, BUj, representative of a pixel grey level. For example, each word is an eight-bit word enabling storage of 255 grey levels. The size of the memory word matrix thus formed preferably corresponds to that of a block of the image, the average orientation of which is desired to be determined (U*V=X). For simplification, the same column and line indexes i and j have been used to designate the pixels in the entire image.


[0059] Registers Rj are each connected to enable parallel loading and unloading of the X words Bij. Further, they are connected so that the X words can be simultaneously discharged (in a single cycle) towards operators (not shown), preferably in wired logic, executing the orientation calculations.


[0060] The set of registers Rj is associated with three loading registers, respectively vertical Vg and Vd and horizontal H. The size (number of words) of the vertical registers is V while that of the horizontal register is U. The reference to the vertical and horizontal orientations is taken in the orientation of the drawings, but may of course be reversed.


[0061] Registers Vd, Vg, and H are unloadable in parallel towards registers Rj and, preferably, loadable in parallel from outside of matrix 1, that is, from the original image storage memory. As an alternative, the loading into registers Vd, Vg, and H is a series loading, that is, one cycle is used to load a word into one of these registers. The required time is not an obstacle, provided to keep a parallel unloading. Indeed, register Vd, Vg, or H according to the current position in the original image may be loaded word by word during the calculations performed on the current pixel matrix present in registers Rj.


[0062] For simplification, the different control connections for starting the shifting and loading/unloading the different registers have not been shown in FIG. 1. It should only be noted that vertical registers Vg and Vd are, preferably, controllable to be vertically shifted in a single direction, while horizontal register H is controllable to shift to the right or to the left, registers Rj being controllable for shifting in all directions.


[0063] The orientation calculations of each pixel to obtain the directional image, and the calculations of average orientation of the blocks, are performed in a single step, that is, for a given block, with no new access to a storage memory. To achieve this, the individual orientation of each pixel is, according to the present invention, determined by applying the second previously-described method. Advantage is then taken from the fact that, as indicated previously, the size (width and length) of the blocks generally corresponds to the number of pixels taken into account in each direction to determine the individual orientation of each pixel according to this method. More generally, for this feature of the present invention to be respected, it is enough for the block size to be smaller than the number of pixels taken into account to determine the individual orientation of each pixel. In other words, it is enough for each block to entirely fit into the temporary storage matrix. On this regard, it should be noted that the storage matrix is preferentially, but not necessarily, square (U=V). The same can be said of the blocks.


[0064] The original image, entirely stored in a memory or memory area not shown, is horizontally and vertically scanned from one pixel to the next with a specific course further limiting the number of accesses to the memory storing the entire image.


[0065]
FIG. 2 shows a simplified view of a fingerprint image I to be processed in orientation calculation according to the present invention. Image I is in fact stored in a RAM not shown, accessible by the control processor of the print recognition system. The memory storing image I is sized according to the size of this image to contain the respective grey levels of each of the pixels thereof. In FIG. 2, the case of an image of M pixel lines and N pixel columns is considered.


[0066] Vertical loading registers Vg and Vd and horizontal loading register H are used to preload a next line, respectively, column, to scan the entire image I. Thus, according to a feature of the present invention illustrated by the path in arrows of FIG. 2, the processing performed on the image pixels is performed by scanning this image line by line. Further, this line-by-line scanning is performed back and forth, that is, changing directions (from left to right or from right to left) for each pixel line. This is why two vertical loading registers Vg and Vd are provided, according to the current line scan direction. The present invention here takes advantage of the fact that the calculations performed and the stored results need not be in a specific order. This enables avoiding a line-by-line scanning in a single direction, as would be the case for the processing of images for display. According to the present invention, what matters is to successively shift from one column to the next column, then from the end of a column to the next line, to minimize the number of memory accesses. The fact of starting in the reverse direction at the end of a current line to process the next line is no obstacle for the calculations performed by the present invention. On the contrary, this has the considerable advantage of not having to reload, even at the end of a line, a complete matrix of U*V pixels.


[0067]
FIG. 3 very schematically shows in the form of blocks the architecture of a circuit for calculating the average orientations of blocks of an image according to an embodiment of the present invention.


[0068] Temporary storage array 1 (TEMP), the inputs of which (generally designated with reference E in FIG. 3) receive the grey levels of the pixels of the original image stored in a memory 2 (MEM), comprises as many (U*V) outputs S as it comprises words.


[0069] According to the present invention, each pixel of word Bij of a register Rj of temporary storage circuit 1 is associated with the calculator necessary to determine the orientations by application of conventional formulas. In other words, the different registers are read from simultaneously and in parallel to execute the operations necessary to the calculation of the following formula:
3K(i,j)=d[MINd=0D-1(k=1L&LeftBracketingBar;C(i,j)-Cd(ik,Jk)&RightBracketingBar;)].


[0070] All the above operations may be performed by means of a circuit 3 in wired logic (OPE), if need be equipped with synchronization ports (not shown). The synchronization ports are however optional for the processing of square matrixes (U=V). The practical forming of circuit 3 executing operations (additions, subtractions, comparisons, etc.) necessary to the calculation of the above formula is within the abilities of those skilled in the art.


[0071] The formula is applied to each shifting of a pixel in the scanning. However, the calculation of the average orientation of the blocks is, preferably, only performed periodically, when all individual calculations are available. For this purpose, downstream of the operators (circuit 3) executing the preceding formula, a set 4 of latches is provided, to store the U*V individual orientations K of the pixels. The outputs of latches 4 are connected to a second circuit 5 in wired logic for calculating the average orientation (MOY). For non-overlapping blocks (as is the case for fingerprint processing), this amounts to executing, based on the intermediary results stored in the latches and all the U−1 columns and V−1 lines (and thus, for each block), the calculations of the following formula:
4O(b)=d[MINd=0D-1(HIST(d))].


[0072] The number of applications of the above formula thus is (U−1)*(V−1), less frequent than that of application of the individual orientation calculation formula. It is however not necessarily disturbing to perform the calculation of the average orientation of a U*V-pixel block for each shifting, if this does not take too much time. This then simplifies the calculation synchronization and it is enough to only take into account one result every U−1 columns and every V−1 lines.


[0073] In the case of partially overlapping blocks, the periodicity of the average orientation calculation or of its taking into account is adapted.


[0074] The number of latches of circuit 4 depends on the block size and on the number of bits coding each pixel.


[0075] The final results, that is, the average orientations of the blocks, provided by outputs FS of circuit 5, are stored in a RAM area 6 (MEM) external to circuit 1. This area is then accessible, conventionally, by the processor of the fingerprint recognition system. If desired, a directional image containing the individual orientations of all pixels may also be stored.


[0076] Of course, other memory areas are used to store other images resulting from conventional intermediary calculations which are no object of the present invention. These will be, for example, the different images provided by different filterings.


[0077] Another feature of the present invention is not to take into account the sides of original image I for the calculation of the individual pixel orientation. Indeed, the calculation of the orientation of a pixel with respect to the pixels surrounding it takes into account the two pixels on either side of the current pixel in each direction d. Accordingly, the side calculations will anyhow be inaccurate if they do not take into account the L (for example, 13) required pixels. In practice, the orientation results are unexploitable if the current pixel is not surrounded, in each of the D directions d, with the (L−1)/2 (for example, 6) required pixels. In other words, assuming blocks of U*V pixels, the first U*V image pixels are first loaded, and the first pixel for which the orientation is calculated has coordinates (U−1)/2, (V−1)/2 (FIG. 2). The first block for which the average orientation is determined is the block centered on the pixel of coordinates U, V. At the end of an image, the last pixel for which the orientation is calculated is the pixel of coordinates N−(U−1)/2, M−(V−1)/2, and the last block is centered on the pixel of coordinates M−U, N−V.


[0078] An advantage of not taking into account the sides is that the calculation and the loading of the image sides is avoided, which represents M*(U−1)+N*(V−1) cycles. Further, this is not disturbing since, in addition to the above-mentioned inaccuracy, the image sides are statistically the regions where the information quality (print pattern) is the poorest (area of lesser contact between the finger and the sensor).


[0079] The managing and the multiplexing of the inputs of circuit 1 of registers and the storage for loading/unloading in the RAM are performed by conventional circuits and elements. Preferably, a logic control circuit 7 (CTRL), independent from the processor of the print recognition system, enabling execution in wired logic of all controls, will be provided. Circuit 7 then controls circuits 1, 3, 4, and 5. This is made possible in the application of the present invention since the image is known in advance, as well as the respective sizes of the blocks to be processed.


[0080] As a specific example of implementation, the blocks to be processed are blocks of 13*13 pixels and the entire image represents 338*334 pixels. A systematic loading of a matrix of 13*13 pixels for the entire image would require more than 13 millions of memory accesses. According to the present invention, only a little more than one million (1,028,352) memory accesses are required to implement the calculation. On the side of the latches for temporarily storing the pixel orientation before calculation of the average block orientation, a complete loading of the image would require more than 85,000 latches. According to the present invention, only a little more than 200 latches (208) is enough.


[0081] Of course, the present invention is likely to have various alterations, modifications, and improvement which will readily occur to those skilled in the art. In particular, the sizes given as an example may be modified, provided to respect the functionalities of a bidirectional scanning of the image to be processed. Further, the practical implementation of storage circuit 1, of calculation circuits 3, 4, 5, and of logic control circuit 7 are within the abilities of those skilled in the art based on the functional indications given hereabove. Further, although the present invention has been described in its application to the processing of fingerprints, it should be noted that it more generally applies to any calculation of line orientation in a digital image, compatible with the constraints encountered in the case of fingerprints.


[0082] Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and the scope of the present invention. Accordingly, the foregoing description is by way of example only and is not intended to be limiting. The present invention is limited only as defined in the following claims and the equivalents thereto.


Claims
  • 1. A method for determining the orientation of ridges of a digital image (I) representing a fingerprint or the like, consisting for each image pixel of calculating a quantity taking into account the neighboring pixels in all directions, and consisting of bidirectionally scanning the image line by line.
  • 2. The method of claim 1, wherein the orientation calculations take into account an even number (L−1)/2 of pixels on either side of the current pixel in a predetermined number D of directions, consisting of not calculating the orientation of the pixels of the image sides over (L−1)/2 pixels in height and widthwise.
  • 3. The method of claim 1, implemented by means of a circuit (1) of bidirectional shift registers (Rj) enabling parallel loading of the words (Bij) of each register.
  • 4. A circuit (1) for temporarily storing blocks of a digital image (I), comprising: a matrix of V shift registers (Rj) of U words (Bij) to store an image block of U*V pixels; two shift registers (Vg, Vd) for loading in a first direction, said two registers being unloadable in parallel into the first (Blj), respectively last (BUj), words of all registers (Rj) in the matrix; and at least one shift register (H) for loading in the other direction, unloadable in parallel into all words (BiV) of the first (R1) or last (RV) matrix register, the different registers being interconnected to enable loading of the image by blocks in the first direction, in both directions, and in the second direction.
  • 5. The circuit of claim 4, wherein the size of the words (Bij) corresponds to the number of bits over which are coded the grey levels of the image pixels (1).
  • 6. A circuit for determining the orientation of lines in a digital image (1), comprising the temporary storage circuit (1) of claim 4, the parallel outputs of the matrix registers (Rj) being connected to inputs of a first wired logic circuit (3) of calculation of the individual orientations of the image pixels.
  • 7. The circuit of claim 6, wherein to outputs of the first circuit (3) are connected to a set (4) of latches for temporarily storing the individual orientations, outputs of the latches being connected to inputs of a second wired logic circuit (5) of calculation of the average orientation of the image blocks.
  • 8. The circuit of claim 6, comprising a control circuit (7) in wired logic.
  • 9. The circuit of claim 6, applied to the determination of the orientation of ridges in a digital image (1) representing a fingerprint or the like.
Priority Claims (1)
Number Date Country Kind
02/04804 Apr 2002 FR