Summary of the invention
The object of this invention is to provide method, fingerprint acquisition device, fingerprint alignment device that a kind of fingerprint is aimed at, only gather the texture in finger belly to solve existing fingerprint acquisition device, and utilize the texture in finger belly to carry out the problem that fingerprint alignment procedures is more complicated.The method that fingerprint of the present invention is aimed at, for the fingerprint that comprises articulations digitorum manus texture collecting is aimed at, comprises the following steps:
From two-dimentional fingerprint image, extract articulations digitorum manus line;
Calculate the position relationship of the articulations digitorum manus line extracting and the articulations digitorum manus line prestoring;
According to described position relationship by the articulations digitorum manus line of described extraction with described in the articulations digitorum manus line that prestores aim at so that described in comprise articulations digitorum manus texture fingerprint aim at the fingerprint prestoring.
Before the described step of extracting articulations digitorum manus line from pretreated fingerprint, also comprise step:
The fingerprint that comprises articulations digitorum manus texture collecting is passed through to default Fingerprint Model, generating three-dimensional fingerprint image;
Described three-dimensional fingerprint image is mapped on two dimensional surface, obtains two-dimentional fingerprint image.
Described position relationship comprises: the angle and distance between the articulations digitorum manus line of described extraction and the articulations digitorum manus line prestoring.
The present invention also provides a kind of fingerprint acquisition device, comprising:
Spatial accommodation;
Be arranged on the opening on described spatial accommodation;
Be arranged on the contactor control device of described spatial accommodation inside, send control command when being subject to touching;
Be arranged on the image collecting device of described spatial accommodation inside, for starting according to described control command, gather the fingerprint that comprises articulations digitorum manus texture.
Described contactor control device is touch-type switch.
Described image collector is set to camera.
Described camera is 3, is positioned at same profile, and any one and finger line in adjacent two of described camera are 45 degree with another and the angle pointed between line.
The present invention also provides a kind of fingerprint alignment device, and described fingerprint alignment device, for the fingerprint that comprises articulations digitorum manus texture is aimed at, comprising:
Articulations digitorum manus line drawing module, for extracting articulations digitorum manus line from two-dimentional fingerprint image;
Computing module, for calculating the articulations digitorum manus line of extraction and the position relationship of the articulations digitorum manus line prestoring;
Alignment modules, for according to described position relationship, the articulations digitorum manus line of described extraction being aimed at the articulations digitorum manus line prestoring so that described in comprise articulations digitorum manus texture fingerprint aim at the fingerprint prestoring.
Described position relationship comprises: the angle and distance between the articulations digitorum manus line of described extraction and the articulations digitorum manus line prestoring.
The method of the described articulations digitorum manus line of described extraction is Hough transformation.
Compared with prior art, the present invention has following beneficial effect:
On fingerprint acquisition device of the present invention, adopt touching device, in the time being subject to touching, just started to gather fingerprint, can collect the complete fingerprint of finger tip to first articulations digitorum manus.Fingerprint alignment methods of the present invention is by extracting articulations digitorum manus line, the articulations digitorum manus line of extraction and the articulations digitorum manus line prestoring are carried out to comparing calculation, obtain the angle between the articulations digitorum manus line extracting and the articulations digitorum manus line prestoring, thereby by rotating this angle to reach the object of alignment fingerprint.As long as realize, the finger extracting closes line to method of the present invention and default articulations digitorum manus line overlaps, and has avoided the complexity of the process that will mate minutiae point in existing fingerprint alignment methods, has shortened the time that fingerprint is aimed at, and has improved the efficiency that fingerprint is aimed at.
Embodiment
Whole fingerprint recognition process of the present invention comprises: the process that gathers 3D fingerprint; The 3D fingerprint of collection is mapped to two dimensional surface, obtains the process of 2D fingerprint; The process that 2D fingerprint is aimed at default fingerprint; The process that fingerprint after aiming at is identified.
The present invention mainly improves gathering the process of 3D fingerprint and the process that 2D fingerprint is aimed at default fingerprint, to solve the problem of prior art.
Proposed collection 3D fingerprint in " gathering the process of 3D fingerprint " time, take touch-type switch to carry out capture.
Fingerprint alignment methods of the present invention is mapped to the articulations digitorum manus line of the 3D fingerprint of plane by extraction, adjust articulations digitorum manus direction vector and and the articulations digitorum manus line that prestores between distance, thereby reach the object that fingerprint image is aimed at more accurately.Fingerprint alignment procedures is mainly that articulations digitorum manus line is aimed at, thereby has greatly shortened the time that fingerprint is aimed at.
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
With reference to figure 2, Fig. 2 is a 3D fingerprint acquisition device schematic diagram of the present invention.3D fingerprint acquisition device of the present invention has adopted a box-like device, in two sides of its correspondence, has a finger insert port on a side, and the inside of another side has a touch-type switch.For can be complete collect finger tip to the image of first articulations digitorum manus, just ensure that going deep into sufficiently long position at finger starts to gather fingerprint, should at least be greater than the length of finger tip to first articulations digitorum manus from pointing insert port to the length D touch-type switch.Because everyone finger length is different, therefore, length D can meet most people's finger tip to the length of first articulations digitorum manus.
There are three cameras bottom surface, is used for respectively fingerprint being gathered from 3 different angles.Adopting three cameras to gather from different perspectives fingerprint image is preferably embodiment of one, can ensure that all fingerprint collectings are all complete fingerprints, has solved in traditional fingerprint collecting process the imperfect or unclear problem of the fingerprint of collection.
Position relationship schematic diagram between three cameras is with reference to shown in figure 3, and three cameras are on a section.Three small circles in figure represent respectively three cameras, and the pentagon in the middle of big circumference (finger insert port) represents finger, the angle of the direction indication camera of arrow points.Angle between the line of any one camera in adjacent two cameras and the line of finger and another and finger is 45 degree.Adopt the position that three cameras is set with upper type can not only ensure to collect complete fingerprint, and it is also more simple to utilize the fingerprint image collecting with upper type to carry out the process of reconstruct two dimension fingerprint image.
Certainly, the quantity of camera is not limited to embodiments of the invention, also can use a camera, in the time pointing the position suitable of placing, also can collect complete two-dimentional fingerprint image.
Finger inserts before this device, and camera is closed, only have after finger inserts and touch touch-type switch, and touch-type switch activator camera, camera just starts fingerprint to gather.
Said structure is just realized a kind of mode of fingerprint collecting, as long as adopt this similar structure, the device that can collect articulations digitorum manus texture is all protection scope of the present invention.
With reference to figure 4, Fig. 4 is fingerprint recognition system schematic diagram of the present invention, comprising: fingerprint acquisition device, fingerprint mapping device, fingerprint alignment device and fingerprint identification device.Fingerprint acquisition device can be camera.Fingerprint mapping device comprises three-dimensional fingerprint generation module, Fingerprint Model preservation module and fingerprint mapping block.Fingerprint alignment device comprises: articulations digitorum manus line drawing module, computing module and alignment modules.
Fingerprint acquisition device is used for gathering fingerprint, then the three-dimensional fingerprint generation module of fingerprint mapping device is preserved module generating three-dimensional (3D) fingerprint image by the fingerprint collecting by Fingerprint Model, fingerprint mapping block is processed the fingerprint image of 3D, be mapped on two dimensional surface, to obtain pretreated fingerprint.Here the fingerprint obtaining not only comprises the texture in usually said finger belly, also comprises the texture of articulations digitorum manus.
The articulations digitorum manus line drawing module of fingerprint alignment device is used the methods such as Hough transformation from pretreated fingerprint, to extract articulations digitorum manus line.
Computing module calculates the position relationship of the articulations digitorum manus line extracting and the articulations digitorum manus line prestoring.Position relationship comprise the articulations digitorum manus line of extraction and the articulations digitorum manus line that prestores between angle and distance.
Alignment modules is rotated or translation according to above-mentioned position relationship, and the articulations digitorum manus line extracting is aimed at the articulations digitorum manus line prestoring.In the time that the articulations digitorum manus line extracting is 0 with the angle between the articulations digitorum manus line that prestores, do not need to rotate.Adopt the method for starting point alignment, the approximate distance obtaining between two straight lines, just can realize aligning by translation;
In the time there is certain angle between the articulations digitorum manus line extracting and the articulations digitorum manus line that prestores, rotate this angle, if rotation also exists distance afterwards, realize aligning by translation.
Fingerprint identification module utilizes existing fingerprint identification technology, according to the fingerprint prestoring, pretreated fingerprint is carried out to fingerprint recognition.
With reference to figure 5, Fig. 5 is fingerprint alignment methods process flow diagram of the present invention, comprises step:
Step 1 is extracted articulations digitorum manus line from two-dimentional fingerprint image;
The processing procedure of the two-dimentional fingerprint image in this step is prior art, and existing brief description is as follows:
First gather fingerprint, then the fingerprint collecting is generated to the fingerprint image of 3D by default Fingerprint Model, last, the fingerprint image of 3D is mapped on two dimensional surface, to obtain two dimension (2D) fingerprint.Here the 2D fingerprint obtaining not only comprises the texture in usually said finger belly, also comprises the texture on articulations digitorum manus.Comprise that the schematic diagram that there is no the fingerprint of aiming at of articulations digitorum manus line is with reference to shown in figure 6.
The method of extracting articulations digitorum manus line can be used the methods such as existing Hough transformation, specific as follows:
By the 2D obtaining for fingerprint edge detection algorithm (as Canny algorithm) detect edge, form bianry image;
Bianry image is detected to articulations digitorum manus line (be similar to and regard straight line segment as) with Hough conversion (Hough transformation).
Step 2, calculates the articulations digitorum manus line of the fingerprint extracting and the position relationship of the articulations digitorum manus line prestoring;
The articulations digitorum manus line of the fingerprint of extraction and the articulations digitorum manus line of the fingerprint prestoring are carried out to proportioning, can first use least square fitting straight line, can obtain respectively like this slope of two straight lines, and obtain thus two angles between straight line.Judge and need the left-handed or concrete number of degrees of dextrorotation according to the angle between two straight lines.Meanwhile, adopt the method for starting point alignment, the approximate distance obtaining between two straight lines, makes two adjustings to a line by translation.
Step 3, is rotated or translation according to above-mentioned position relationship, and the articulations digitorum manus line extracting is aimed at the articulations digitorum manus line prestoring;
In the time that the articulations digitorum manus line extracting is 0 with the angle of the articulations digitorum manus line prestoring, do not need rotation, just can realize aligning by translation;
In the time there is certain angle between the articulations digitorum manus line extracting and the articulations digitorum manus line that prestores, rotate this angle, if rotation also exists distance afterwards, realize aligning by translation.
After the articulations digitorum manus line extracting is aimed at the articulations digitorum manus line prestoring, the fingerprint of extraction has just been aimed at the fingerprint prestoring accordingly.
Step 4, carries out fingerprint recognition according to the fingerprint prestoring to two-dimentional fingerprint image.
The process of fingerprint recognition is same as the prior art, no longer describes here.
In sum, the present invention proposes the harvester to 3D fingerprint that comprises touch-type switch, ensured the collection of articulations digitorum manus fingerprint.
And, utilize method of the present invention, the method that traditional passing through searched to minutiae point alignment is converted into the coincidence of two straight lines of simple articulations digitorum manus.Two straight-line passes that articulations digitorum manus are mapped to plane simply contrast, thereby just can know it is to anticlockwise or to right rotation.The angle of rotation also can obtain easily simultaneously.So just be easy to reach the effect of fingerprint rotation alignment, shortened the time of spending on fingerprint is aimed at
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.