WO2022110492A1 - Finger vein-based identity identification method and apparatus, computer device, and storage medium - Google Patents

Finger vein-based identity identification method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2022110492A1
WO2022110492A1 PCT/CN2020/141305 CN2020141305W WO2022110492A1 WO 2022110492 A1 WO2022110492 A1 WO 2022110492A1 CN 2020141305 W CN2020141305 W CN 2020141305W WO 2022110492 A1 WO2022110492 A1 WO 2022110492A1
Authority
WO
WIPO (PCT)
Prior art keywords
fork
branch
matched
point
pairs
Prior art date
Application number
PCT/CN2020/141305
Other languages
French (fr)
Chinese (zh)
Inventor
王丹丹
王晓亮
陈�光
Original Assignee
广州广电运通金融电子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州广电运通金融电子股份有限公司 filed Critical 广州广电运通金融电子股份有限公司
Publication of WO2022110492A1 publication Critical patent/WO2022110492A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/14Vascular patterns

Definitions

  • the present application relates to the technical field of finger veins, and in particular, to a finger vein identification method, device, computer equipment and storage medium.
  • Finger vein biometric technology is a method of identity authentication using the blood vessel distribution pattern formed when blood flows through the superficial blood vessels of the finger as a biometric. Store and then match for personal identification.
  • a method for identifying a finger vein comprising:
  • the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images is obtained, and the identity is identified according to the similarity.
  • the branch information and fork point information of the two vein skeleton maps are respectively matched to obtain multiple sets of matched fork point pairs, including:
  • the main direction angle of a branch is the mean value of the direction angles of each pixel in the branch;
  • the determining the combination relationship between the branches corresponding to each group of fork point pairs obtains a plurality of target branch combinations, including:
  • any branch corresponds to at least two to-be-matched branch combinations
  • the difference between the branch main direction angles under each to-be-matched branch combination corresponding to the branch is calculated, and the to-be-matched branch combination with the smallest difference is used as the target branch combination.
  • the obtaining the linear correlation coefficients of the lower branches of the target branch combination in each group of fork point pairs in the second fork point pair set includes:
  • the correlation coefficient of the one-dimensional coordinate vector of the lower branch of the target branch combination in each group of fork point pairs is calculated as the linear correlation coefficient of the lower branch of the target branch combination.
  • obtaining the coordinate offsets of each group of matched fork point pairs, and filtering out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offsets including:
  • each group of matched fork-point pairs is divided into a plurality of fork-point pair sets
  • Each group of matched fork-point pairs included in the fork-point pair set with the maximum similarity sum is taken as the target fork-point pair.
  • the similarity of the two finger vein images is obtained according to the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images, including:
  • the method further includes:
  • the determining of unmatched branches in each group of target fork point pairs, and obtaining the unmatched fork point pairs in the unmatched branches, as the fork point pairs to be matched includes:
  • the two unmatched branch end points are used as the pair of fork points to be matched;
  • a pseudo fork point is added to the longer branch corresponding to the end point of the unmatched branch, and the end point of the shorter branch and the pseudo fork point are used as the waiting point. Match fork pairs.
  • a finger vein identification device the device comprises:
  • a feature acquisition module used for acquiring branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
  • the feature matching module is used to match the branch information and fork point information of the two vein skeleton maps respectively to obtain multiple sets of matched fork point pairs;
  • a cross-point pair screening module used to obtain the coordinate offsets of the matched cross-point pairs of each group, and screen out multiple groups of target cross-point pairs from the matched cross-point pairs according to the coordinate offsets;
  • a length obtaining module used to obtain the similarity of each target fork point pair, and obtain the branch lengths of all branches in each of the vein skeleton diagrams; the similarity of the target fork point pair is the target fork point pair The sum of the similarity of the matched branches in each group;
  • the similarity determination module is configured to obtain the similarity of the two finger vein images according to the similarity of each target fork point pair and the branch lengths of all the branches, and perform identity recognition according to the similarity.
  • a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images is obtained, and the identity is identified according to the similarity.
  • the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images is obtained, and the identity is identified according to the similarity.
  • the above-mentioned finger vein identification method, device, computer equipment and storage medium by acquiring the branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched, so that the branches of the two finger vein images can be respectively identified.
  • Information and fork point information are matched to obtain multiple sets of matched fork point pairs.
  • the target fork point pairs are screened from each group of matched fork point pairs as the final match the benchmark.
  • the similarity of the two finger vein images is calculated, and the identity is identified according to the similarity.
  • This method not only obtains the fork point information, but also obtains the branch information, and calculates the similarity of the two finger vein images through the similarity of the corresponding branches of each fork point, so as to avoid the similarity only by the number of fork point pairs.
  • the problems of easy errors and low accuracy in the degree calculation improve the accuracy of the calculation results of the similarity of the two finger vein images.
  • the influence on the result of similarity calculation by the cross point of matching error is avoided, the accuracy of the calculation result of similarity is further improved, and thus the reliability of the identification result is improved.
  • FIG. 1 is a schematic flowchart of a finger vein identification method in one embodiment
  • Figure 2 (a) and Figure 2 (b) are respectively the direction angle corresponding to the position of the pixel point adjacent to the pixel X and the pixel X in one embodiment;
  • Fig. 2 (c) is the schematic diagram of the direction angle of each pixel point in the branch in one embodiment
  • FIG. 3 is a schematic diagram of a branch and a fork in one embodiment
  • FIG. 4 is a schematic diagram of a vein skeleton diagram in one embodiment
  • FIG. 5 is a schematic diagram of a two-dimensional histogram of coordinate offsets in one embodiment
  • FIG. 6 is a schematic flowchart of the steps of obtaining a matched pair of forks in one embodiment
  • FIG. 7 is a schematic diagram of a pair of fork points to be matched in one embodiment
  • FIG. 9 is a schematic flowchart of a step of determining a point pair to be matched in one embodiment
  • FIG. 10 is a schematic diagram of expanding point pairs to be matched in one embodiment
  • FIG. 11 is a structural block diagram of a finger vein identification device in one embodiment
  • Figure 12 is a diagram of the internal structure of a computer device in one embodiment.
  • a finger vein identification method is provided.
  • the method is applied to a terminal for illustration. It can be understood that the method can also be applied to a server, or It is applied to a system including a terminal and a server, and is realized through the interaction between the terminal and the server.
  • the method includes the following steps:
  • Step S102 acquiring branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched.
  • the branch information includes attribute information such as branch identification, branch length, branch main direction angle, start point, end point, and coordinates.
  • a branch represents an ordered combination of pixels connecting two forks or endpoints.
  • the branch identifier is a flag representing the uniqueness of the branch.
  • the branch length represents the number of pixels forming the branch.
  • the branch coordinates represent the two-dimensional coordinate (x, y) array of each pixel point constituting the branch.
  • the starting point and the ending point of the branch are the two endpoints of the branch. If one of them is selected as the starting point, the other one is the ending point.
  • the main direction angle of the branch represents the average value of the direction angle of each pixel point of the branch, as shown in Fig. 2(a) and Fig. 2(b), respectively, the position of the pixel adjacent to the pixel X and the direction corresponding to the pixel X
  • Figure 2(c) it is a schematic diagram of the direction angle of each pixel point in the branch, and the direction angle of each pixel point is determined according to the position of the current pixel point and the next adjacent pixel point, for example, if the next pixel point If the point is at position 3 in Fig. 2(a), the direction angle of pixel X is -45°, and if the next pixel is at position 7 in Fig.
  • the direction angle of pixel X is 135°.
  • the orientation angle of each pixel in a branch can be obtained, and the main orientation angle of the branch can be obtained by calculating the mean value of the orientation angle of each pixel.
  • the cross point information includes information such as cross point identification, cross point coordinates, number of connected branches, attributes of each connected branch, and the like.
  • the cross point represents the pixel point where two or more branches are cross-connected.
  • the fork point identifier is a sign indicating the uniqueness of the fork point.
  • the cross point coordinates are the two-dimensional coordinates of the cross point pixels, which can be represented by (x, y).
  • FIG. 3 it is a schematic diagram of a branch and a fork point.
  • the pixel point P is a fork point
  • b1, b2 and b3 are three branches connected to the fork point P
  • the fork point P can be regarded as b1, b2 and b3
  • the finger vein image can be collected by the finger vein acquisition device, and after the finger vein image is obtained, the finger vein image is preprocessed to obtain the vein skeleton map, and the skeleton map features are extracted from the vein skeleton map, wherein the skeleton map Features include branch information and fork information. More specifically, the image preprocessing steps of the finger vein image include: locating the finger rectangle region (ROI), correcting the rotation angle of the finger plane, performing preprocessing such as grayscale processing and size normalization on the image, and obtaining the size, grayscale, etc.
  • ROI finger rectangle region
  • the normalized image is further processed by vein enhancement, binarization and skeleton refinement to obtain the vein skeleton map, and the feature extraction operation is performed on the vein skeleton map to obtain the branch information and fork in the vein skeleton map. point information.
  • FIG. 4 it is a schematic diagram of a vein skeleton diagram, including features such as several fork points and multiple branches connected to the fork points.
  • step S104 the branch information and the fork point information of the two vein skeleton maps are respectively matched to obtain a plurality of matched pairs of fork points.
  • the feature matching of the two vein skeleton maps is the matching of the fork points and the matching of the branches.
  • the matching of the fork points can be obtained by obtaining the coordinates of each fork point, and determining whether the fork points match according to the coordinates.
  • the main direction angle of each branch corresponding to the fork point is used to determine whether the two fork points match according to the main direction angle of the branch.
  • the matching of the branches can be determined by calculating the linear correlation coefficient of the two branches, and determining whether the two branches match according to the linear correlation coefficient.
  • each fork point pair is composed of a fork point in the first vein skeleton diagram and a fork point in the second vein skeleton diagram. consisting of a fork point.
  • step S106 the coordinate offsets of each group of matched fork point pairs are acquired, and a plurality of groups of target fork point pairs are screened from each group of matched fork point pairs according to the coordinate offsets.
  • the coordinate offset represents the difference between the coordinates of the two cross points. Since the cross point coordinates are two-dimensional vector coordinates, the coordinate offset may include the difference between the coordinates in the x-direction and the coordinate in the y-direction.
  • step S106 specifically includes: dividing each group of matched fork point pairs into a plurality of fork point pair sets according to the coordinate offset; The sum of the similarities of the fork-point pairs is obtained, and the cumulative sum of the similarity of each fork-point pair set is obtained; the matched fork-point pairs included in each group of fork-point pairs included in the set of fork-point pairs with the maximum similarity sum are taken as the target fork-point pair .
  • each fork point in each group of matched fork point pairs can be obtained, the coordinate offset of each group of matched fork point pairs can be calculated, and the coordinate offset of each group of matched fork point pairs can be counted using a two-dimensional histogram According to the coordinate offset, each group of matched fork pairs is grouped, and the offsets are divided into a set of fork pairs, thereby obtaining multiple sets of fork pairs, wherein the obtained set of fork pairs is The total number does not exceed 3.
  • Figure 5 is a schematic diagram of a two-dimensional histogram of coordinate offsets
  • 6, 3, 12, 16, 17, and 20 in the middle of the figure are all distributed around 12, indicating that the offsets are consistent
  • Its corresponding fork-point pair can be regarded as a fork-point pair set.
  • calculate the similarity of each group of fork-point pairs in each set of fork-point pairs add the similarities of each group of fork-point pairs, and obtain the cumulative sum of the similarities of the set of fork-point pairs.
  • the set of fork point pairs with the maximum accumulated similarity is used as the final matching reference point set, and each group of matched fork point pairs in the final matching reference point set is used as the target fork point pair.
  • Step S108 obtaining the similarity of each target fork point pair, and obtaining the branch lengths of all branches in each vein skeleton diagram; the similarity degree of the target fork point pair is the sum of the similarities of each group of matched branches in the target fork point pair .
  • the similarity of the matched branches of each group is obtained by multiplying the matching length of the matched branches of the group and the linear correlation coefficient of the matched branches of the group.
  • the two-dimensional vector of the coordinates of each branch in the target fork point pair can be converted into a one-dimensional vector, and the linear correlation coefficient of each group of matching branches in each group of target fork point pairs can be calculated.
  • the product of the length and the linear correlation coefficient of the corresponding groups of matching branches is used as the similarity of each group of matching branches, and then the sum of the similarity of each group of target forks to the corresponding groups of matching branches is calculated as a group of target forks Point-to-point similarity.
  • step S110 the similarity of the two finger vein images is obtained according to the similarity of each target fork point pair and the branch lengths of all branches in each vein skeleton image, and the identity is identified according to the similarity.
  • the similarity of each group of target fork-point pairs is added to obtain the sum of the similarity, and the branch lengths of all branches in the two vein skeleton diagrams are calculated. Add up to obtain the sum of branch lengths, and further calculate the ratio of the sum of the similarity of each target fork point pair to the sum of the branch lengths of all branches.
  • the ratio is actually the ratio of the length of all branches in the two vein skeleton maps after multiplying the matching length of the matching branch and the linear correlation coefficient, the matching length of each group of matching branches is calculated only once, so that The ratio of the sum of the similarity of each target fork point pair to the sum of the branch lengths of all branches is less than 0.5. Therefore, in order to facilitate identification, the ratio can be multiplied by 2, and 1 is used as the benchmark for matching two finger vein images. Then the similarity of two finger vein images can be expressed as:
  • Sb k represents the similarity of the k-th pair of matching branches
  • l i represents the branch length of the i-th branch in the first vein skeleton map
  • l j represents the branch length of the j-th branch in the second vein skeleton map
  • N represents the total number of matching branches in the two vein skeleton maps
  • m represents the total number of branches in the first vein skeleton map
  • n represents the total number of branches in the second vein skeleton map
  • the branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched are obtained, so as to match the branch information and fork point information of the two finger vein images respectively.
  • obtain multiple sets of matched fork-point pairs and filter out target fork-point pairs from each group of matched fork-point pairs according to the coordinate offsets of each group of matched fork-point pairs, as the final matching reference.
  • the similarity of the two finger vein images is calculated, and the identity is identified according to the similarity.
  • This method not only obtains the fork point information, but also obtains the branch information, and calculates the similarity of the two finger vein images through the similarity of the corresponding branches of each fork point, so as to avoid the similarity only based on the number of fork point pairs. It is easy to make mistakes and the accuracy is not high in the degree calculation, thereby improving the accuracy of the calculation results of the similarity of the two finger vein images, and by screening the obtained matching fork pairs according to the coordinate offset , which further avoids the influence of mismatched cross points on the similarity calculation result, improves the accuracy of the similarity calculation result, and thus improves the credibility of the identity recognition result.
  • step S104 specifically includes:
  • Step S602 Obtain the coordinate offsets of each group of fork point pairs in the two vein skeleton maps, and select multiple groups of fork point pairs whose coordinate offsets are less than the offset threshold from each group of fork point pairs to form a first fork. Point-to-point collection.
  • each set of fork point pairs is composed of a fork point in the first vein skeleton map and a fork point in the second vein skeleton map.
  • the step of acquiring the coordinate offsets of each group of fork point pairs in the two vein skeleton maps includes: acquiring the coordinates of each fork point in the first vein skeleton map to form a first coordinate set, and acquiring a second set of coordinates The coordinates of each fork point in the vein skeleton diagram form a second coordinate set; traverse and calculate the difference between each first coordinate in the first coordinate set and each second coordinate in the second coordinate set, and obtain multiple sets of fork point pairs The coordinate offset of .
  • the following takes the matching of the fork point P and the fork point Q in FIG. 7 as an example to describe the fork point matching method.
  • the coordinate matching of the fork point P and the fork point Q can be expressed by the following relational expression, the fork point P and the fork point
  • the coordinate offsets of Q in the x-direction and the y-direction are compared with the corresponding offset thresholds respectively.
  • the fork point pair composed of the fork point P and the fork point Q is screened out, and so on, the cross point pairs in the x direction and the y direction are screened out from each group of fork point pairs.
  • a plurality of sets of fork point pairs whose coordinate offsets are all less than the corresponding offset thresholds form a first set of fork point pairs.
  • the absolute value of the coordinate offset is compared with the offset threshold.
  • the first offset threshold in the x-direction and the second offset threshold in the y-direction may or may not be equal.
  • Px and Qx represent the coordinates of the fork points P and Q in the x direction respectively
  • Py and Qy represent the coordinates of the fork points P and Q in the y direction, respectively
  • Ty and Ty represent the offset thresholds in the x and y directions, respectively.
  • Step S604 Obtain the main direction angles of the branches corresponding to each group of fork point pairs in the first fork point pair set, and determine the combination relationship between the branches corresponding to each group of fork point pairs to obtain multiple target branch combinations;
  • the main direction angle of a branch is the average value of the direction angles of each pixel point in the branch; the difference between the main direction angles of the branches under each target branch combination is calculated, and the target branch combination is selected from the first set of fork point pairs.
  • a plurality of sets of fork point pairs whose differences in the main direction angles of the branches are smaller than the difference threshold form a second set of fork point pairs.
  • the target branch combination is to calculate the difference between the main direction angles of the two branches under each target branch combination, and from the first set of fork point pairs, filter out the main direction angle differences of the corresponding target branch combinations.
  • a plurality of sets of fork point pairs with a threshold value are formed to form a second set of fork point pairs. For example, if the target branch combination of the fork-point pair composed of the fork-point P and the fork-point Q in Fig.
  • Step S606 obtaining the branch linear correlation coefficients under the target branch combination in each group of fork point pairs in the second fork point pair set, and screening out multiple groups of fork point pairs whose linear correlation coefficients are greater than the correlation coefficient threshold from the second fork point pair set , as matched pairs of forks.
  • the target branch combinations in the fork point P and the fork point Q in Figure 7 are ⁇ b1, c1>, ⁇ b2, c2> and ⁇ b3, c3>, respectively calculate ⁇ b1, c1>, ⁇ b2,
  • the linear correlation coefficients of the branches under the three combinations c2> and ⁇ b3, c3> when the linear correlation coefficients of the branches under each combination are greater than the threshold of the correlation coefficient, the fork point P and the fork point Q are used as the matching fork point pair, the The relational expression can be expressed as ⁇ i,j >T. ⁇ ; i ⁇ [1,n],j ⁇ [1,m], where ⁇ i,j represent the linear correlation coefficient between branch bi and branch bj, T. ⁇ Represents the correlation coefficient threshold.
  • obtaining the linear correlation coefficients of the branches under the target branch combination in each group of fork point pairs in the second fork point pair set includes: transforming the two-dimensional coordinate vectors of the branches corresponding to each group of fork point pairs is a one-dimensional coordinate vector; calculate the correlation coefficient of the one-dimensional coordinate vector of the lower branch of the target branch combination in each group of fork point pairs, as the linear correlation coefficient of the lower branch of the target branch combination.
  • the obtained branch coordinates are an array composed of two-dimensional coordinates of pixel points, and each branch coordinate is converted from a two-dimensional vector into a one-dimensional vector, that is, a two-dimensional vector
  • the array is converted to a one-dimensional vector array.
  • the two-dimensional coordinate vector of the branch c1 corresponding to the branch b1 can be converted into a one-dimensional coordinate vector Y.
  • the linear correlation coefficient of the target branch combination ⁇ b1, c1> can be converted into the linear correlation coefficient of the vectors X and Y, and the linear correlation coefficient of the branch under the target branch combination can be calculated by the following relational formula.
  • the first screening is performed with the coordinate offset with the smallest amount of calculation
  • the second screening is performed with the difference between the main direction angles between the combined branches with the smallest amount of calculation
  • the amount of calculation is passed.
  • the linear correlation coefficient of the branch with the largest target combination is screened for the third time, and multiple sets of matching fork-point pairs are obtained.
  • the method of layer-by-layer screening can reduce the calculation of the matching process of each group of fork point pairs. It can improve the screening efficiency, thereby improving the acquisition rate of the similarity between the two finger vein images to be matched.
  • the combination relationship of each group of fork points to the corresponding branches is determined, and the step of obtaining a combination of multiple target branches specifically includes: arranging and combining the corresponding branches of each group of fork points, Obtain a plurality of branch combinations to be matched; if any branch corresponds to at least two branch combinations to be matched, calculate the difference between the main direction angles of the branches under each branch combination to be matched corresponding to the branch, and select the branch with the smallest difference to be matched. Branch combination, as the target branch combination.
  • each branch combination to be matched is composed of a branch corresponding to the first fork point and a branch corresponding to the second fork point in a group of fork point pairs.
  • all the branches of the fork point P and all the branches of the fork point Q can be arranged and combined, and each branch of the fork point P corresponds to a plurality of branch combinations to be matched.
  • the branch b1 of point P corresponds to three branch combinations to be matched, ⁇ b1, c1>, ⁇ b1, c2> and ⁇ b1, c3>, and the difference between the main direction angles of the two branches under various branch combinations to be matched is calculated, The branch combination with the smallest difference is used as the target branch combination.
  • the optimal branch combination modes of the branches corresponding to the fork points P and Q are ⁇ b1, c1>, ⁇ b2, c2> and ⁇ b3, c3>.
  • each group of fork points by arranging and combining the corresponding branches of each group of fork points, a plurality of branch combinations to be matched are obtained, and multiple groups of target branch combinations are selected from each branch combination to be matched according to the difference of the main direction angles of the branches, The combination relationship between the branches corresponding to each group of fork point pairs is obtained, so that each group of fork point pairs can be screened according to the combination relationship to obtain matching fork point pairs.
  • the above step S110 specifically includes: adding the similarities of each target fork point pair to obtain the sum of the similarities, and adding the branch lengths of all branches to obtain the sum of the branch lengths; calculating the similarity The ratio of the sum to the sum of the branch lengths, and the result obtained by multiplying the ratio by 2 is used as the similarity of the two finger vein images.
  • the matching length of the matching branches in each group of target fork point pairs in the two finger vein images is multiplied by the linear correlation coefficient to obtain the similarity of the target fork point pair, and the similarity of each target fork point pair is calculated 2 times the ratio of the sum to the sum of the branch lengths of all branches, as the similarity of the two finger vein images, the finger vein images are matched by introducing the branch length, branch similarity, etc. Matching can effectively improve the accuracy of matching results.
  • the method further includes: determining the unmatched fork pairs in the matched branches in each group of target fork pairs as the fork pairs to be matched; identifying whether the fork pairs to be matched are not matched matching, and identifying whether the branches under each target branch combination corresponding to the pair of forks to be matched match, and if both match, the pair of forks to be matched is added to the set formed by the pair of target forks.
  • the preliminary fork point pair matching there may be some matching fork point pairs that have not been identified.
  • After matching it can also identify whether there is an unmatched end point in each group of matching branches in each group of target fork point pairs, and search for unmatched branches and unmatched branches whether there is an unmatched fork point pair, as the fork to be matched.
  • the fork matching method and the branch matching method described in the above embodiments are used to judge whether the fork pair to be matched matches, and whether the branches under each target branch combination corresponding to the fork pair to be matched match. If both of them match, the pair of fork points to be matched is added to the set formed by the pair of target fork points.
  • the unmatched fork pair and the unmatched branch in the target fork pair are expanded, and when it is judged that the unexpanded fork pair is a matching point pair, it is added to the target fork pair In the formed set, the calculation of the similarity of the two finger vein images is involved, which further improves the reliability and accuracy of the calculation result of the similarity of the finger vein images.
  • the method further includes: adding the fork pairs to be matched to the fork points to be matched For the set, identify whether each fork pair to be matched matches in the set of fork pairs to be matched; as shown in FIG. Add unmatched fork pairs to the set of fork pairs to be matched.
  • the determining of the unmatched fork pairs in the matched branches in each group of target fork pairs, as the fork pairs to be matched specifically includes:
  • Step S902 when there is an unmatched branch end point in each group of matched branches in the set formed by the target fork point pair, calculate the branch length difference of the two matching branches corresponding to the unmatched branch end point;
  • Step S904 if the branch length difference is not greater than the length difference threshold, the end points of the two unmatched branches are used as the pair of forks to be matched;
  • Step S906 if the branch length difference is greater than the length difference threshold, a pseudo-fork point is added to the longer branch in the matching branch corresponding to the end point of the unmatched branch, and the end point and the pseudo-fork point of the shorter branch are used as the fork to be matched. Right.
  • the cross points P1 and Q1 in the figure are the matched reference point pairs, that is, the target cross point pair, ⁇ b1, c1>, ⁇ b2, c2> and ⁇ b3, c3> are three sets of matching branches. It can be seen that there are unmatched branch end points in the matched branches ⁇ b1,c1> and ⁇ b3,c3> in the target fork point pair composed of P1 and Q1. Then calculate the branch length difference between the two matching branches b1 and c1 corresponding to the unmatched branch end points, and the branch length difference between the matching branches b3 and c3.
  • the branch length difference between b1 and c1 shown in FIG. 10 is less than the length difference threshold, the two unmatched end points P2 and Q2 in b1 and c1 can be used as the pair of fork points to be matched and added to the set of fork point pairs to be matched. .
  • the branch length difference between b3 and c3 is greater than the length difference threshold, then a pseudo-fork point Q3 is added to the longer branch c3, and the end point P3 and the pseudo-fork point Q3 of the shorter branch b3 are used as the pair of fork points to be matched. In the set of fork pairs to be matched.
  • the extension of the pair of points to be matched is realized by adding a pseudo cross point, which avoids directly using the end points of the two matching branches as the pair of points to be matched. Since the coordinates of the two end points are far apart, the result obtained is: The two end points do not match, which wastes computing resources and time, and also misses a pair of possible matching fork points, thus affecting the accuracy of the matching results of the two finger vein images.
  • FIGS. 1 , 6 and 9 are sequentially displayed in accordance with the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 1 , FIG. 6 and FIG. 9 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The order of execution of the sub-steps or phases is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or phases of the other steps.
  • a finger vein identification device including: a feature acquisition module 1102 , a feature matching module 1104 , a cross-point pair screening module 1106 , a length acquisition module 1108 and a similarity determination module 1110, where:
  • a feature acquisition module 1102 configured to acquire branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
  • the feature matching module 1104 is used to respectively match the branch information and fork point information of the two vein skeleton maps to obtain a plurality of matched pairs of fork points;
  • Fork point pair screening module 1106 used to obtain the coordinate offsets of each group of matched fork point pairs, and filter out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offsets;
  • the length obtaining module 1108 is used to obtain the similarity of each target fork point pair, and to obtain the branch lengths of all branches in each vein skeleton diagram; the sum of similarity;
  • the similarity determination module 1110 is configured to obtain the similarity of the two finger vein images according to the similarity of each target fork point pair and the branch lengths of all branches, and perform identity recognition according to the similarity.
  • the above-mentioned feature matching module 1104 is specifically configured to obtain the coordinate offset of each group of fork point pairs in the two vein skeleton maps, and filter out the coordinate offset from each group of fork point pairs that is less than the offset
  • the multiple sets of fork point pairs of the threshold value form the first set of fork point pairs; the main direction angles of the branches corresponding to each group of fork point pairs in the first set of fork point pairs are obtained, and the distance between the corresponding branches of each group of fork point pairs is determined.
  • Combination relationship to obtain a plurality of target branch combinations; wherein, the main direction angle of any branch is the average value of the direction angles of each pixel in the branch; calculate the difference of the main direction angles of the branches under each target branch combination, from the first From the set of fork point pairs, filter out a plurality of sets of fork point pairs whose main direction angles of the branches under the target branch combination are less than the difference threshold to form a second set of fork point pairs; obtain each group of forks in the second set of fork point pairs For the branch linear correlation coefficient under the target branch combination in the point pair, multiple sets of fork point pairs whose linear correlation coefficient is greater than the correlation coefficient threshold are selected from the second fork point pair set as matching fork point pairs.
  • the above-mentioned feature matching module 1104 is further configured to arrange and combine the corresponding branches of each group of fork points to obtain a plurality of branch combinations to be matched; if any branch corresponds to at least two branches to be matched combination, then calculate the difference between the main direction angles of the branches under each branch combination to be matched corresponding to the branch, and use the branch combination to be matched with the smallest difference as the target branch combination.
  • the above-mentioned feature matching module 1104 is further configured to convert the two-dimensional coordinate vector of the branch corresponding to each group of fork point pairs into a one-dimensional coordinate vector;
  • the correlation coefficient of the dimensional coordinate vector is used as the linear correlation coefficient of the branch under the target branch combination.
  • the above-mentioned cross-point pair screening module 1106 is specifically configured to divide each group of matched cross-point pairs into multiple cross-point pair sets according to the coordinate offset; obtain the similarity of each group of matched fork-point pairs Calculate the sum of the similarities of the fork pairs in each fork pair set, and obtain the cumulative sum of the similarity of each fork pair set; add the sum of the similarities to the maximum fork point pair set that matches each group included in the set. Fork point pair, as the target fork point pair.
  • the above-mentioned similarity determination module 1110 is specifically configured to add the similarities of each target fork point pair to obtain the sum of the similarities, and to add the branch lengths of all branches to obtain the sum of the branch lengths ; Calculate the ratio between the sum of the similarity and the sum of the branch lengths, multiply the ratio by 2, and use it as the similarity between the two finger vein images.
  • the above-mentioned apparatus further comprises:
  • a fork-point pair identification module used for determining unmatched fork-point pairs in each group of matched branches in each group of target fork-point pairs, as fork-point pairs to be matched;
  • the above-mentioned fork-point pair identification module is specifically configured to calculate two pairs of unmatched branch endpoints when there are unmatched branch endpoints in each group of matched branches in the set formed by the target fork-point pair.
  • the branch length difference of each branch if the branch length difference is not greater than the length difference threshold, the end points of the two unmatched branches are used as the pair of fork points to be matched; if the branch length difference is greater than the length difference threshold, the unmatched branch end point A pseudo fork point is added to the corresponding longer branch, and the end point and the pseudo fork point of the shorter branch are used as the pair of fork points to be matched.
  • the finger vein identification device of the present application corresponds to the finger vein identification method of the present application, and the technical features and beneficial effects described in the embodiments of the above finger vein identification method are all applicable to finger vein identification.
  • the embodiment of the identification device reference may be made to the description in the method embodiment of the present application for the specific content, which will not be repeated here, but is hereby declared.
  • each module in the above finger vein identification device can be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 12 .
  • the computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies.
  • the computer program implements a finger vein identification method when executed by the processor.
  • the display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
  • FIG. 12 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a computer device including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the foregoing method embodiments when the processor executes the computer program.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing method embodiments.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Abstract

The present application relates to a finger vein-based identity identification method and apparatus, a computer device, and a storage medium. Said method comprises: acquiring branch information and bifurcation point information in vein skeleton diagrams corresponding to two finger vein images to be matched; respectively performing matching on the branch information and the bifurcation point information of the two vein skeleton diagrams to obtain multiple groups of matched bifurcation point pairs; acquiring coordinate offset amounts of each group of matched bifurcation point pairs, and obtaining multiple groups of target bifurcation point pairs by screening the groups of matched bifurcation point pairs according to the coordinate offset amounts; acquiring a similarity of each group of target bifurcation point pairs, and acquiring branch lengths of all branches in the vein skeleton diagrams; and according to the similarity of each group of target bifurcation point pairs and the branch lengths of all branches in the vein skeleton diagrams, obtaining a similarity of the two finger vein images, and performing identity identification according to the similarity. The accuracy of a result of calculation of a similarity of two finger vein images can be improved by using said method.

Description

指静脉身份识别方法、装置、计算机设备和存储介质Finger vein identification method, device, computer equipment and storage medium 技术领域technical field
本申请涉及指静脉技术领域,特别是涉及一种指静脉身份识别方法、装置、计算机设备和存储介质。The present application relates to the technical field of finger veins, and in particular, to a finger vein identification method, device, computer equipment and storage medium.
背景技术Background technique
指静脉生物识别技术是利用血液流经手指皮下浅表血管时形成的血管分布图案作为生物特征,进行身份认证的方法,其识别原理是通过指静脉识别仪取得个人手指静脉分布图,将特征值存储,然后进行匹配,进行个人身份的鉴定。Finger vein biometric technology is a method of identity authentication using the blood vessel distribution pattern formed when blood flows through the superficial blood vessels of the finger as a biometric. Store and then match for personal identification.
现有的指静脉身份识别方法在进行特征匹配时,多是基于图像中的叉点或端点进行匹配,完成身份的鉴定。然而,这种通过叉点或端点进行匹配的方法的身份识别准确度较低。When performing feature matching in the existing finger vein identification methods, most of them are based on the fork points or endpoints in the image to complete the identification. However, this method of matching by fork or endpoint has low identification accuracy.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述方法指静脉身份识别方法存在的识别准确度较低的技术问题,提供一种指静脉身份识别方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide a finger vein identification method, device, computer equipment and storage medium in view of the technical problem of low identification accuracy in the above-mentioned finger vein identification method.
一种指静脉身份识别方法,所述方法包括:A method for identifying a finger vein, the method comprising:
获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息;Obtain the branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
分别将两幅静脉骨架图的分支信息和叉点信息进行匹配,得到多组匹配的叉点对;Match the branch information and fork point information of the two vein skeleton maps respectively to obtain multiple matched pairs of fork points;
获取各组匹配的叉点对的坐标偏移量,根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对;Obtain the coordinate offsets of each group of matched fork point pairs, and filter out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offsets;
获取各所述目标叉点对的相似度,以及,获取各所述静脉骨架图中所有分支的分支长度;所述目标叉点对的相似度为所述目标叉点对中各组匹配的分支的相似度之和;Obtain the similarity of each target fork point pair, and obtain the branch lengths of all branches in each of the vein skeleton diagrams; the similarity of the target fork point pair is the matched branch of each group in the target fork point pair The sum of the similarity;
根据各所述目标叉点对的相似度和各所述静脉骨架图中所有分支的分支长度,得到所述两幅指静脉图像的相似度,根据所述相似度进行身份识别。According to the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images, the similarity of the two finger vein images is obtained, and the identity is identified according to the similarity.
在其中一个实施例中,所述分别将两幅静脉骨架图的分支信息和叉点信息进行匹配,得到多组匹配的叉点对,包括:In one of the embodiments, the branch information and fork point information of the two vein skeleton maps are respectively matched to obtain multiple sets of matched fork point pairs, including:
获取两幅静脉骨架图中各组叉点对的坐标偏移量,从各组叉点对中筛选出所述坐标偏移量小于偏移量阈值的多组叉点对,形成第一叉点对集合;Obtain the coordinate offsets of each group of fork point pairs in the two vein skeleton maps, and select multiple groups of fork point pairs whose coordinate offsets are less than the offset threshold from each group of fork point pairs to form the first fork point. pair collection;
获取所述第一叉点对集合中各组叉点对所对应分支的主方向角,并确定各组叉点对所对应分支之间的组合关系,得到多个目标分支组合;其中,任一分支的主方向角为该分支中各个像素点的方向角的均值;Acquire the main direction angles of the branches corresponding to each group of fork point pairs in the first fork point pair set, and determine the combination relationship between the branches corresponding to each group of fork point pairs to obtain a plurality of target branch combinations; The main direction angle of a branch is the mean value of the direction angles of each pixel in the branch;
计算各个目标分支组合下的分支主方向角的差值,从所述第一叉点对集合中,筛选出所述目标分支组合下的分支主方向角的差值小于差值阈值的多组叉点对,形成第二叉点对集合;Calculate the difference of the main direction angles of the branches under each target branch combination, and from the first set of fork point pairs, filter out multiple groups of forks whose differences in the main direction angles of the branches under the target branch combination are less than the difference threshold point pairs to form a second set of fork point pairs;
获取所述第二叉点对集合中各组叉点对中目标分支组合下的分支线性相关系数,从所述第二叉点对集合中筛选出所述线性相关系数大于相关系数阈值的多组叉点对,作为所述匹配的叉点对。Obtain the branch linear correlation coefficients under the target branch combination in each group of fork point pairs in the second fork point pair set, and filter out multiple groups whose linear correlation coefficients are greater than the correlation coefficient threshold from the second fork point pair set A pair of forks, as the matched pair of forks.
在其中一个实施例中,所述确定各组叉点对所对应分支之间的组合关系,得到多个目标分支组合,包括:In one of the embodiments, the determining the combination relationship between the branches corresponding to each group of fork point pairs obtains a plurality of target branch combinations, including:
将各组叉点对所对应的各个分支进行排列组合,得到多个待匹配分支组合;Arrange and combine the corresponding branches of each group of fork points to obtain a plurality of branch combinations to be matched;
若任一分支对应有至少两个待匹配分支组合,则计算该分支对应的各个待匹配分支组合下的分支主方向角的差值,将差值最小的待匹配分支组合作为目标分支组合。If any branch corresponds to at least two to-be-matched branch combinations, the difference between the branch main direction angles under each to-be-matched branch combination corresponding to the branch is calculated, and the to-be-matched branch combination with the smallest difference is used as the target branch combination.
在其中一个实施例中,所述获取所述第二叉点对集合中各组叉点对中目标分支组合下分支的线性相关系数,包括:In one embodiment, the obtaining the linear correlation coefficients of the lower branches of the target branch combination in each group of fork point pairs in the second fork point pair set includes:
将各组叉点对所对应分支的二维坐标向量转化为一维坐标向量;Convert the two-dimensional coordinate vector of the branch corresponding to each group of fork pairs into a one-dimensional coordinate vector;
计算各组叉点对中目标分支组合下分支的一维坐标向量的相关系数,作为所述目标分支组合下分支的线性相关系数。The correlation coefficient of the one-dimensional coordinate vector of the lower branch of the target branch combination in each group of fork point pairs is calculated as the linear correlation coefficient of the lower branch of the target branch combination.
在其中一个实施例中,所述获取各组匹配的叉点对的坐标偏移量,根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对,包括:In one embodiment, obtaining the coordinate offsets of each group of matched fork point pairs, and filtering out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offsets, including:
根据所述坐标偏移量,将各组匹配的叉点对划分为多个叉点对集合;According to the coordinate offset, each group of matched fork-point pairs is divided into a plurality of fork-point pair sets;
获取各组匹配的叉点对的相似度,计算各个叉点对集合中的叉点对的相似度之和,得到各个叉点对集合的相似度累加和;Obtain the similarity of each group of matched fork-point pairs, calculate the sum of the similarities of the fork-point pairs in each fork-point pair set, and obtain the cumulative sum of the similarity of each fork-point pair set;
将相似度累加和最大的叉点对集合中所包括的各组匹配的叉点对,作为目标叉点对。Each group of matched fork-point pairs included in the fork-point pair set with the maximum similarity sum is taken as the target fork-point pair.
在其中一个实施例中,所述根据各所述目标叉点对的相似度和各所述静脉骨架图中所有分支的分支长度,得到所述两幅指静脉图像的相似度,包括:In one embodiment, the similarity of the two finger vein images is obtained according to the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images, including:
将各所述目标叉点对的相似度相加,得到相似度之和,以及,将所有分支的分支长度相加,得到分支长度之和;The similarity of each of the target fork pairs is added to obtain the sum of the similarity, and the branch lengths of all branches are added to obtain the sum of the branch lengths;
计算所述相似度之和与所述分支长度之和的比值,将所述比值乘以2得到的数值,作为两幅指静脉图像的相似度。Calculate the ratio between the sum of the similarity and the sum of the branch lengths, and multiply the ratio by 2 to obtain a value as the similarity of the two finger vein images.
在其中一个实施例中,在根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对之后,还包括:In one embodiment, after filtering out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offset, the method further includes:
确定各组目标叉点对中各组匹配的分支中未匹配的叉点对,作为待匹配叉点对;Determine the unmatched fork pairs in the matched branches in each group of target fork pairs as the fork pairs to be matched;
识别所述待匹配叉点对是否匹配,以及识别所述待匹配叉点对所对应的各个目标分支组合下的分支是否匹配,若两者均匹配,则将所述待匹配叉点对加入所述目标叉点对所构成的集合中。Identifying whether the pair of fork points to be matched matches, and identifying whether the branches under each target branch combination corresponding to the pair of fork points to be matched match, if both match, adding the pair of fork points to be matched in the set formed by the target fork pair.
在其中一个实施例中,所述确定各组目标叉点对中未匹配的分支,并获取所述未匹配的分支中未匹配的叉点对,作为待匹配叉点对,包括:In one embodiment, the determining of unmatched branches in each group of target fork point pairs, and obtaining the unmatched fork point pairs in the unmatched branches, as the fork point pairs to be matched, includes:
当所述目标叉点对所构成的集合中各组匹配的分支中存在未匹配的分支终点时,计算所述未匹配的分支终点所对应的两个分支的分支长度差;When there is an unmatched branch end point in each group of matched branches in the set formed by the target fork point pair, calculate the branch length difference between the two branches corresponding to the unmatched branch end point;
若所述分支长度差不大于长度差阈值,则将未匹配的两个分支终点,作为待匹配叉点对;If the branch length difference is not greater than the length difference threshold, the two unmatched branch end points are used as the pair of fork points to be matched;
若所述分支长度差大于所述长度差阈值,则在所述未匹配的分支终点所对应的较长的分支上增加伪叉点,将较短的分支的终点和所述伪叉点作为待匹配叉点对。If the branch length difference is greater than the length difference threshold, a pseudo fork point is added to the longer branch corresponding to the end point of the unmatched branch, and the end point of the shorter branch and the pseudo fork point are used as the waiting point. Match fork pairs.
一种指静脉身份识别装置,所述装置包括:A finger vein identification device, the device comprises:
特征获取模块,用于获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息;a feature acquisition module, used for acquiring branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
特征匹配模块,用于将两幅静脉骨架图的分支信息和叉点信息分别进行匹配,得到多组匹配的叉点对;The feature matching module is used to match the branch information and fork point information of the two vein skeleton maps respectively to obtain multiple sets of matched fork point pairs;
叉点对筛选模块,用于获取各组匹配的叉点对的坐标偏移量,根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对;A cross-point pair screening module, used to obtain the coordinate offsets of the matched cross-point pairs of each group, and screen out multiple groups of target cross-point pairs from the matched cross-point pairs according to the coordinate offsets;
长度获取模块,用于获取各所述目标叉点对的相似度,以及,获取各所述静脉骨架图中所有分支的分支长度;所述目标叉点对的相似度为所述目标叉点对中各组匹配的分支的相似度之和;a length obtaining module, used to obtain the similarity of each target fork point pair, and obtain the branch lengths of all branches in each of the vein skeleton diagrams; the similarity of the target fork point pair is the target fork point pair The sum of the similarity of the matched branches in each group;
相似度确定模块,用于根据各所述目标叉点对的相似度和所述所有分支的分支长度,得到所述两幅指静脉图像的相似度,根据所述相似度进行身份识别。The similarity determination module is configured to obtain the similarity of the two finger vein images according to the similarity of each target fork point pair and the branch lengths of all the branches, and perform identity recognition according to the similarity.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息;Obtain the branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
分别将两幅静脉骨架图的分支信息和叉点信息进行匹配,得到多组匹配的叉点对;Match the branch information and fork point information of the two vein skeleton maps respectively to obtain multiple matched pairs of fork points;
获取各组匹配的叉点对的坐标偏移量,根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对;Obtain the coordinate offsets of each group of matched fork point pairs, and filter out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offsets;
获取各所述目标叉点对的相似度,以及,获取各所述静脉骨架图中所有分支的分支长度;所述目标叉点对的相似度为所述目标叉点对中各组匹配的分支的相似度之和;Obtain the similarity of each target fork point pair, and obtain the branch lengths of all branches in each of the vein skeleton diagrams; the similarity of the target fork point pair is the matched branch of each group in the target fork point pair The sum of the similarity;
根据各所述目标叉点对的相似度和各所述静脉骨架图中所有分支的分支长度,得到所述两幅指静脉图像的相似度,根据所述相似度进行身份识别。According to the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images, the similarity of the two finger vein images is obtained, and the identity is identified according to the similarity.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息;Obtain the branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
分别将两幅静脉骨架图的分支信息和叉点信息进行匹配,得到多组匹配的叉点对;Match the branch information and fork point information of the two vein skeleton maps respectively to obtain multiple matched pairs of fork points;
获取各组匹配的叉点对的坐标偏移量,根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对;Obtain the coordinate offsets of each group of matched fork point pairs, and filter out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offsets;
获取各所述目标叉点对的相似度,以及,获取各所述静脉骨架图中所有分支的分支长度;所述目标叉点对的相似度为所述目标叉点对中各组匹配的分支的相似度之和;Obtain the similarity of each target fork point pair, and obtain the branch lengths of all branches in each of the vein skeleton diagrams; the similarity of the target fork point pair is the matched branch of each group in the target fork point pair The sum of the similarity;
根据各所述目标叉点对的相似度和各所述静脉骨架图中所有分支的分支长度,得到所述两幅指静脉图像的相似度,根据所述相似度进行身份识别。According to the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images, the similarity of the two finger vein images is obtained, and the identity is identified according to the similarity.
上述指静脉身份识别方法、装置、计算机设备和存储介质,通过获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息,以便于分别将两幅指静脉图像的分支信息和叉点信息进行匹配,得到多组匹配的叉点对,根据各组匹配的叉点对的坐标偏移量,从各组匹配的叉点对中筛选出目标叉点对,作为最终的匹配基准。最后,根据获取的各组目标叉点对的相似度和两幅静脉骨架图中所有分支的分支长度,计算得到两幅指静脉图像的相似度,根据相似度进行身份识别。该方法除了获取叉点信息外,还获取有分支信息,并通过各叉点对所对应的分支的相似度进行两幅指静脉图像相似度的计算,避免仅通过叉点对的个数进行相似度计算存在的容易出现失误、准确度不高的问题,提高了两幅指静脉图像相似度计算结 果的准确性,并且,通过根据坐标偏移量对得到的匹配的叉点对进行筛选,进一步避免了匹配错误的叉点对对相似度计算结果的影响,进一步提高了相似度计算结果的准确度,从而,提高了身份识别结果的可信度。The above-mentioned finger vein identification method, device, computer equipment and storage medium, by acquiring the branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched, so that the branches of the two finger vein images can be respectively identified. Information and fork point information are matched to obtain multiple sets of matched fork point pairs. According to the coordinate offset of each group of matched fork point pairs, the target fork point pairs are screened from each group of matched fork point pairs as the final match the benchmark. Finally, according to the obtained similarity of each group of target fork point pairs and the branch lengths of all branches in the two vein skeleton images, the similarity of the two finger vein images is calculated, and the identity is identified according to the similarity. This method not only obtains the fork point information, but also obtains the branch information, and calculates the similarity of the two finger vein images through the similarity of the corresponding branches of each fork point, so as to avoid the similarity only by the number of fork point pairs. The problems of easy errors and low accuracy in the degree calculation improve the accuracy of the calculation results of the similarity of the two finger vein images. The influence on the result of similarity calculation by the cross point of matching error is avoided, the accuracy of the calculation result of similarity is further improved, and thus the reliability of the identification result is improved.
附图说明Description of drawings
图1为一个实施例中指静脉身份识别方法的流程示意图;1 is a schematic flowchart of a finger vein identification method in one embodiment;
图2(a)和图2(b)分别为一个实施例中与像素X相邻的像素点的位置与像素X对应的方向角;Figure 2 (a) and Figure 2 (b) are respectively the direction angle corresponding to the position of the pixel point adjacent to the pixel X and the pixel X in one embodiment;
图2(c)为一个实施例中分支中各个像素点的方向角的示意图;Fig. 2 (c) is the schematic diagram of the direction angle of each pixel point in the branch in one embodiment;
图3为一个实施例中分支和叉点的示意图;3 is a schematic diagram of a branch and a fork in one embodiment;
图4为一个实施例中静脉骨架图的示意图;4 is a schematic diagram of a vein skeleton diagram in one embodiment;
图5为一个实施例中坐标偏移量的二维直方图的示意图;5 is a schematic diagram of a two-dimensional histogram of coordinate offsets in one embodiment;
图6为一个实施例中匹配的叉点对的获取步骤的流程示意图;6 is a schematic flowchart of the steps of obtaining a matched pair of forks in one embodiment;
图7为一个实施例中待匹配的叉点对的示意图;7 is a schematic diagram of a pair of fork points to be matched in one embodiment;
图8为一个实施例中扩展待匹配叉点对的流程示意图;8 is a schematic flowchart of expanding fork pairs to be matched in one embodiment;
图9为一个实施例中待匹配点对确定步骤的流程示意图;9 is a schematic flowchart of a step of determining a point pair to be matched in one embodiment;
图10为一个实施例中扩展待匹配点对的示意图;10 is a schematic diagram of expanding point pairs to be matched in one embodiment;
图11为一个实施例中指静脉身份识别装置的结构框图;11 is a structural block diagram of a finger vein identification device in one embodiment;
图12为一个实施例中计算机设备的内部结构图。Figure 12 is a diagram of the internal structure of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
在一个实施例中,如图1所示,提供了一种指静脉身份识别方法,本实施例以该方法应用于终端进行举例说明,可以理解的是,该方法也可以应用于服务器,还可以应用于包括终端和服务器的系统,并通过终端和服务器的交互实现。本实施例中,该方法包括以下步骤:In one embodiment, as shown in FIG. 1 , a finger vein identification method is provided. In this embodiment, the method is applied to a terminal for illustration. It can be understood that the method can also be applied to a server, or It is applied to a system including a terminal and a server, and is realized through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
步骤S102,获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息。Step S102, acquiring branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched.
其中,分支信息包括分支标识、分支长度、分支主方向角、起点、终点和坐标等属性信息。The branch information includes attribute information such as branch identification, branch length, branch main direction angle, start point, end point, and coordinates.
其中,分支表示连接两个叉点或端点的像素点的有序组合。where a branch represents an ordered combination of pixels connecting two forks or endpoints.
其中,分支标识为表示分支唯一性的标志。Wherein, the branch identifier is a flag representing the uniqueness of the branch.
其中,分支长度表示组成分支的像素点的个数。Among them, the branch length represents the number of pixels forming the branch.
其中,分支坐标表示组成分支的各像素点的二维坐标(x,y)数组。Wherein, the branch coordinates represent the two-dimensional coordinate (x, y) array of each pixel point constituting the branch.
其中,分支的起点和终点为分支的两个端点,若选择其中一个为起点,则另外一个便为终点。Among them, the starting point and the ending point of the branch are the two endpoints of the branch. If one of them is selected as the starting point, the other one is the ending point.
其中,分支主方向角表示分支各像素点的方向角的均值,如图2(a)和图2(b)所示,分别为与像素X相邻的像素点的位置与像素X对应的方向角,图2(c)所示,为分支中各个像素点的方向角的示意图,各像素点的方向角根据当前像素点与下一相邻像素点的位置进行确定,例如,若下一像素点在图2(a)中的位置3,则像素X的方向角为-45°,若下一像素点在图2(a)中的位置7,则像素X的方向角为135°。由此,如图2(c)所示,即可得到某一分支中各个像素点的方向角,通过计算各个像素点的方向角的均值,便可得到该分支的主方向角。Among them, the main direction angle of the branch represents the average value of the direction angle of each pixel point of the branch, as shown in Fig. 2(a) and Fig. 2(b), respectively, the position of the pixel adjacent to the pixel X and the direction corresponding to the pixel X As shown in Figure 2(c), it is a schematic diagram of the direction angle of each pixel point in the branch, and the direction angle of each pixel point is determined according to the position of the current pixel point and the next adjacent pixel point, for example, if the next pixel point If the point is at position 3 in Fig. 2(a), the direction angle of pixel X is -45°, and if the next pixel is at position 7 in Fig. 2(a), the direction angle of pixel X is 135°. Thus, as shown in Figure 2(c), the orientation angle of each pixel in a branch can be obtained, and the main orientation angle of the branch can be obtained by calculating the mean value of the orientation angle of each pixel.
其中,叉点信息包括叉点标识、叉点坐标、连接分支数、连接的各分支的属性等信息。The cross point information includes information such as cross point identification, cross point coordinates, number of connected branches, attributes of each connected branch, and the like.
其中,叉点表示两个及两个以上分支交叉连接的像素点。Among them, the cross point represents the pixel point where two or more branches are cross-connected.
其中,叉点标识为表示叉点唯一性的标志。Wherein, the fork point identifier is a sign indicating the uniqueness of the fork point.
其中,叉点坐标为叉点像素的二维坐标,可用(x,y)表示。The cross point coordinates are the two-dimensional coordinates of the cross point pixels, which can be represented by (x, y).
如图3所示,为分支和叉点的示意图,图中像素点P为叉点,b1、b2和b3为与叉点P连接的三个分支,则叉点P可视为b1、b2和b3三个分支交叉连接的像素点。As shown in Figure 3, it is a schematic diagram of a branch and a fork point. In the figure, the pixel point P is a fork point, and b1, b2 and b3 are three branches connected to the fork point P, and the fork point P can be regarded as b1, b2 and b3 The pixels where the three branches are cross-connected.
具体实现中,可通过指静脉采集设备采集指静脉图像,在得到指静脉图像后,对指静脉图像进行预处理,得到静脉骨架图,从静脉骨架图中提取出骨架图特征,其中,骨架图特征包括分支信息和叉点信息。更具体地,指静脉图像的图像预处理步骤包括:定位手指矩形区域(ROI),对手指平面旋转角度进行校正,对图像进行灰度处理和尺寸归一化等预处理,得到尺寸、灰度归一化的图像,进一步对归一化的图像进行静脉增强、二值化和骨架细化处理,得到静脉骨架图,对静脉骨架图进行特征提取操作,得到静脉骨架图中的分支信息和叉点信息。如图4所示,为静脉骨架图的示意图,包括若干个叉点和与叉点连接的多个分支等特征。In the specific implementation, the finger vein image can be collected by the finger vein acquisition device, and after the finger vein image is obtained, the finger vein image is preprocessed to obtain the vein skeleton map, and the skeleton map features are extracted from the vein skeleton map, wherein the skeleton map Features include branch information and fork information. More specifically, the image preprocessing steps of the finger vein image include: locating the finger rectangle region (ROI), correcting the rotation angle of the finger plane, performing preprocessing such as grayscale processing and size normalization on the image, and obtaining the size, grayscale, etc. The normalized image is further processed by vein enhancement, binarization and skeleton refinement to obtain the vein skeleton map, and the feature extraction operation is performed on the vein skeleton map to obtain the branch information and fork in the vein skeleton map. point information. As shown in FIG. 4 , it is a schematic diagram of a vein skeleton diagram, including features such as several fork points and multiple branches connected to the fork points.
步骤S104,分别将两幅静脉骨架图的分支信息和叉点信息进行匹配,得到多组匹配的叉点对。In step S104, the branch information and the fork point information of the two vein skeleton maps are respectively matched to obtain a plurality of matched pairs of fork points.
具体实现中,两幅静脉骨架图的特征匹配即叉点的匹配和分支的匹配,其中,叉点的匹配可通过获取各个叉点的坐标,根据坐标判断叉点是否匹配,可通过获取两个叉点对应的各个分支的主方向角,根据分支的主方向角判断两个叉点是否匹配。分支的匹配可通过计算两个分支的线性相关系数,根据线性相关系数判断两个分支是否匹配。在将两个叉点对应的分支进行匹配时,可先根据各分支的主方向角确定分支之 间的组合关系,确定目标组合下的两个分支之间的线性相关系数,进一步根据两个分支的线性相关系数判断目标组合下的两个分支是否匹配。由此,通过各个叉点和分支之间的匹配,可得到多组匹配的叉点对,其中,各个叉点对均由第一静脉骨架图中的一个叉点和第二静脉骨架图中的一个叉点组成。In the specific implementation, the feature matching of the two vein skeleton maps is the matching of the fork points and the matching of the branches. The matching of the fork points can be obtained by obtaining the coordinates of each fork point, and determining whether the fork points match according to the coordinates. The main direction angle of each branch corresponding to the fork point is used to determine whether the two fork points match according to the main direction angle of the branch. The matching of the branches can be determined by calculating the linear correlation coefficient of the two branches, and determining whether the two branches match according to the linear correlation coefficient. When matching the branches corresponding to the two fork points, the combination relationship between the branches can be determined first according to the main direction angle of each branch, and the linear correlation coefficient between the two branches under the target combination can be determined. The linear correlation coefficient of , judges whether the two branches under the target combination match. Therefore, through the matching between each fork point and branch, multiple sets of matched fork point pairs can be obtained, wherein each fork point pair is composed of a fork point in the first vein skeleton diagram and a fork point in the second vein skeleton diagram. consisting of a fork point.
步骤S106,获取各组匹配的叉点对的坐标偏移量,根据坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对。In step S106, the coordinate offsets of each group of matched fork point pairs are acquired, and a plurality of groups of target fork point pairs are screened from each group of matched fork point pairs according to the coordinate offsets.
其中,坐标偏移量表示两个叉点的坐标的差值,由于叉点坐标为二维向量坐标,则坐标偏移量可包括x方向坐标的差值和y方向坐标的差值。The coordinate offset represents the difference between the coordinates of the two cross points. Since the cross point coordinates are two-dimensional vector coordinates, the coordinate offset may include the difference between the coordinates in the x-direction and the coordinate in the y-direction.
具体实现中,由于通过叉点和分支匹配得到的多组匹配的叉点对中可能存在匹配错误的叉点对,因此需要进行筛选处理,从各组匹配的叉点对中筛选出一致性最好的若干组目标叉点对,作为两幅指静脉图像最终的匹配基准。In the specific implementation, since there may be incorrectly matched fork pairs among the multiple sets of matched fork pairs obtained through fork and branch matching, screening processing is required to screen out the most consistent fork pairs from each group of matched fork pairs. Several sets of good target fork point pairs are used as the final matching benchmark for the two finger vein images.
进一步地,步骤S106具体包括:根据坐标偏移量,将各组匹配的叉点对划分为多个叉点对集合;获取各组匹配的叉点对的相似度,计算各个叉点对集合中的叉点对的相似度之和,得到各个叉点对集合的相似度累加和;将相似度累加和最大的叉点对集合中所包括的各组匹配的叉点对,作为目标叉点对。Further, step S106 specifically includes: dividing each group of matched fork point pairs into a plurality of fork point pair sets according to the coordinate offset; The sum of the similarities of the fork-point pairs is obtained, and the cumulative sum of the similarity of each fork-point pair set is obtained; the matched fork-point pairs included in each group of fork-point pairs included in the set of fork-point pairs with the maximum similarity sum are taken as the target fork-point pair .
具体地,可获取各组匹配的叉点对中各个叉点的坐标,计算每组匹配的叉点对的坐标偏移量,使用二维直方图统计各组匹配的叉点对的坐标偏移量,根据坐标偏移量将各组匹配的叉点对进行分组,将偏移量一致的划分为一个叉点对集合,由此得到多个叉点对集合,其中,得到的叉点对集合的总个数不超过3个。例如,如图5所示,为坐标偏移量的二维直方图的示意图,图中最中间的6、3、12、16、17和20均围绕12进行分布,表示偏移量一致,则可将其对应的叉点对作为一个叉点对集合。在得到多个叉点对集合后,计算各个叉点对集合中每组叉点对的相似度,将各组叉点对的相似度相加,得到叉点对集合的相似度累加和,将相似度累加和最大的叉点对集合,作为最终的匹配基准点集合,将该最终的匹配基准点集合中的各组匹配的叉点对,作为目标叉点对。Specifically, the coordinates of each fork point in each group of matched fork point pairs can be obtained, the coordinate offset of each group of matched fork point pairs can be calculated, and the coordinate offset of each group of matched fork point pairs can be counted using a two-dimensional histogram According to the coordinate offset, each group of matched fork pairs is grouped, and the offsets are divided into a set of fork pairs, thereby obtaining multiple sets of fork pairs, wherein the obtained set of fork pairs is The total number does not exceed 3. For example, as shown in Figure 5, which is a schematic diagram of a two-dimensional histogram of coordinate offsets, 6, 3, 12, 16, 17, and 20 in the middle of the figure are all distributed around 12, indicating that the offsets are consistent, then Its corresponding fork-point pair can be regarded as a fork-point pair set. After obtaining multiple sets of fork-point pairs, calculate the similarity of each group of fork-point pairs in each set of fork-point pairs, add the similarities of each group of fork-point pairs, and obtain the cumulative sum of the similarities of the set of fork-point pairs. The set of fork point pairs with the maximum accumulated similarity is used as the final matching reference point set, and each group of matched fork point pairs in the final matching reference point set is used as the target fork point pair.
步骤S108,获取各目标叉点对的相似度,以及,获取各静脉骨架图中所有分支的分支长度;目标叉点对的相似度为目标叉点对中各组匹配的分支的相似度之和。Step S108, obtaining the similarity of each target fork point pair, and obtaining the branch lengths of all branches in each vein skeleton diagram; the similarity degree of the target fork point pair is the sum of the similarities of each group of matched branches in the target fork point pair .
其中,各组匹配的分支的相似度由该组匹配的分支的匹配长度与该组匹配的分支的线性相关系数相乘得到。The similarity of the matched branches of each group is obtained by multiplying the matching length of the matched branches of the group and the linear correlation coefficient of the matched branches of the group.
具体实现中,可将目标叉点对中的各分支坐标二维向量转换为一维向量,计算得到各组目标叉点对中各组匹配分支的线性相关系数,通过计算各组匹配分支的匹配长度与对应的各组匹配分支的线性相关系数的乘积,作为各组匹配分支的相似度,进而计算每一组目标叉点对所对应各组匹配分支的相似度之和,作 为一组目标叉点对的相似度。例如,两个分支bi和cj的相似度可表示为:Sb=ρ i,j×l i,j,其中,ρ i,j表示分支bi和分支cj的线性相关系数,l i,j表示分支bi和分支cj的匹配长度。则目标叉点对的相似度可表示为: In the specific implementation, the two-dimensional vector of the coordinates of each branch in the target fork point pair can be converted into a one-dimensional vector, and the linear correlation coefficient of each group of matching branches in each group of target fork point pairs can be calculated. The product of the length and the linear correlation coefficient of the corresponding groups of matching branches is used as the similarity of each group of matching branches, and then the sum of the similarity of each group of target forks to the corresponding groups of matching branches is calculated as a group of target forks Point-to-point similarity. For example, the similarity of the two branches bi and cj can be expressed as: Sb=ρ i,j ×l i,j , where ρ i,j represents the linear correlation coefficient of the branch bi and the branch cj, and li ,j represents the branch The matching length of bi and branch cj. Then the similarity of the target fork point pair can be expressed as:
Figure PCTCN2020141305-appb-000001
Figure PCTCN2020141305-appb-000001
步骤S110,根据各目标叉点对的相似度和各静脉骨架图中所有分支的分支长度,得到两幅指静脉图像的相似度,根据相似度进行身份识别。In step S110, the similarity of the two finger vein images is obtained according to the similarity of each target fork point pair and the branch lengths of all branches in each vein skeleton image, and the identity is identified according to the similarity.
具体实现中,在得到各组目标叉点对的相似度后,将各组目标叉点对的相似度相加,得到相似度之和,以及,将两幅静脉骨架图中所有分支的分支长度相加,得到分支长度之和,进一步计算各目标叉点对的相似度总和与所有分支的分支长度总和的比值。In the specific implementation, after obtaining the similarity of each group of target fork-point pairs, the similarity of each group of target fork-point pairs is added to obtain the sum of the similarity, and the branch lengths of all branches in the two vein skeleton diagrams are calculated. Add up to obtain the sum of branch lengths, and further calculate the ratio of the sum of the similarity of each target fork point pair to the sum of the branch lengths of all branches.
实际应用中,由于该比值实际为相匹配分支的匹配长度与线性相关系数的相乘后,与两幅静脉骨架图中所有分支长度的比值,每组匹配分支的匹配长度只计算了一次,使得各目标叉点对的相似度之和与所有分支的分支长度之和的比值小于0.5,因此,为便于进行身份识别,可将该比值乘2,以1作为两幅指静脉图像匹配的基准,则两幅指静脉图像的相似度可以表示为:In practical applications, since the ratio is actually the ratio of the length of all branches in the two vein skeleton maps after multiplying the matching length of the matching branch and the linear correlation coefficient, the matching length of each group of matching branches is calculated only once, so that The ratio of the sum of the similarity of each target fork point pair to the sum of the branch lengths of all branches is less than 0.5. Therefore, in order to facilitate identification, the ratio can be multiplied by 2, and 1 is used as the benchmark for matching two finger vein images. Then the similarity of two finger vein images can be expressed as:
Figure PCTCN2020141305-appb-000002
Figure PCTCN2020141305-appb-000002
其中,Sb k表示第k对匹配分支的相似度,l i表示第一幅静脉骨架图中的第i个分支的分支长度,l j表示第二幅静脉骨架图中第j个分支的分支长度,N表示两幅静脉骨架图中匹配分支的总对数,m表示第一幅静脉骨架图中的分支的总个数,n表示第二静脉骨架图中的分支的总个数,N<min{m,n}。 Among them, Sb k represents the similarity of the k-th pair of matching branches, l i represents the branch length of the i-th branch in the first vein skeleton map, and l j represents the branch length of the j-th branch in the second vein skeleton map , N represents the total number of matching branches in the two vein skeleton maps, m represents the total number of branches in the first vein skeleton map, n represents the total number of branches in the second vein skeleton map, N<min {m,n}.
上述指静脉身份识别方法中,通过获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息,以便于分别将两幅指静脉图像的分支信息和叉点信息进行匹配,得到多组匹配的叉点对,根据各组匹配的叉点对的坐标偏移量,从各组匹配的叉点对中筛选出目标叉点对,作为最终的匹配基准。最后,根据获取的各组目标叉点对的相似度和两幅静脉骨架图中所有分支的分支长度,计算得到两幅指静脉图像的相似度,根据相似度进行身份识别。该方法除了获取叉点信息外,还获取有分支信息,并通过各叉点对所对应的分支的相似度进行两幅指静脉图像相似度的计算,避免仅通过叉点对的个数进行相似度计算存在的容易出现失误、准确度不高的问题,由此提高了两幅指静脉图像相似度计算结果的准确性,并且,通过根据坐标偏移量对得到的匹配的叉点对进行筛选,进一步避免了匹配错误的叉点对对相似度计算结果的影响,提高了相似度计算结果的准确度,从而,提高了身份识别结果的可信度。In the above finger vein identification method, the branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched are obtained, so as to match the branch information and fork point information of the two finger vein images respectively. , obtain multiple sets of matched fork-point pairs, and filter out target fork-point pairs from each group of matched fork-point pairs according to the coordinate offsets of each group of matched fork-point pairs, as the final matching reference. Finally, according to the obtained similarity of each group of target fork point pairs and the branch lengths of all branches in the two vein skeleton images, the similarity of the two finger vein images is calculated, and the identity is identified according to the similarity. This method not only obtains the fork point information, but also obtains the branch information, and calculates the similarity of the two finger vein images through the similarity of the corresponding branches of each fork point, so as to avoid the similarity only based on the number of fork point pairs. It is easy to make mistakes and the accuracy is not high in the degree calculation, thereby improving the accuracy of the calculation results of the similarity of the two finger vein images, and by screening the obtained matching fork pairs according to the coordinate offset , which further avoids the influence of mismatched cross points on the similarity calculation result, improves the accuracy of the similarity calculation result, and thus improves the credibility of the identity recognition result.
在一个实施例中,如图6所示,上述步骤S104具体包括:In one embodiment, as shown in FIG. 6 , the foregoing step S104 specifically includes:
步骤S602,获取两幅静脉骨架图中各组叉点对的坐标偏移量,从各组叉点对中筛选出坐标偏移量小于偏移量阈值的多组叉点对,形成第一叉点对集合。Step S602: Obtain the coordinate offsets of each group of fork point pairs in the two vein skeleton maps, and select multiple groups of fork point pairs whose coordinate offsets are less than the offset threshold from each group of fork point pairs to form a first fork. Point-to-point collection.
其中,每组叉点对均由第一幅静脉骨架图中的一个叉点和第二幅静脉骨架图中的一个叉点组成。Wherein, each set of fork point pairs is composed of a fork point in the first vein skeleton map and a fork point in the second vein skeleton map.
具体实现中,获取两幅静脉骨架图中各组叉点对的坐标偏移量的步骤包括:获取第一幅静脉骨架图中各个叉点的坐标,形成第一坐标集合,以及,获取第二幅静脉骨架图中各个叉点的坐标,形成第二坐标集合;遍历计算第一坐标集合中的各个第一坐标与第二坐标集合中的各个第二坐标的差值,得到多组叉点对的坐标偏移量。下面以图7中的叉点P和叉点Q进行匹配为例,对叉点匹配方法进行说明,叉点P和叉点Q的坐标匹配可用如下关系式进行表示,将叉点P和叉点Q在x方向和y方向的坐标偏移量分别与对应的偏移量阈值进行对比,当叉点P和叉点Q在x方向的坐标偏移量小于第一偏移量阈值,且在y方向的坐标偏移量小于第二偏移量阈值时,将叉点P和叉点Q组成的叉点对筛选出来,以此类推,从各组叉点对中筛选出在x方向和y方向的坐标偏移量均小于对应偏移量阈值的多组叉点对,形成第一叉点对集合。其中,坐标偏移量取绝对值与偏移量阈值进行对比。其中,x方向的第一偏移量阈值与y方向的第二偏移量阈值可以相等,也可以不相等。In a specific implementation, the step of acquiring the coordinate offsets of each group of fork point pairs in the two vein skeleton maps includes: acquiring the coordinates of each fork point in the first vein skeleton map to form a first coordinate set, and acquiring a second set of coordinates The coordinates of each fork point in the vein skeleton diagram form a second coordinate set; traverse and calculate the difference between each first coordinate in the first coordinate set and each second coordinate in the second coordinate set, and obtain multiple sets of fork point pairs The coordinate offset of . The following takes the matching of the fork point P and the fork point Q in FIG. 7 as an example to describe the fork point matching method. The coordinate matching of the fork point P and the fork point Q can be expressed by the following relational expression, the fork point P and the fork point The coordinate offsets of Q in the x-direction and the y-direction are compared with the corresponding offset thresholds respectively. When the coordinate offset in the direction is less than the second offset threshold, the fork point pair composed of the fork point P and the fork point Q is screened out, and so on, the cross point pairs in the x direction and the y direction are screened out from each group of fork point pairs. A plurality of sets of fork point pairs whose coordinate offsets are all less than the corresponding offset thresholds form a first set of fork point pairs. Among them, the absolute value of the coordinate offset is compared with the offset threshold. The first offset threshold in the x-direction and the second offset threshold in the y-direction may or may not be equal.
|P.x-Q.x|<T.x|P.x-Q.x|<T.x
|P.y-Q.y|<T.y|P.y-Q.y|<T.y
其中,Px和Qx分别表示叉点P和Q在x方向的坐标,Py和Qy分别表示叉点P和Q在y方向的坐标,Ty和Ty分别表示x方向和y方向的偏移量阈值。Among them, Px and Qx represent the coordinates of the fork points P and Q in the x direction respectively, Py and Qy represent the coordinates of the fork points P and Q in the y direction, respectively, and Ty and Ty represent the offset thresholds in the x and y directions, respectively.
步骤S604,获取第一叉点对集合中各组叉点对所对应分支的主方向角,并确定各组叉点对所对应分支之间的组合关系,得到多个目标分支组合;其中,任一分支的主方向角为该分支中各个像素点的方向角的均值;计算各个目标分支组合下的分支主方向角的差值,从第一叉点对集合中,筛选出目标分支组合下的分支主方向角的差值小于差值阈值的多组叉点对,形成第二叉点对集合。Step S604: Obtain the main direction angles of the branches corresponding to each group of fork point pairs in the first fork point pair set, and determine the combination relationship between the branches corresponding to each group of fork point pairs to obtain multiple target branch combinations; The main direction angle of a branch is the average value of the direction angles of each pixel point in the branch; the difference between the main direction angles of the branches under each target branch combination is calculated, and the target branch combination is selected from the first set of fork point pairs. A plurality of sets of fork point pairs whose differences in the main direction angles of the branches are smaller than the difference threshold form a second set of fork point pairs.
具体实现中,如图7的叉点P和Q所示,每个叉点所对应的分支可能有多个,因此,需先确定各组叉点对中分支之间的组合关系,得到多个目标分支组合,计算各个目标分支组合下的两个分支的主方向角的差值,从第一叉点对集合中,筛选出对应的各个目标分支组合下的分支主方向角差值均小于差值阈值的多组叉点对,形成第二叉点对集合。例如,若图7中的叉点P和叉点Q组成的叉点对的目标分支组合为<b1,c1>、<b2,c2>和<b3,c3>,如下述关系式所示,则有当叉点P的分支b1的主方向角P.θ1与叉点Q的分支c1的主方向角Q.θ1的差值小于差值阈值T.θ,且叉点P的分支b2的主方向角P.θ2与叉点Q的分支c2的主方向角Q.θ2的差值小于差值阈值T.θ,且叉点P的分支b3的主方向角P.θ3与叉点Q的分支c3的主 方向角Q.θ3的差值小于差值阈值T.θ时,可将叉点P和叉点Q加入第二叉点对集合。其中,两个分支主方向角的差值取绝对值与差值阈值进行对比。In the specific implementation, as shown in the fork points P and Q in FIG. 7 , there may be multiple branches corresponding to each fork point. Therefore, it is necessary to first determine the combination relationship between the branches in each group of fork point pairs to obtain multiple The target branch combination is to calculate the difference between the main direction angles of the two branches under each target branch combination, and from the first set of fork point pairs, filter out the main direction angle differences of the corresponding target branch combinations. A plurality of sets of fork point pairs with a threshold value are formed to form a second set of fork point pairs. For example, if the target branch combination of the fork-point pair composed of the fork-point P and the fork-point Q in Fig. 7 is <b1, c1>, <b2, c2> and <b3, c3>, as shown in the following relational expression, then When the difference between the main direction angle P.θ1 of the branch b1 of the fork point P and the main direction angle Q.θ1 of the branch c1 of the fork point Q is less than the difference threshold T.θ, and the main direction of the branch b2 of the fork point P The difference between the angle P.θ2 and the main direction angle Q.θ2 of the branch c2 of the fork point Q is smaller than the difference threshold T.θ, and the main direction angle P.θ3 of the branch b3 of the fork point P and the branch c3 of the fork point Q When the difference of the main direction angle Q. θ3 of , is smaller than the difference threshold T. θ, the fork point P and the fork point Q may be added to the second fork point pair set. The absolute value of the difference between the main direction angles of the two branches is compared with the difference threshold.
|P.θ1-Q.θ1|<T.θ|P.θ1-Q.θ1|<T.θ
|P.θ2-Q.θ2|<T.θ|P.θ2-Q.θ2|<T.θ
|P.θ3-Q.θ3|<T.θ|P.θ3-Q.θ3|<T.θ
步骤S606,获取第二叉点对集合中各组叉点对中目标分支组合下的分支线性相关系数,从第二叉点对集合中筛选出线性相关系数大于相关系数阈值的多组叉点对,作为匹配的叉点对。Step S606, obtaining the branch linear correlation coefficients under the target branch combination in each group of fork point pairs in the second fork point pair set, and screening out multiple groups of fork point pairs whose linear correlation coefficients are greater than the correlation coefficient threshold from the second fork point pair set , as matched pairs of forks.
具体实现中,如图7中的叉点P和叉点Q中目标分支组合为<b1,c1>、<b2,c2>和<b3,c3>,分别计算<b1,c1>、<b2,c2>和<b3,c3>三个组合下分支的线性相关系数,当各个组合下分支的线性相关系数均大于相关系数阈值时,将叉点P和叉点Q作为匹配的叉点对,该关系式可表示为ρ i,j>T.ρ;i∈[1,n],j∈[1,m],其中,ρ i,j表示分支bi与分支bj的线性相关系数,T.ρ表示相关系数阈值。 In the specific implementation, the target branch combinations in the fork point P and the fork point Q in Figure 7 are <b1, c1>, <b2, c2> and <b3, c3>, respectively calculate <b1, c1>, <b2, The linear correlation coefficients of the branches under the three combinations c2> and <b3, c3>, when the linear correlation coefficients of the branches under each combination are greater than the threshold of the correlation coefficient, the fork point P and the fork point Q are used as the matching fork point pair, the The relational expression can be expressed as ρ i,j >T.ρ; i∈[1,n],j∈[1,m], where ρ i,j represent the linear correlation coefficient between branch bi and branch bj, T.ρ Represents the correlation coefficient threshold.
进一步地,在一个实施例中,获取第二叉点对集合中各组叉点对中目标分支组合下分支的线性相关系数,包括:将各组叉点对所对应分支的二维坐标向量转化为一维坐标向量;计算各组叉点对中目标分支组合下分支的一维坐标向量的相关系数,作为所述目标分支组合下分支的线性相关系数。Further, in one embodiment, obtaining the linear correlation coefficients of the branches under the target branch combination in each group of fork point pairs in the second fork point pair set includes: transforming the two-dimensional coordinate vectors of the branches corresponding to each group of fork point pairs is a one-dimensional coordinate vector; calculate the correlation coefficient of the one-dimensional coordinate vector of the lower branch of the target branch combination in each group of fork point pairs, as the linear correlation coefficient of the lower branch of the target branch combination.
具体地,由于各分支均有多个像素点组合构成,则得到的分支坐标为由像素点的二维坐标组成的数组,将各分支坐标由二维向量转化成一维向量,即将一个二维向量数组转化为一个一维向量数组。例如,如图7所示,若记分支b1的二维坐标向量为[(x 0,y 0),(x 1,y 1),(x 2,y 2)…(x n-1,y n-1)],将其转化为一维坐标向量可得X=(x 0,y 0,x 1,y 1,…x n-1,y n-1)。同理,可将与分支b1对应的分支c1的二维坐标向量转化为一维坐标向量Y。则目标分支组合<b1,c1>的线性相关系数便可转换为向量X和Y的线性相关系数,可通过下述关系式进行目标分支组合下分支的线性相关系数的计算。通过计算各组叉点对中目标分支组合下分支的线性相关系数,以便于根据线性相关系数对各组叉点对进行筛选。 Specifically, since each branch has a combination of multiple pixel points, the obtained branch coordinates are an array composed of two-dimensional coordinates of pixel points, and each branch coordinate is converted from a two-dimensional vector into a one-dimensional vector, that is, a two-dimensional vector The array is converted to a one-dimensional vector array. For example, as shown in Figure 7, if the two-dimensional coordinate vector of branch b1 is recorded as [(x 0 , y 0 ), (x 1 , y 1 ), (x 2 , y 2 )...(x n-1 , y n-1 )], convert it into a one-dimensional coordinate vector to obtain X=(x 0 , y 0 , x 1 , y 1 , . . . x n-1 , y n-1 ). Similarly, the two-dimensional coordinate vector of the branch c1 corresponding to the branch b1 can be converted into a one-dimensional coordinate vector Y. Then the linear correlation coefficient of the target branch combination <b1, c1> can be converted into the linear correlation coefficient of the vectors X and Y, and the linear correlation coefficient of the branch under the target branch combination can be calculated by the following relational formula. By calculating the linear correlation coefficient of the branch under the target branch combination in each group of fork point pairs, it is convenient to screen each group of fork point pairs according to the linear correlation coefficient.
Figure PCTCN2020141305-appb-000003
Figure PCTCN2020141305-appb-000003
COV(X,Y)=E(XY)-E(X)E(Y)COV(X,Y)=E(XY)-E(X)E(Y)
Figure PCTCN2020141305-appb-000004
Figure PCTCN2020141305-appb-000004
本实施例中,通过先用计算量最小的坐标偏移量进行第一次筛选,用计算量次小的各组合分支之间的 主方向角的差值进行第二次筛选,最后通过计算量最大的目标组合的分支的线性相关系数进行第三次筛选,得到多组匹配的叉点对,该方法按照计算量从小到大,逐层筛选的方法可减少各组叉点对匹配过程的计算量,提高筛选效率,从而提高待匹配的两幅指静脉图像的相似度的获取速率。In this embodiment, the first screening is performed with the coordinate offset with the smallest amount of calculation, the second screening is performed with the difference between the main direction angles between the combined branches with the smallest amount of calculation, and finally the amount of calculation is passed. The linear correlation coefficient of the branch with the largest target combination is screened for the third time, and multiple sets of matching fork-point pairs are obtained. According to the calculation amount from small to large, the method of layer-by-layer screening can reduce the calculation of the matching process of each group of fork point pairs. It can improve the screening efficiency, thereby improving the acquisition rate of the similarity between the two finger vein images to be matched.
在一个实施例中,上述步骤S604中确定各组叉点对所对应分支的组合关系,得到多个目标分支组合的步骤,具体包括:将各组叉点对所对应的各个分支进行排列组合,得到多个待匹配分支组合;若任一分支对应有至少两个待匹配分支组合,则计算该分支对应的各个待匹配分支组合下的分支主方向角的差值,将差值最小的待匹配分支组合,作为目标分支组合。In one embodiment, in the above step S604, the combination relationship of each group of fork points to the corresponding branches is determined, and the step of obtaining a combination of multiple target branches specifically includes: arranging and combining the corresponding branches of each group of fork points, Obtain a plurality of branch combinations to be matched; if any branch corresponds to at least two branch combinations to be matched, calculate the difference between the main direction angles of the branches under each branch combination to be matched corresponding to the branch, and select the branch with the smallest difference to be matched. Branch combination, as the target branch combination.
其中,每个待匹配分支组合均由一组叉点对中的第一个叉点所对应的一个分支和第二个叉点所对应的一个分支组成。Wherein, each branch combination to be matched is composed of a branch corresponding to the first fork point and a branch corresponding to the second fork point in a group of fork point pairs.
具体实现中,以图7为例,可将叉点P的所有分支和叉点Q的所有分支进行排列组合,则叉点P的每个分支均对应有多个待匹配分支组合,例如,叉点P的分支b1对应有<b1,c1>、<b1,c2>和<b1,c3>三种待匹配分支组合,计算各种待匹配分支组合下两个分支的主方向角的差值,将差值最小的分支组合作为目标分支组合。例如,若分支b1与分支c1的主方向角的差值为最小,则将<b1,c1>作为目标分支组合,表示分支b1和分支c1为最优分支组合。由此,可得到叉点P和Q对应的分支的最优分支组合方式是<b1,c1>、<b2,c2>和<b3,c3>。In the specific implementation, taking FIG. 7 as an example, all the branches of the fork point P and all the branches of the fork point Q can be arranged and combined, and each branch of the fork point P corresponds to a plurality of branch combinations to be matched. The branch b1 of point P corresponds to three branch combinations to be matched, <b1, c1>, <b1, c2> and <b1, c3>, and the difference between the main direction angles of the two branches under various branch combinations to be matched is calculated, The branch combination with the smallest difference is used as the target branch combination. For example, if the difference between the main direction angles of the branch b1 and the branch c1 is the smallest, <b1, c1> is used as the target branch combination, indicating that the branch b1 and the branch c1 are the optimal branch combination. Therefore, it can be obtained that the optimal branch combination modes of the branches corresponding to the fork points P and Q are <b1, c1>, <b2, c2> and <b3, c3>.
本实施例中,通过将各组叉点对对应的分支进行排列组合,得到多个待匹配分支组合,根据分支主方向角的差值从各个待匹配分支组合中筛选出多组目标分支组合,得到各组叉点对所对应分支之间的组合关系,以便于根据该组合关系,对各组叉点对进行筛选,得到匹配的叉点对。In this embodiment, by arranging and combining the corresponding branches of each group of fork points, a plurality of branch combinations to be matched are obtained, and multiple groups of target branch combinations are selected from each branch combination to be matched according to the difference of the main direction angles of the branches, The combination relationship between the branches corresponding to each group of fork point pairs is obtained, so that each group of fork point pairs can be screened according to the combination relationship to obtain matching fork point pairs.
在一个实施例中,上述步骤S110具体包括:将各目标叉点对的相似度相加,得到相似度之和,以及,将所有分支的分支长度相加,得到分支长度之和;计算相似度之和与分支长度之和的比值,将比值乘以2得到的结果,作为两幅指静脉图像的相似度。In one embodiment, the above step S110 specifically includes: adding the similarities of each target fork point pair to obtain the sum of the similarities, and adding the branch lengths of all branches to obtain the sum of the branch lengths; calculating the similarity The ratio of the sum to the sum of the branch lengths, and the result obtained by multiplying the ratio by 2 is used as the similarity of the two finger vein images.
本实施例中,将两幅指静脉图像中各组目标叉点对中相匹配分支的匹配长度与线性相关系数相乘得到目标叉点对的相似度,将各目标叉点对的像似度之和与所有分支的分支长度之和的比值的2倍,作为两幅指静脉图像的相似度,通过引入分支长度、分支相似度等进行指静脉图像的匹配,相比仅根据叉点或端点进行匹配,能有效地提高匹配结果的准确度。In this embodiment, the matching length of the matching branches in each group of target fork point pairs in the two finger vein images is multiplied by the linear correlation coefficient to obtain the similarity of the target fork point pair, and the similarity of each target fork point pair is calculated 2 times the ratio of the sum to the sum of the branch lengths of all branches, as the similarity of the two finger vein images, the finger vein images are matched by introducing the branch length, branch similarity, etc. Matching can effectively improve the accuracy of matching results.
在一个实施例中,在上述步骤S106之后,还包括:确定各组目标叉点对中各组匹配的分支中未匹配的叉点对,作为待匹配叉点对;识别待匹配叉点对是否匹配,以及识别待匹配叉点对所对应的各个目标分支组合下的分支是否匹配,若两者均匹配,则将待匹配叉点对加入目标叉点对所构成的集合中。In one embodiment, after the above step S106, the method further includes: determining the unmatched fork pairs in the matched branches in each group of target fork pairs as the fork pairs to be matched; identifying whether the fork pairs to be matched are not matched matching, and identifying whether the branches under each target branch combination corresponding to the pair of forks to be matched match, and if both match, the pair of forks to be matched is added to the set formed by the pair of target forks.
具体实现中,由于在进行初步叉点对匹配后,可能存在一些相匹配的叉点对但未识别出来,为进一步提高指静脉图像识别结果的准确度,因此,在筛选出多组目标叉点对之后,还可识别各组目标叉点对中各组匹配的分支中是否存在未匹配的终点,搜索未匹配的分支及未匹配的分支中是否存在未匹配的叉点对,作为待匹配叉点对,并采用上述实施例记载的叉点匹配方法和分支匹配方法判断该待匹配叉点对是否匹配,以及判断待匹配叉点对所对应的各个目标分支组合下的分支是否匹配。若两者均匹配,则将该待匹配叉点对加入目标叉点对所构成的集合中。In the specific implementation, after the preliminary fork point pair matching is performed, there may be some matching fork point pairs that have not been identified. After matching, it can also identify whether there is an unmatched end point in each group of matching branches in each group of target fork point pairs, and search for unmatched branches and unmatched branches whether there is an unmatched fork point pair, as the fork to be matched. The fork matching method and the branch matching method described in the above embodiments are used to judge whether the fork pair to be matched matches, and whether the branches under each target branch combination corresponding to the fork pair to be matched match. If both of them match, the pair of fork points to be matched is added to the set formed by the pair of target fork points.
本实施例中,通过对目标叉点对中未匹配的叉点对和未匹配的分支的扩展,并在判断未扩展的叉点对为相匹配的点对时,将其加入目标叉点对所构成的集合中,参加两幅指静脉图像相似度的计算,进一步提高了指静脉图像相似度计算结果的可信度和准确度。In this embodiment, the unmatched fork pair and the unmatched branch in the target fork pair are expanded, and when it is judged that the unexpanded fork pair is a matching point pair, it is added to the target fork pair In the formed set, the calculation of the similarity of the two finger vein images is involved, which further improves the reliability and accuracy of the calculation result of the similarity of the finger vein images.
在一个实施例中,在确定各组目标叉点对中各组匹配的分支中未匹配的叉点对,作为待匹配叉点对之后,还包括:将待匹配叉点对加入待匹配叉点对集合,识别待匹配叉点对集合中各个待匹配叉点对是否匹配;如图8所示,为扩展待匹配叉点对的流程示意图,在识别到存在未匹配的叉点对时,便将未匹配的叉点对加入待匹配叉点对集合中。在对待匹配叉点对集合中各组未匹配的叉点对进行匹配时,先判断该待匹配叉点对集合是否为空,即判断待匹配叉点对是否大于0,当待匹配叉点对大于0时,逐一对待匹配叉点对集合中各组未匹配的叉点对进行判断,判断是否匹配,直至遍历结束。In one embodiment, after determining the unmatched fork pairs in the matched branches in each group of target fork pairs as the fork pairs to be matched, the method further includes: adding the fork pairs to be matched to the fork points to be matched For the set, identify whether each fork pair to be matched matches in the set of fork pairs to be matched; as shown in FIG. Add unmatched fork pairs to the set of fork pairs to be matched. When matching each group of unmatched fork pairs in the set of fork pairs to be matched, first determine whether the set of fork pairs to be matched is empty, that is, to determine whether the fork pairs to be matched are greater than 0, and when the fork pairs to be matched are matched When it is greater than 0, the unmatched fork pairs in each group in the set are judged one by one to be matched, until the traversal ends.
在一个实施例中,如图9所示,所述确定各组目标叉点对中各组匹配的分支中未匹配的叉点对,作为待匹配叉点对,具体包括:In one embodiment, as shown in FIG. 9 , the determining of the unmatched fork pairs in the matched branches in each group of target fork pairs, as the fork pairs to be matched, specifically includes:
步骤S902,当目标叉点对所构成的集合中各组匹配的分支中存在未匹配的分支终点时,计算未匹配的分支终点所对应的两个匹配分支的分支长度差;Step S902, when there is an unmatched branch end point in each group of matched branches in the set formed by the target fork point pair, calculate the branch length difference of the two matching branches corresponding to the unmatched branch end point;
步骤S904,若分支长度差不大于长度差阈值,则将未匹配的两个分支终点,作为待匹配叉点对;Step S904, if the branch length difference is not greater than the length difference threshold, the end points of the two unmatched branches are used as the pair of forks to be matched;
步骤S906,若分支长度差大于长度差阈值,则在未匹配的分支终点所对应的匹配分支中较长的分支上增加伪叉点,将较短的分支的终点和伪叉点作为待匹配叉点对。Step S906, if the branch length difference is greater than the length difference threshold, a pseudo-fork point is added to the longer branch in the matching branch corresponding to the end point of the unmatched branch, and the end point and the pseudo-fork point of the shorter branch are used as the fork to be matched. Right.
具体实现中,以图10所示的扩展待匹配点对的示意图为例,对该实施例进行说明,图中的叉点P1和Q1为已匹配的基准点对,即目标叉点对,<b1,c1>、<b2,c2>和<b3,c3>为三组匹配的分支。可看出P1 和Q1组成的目标叉点对中匹配的分支<b1,c1>和<b3,c3>中存在未匹配的分支终点。则计算未匹配的分支终点所对应的两个匹配分支b1和c1的分支长度差,以及匹配分支b3和c3的分支长度差。由于图10所示的b1和c1的分支长度差小于长度差阈值,则可将b1和c1中未匹配的两个终点P2和Q2,作为待匹配叉点对,加入待匹配叉点对集合中。而b3和c3的分支长度差大于长度差阈值,则在较长的分支c3中增加伪叉点Q3,将较短的分支b3的终点P3和伪叉点Q3,作为待匹配叉点对,加入待匹配叉点对集合中。In the specific implementation, taking the schematic diagram of the extended point pair to be matched as shown in FIG. 10 as an example, this embodiment will be described. The cross points P1 and Q1 in the figure are the matched reference point pairs, that is, the target cross point pair, < b1, c1>, <b2, c2> and <b3, c3> are three sets of matching branches. It can be seen that there are unmatched branch end points in the matched branches <b1,c1> and <b3,c3> in the target fork point pair composed of P1 and Q1. Then calculate the branch length difference between the two matching branches b1 and c1 corresponding to the unmatched branch end points, and the branch length difference between the matching branches b3 and c3. Since the branch length difference between b1 and c1 shown in FIG. 10 is less than the length difference threshold, the two unmatched end points P2 and Q2 in b1 and c1 can be used as the pair of fork points to be matched and added to the set of fork point pairs to be matched. . And the branch length difference between b3 and c3 is greater than the length difference threshold, then a pseudo-fork point Q3 is added to the longer branch c3, and the end point P3 and the pseudo-fork point Q3 of the shorter branch b3 are used as the pair of fork points to be matched. In the set of fork pairs to be matched.
本实施例中,在目标叉点对对应的各组匹配的分支中存在未匹配的分支终点时,通过计算两个匹配分支的分支长度差,根据分支长度差与长度差阈值的对比,在分支长度差大于长度差阈值时,通过增加伪叉点实现待匹配点对的扩展,避免了直接将两个匹配分支的终点作为待匹配点对,由于两个终点坐标相差较远,得到的结果为两个终点不匹配,浪费计算资源和时间,也错过了一对可能匹配的叉点对,由此影响两幅指静脉图像匹配结果的准确性。In this embodiment, when there is an unmatched branch end point in each group of matched branches corresponding to the target fork point pair, by calculating the branch length difference of the two matching branches, according to the comparison between the branch length difference and the length difference threshold, in the branch When the length difference is greater than the length difference threshold, the extension of the pair of points to be matched is realized by adding a pseudo cross point, which avoids directly using the end points of the two matching branches as the pair of points to be matched. Since the coordinates of the two end points are far apart, the result obtained is: The two end points do not match, which wastes computing resources and time, and also misses a pair of possible matching fork points, thus affecting the accuracy of the matching results of the two finger vein images.
应该理解的是,虽然图1、图6和图9的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1、图6和图9中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 1 , 6 and 9 are sequentially displayed in accordance with the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 1 , FIG. 6 and FIG. 9 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The order of execution of the sub-steps or phases is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or phases of the other steps.
在一个实施例中,如图11所示,提供了一种指静脉身份识别装置,包括:特征获取模块1102、特征匹配模块1104、叉点对筛选模块1106、长度获取模块1108和相似度确定模块1110,其中:In one embodiment, as shown in FIG. 11 , a finger vein identification device is provided, including: a feature acquisition module 1102 , a feature matching module 1104 , a cross-point pair screening module 1106 , a length acquisition module 1108 and a similarity determination module 1110, where:
特征获取模块1102,用于获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息;A feature acquisition module 1102, configured to acquire branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
特征匹配模块1104,用于将两幅静脉骨架图的分支信息和叉点信息分别进行匹配,得到多组匹配的叉点对;The feature matching module 1104 is used to respectively match the branch information and fork point information of the two vein skeleton maps to obtain a plurality of matched pairs of fork points;
叉点对筛选模块1106,用于获取各组匹配的叉点对的坐标偏移量,根据坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对;Fork point pair screening module 1106, used to obtain the coordinate offsets of each group of matched fork point pairs, and filter out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offsets;
长度获取模块1108,用于获取各目标叉点对的相似度,以及,获取各静脉骨架图中所有分支的分支长度;目标叉点对的相似度为目标叉点对中各组匹配的分支的相似度之和;The length obtaining module 1108 is used to obtain the similarity of each target fork point pair, and to obtain the branch lengths of all branches in each vein skeleton diagram; the sum of similarity;
相似度确定模块1110,用于根据各目标叉点对的相似度和所有分支的分支长度,得到两幅指静脉图像的相似度,根据相似度进行身份识别。The similarity determination module 1110 is configured to obtain the similarity of the two finger vein images according to the similarity of each target fork point pair and the branch lengths of all branches, and perform identity recognition according to the similarity.
在一个实施例中,上述特征匹配模块1104,具体用于获取两幅静脉骨架图中各组叉点对的坐标偏移量,从各组叉点对中筛选出坐标偏移量小于偏移量阈值的多组叉点对,形成第一叉点对集合;获取第一叉点对集合中各组叉点对所对应分支的主方向角,并确定各组叉点对所对应分支之间的组合关系,得到多个目标分支组合;其中,任一分支的主方向角为该分支中各个像素点的方向角的均值;计算各个目标分支组合下的分支主方向角的差值,从第一叉点对集合中,筛选出目标分支组合下的分支主方向角的差值小于差值阈值的多组叉点对,形成第二叉点对集合;获取第二叉点对集合中各组叉点对中目标分支组合下的分支线性相关系数,从第二叉点对集合中筛选出线性相关系数大于相关系数阈值的多组叉点对,作为匹配的叉点对。In one embodiment, the above-mentioned feature matching module 1104 is specifically configured to obtain the coordinate offset of each group of fork point pairs in the two vein skeleton maps, and filter out the coordinate offset from each group of fork point pairs that is less than the offset The multiple sets of fork point pairs of the threshold value form the first set of fork point pairs; the main direction angles of the branches corresponding to each group of fork point pairs in the first set of fork point pairs are obtained, and the distance between the corresponding branches of each group of fork point pairs is determined. Combination relationship, to obtain a plurality of target branch combinations; wherein, the main direction angle of any branch is the average value of the direction angles of each pixel in the branch; calculate the difference of the main direction angles of the branches under each target branch combination, from the first From the set of fork point pairs, filter out a plurality of sets of fork point pairs whose main direction angles of the branches under the target branch combination are less than the difference threshold to form a second set of fork point pairs; obtain each group of forks in the second set of fork point pairs For the branch linear correlation coefficient under the target branch combination in the point pair, multiple sets of fork point pairs whose linear correlation coefficient is greater than the correlation coefficient threshold are selected from the second fork point pair set as matching fork point pairs.
在一个实施例中,上述特征匹配模块1104,还用于将各组叉点对所对应的各个分支进行排列组合,得到多个待匹配分支组合;若任一分支对应有至少两个待匹配分支组合,则计算该分支对应的各个待匹配分支组合下的分支主方向角的差值,将差值最小的待匹配分支组合作为目标分支组合。In one embodiment, the above-mentioned feature matching module 1104 is further configured to arrange and combine the corresponding branches of each group of fork points to obtain a plurality of branch combinations to be matched; if any branch corresponds to at least two branches to be matched combination, then calculate the difference between the main direction angles of the branches under each branch combination to be matched corresponding to the branch, and use the branch combination to be matched with the smallest difference as the target branch combination.
在一个实施例中,上述特征匹配模块1104,还用于将各组叉点对所对应分支的二维坐标向量转化为一维坐标向量;计算各组叉点对中目标分支组合下分支的一维坐标向量的相关系数,作为目标分支组合下分支的线性相关系数。In one embodiment, the above-mentioned feature matching module 1104 is further configured to convert the two-dimensional coordinate vector of the branch corresponding to each group of fork point pairs into a one-dimensional coordinate vector; The correlation coefficient of the dimensional coordinate vector is used as the linear correlation coefficient of the branch under the target branch combination.
在一个实施例中,上述叉点对筛选模块1106,具体用于根据坐标偏移量,将各组匹配的叉点对划分为多个叉点对集合;获取各组匹配的叉点对的相似度,计算各个叉点对集合中的叉点对的相似度之和,得到各个叉点对集合的相似度累加和;将相似度累加和最大的叉点对集合中所包括的各组匹配的叉点对,作为目标叉点对。In one embodiment, the above-mentioned cross-point pair screening module 1106 is specifically configured to divide each group of matched cross-point pairs into multiple cross-point pair sets according to the coordinate offset; obtain the similarity of each group of matched fork-point pairs Calculate the sum of the similarities of the fork pairs in each fork pair set, and obtain the cumulative sum of the similarity of each fork pair set; add the sum of the similarities to the maximum fork point pair set that matches each group included in the set. Fork point pair, as the target fork point pair.
在一个实施例中,上述相似度确定模块1110,具体用于将各目标叉点对的相似度相加,得到相似度之和,以及,将所有分支的分支长度相加,得到分支长度之和;计算相似度之和与分支长度之和的比值,将比值乘以2得到的数值,作为两幅指静脉图像的相似度。In one embodiment, the above-mentioned similarity determination module 1110 is specifically configured to add the similarities of each target fork point pair to obtain the sum of the similarities, and to add the branch lengths of all branches to obtain the sum of the branch lengths ; Calculate the ratio between the sum of the similarity and the sum of the branch lengths, multiply the ratio by 2, and use it as the similarity between the two finger vein images.
在一个实施例中,上述装置还包括:In one embodiment, the above-mentioned apparatus further comprises:
叉点对识别模块,用于确定各组目标叉点对中各组匹配的分支中未匹配的叉点对,作为待匹配叉点对;A fork-point pair identification module, used for determining unmatched fork-point pairs in each group of matched branches in each group of target fork-point pairs, as fork-point pairs to be matched;
识别待匹配叉点对是否匹配,以及识别待匹配叉点对所对应的各个目标分支组合下的分支是否匹配,若两者均匹配,则将待匹配叉点对加入目标叉点对所构成的集合中。Identify whether the fork point pair to be matched matches, and identify whether the branches under each target branch combination corresponding to the fork point pair to be matched match, if both match, add the fork point pair to be matched to the target fork point pair. in the collection.
在一个实施例中,上述叉点对识别模块,具体用于当目标叉点对所构成的集合中各组匹配的分支中存在未匹配的分支终点时,计算未匹配的分支终点所对应的两个分支的分支长度差;若分支长度差不大于长度差阈值,则将未匹配的两个分支终点,作为待匹配叉点对;若分支长度差大于长度差阈值,则在未匹配的分支终点所对应的较长的分支上增加伪叉点,将较短的分支的终点和伪叉点作为待匹配叉点对。In one embodiment, the above-mentioned fork-point pair identification module is specifically configured to calculate two pairs of unmatched branch endpoints when there are unmatched branch endpoints in each group of matched branches in the set formed by the target fork-point pair. The branch length difference of each branch; if the branch length difference is not greater than the length difference threshold, the end points of the two unmatched branches are used as the pair of fork points to be matched; if the branch length difference is greater than the length difference threshold, the unmatched branch end point A pseudo fork point is added to the corresponding longer branch, and the end point and the pseudo fork point of the shorter branch are used as the pair of fork points to be matched.
需要说明的是,本申请的指静脉身份识别装置与本申请的指静脉身份识别方法一一对应,在上述指静脉身份识别方法的实施例阐述的技术特征及其有益效果均适用于指静脉身份识别装置的实施例中,具体内容可参见本申请方法实施例中的叙述,此处不再赘述,特此声明。It should be noted that the finger vein identification device of the present application corresponds to the finger vein identification method of the present application, and the technical features and beneficial effects described in the embodiments of the above finger vein identification method are all applicable to finger vein identification. In the embodiment of the identification device, reference may be made to the description in the method embodiment of the present application for the specific content, which will not be repeated here, but is hereby declared.
此外,上述指静脉身份识别装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。In addition, each module in the above finger vein identification device can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图12所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种指静脉身份识别方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 12 . The computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. The computer program implements a finger vein identification method when executed by the processor. The display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图12中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 12 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, a computer device is also provided, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the foregoing method embodiments when the processor executes the computer program.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing method embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、 存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be noted that, for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (11)

  1. 一种指静脉身份识别方法,其特征在于,所述方法包括:A finger vein identification method, characterized in that the method comprises:
    获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息;Obtain the branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
    分别将两幅静脉骨架图的分支信息和叉点信息进行匹配,得到多组匹配的叉点对;Match the branch information and fork point information of the two vein skeleton maps respectively to obtain multiple matched pairs of fork points;
    获取各组匹配的叉点对的坐标偏移量,根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对;Obtain the coordinate offsets of each group of matched fork point pairs, and filter out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offsets;
    获取各所述目标叉点对的相似度,以及,获取各所述静脉骨架图中所有分支的分支长度;所述目标叉点对的相似度为所述目标叉点对中各组匹配的分支的相似度之和;Obtain the similarity of each target fork point pair, and obtain the branch lengths of all branches in each of the vein skeleton diagrams; the similarity of the target fork point pair is the matched branch of each group in the target fork point pair The sum of the similarity;
    根据各所述目标叉点对的相似度和各所述静脉骨架图中所有分支的分支长度,得到所述两幅指静脉图像的相似度,根据所述相似度进行身份识别。According to the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images, the similarity of the two finger vein images is obtained, and the identity is identified according to the similarity.
  2. 根据权利要求1所述的方法,其特征在于,所述分别将两幅静脉骨架图的分支信息和叉点信息进行匹配,得到多组匹配的叉点对,包括:The method according to claim 1, wherein the branch information and the fork point information of the two vein skeleton diagrams are respectively matched to obtain a plurality of matched pairs of fork points, including:
    获取两幅静脉骨架图中各组叉点对的坐标偏移量,从各组叉点对中筛选出所述坐标偏移量小于偏移量阈值的多组叉点对,形成第一叉点对集合;Obtain the coordinate offsets of each group of fork point pairs in the two vein skeleton maps, and select multiple groups of fork point pairs whose coordinate offsets are less than the offset threshold from each group of fork point pairs to form the first fork point. pair collection;
    获取所述第一叉点对集合中各组叉点对所对应分支的主方向角,并确定各组叉点对所对应分支之间的组合关系,得到多个目标分支组合;其中,任一分支的主方向角为该分支中各个像素点的方向角的均值;Acquire the main direction angles of the branches corresponding to each group of fork point pairs in the first fork point pair set, and determine the combination relationship between the branches corresponding to each group of fork point pairs to obtain a plurality of target branch combinations; The main direction angle of a branch is the mean value of the direction angles of each pixel in the branch;
    计算各个目标分支组合下的分支主方向角的差值,从所述第一叉点对集合中,筛选出所述目标分支组合下的分支主方向角的差值小于差值阈值的多组叉点对,形成第二叉点对集合;Calculate the difference of the main direction angles of the branches under each target branch combination, and from the first set of fork point pairs, filter out multiple groups of forks whose differences in the main direction angles of the branches under the target branch combination are less than the difference threshold point pairs to form a second set of fork point pairs;
    获取所述第二叉点对集合中各组叉点对中目标分支组合下的分支线性相关系数,从所述第二叉点对集合中筛选出所述线性相关系数大于相关系数阈值的多组叉点对,作为所述匹配的叉点对。Obtain the branch linear correlation coefficients under the target branch combination in each group of fork point pairs in the second fork point pair set, and filter out multiple groups whose linear correlation coefficients are greater than the correlation coefficient threshold from the second fork point pair set A pair of forks, as the matched pair of forks.
  3. 根据权利要求2所述的方法,其特征在于,所述确定各组叉点对所对应分支之间的组合关系,得到多个目标分支组合,包括:The method according to claim 2, wherein the determining the combination relationship between the corresponding branches of each group of fork point pairs to obtain a plurality of target branch combinations, comprising:
    将各组叉点对所对应的各个分支进行排列组合,得到多个待匹配分支组合;Arrange and combine the corresponding branches of each group of fork points to obtain a plurality of branch combinations to be matched;
    若任一分支对应有至少两个待匹配分支组合,则计算该分支对应的各个待匹配分支组合下的分支主方向角的差值,将差值最小的待匹配分支组合作为目标分支组合。If any branch corresponds to at least two to-be-matched branch combinations, the difference between the branch main direction angles under each to-be-matched branch combination corresponding to the branch is calculated, and the to-be-matched branch combination with the smallest difference is used as the target branch combination.
  4. 根据权利要求2所述的方法,其特征在于,所述获取所述第二叉点对集合中各组叉点对中目标分支组合下分支的线性相关系数,包括:The method according to claim 2, wherein the acquiring the linear correlation coefficients of the lower branches of the target branch combination in each group of fork point pairs in the second fork point pair set comprises:
    将各组叉点对所对应分支的二维坐标向量转化为一维坐标向量;Convert the two-dimensional coordinate vector of the branch corresponding to each group of fork pairs into a one-dimensional coordinate vector;
    计算各组叉点对中目标分支组合下分支的一维坐标向量的相关系数,作为所述目标分支组合下分支的线性相关系数。The correlation coefficient of the one-dimensional coordinate vector of the lower branch of the target branch combination in each group of fork point pairs is calculated as the linear correlation coefficient of the lower branch of the target branch combination.
  5. 根据权利要求1所述的方法,其特征在于,所述获取各组匹配的叉点对的坐标偏移量,根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对,包括:The method according to claim 1, wherein the acquiring coordinate offsets of each group of matched fork point pairs, and filtering out multiple groups of targets from each group of matched fork point pairs according to the coordinate offsets Fork pairs, including:
    根据所述坐标偏移量,将各组匹配的叉点对划分为多个叉点对集合;According to the coordinate offset, each group of matched fork-point pairs is divided into a plurality of fork-point pair sets;
    获取各组匹配的叉点对的相似度,计算各个叉点对集合中的叉点对的相似度之和,得到各个叉点对集合的相似度累加和;Obtain the similarity of each group of matched fork-point pairs, calculate the sum of the similarities of the fork-point pairs in each fork-point pair set, and obtain the cumulative sum of the similarity of each fork-point pair set;
    将相似度累加和最大的叉点对集合中所包括的各组匹配的叉点对,作为目标叉点对。Each group of matched fork-point pairs included in the fork-point pair set with the maximum similarity sum is taken as the target fork-point pair.
  6. 根据权利要求1所述的方法,其特征在于,所述根据各所述目标叉点对的相似度和各所述静脉骨架图中所有分支的分支长度,得到所述两幅指静脉图像的相似度,包括:The method according to claim 1, wherein the similarity of the two finger vein images is obtained according to the similarity of each target fork point pair and the branch lengths of all branches in each of the vein skeleton images degrees, including:
    将各所述目标叉点对的相似度相加,得到相似度之和,以及,将所有分支的分支长度相加,得到分支长度之和;The similarity of each of the target fork pairs is added to obtain the sum of the similarity, and the branch lengths of all branches are added to obtain the sum of the branch lengths;
    计算所述相似度之和与所述分支长度之和的比值,将所述比值乘以2得到的数值,作为两幅指静脉图像的相似度。Calculate the ratio between the sum of the similarity and the sum of the branch lengths, and multiply the ratio by 2 to obtain a value as the similarity of the two finger vein images.
  7. 根据权利要求1所述的方法,其特征在于,在根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对之后,还包括:The method according to claim 1, wherein after filtering out multiple groups of target fork point pairs from each group of matched fork point pairs according to the coordinate offset, the method further comprises:
    确定各组目标叉点对中各组匹配的分支中未匹配的叉点对,作为待匹配叉点对;Determine the unmatched fork pairs in the matched branches in each group of target fork pairs as the fork pairs to be matched;
    识别所述待匹配叉点对是否匹配,以及识别所述待匹配叉点对所对应的各个目标分支组合下的分支是否匹配,若两者均匹配,则将所述待匹配叉点对加入所述目标叉点对所构成的集合中。Identifying whether the pair of fork points to be matched matches, and identifying whether the branches under each target branch combination corresponding to the pair of fork points to be matched match, if both match, adding the pair of fork points to be matched in the set formed by the target fork pair.
  8. 根据权利要求7所述的方法,其特征在于,所述确定各组目标叉点对中未匹配的分支,并获取所述未匹配的分支中未匹配的叉点对,作为待匹配叉点对,包括:The method according to claim 7, wherein the determining unmatched branches in each group of target fork point pairs, and acquiring unmatched fork point pairs in the unmatched branches as fork point pairs to be matched ,include:
    当所述目标叉点对所构成的集合中各组匹配的分支中存在未匹配的分支终点时,计算所述未匹配的分支终点所对应的两个分支的分支长度差;When there is an unmatched branch end point in each group of matched branches in the set formed by the target fork point pair, calculate the branch length difference between the two branches corresponding to the unmatched branch end point;
    若所述分支长度差不大于长度差阈值,则将未匹配的两个分支终点,作为待匹配叉点对;If the branch length difference is not greater than the length difference threshold, the two unmatched branch end points are used as the pair of fork points to be matched;
    若所述分支长度差大于所述长度差阈值,则在所述未匹配的分支终点所对应的较长的分支上增加伪叉点,将较短的分支的终点和所述伪叉点作为待匹配叉点对。If the branch length difference is greater than the length difference threshold, a pseudo fork point is added to the longer branch corresponding to the end point of the unmatched branch, and the end point of the shorter branch and the pseudo fork point are used as the waiting point. Match fork pairs.
  9. 一种指静脉身份识别装置,其特征在于,所述装置包括:A finger vein identification device, characterized in that the device comprises:
    特征获取模块,用于获取待匹配的两幅指静脉图像对应的静脉骨架图中的分支信息和叉点信息;a feature acquisition module, used for acquiring branch information and fork point information in the vein skeleton map corresponding to the two finger vein images to be matched;
    特征匹配模块,用于将两幅静脉骨架图的分支信息和叉点信息分别进行匹配,得到多组匹配的叉点对;The feature matching module is used to match the branch information and fork point information of the two vein skeleton maps respectively to obtain multiple sets of matched fork point pairs;
    叉点对筛选模块,用于获取各组匹配的叉点对的坐标偏移量,根据所述坐标偏移量从各组匹配的叉点对中筛选出多组目标叉点对;A cross-point pair screening module, used to obtain the coordinate offsets of the matched cross-point pairs of each group, and screen out multiple groups of target cross-point pairs from the matched cross-point pairs according to the coordinate offsets;
    长度获取模块,用于获取各所述目标叉点对的相似度,以及,获取各所述静脉骨架图中所有分支的分支长度;所述目标叉点对的相似度为所述目标叉点对中各组匹配的分支的相似度之和;a length obtaining module, used to obtain the similarity of each target fork point pair, and obtain the branch lengths of all branches in each of the vein skeleton diagrams; the similarity of the target fork point pair is the target fork point pair The sum of the similarity of the matched branches in each group;
    相似度确定模块,用于根据各所述目标叉点对的相似度和所述所有分支的分支长度,得到所述两幅指静脉图像的相似度,根据所述相似度进行身份识别。The similarity determination module is configured to obtain the similarity of the two finger vein images according to the similarity of each target fork point pair and the branch lengths of all the branches, and perform identity recognition according to the similarity.
  10. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至8中任一项所述方法的步骤。A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, when the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
  11. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至8中任一项所述的方法的步骤。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
PCT/CN2020/141305 2020-11-24 2020-12-30 Finger vein-based identity identification method and apparatus, computer device, and storage medium WO2022110492A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011330289.5 2020-11-24
CN202011330289.5A CN112508064A (en) 2020-11-24 2020-11-24 Finger vein identity recognition method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022110492A1 true WO2022110492A1 (en) 2022-06-02

Family

ID=74958278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141305 WO2022110492A1 (en) 2020-11-24 2020-12-30 Finger vein-based identity identification method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN112508064A (en)
WO (1) WO2022110492A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116152529B (en) * 2023-04-20 2023-07-07 吉林省信息技术研究所 Authority identification system for guaranteeing information security

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1439997A (en) * 2002-02-22 2003-09-03 杭州中正生物认证技术有限公司 Fingerprint identifying method and system
CN103902980A (en) * 2014-04-02 2014-07-02 中国民航大学 Extracting and matching method for finger vein network characteristics
CN105608687A (en) * 2014-10-31 2016-05-25 株式会社东芝 Medical image processing method and medical image processing device
CN108573137A (en) * 2017-03-14 2018-09-25 三星电子株式会社 Fingerprint authentication method and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100590644C (en) * 2008-06-27 2010-02-17 哈尔滨工业大学 Fingerprint identification method combining point with line
JP2011203822A (en) * 2010-03-24 2011-10-13 Sony Corp Biometrics device, biometrics method and program
JP5377580B2 (en) * 2011-06-23 2013-12-25 株式会社 テクスピアー Authentication device for back of hand and authentication method for back of hand
CN102609697B (en) * 2012-04-14 2013-04-17 中国人民解放军国防科学技术大学 Vine model creating method for finger vein tridimensional characteristic identification
CN107341431B (en) * 2016-04-29 2021-04-06 南京航空航天大学 Extraction and matching method for arm vein line features

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1439997A (en) * 2002-02-22 2003-09-03 杭州中正生物认证技术有限公司 Fingerprint identifying method and system
CN103902980A (en) * 2014-04-02 2014-07-02 中国民航大学 Extracting and matching method for finger vein network characteristics
CN105608687A (en) * 2014-10-31 2016-05-25 株式会社东芝 Medical image processing method and medical image processing device
CN108573137A (en) * 2017-03-14 2018-09-25 三星电子株式会社 Fingerprint authentication method and equipment

Also Published As

Publication number Publication date
CN112508064A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US9665789B2 (en) Device and method for analyzing the correlation between an image and another image or between an image and a video
JP5282658B2 (en) Image learning, automatic annotation, search method and apparatus
CN105354841B (en) A kind of rapid remote sensing image matching method and system
CN109145904A (en) A kind of character identifying method and device
CN111160288A (en) Gesture key point detection method and device, computer equipment and storage medium
CN105551022B (en) A kind of image error matching inspection method based on shape Interactive matrix
US20200005078A1 (en) Content aware forensic detection of image manipulations
CN111009001A (en) Image registration method, device, equipment and storage medium
Zheng et al. Accelerated RANSAC for accurate image registration in aerial video surveillance
CN111209909B (en) Construction method, device, equipment and storage medium for qualification recognition template
WO2022110492A1 (en) Finger vein-based identity identification method and apparatus, computer device, and storage medium
CN108961164A (en) Image registration joining method and device and computer equipment based on geometrical invariants
CN110738222A (en) Image matching method and device, computer equipment and storage medium
CN112765362B (en) Knowledge-graph entity alignment method based on improved self-encoder and related equipment
CN114443880A (en) Picture examination method and picture examination system for large sample picture of fabricated building
CN110472085B (en) Three-dimensional image searching method, system, computer device and storage medium
CN107452003A (en) A kind of method and device of the image segmentation containing depth information
CN111461196A (en) Method and device for identifying and tracking fast robust image based on structural features
CN116091998A (en) Image processing method, device, computer equipment and storage medium
CN113298871B (en) Map generation method, positioning method, system thereof, and computer-readable storage medium
CN109829502B (en) Image pair efficient dense matching method facing repeated textures and non-rigid deformation
Guo et al. Image registration method based on improved SIFT algorithm and essential matrix estimation
CN113077410A (en) Image detection method, device and method, chip and computer readable storage medium
Ma et al. Improving KAZE feature matching algorithm with alternative image gray method
CN116402842B (en) Edge defect detection method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20963380

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20963380

Country of ref document: EP

Kind code of ref document: A1