Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment 1
The present embodiment provides a kind of control structure of palmmprint safety cabinet, as shown in Figure 4, comprise palm-print image capture module 10, palmprint image pretreatment module 11, palmprint image characteristic extracting module 12, images match module 13, memory module 16 and the control module 15 of unblanking, described palm-print image capture module 10 is for gathering user's palmprint image, described user's palmprint image carries out pre-service in described palmprint image pretreatment module 11, in described palmprint image characteristic extracting module 12, extract the proper vector of pretreated palmprint image, according to the authorized user palm print characteristics Vectors matching of pre-stored in the proper vector of extracting and memory module, coupling is unanimously sent unlock instruction to the described control module of unblanking, mate the inconsistent described unlock instruction that do not send, whether unanimously no matter mate, all uncaging time and user profile are stored in to described memory module,
For example, palm-print image capture module can be used ccd video camera, by PC or DSP, the image after gathering is carried out to pre-service, carries out proper vector extraction, and then mates with the palmmprint being stored in memory module 16.
The palmmprint that is stored in the authorized user in memory module 16 is set up by system in advance by keeper, is authorized user, and authorized user also can add at any time, revise.
The control mechanism concrete steps of the palmmprint safety cabinet of the present embodiment are as follows:
A1: gather palmprint image;
A2: described palmprint image is carried out to pre-service; Described pretreated method is specially:
(1) binaryzation of palmprint image: the palmprint image after cutting apart is carried out to binaryzation, and palm portion is got 0 (black), and background parts got for 1 (in vain), can obtain complete palm type, as shown in Fig. 5-1.
(2) edge extracting: be exactly the point of emptying palm inside to the palmprint image edge extracting after binaryzation.Its basic thought is: if in image a bit for black, and its 8 neighborhood points are while being all black, illustrate that this point is internal point, by this point deletion (being set to white), otherwise, be frontier point, record its position.All pixels in image are carried out to the extraction (shown in Fig. 5-2) that this operation just can complete palmprint image border.
(3) determine angle point: by the method for curve, on the edge line of palmprint image, find out interested angle point A, B, C (Fig. 5-3), wherein A is the intersection point between the third finger and little finger of toe, B is the intersection point between forefinger and middle finger, and C is the mid point of A, B line.
(4) location and normalization: the mid point O that C point is moved to palmprint image, make it to overlap with O point, O is made as true origin (as shown in Fig. 7-3) conventionally, centered by O, rotate palmprint image, AB forwards vertical direction (vertical direction is set to y axle) to, after mobile and rotation, the palmprint image AB line using is all positioned on same position with vertical direction, at the same area place, palm center, cut out a block size and be 128 * 128 subimage and represent whole palmprint image (as Fig. 5-4), can complete the location normalization of palmprint image.
A3: the proper vector of extracting pretreated palmprint image;
A4: according to the authorized user palm print characteristics Vectors matching of the proper vector of extracting and pre-stored, coupling is unanimously sent unlock instruction, mate the inconsistent described unlock instruction that do not send, whether unanimously no matter mate, all uncaging time and user profile are stored in to described memory module.
Preferably, 2 pairs of described palmprint images of described steps A carry out binaryzation, location, normalization, filtering, thinning processing.
Preferably, described steps A 3 adopts wavelet transformation to extract palmprint image proper vector.
Preferably, adopt Daubechies and Symlet orthogonal wavelet transformation to extract palmprint image proper vector.
Preferably, described palmprint image characteristic extracting module is carried out the 2-d wavelet decomposition of 4 grades to a width palmprint image.
Embodiment 2
The present embodiment provides a kind of palmprint image preprocess method.
Pre-service is the first step of the automatic identifying of palmmprint, and its quality directly affects the effect of palmmprint identification.Conventional preprocess method mainly comprises binaryzation, location (rotation and translation), normalization, filtering, the refinement of palmprint image etc.
With the equipment based on CCD, carry out palm-print image capture.In order to reduce error and the distortion causing due to translation, rotation, distortion in gatherer process, when gathering palmprint image, should make every finger of palm open as far as possible, can extract finger edge like this, and aim at and normalization palmprint image with it.After treatment, each palmmprint block size is 128 * 128 (as shown in Fig. 2 (a)), and skew and rotation be eliminated substantially, thereby is conducive to the identification of palmprint image.
Embodiment 3
The present embodiment provides a kind of palmprint image feature extracting method---and wavelet character extracts.
Palmprint image is a kind of approximate grain periodic pattern, and wherein main line is the darkest several the thickest lines on palm, has three main clues on most of palms; Except main line, on palm, also have a lot of pleat lines, in general these lines are thinner, shallow than main line, and very irregular.In palmprint image, the streakline direction of zones of different and spatial frequency are representing the feature of palmprint image inherence.Feature for palmprint image, the methods experiment that we extract through various features, find because wavelet transformation has the function of hyperchannel, multiresolution, therefore by a kind of method based on wavelet transformation, extract the feature of palmprint image, and then identify and not only saved the pretreated time of image, and the robustness of identification is also higher.
Wavelet transformation theory is further developing of Fourier analysis theories, is that people are for the needs of the profound understanding of characteristics of signals.Wavelet transformation provides an adjustable T/F window, flexible result be exactly we can be under different resolution decomposed signal, the result of translation is exactly that we can organize signal as window using this, observes the part of oneself being concerned about.
Definition: if function Ψ (x) meets the small echo condition that allows,
Ψ (x) is called and can allows small echo (integration small echo, base small echo) so.Wherein
it is the Fourier transform of Ψ (t).
The wavelet function system being generated by base small echo can be expressed as:
The wavelet transformation of function f (x) is defined as
Center and the window width of wavelet function Ψ (t) time window provide with t* and Δ Ψ respectively, frequency window respectively by ω * and
provide, set
The time window of small echo is [b+at
*-a Δ
Ψ, b+at
*+ a Δ
Ψ], the width of time window is 2a Δ
Ψ, frequency window is
the width of frequency window is
as can be seen here, for the HFS of detection signal, time window can narrow down, and frequency window can broaden; For the low frequency part of detection signal, time window can broaden, and frequency window can narrow down.Therefore, by wavelet transformation time-frequency local characteristics of reflected signal well.Signal is fastened to do at this function and decompose, just obtained the definition of continuous wavelet transform.
The present embodiment adopts wavelet transformation to extract palmprint image feature, and the two-dimentional biorthogonal wavelet that the palmprint image after original location and normalization is carried out to J rank decomposes, and the decomposition of every grade as shown in Figure 1.
As shown in Figure 2, a width palmprint image is carried out to the 2-d wavelet decomposition of 4 grades.In the decomposition result of Fig. 2: the 1st, the upper right corner is cH
1, the 1st, the lower right corner is cD
1, the 1st, the lower left corner is cV
1, other the like.So far, obtained 3J+1 width subimage.These two kinds of information of streakline direction in palmprint image and spatial frequency can be extracted to the 3J width subimage { cH after wavelet decomposition well
k, cV
k, cD
kin go.Each width subimage is asked to normalized 2 norms, thereby obtain the proper vector that length is 3J
Wherein
k=1 ..., J
The length of trying to achieve is that the proper vector of 3J can be understood as palmprint image in the different proportion factor (2
k) under condition and the general energy distribution on different directions (H, V, D).Get 3 different palms, each palm has gathered 12 image patterns, has certain displacement and angle difference between sample, and Fig. 3 is in 12 samples of each palm.To these 36 samples, try to achieve the proper vector that 3 length are 12, and the proper vector of 12 palmmprint samples of same palm is depicted as to curve map in a width figure, as shown in Figure 3.As can be seen from Figure 3, proper vector exists obvious otherness (different palm) and enough stability (the different samples of identical palm).
Palmprint image database one used has the palmmprint of 20 different palms, and each palm has 12 samples, comes to 240 palmprint images.Palmprint image is that size is 256 grades of gray level images of 128 * 128 pixels, by palm-print image capture module, is collected.Under different small echos and decomposed class (J) condition, test, what discovery effect was best is Daubechies and Symlet orthogonal wavelet, and decomposed class is preferably 4 grades.
Embodiment 4
The present embodiment provides project testing, in project testing, has completed the learning training of 5 people's 50 width (everyone 10 width) palmprint images, then inputting 200 images identifies, everyone 20 width of 5 people in storehouse, stranger's palmprint image 100 width of choosing at random, recognition result is in Table 1.
Table 1 test result
From table 1, the orthogonal wavelet adopting in project has all obtained very high classification accuracy rate.When the sample of mis-classification is analyzed, find that these samples are all palm and collector excessive extrusion owing to gathering, cause streakline to be too out of shape or become close, thereby having changed direction and the spatial frequency feature of palmmprint streakline.
Test result shows, the recognizer of wavelet transformation is very effective.Meanwhile, the key-free safe system that the present invention proposes, if further commercialization can be used as the renewal product of current safe system completely.
Should be understood that, for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.