A palm vein image quality assessment method
By detecting the target frame of the palm vein image and the geometric features of the key points of the palm, filtering abnormal misdetections and scoring the image quality, it solves the problem of low-quality images caused by wide-angle camera interference and improves the accuracy and speed of palm vein recognition.
Patent Information
- Application Number
- CN202311385206.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-25
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-10-25
AI Technical Summary
In existing palm vein recognition technology, background interference and image distortion caused by wide-angle cameras, as well as changes in palm position, direction, and collection distance, lead to low-quality images and reduce recognition accuracy and speed.
By obtaining the target frame and key points of the palm of the palm vein image, geometric feature detection is used to filter abnormal misdetection images, and multi-dimensional scoring is performed on the target frame and ROI area. The comprehensive scoring results are obtained by fusion and weighting to improve image quality and recognition accuracy.
It effectively resists the interference of wide-angle cameras, improves the quality of palm vein images, improves the accuracy and speed of recognition and authentication, and reduces the amount of algorithm calculations.
Smart Images

Figure CN117115624B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of palm vein recognition technology, and more specifically, to a palm vein image quality assessment method. Background Art
[0002] Palm vein recognition technology uses the difference in the absorption rate of near-infrared light between deoxyhemoglobin in the vein and other physiological tissues, and adopts near-infrared reflection imaging to obtain the palm vein image information, digitize the vein characteristics, and use this as the basis for identity information recognition and authentication. This technology is highly anti-counterfeiting, highly accurate, stable and easy to use. It can achieve completely non-contact and non-limited living feature recognition and can be used in access control, airports, financial transactions, immigration bureaus, government departments, e-commerce and other occasions.
[0003] The existing palm vein recognition technology mainly consists of palm vein image acquisition, palm vein preprocessing, palm vein feature extraction, palm vein matching and recognition. At present, palm vein images can be collected and recognized by contact or non-contact methods. When the near-infrared camera is a wide-angle camera, the wide-angle camera can obtain a wide field of view, with much background interference, and the acquired image has certain distortion; in the process of non-contact palm vein image acquisition, the palm position, direction and finger opening angle of each acquisition will be different, so that the images collected from the same palm at different times will have different degrees of rotation and offset, and are prone to tilt, causing texture deformation. In addition, due to the difference in the size of human palms and the different acquisition distances, the size of the palm area image collected is also different, and it is easily affected by various factors such as device resolution and lighting, resulting in low-quality images with a lot of noise.
[0004] These low-quality palm vein images reduce the accuracy and speed of palm vein recognition and authentication. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a palm vein image quality assessment method to solve the technical problems of insufficient accuracy and speed in the palm vein recognition and authentication process in the prior art.
[0006] To achieve the above purpose, the technical solution adopted in this application is: to provide a palm vein image quality assessment method, comprising the steps of:
[0007] Obtain the palm vein target frame and palm key points of the palm vein image;
[0008] Filter out abnormal and misdetected palm vein images based on the palm vein target frame and the geometric features of the palm key points;
[0009] Score the palm vein target frame and the palm vein ROI area corresponding to the palm vein target frame respectively;
[0010] The comprehensive scoring results of palm vein images are obtained by fusion weighting.
[0011] Preferably, the palm key points include P1, P2, P3 and P4, wherein P1 is the finger base point between the thumb and index finger, P2 is the finger base point between the middle finger and index finger, P3 is the finger base point between the middle finger and ring finger, and P4 is the finger base point between the little finger and ring finger.
[0012] Preferably, the method for filtering abnormal misdetected palm vein images based on the palm vein target frame and the geometric features of the palm key points comprises the steps of:
[0013] With P2 as the fulcrum, connect P1 and P2, P2 and P4, P1 and P4 to form △P1P2P4;
[0014] Find the angle ∠P1P2P4;
[0015] If the angle of ∠P1P2P4 is outside the first threshold range, the current palm vein target frame and palm key points are deleted.
[0016] Preferably, the method for filtering abnormal misdetected palm vein images based on the palm vein target frame and the geometric features of the palm key points comprises the steps of:
[0017] With P2 as the fulcrum, connect P1 and P2, P2 and P4, P1 and P4 to form △P1P2P4;
[0018] Calculate the ratio P of the area S1 of △P1P2P4 to the area S2 of the palm vein target frame;
[0019] If the ratio P is outside the second threshold range, the current palm vein target frame and palm key points are deleted.
[0020] Preferably, the method for filtering abnormal misdetected palm vein images based on the palm vein target frame and the geometric features of the palm key points comprises the steps of:
[0021] Check whether P1, P2, P3, and P4 are within the palm vein target frame;
[0022] If any point of P1, P2, P3, or P4 is outside the palm vein target frame, the current palm vein target frame and palm key points are deleted.
[0023] Preferably, the method for scoring the palm vein target frame comprises the steps of:
[0024] Calculate the size ratio of the palm vein ROI area in the palm vein image;
[0025] The score is calculated based on the size ratio of the palm vein ROI area in the palm vein image.
[0026] Preferably, the method for scoring the palm vein target frame comprises the steps of:
[0027] Calculate the aspect ratio of the palm vein target box;
[0028] The palm vein target box is scored based on its aspect ratio.
[0029] Preferably, the method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of:
[0030] Collect normal palm vein image datasets and tilted palm vein image datasets;
[0031] Given that the label of the normal palm vein image dataset is 1, and the label of the tilted palm vein image dataset is 0;
[0032] Establish a palm tilt binary classification model based on deep convolutional neural network;
[0033] The normal palm vein image dataset and the tilted palm vein image dataset are input into the palm tilt binary classification model for training;
[0034] The palm vein ROI area corresponding to the palm vein target frame is input into the trained palm tilt binary classification model;
[0035] After the palm tilt classification model outputs the classification result, it uses the softmax function to normalize it to between (0, 1) and outputs the palm tilt evaluation score.
[0036] Preferably, the method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of:
[0037] The palm vein target frame is reduced in proportion to obtain the palm vein ROI center area within the palm vein ROI area;
[0038] The Lab color space was used to calculate the brightness of the central area of the palm vein ROI and score it.
[0039] Preferably, the method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of:
[0040] The clarity of the palm vein ROI area was evaluated by calculating the image Brenner gradient;
[0041] The score was calculated based on the clarity of the palm vein ROI area.
[0042] Preferably, the method for obtaining a comprehensive scoring result of a palm vein image by fusion weighting comprises the steps of:
[0043] The palm tilt evaluation score score1, the size ratio score of the palm vein ROI area in the palm vein image score2, the aspect ratio score of the palm vein target box score3, the brightness score of the palm vein ROI center area score4, and the clarity score of the palm vein ROI area score5 are fused and weighted.
[0044] The beneficial effect of the palm vein image quality assessment method provided by the present application is that, compared with the prior art, the palm vein image with abnormal misdetection is directly filtered out from a macro level based on the geometric feature detection of the palm vein target frame and the palm key points, and then the palm vein target frame and the palm vein ROI area corresponding to the palm vein target frame are scored respectively, and the palm vein image quality is evaluated from multiple dimensions at a micro level, so as to solve the interference factors caused by the wide-angle camera in the palm vein acquisition process, and effectively improve the registration quality of the palm vein image, and the accuracy and speed of recognition and authentication. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0046] Figure 1 A schematic diagram of a flow chart of a palm vein image quality assessment method provided in an embodiment of the present application;
[0047] Figure 2 A schematic diagram of a palm vein target frame and palm key points in step S1 provided in an embodiment of the present application;
[0048] Figure 3 A schematic diagram of △P1P2P4 in the five-finger open state in step S2 provided in an embodiment of the present application;
[0049] Figure 4 A schematic diagram of △P1P2P4 in the five-finger merged state in step S2 provided in an embodiment of the present application;
[0050] Figure 5 A schematic diagram of another form of a flow chart of a palm vein image quality assessment method provided in an embodiment of the present application;
[0051] Figure 6 A schematic diagram of a low-quality palm vein image formed due to a long acquisition distance provided in an embodiment of the present application;
[0052] Figure 7 A schematic diagram of a low-quality palm vein image formed due to palm position deviation provided in an embodiment of the present application;
[0053] Figure 8 A schematic diagram of obtaining a palm vein RIO area according to a palm vein target frame provided in an embodiment of the present application;
[0054] Fig. 9 A schematic diagram of a normal palm vein image dataset provided in an embodiment of the present application;
[0055] Fig.10 A schematic diagram of a tilted palm vein image dataset provided in an embodiment of the present application;
[0056] Fig.11 A schematic diagram of obtaining the palm vein ROI center area within the palm vein ROI area provided in an embodiment of the present application. Implementation
[0057] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0058] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0059] Please also read Figure 1 to Figure 2 The palm vein image quality assessment method provided in the embodiment of the present application is now described. The palm vein image quality assessment method comprises:
[0060] Step S1, obtaining a palm vein target frame and palm key points of a palm vein image.
[0061] It can be understood that under infrared light, a wide-angle camera can be used to continuously obtain palm vein images of the user's palm, and the palm vein images can be input into a pre-trained palm vein detection model. For example, the palm vein detection model sets a palm vein target detection head and a key point detection head. The palm vein detection model can output a palm vein target frame and palm key points. In this way, only one input is needed to obtain the palm vein target frame and palm key points at the same time.
[0062] Step S2, filtering abnormal and misdetected palm vein images based on the palm vein target frame and the geometric features of the palm key points.
[0063] It is understandable that general palm vein recognition terminals use infrared or radar to detect whether there is an object placed in the recognition area. After detecting an object in the recognition area, the palm vein image is obtained through a wide-angle camera. The wide-angle camera can obtain a wide field of view and there are many interference factors. The palm vein image obtained in this way may have four abnormal false detection situations. The first situation is that the object is not a palm, and there is no palm vein feature in the obtained palm vein image. The second situation is that when the palm is just inserted but not yet in place, there are only local palm vein features in the palm vein image. The third situation is the error of the palm vein detection model, which leads to inaccurate extraction of the palm vein ROI area corresponding to the palm vein target frame and introduces too many background areas. The fourth situation is the distortion caused by the imaging method of the wide-angle camera.
[0064] Therefore, compared with the prior art, the present application introduces palm key point detection. According to the geometric feature detection of the palm vein target frame and the palm key points, it is judged whether the geometric features of the palm vein target frame, the geometric features of the palm key points, and the geometric features between the palm vein target frame and the palm key points conform to the geometric feature rules of the normal palm vein image, so as to filter out abnormal misdetected palm vein images.
[0065] In this way, by introducing the pre-detection of abnormalities, on the one hand, it can resist the interference caused by the large background area and imaging distortion of the wide-angle camera, make up for the shortcomings of insufficient accuracy of the palm vein detection model, and improve the accuracy of palm vein image quality assessment; on the other hand, through the pre-filtering method, it is not necessary to score each palm vein image, which can improve the response speed of palm vein recognition and reduce the algorithm calculation amount and difficulty.
[0066] Step S3, scoring the palm vein target frame and the palm vein ROI area corresponding to the palm vein target frame respectively.
[0067] It can be understood that, in addition to scoring the palm vein ROI area in the traditional algorithm, the present application also scores the palm vein target box.
[0068] First, since the palm area of a normal human body is an approximately square area, when the imaging of the wide-angle camera causes the palm vein features to be distorted, the palm vein target frame will become a rectangle. The greater the degree of distortion of the palm vein features, the greater the difference in length and width of the palm vein target frame.
[0069] Secondly, when the palm vein target frame still contains a large amount of background due to the error of the palm vein detection model, the palm vein target frame will be too large. Similarly, when the palm vein target frame does not contain the complete palm vein features, the palm vein target frame will be too small and deviate from the normal palm vein target frame size.
[0070] Thirdly, when the acquisition distance of the palm vein image is too far, a lot of noise will be generated, and the area of the obtained palm vein target frame in the entire image will account for a very small proportion, deviating from the normal palm vein target frame area size.
[0071] Fourthly, during the process of contactless palm vein collection, the offset of the collection position at different distances from the palm will also cause the loss of palm vein texture, reducing the accuracy of subsequent recognition. The offset of the collection position will cause the aspect ratio of the palm vein target box and the area ratio in the entire image to deviate.
[0072] In this way, by scoring the palm vein target frame and the palm vein ROI area corresponding to the palm vein target frame respectively, and setting a reasonable threshold, the score of low-quality palm vein images caused by large distortion, large background area, long acquisition distance, and large offset can be reduced. The lower the quality, the lower the score, and vice versa.
[0073] Step S4, obtaining a comprehensive scoring result of the palm vein image by fusion weighting.
[0074] It can be understood that by setting reasonable weights and calculating the comprehensive scoring results of the palm vein ROI area and the palm vein target frame, the quality of the palm vein image can be reflected more realistically and reasonably, effectively improving the registration quality of the palm vein image and the accuracy of recognition and authentication.
[0075] In summary, compared with the prior art, the palm vein image quality assessment method provided by the present application first detects the geometric features of the palm vein target frame and the key points of the palm, directly filters out abnormal and misdetected palm vein images from a macro level, and then scores the palm vein target frame and the palm vein ROI area corresponding to the palm vein target frame respectively, so as to judge the palm vein image quality from multiple dimensions at a micro level, solve the interference factors caused by the wide-angle camera in the palm vein acquisition process, and effectively improve the registration quality of the palm vein image, the accuracy and speed of recognition and authentication.
[0076] In another embodiment of the present application, please refer to Figures 2 to 4 In step S1, the palm key points include P1, P2, P3 and P4, where P1 is the finger root point between the thumb and index finger, P2 is the finger root point between the middle finger and index finger, P3 is the finger root point between the middle finger and ring finger, and P4 is the finger root point between the little finger and ring finger.
[0077] It is understandable that since P1, P2, P3 and P4 are arranged around the palm area, and the relative positions of P2, P3 and P4 are slightly affected by the degree of palm tension, that is, the relative positions of the finger bases change slightly when the fingers are open, closed or bent. Compared with the prior art that uses knuckles to locate the palm, this embodiment uses the finger bases to locate, which can adapt to different gestures and improve recognition rate and speed.
[0078] For further information, see Figure 3 and Figure 4 In step S2, the method for filtering abnormal misdetected palm vein images according to the palm vein target frame and the geometric features of the palm key points comprises the steps of:
[0079] With P2 as the fulcrum, connect P1 and P2, P2 and P4, P1 and P4 to form △P1P2P4;
[0080] Find the angle ∠P1P2P4;
[0081] If the angle of ∠P1P2P4 is outside the first threshold range, the current palm vein target frame and palm key points are deleted.
[0082] It is understandable that changes in the intensity of near-infrared light and the size of the palm background area under different environments will reduce the accuracy of the palm vein detection model in detecting the palm, causing the position of the palm vein target frame and the palm key points to shift or even become disordered, ultimately affecting the accuracy of the subsequent quality assessment method. Therefore, according to the physiological characteristics of the human palm, in the process of palm tension, the relative positions of P2, P3 and P4 change slightly, and the only one that changes greatly is P1. However, when P2 is used as the fulcrum to connect P1 and P2, P2 and P4, and P1 and P4 to form △P1P2P4, the motion trajectory of P1 can be regarded as a straight line, that is, the angle of ∠P1P2P4 remains unchanged during the palm tension process, while P4 is further away from P2 relative to P3. When the positions of P3 and P4 are subject to the same fluctuation, the fluctuation of the angle formed by P2 as the fulcrum is smaller when P4 is selected. Therefore, P1, P2, and P4 form ΔP1P2P4, and it is determined whether the angle ∠P1P2P4 is within the first threshold range. The abnormal misdetected palm vein images are filtered out according to the determination result.
[0083] Specifically, let x1 and y1 be the horizontal and vertical coordinates of the key point P1, x2 and y2 be the horizontal and vertical coordinates of the key point P2, x4 and y4 be the horizontal and vertical coordinates of the key point P4, L 12 is the distance from P1 to P2, L 14 is the distance from P1 to P4, L 24 is the distance from P2 to P4, the angle of ∠P1P2P4 is α, then the calculation formula of α is:
[0084]
[0085]
[0086]
[0087] .
[0088] It is worth mentioning that, after a large number of experimental tests, the first threshold range is preferably [70°, 140°].
[0089] For further information, see Figure 3 and Figure 4 In step S2, the method for filtering abnormal misdetected palm vein images according to the palm vein target frame and the geometric features of the palm key points comprises the steps of:
[0090] With P2 as the fulcrum, connect P1 and P2, P2 and P4, P1 and P4 to form △P1P2P4;
[0091] Calculate the ratio P of the area S1 of △P1P2P4 to the area S2 of the palm vein target frame;
[0092] If the ratio P is outside the second threshold range, the current palm vein target frame and palm key points are deleted.
[0093] It can be understood that by obtaining the ratio P of the area S1 of △P1P2P4 to the area S2 of the palm vein target frame, it can be used to verify the detection accuracy of the palm vein target frame. If there is a large error in the palm vein target frame, the ratio P is outside the second threshold range, thereby solving the technical problem of insufficient accuracy of the palm vein detection model in detecting the palm.
[0094] In addition, the key points of the palm are usually used to detect the rotation direction of the palm and to correct the direction during palm vein recognition and authentication. By obtaining the ratio P of the area S1 of △P1P2P4 to the area S2 of the palm vein target frame, the detection accuracy of P1, P2, P3, and P4 can also be verified, thereby improving the accuracy of palm vein recognition and authentication during the recognition and authentication stage.
[0095] Specifically, let w roi With h roi represent the width and height of the palm vein target frame respectively, then the ratio P of the area S1 of △P1P2P4 to the area S2 of the palm vein target frame is:
[0096] .
[0097] It is worth mentioning that, after a large number of experimental tests, the second threshold range is preferably [0.05, 0.2].
[0098] For further information, see Figure 3 and Figure 4 In step S2, the method for filtering abnormal misdetected palm vein images according to the palm vein target frame and the geometric features of the palm key points comprises the steps of:
[0099] Check whether P1, P2, P3, and P4 are within the palm vein target frame;
[0100] If any point of P1, P2, P3, or P4 is outside the palm vein target frame, the current palm vein target frame and palm key points are deleted.
[0101] It can be understood that since P1, P2, P3 and P4 are arranged around the palm area, an accurate palm vein target frame will include the key points of the palm. Therefore, by detecting whether P1, P2, P3, P4 are within the palm vein target frame, it can be determined whether the palm vein target frame is too small, offset, or other abnormal misdetections.
[0102] It is worth noting that the above three abnormal false detection methods can be executed in sequence, or only one or two of them can be executed. After deleting the current palm vein target frame and palm key points, the abnormal false detection program is terminated and the next frame of palm vein image is evaluated.
[0103] In another embodiment of the present application, please refer to Figure 5 and Figure 6 In step S3, the method for scoring the palm vein target frame comprises the steps of:
[0104] Calculate the size ratio of the palm vein ROI area in the palm vein image;
[0105] The score is calculated based on the size ratio of the palm vein ROI area in the palm vein image.
[0106] It is understandable that when the camera for collecting palm veins is a near-infrared wide-angle lens, there is a certain distortion rate, which can easily cause different degrees of deformation of the vein imaging at different distances of the same palm. In addition, during the process of non-contact palm vein collection, a lot of noise will be generated if the palm vein collection distance is too far. Therefore, controlling the collection distance of the palm vein image can improve the collection quality of the palm vein image. The collection distance can be directly reflected in the size ratio of the palm vein target frame in the palm vein image. The larger the size ratio, the closer the distance, and the smaller the size ratio, the farther the distance.
[0107] Specifically, w src , and h src Represents the width and height of the palm vein image, w roi With h roiRepresent the width and height of the palm vein target box respectively, then the formula for the size proportion score2 of the palm vein ROI area in the palm vein image is:
[0108] .
[0109] It is worth mentioning that after a large number of experimental tests, the optimal range of the full score size ratio is (10, 30).
[0110] For further information, please also refer to Figure 7 In step S3, the method for scoring the palm vein target frame comprises the steps of:
[0111] Calculate the aspect ratio of the palm vein target box;
[0112] The palm vein target box is scored based on its aspect ratio.
[0113] It is understandable that it is difficult to control the palm from shifting the acquisition position when non-contacting palm vein images at different distances. The shift in the palm acquisition position will cause the loss of palm vein texture and reduce the accuracy of subsequent recognition. The palm vein target frame of a normal person's palm is close to a square. Therefore, scoring based on the aspect ratio of the palm vein target frame can reduce the interference of the acquisition position shift on palm vein image recognition.
[0114] Specifically, let w roi With h roi Respectively represent the width and height of the palm vein target frame, then the aspect ratio score score3 of the palm vein target frame is:
[0115] .
[0116] It is worth mentioning that after a large number of experimental tests, the optimal range of the full score size ratio is (67, 100).
[0117] In another embodiment of the present application, please refer to Figures 8 to 10 In step S3, the method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of:
[0118] Collect normal palm vein image datasets and tilted palm vein image datasets;
[0119] Given that the label of the normal palm vein image dataset is 1, and the label of the tilted palm vein image dataset is 0;
[0120] Establish a palm tilt binary classification model based on deep convolutional neural network;
[0121] The normal palm vein image dataset and the tilted palm vein image dataset are input into the palm tilt binary classification model for training;
[0122] The palm vein ROI area corresponding to the palm vein target frame is input into the trained palm tilt binary classification model;
[0123] After the palm tilt classification model outputs the classification result, it uses the softmax function to normalize it to between (0, 1) and outputs the palm tilt evaluation score.
[0124] It is understandable that the tilt of the palm has a great impact on the image quality of palm vein acquisition, which can easily cause the occlusion of veins and uneven local brightness. When non-contact palm vein images are acquired, it is very difficult to control the palm posture to prevent tilt and deviation. In addition, the palm tilt itself occurs in three-dimensional space, and the existing technology cannot evaluate and measure the tilt angle in two-dimensional space. Therefore, in this embodiment, by collecting a normal palm vein image dataset and a tilted palm vein image dataset, a palm tilt binary classification model based on a deep convolutional neural network is established to solve the quality assessment problem of tilted palms in three-dimensional space.
[0125] Specifically, in the training stage, the normal palm vein image dataset and the tilted palm vein image dataset are input into the palm tilt binary classification model, and the binary classification model is trained using binary classification cross entropy loss; in the inference stage, any palm vein ROI area is input, and the palm tilt binary classification model outputs the classification result, which is normalized to (0, 1) using the softmax function, and outputs the palm tilt evaluation score.
[0126] The palm tilt evaluation score score1 is calculated as follows:
[0127]
[0128]
[0129] .
[0130] Where softmax represents the softmax function, f classifier is the palm tilt binary classification model, I roi is the image of the palm vein ROI area, P classifier is the output probability value of the classification model, and its value range is (0, 1); label is the predicted label output by the palm tilt binary classification model, and the label value of the binary classification is 0 or 1; Argmax is the Argmax function used to obtain f classifier (I roi ) The index value corresponding to the maximum value, such as the binary classification fclassifier (I roi ) has an output value of [0.3,0.7], and the corresponding index value is (0, 1). Since 0.7 is greater than 0.3, and the index value corresponding to 0.7 is 1, then argmax(f classifier (I roi ))=1.
[0131] It is worth mentioning that, after a large number of experimental tests, the threshold of the tilted palm evaluation score is preferably set to 60. When the tilted palm evaluation score is less than 60, the palm vein ROI area is determined to be a tilted palm vein, otherwise the palm vein ROI area is a normal palm vein.
[0132] For further information, please also refer to Fig.11 In step S3, the method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of:
[0133] The palm vein target frame is reduced in proportion to obtain the palm vein ROI center area within the palm vein ROI area;
[0134] The Lab color space was used to calculate the brightness of the central area of the palm vein ROI and score it.
[0135] It is understandable that the venous blood vessel image uses near-infrared imaging technology, and the infrared light in the natural environment will also be captured and imaged by the near-infrared camera. The interference of the image background will directly affect the accuracy of the image brightness assessment. Therefore, the result obtained by directly calculating the brightness of the palm vein ROI area for evaluation is inaccurate. In order to avoid the interference of the image background, using the human body characteristic that the palm veins are concentrated in the palm, this embodiment further processes the palm vein target frame and cuts out the palm vein ROI center area without background interference for calculating the image brightness score.
[0136] Specifically, in this embodiment, the width and height of the palm vein target frame are reduced by half to obtain the palm vein center target frame, and the horizontal and vertical coordinates of the palm vein target frame are x roi ,y roi , width and height are w roi 、h roi , the horizontal and vertical coordinates of the palm vein center target frame are , , width and height are , , obtain the palm vein ROI center area according to the palm vein center target frame. The conversion formula of the position parameters of the palm vein ROI center area is as follows:
[0137]
[0138]
[0139]
[0140] .
[0141] This embodiment uses the Lab color space to evaluate the palm vein brightness instead of calculating the grayscale mean of the image in the traditional method. The Lab color space is a color space that is independent of the acquisition device and consists of a brightness channel L and two color channels a and b. Therefore, the image brightness can be evaluated using the pixel mean in the brightness channel L of the image Lab space. The brightness score score4 of the center area of the palm vein ROI is calculated as follows:
[0142]
[0143] .
[0144] where f Lab is a function that converts an RGB image to the Lab color space. I,roi represents the image of the center area of the palm vein ROI after cropping. L is the image of the center area of the palm vein ROI of the L channel after conversion. i,j Represents the pixel brightness value of the i-th row and j-th column on the L channel in the I, roi image.
[0145] It is worth noting that the brightness score of a normal palm vein image is preferably in the range of (35, 55). A brightness score that is too low or too high indicates that the palm vein image is underexposed or overexposed.
[0146] For further information, please also refer to Fig.10 In step S3, the method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of:
[0147] The clarity of the palm vein ROI area was evaluated by calculating the image Brenner gradient;
[0148] The score was calculated based on the clarity of the palm vein ROI area.
[0149] It is understandable that the interference of image clarity will directly affect the accuracy of palm vein image recognition. This embodiment uses the method of calculating the Brenner gradient of the image to evaluate the clarity of the palm vein ROI area. Traditional methods usually use Laplace gradient to calculate image clarity, and calculate the second-order derivative of the image to detect edges. The clearer the edge, the clearer the image, but it will enhance the noise in the image. In this embodiment, the palm vein image captured by the near-infrared camera has some noise in the image itself that will interfere with the accuracy of the clarity calculation. Therefore, using Brenner gradient to calculate clarity is more suitable for the palm vein image in this embodiment. The Brenner gradient is achieved by simply calculating the square of the grayscale difference between two adjacent pixels. The formula for calculating the clarity score score5 of the palm vein ROI area is as follows:
[0150] .
[0151] where f i,j represents the gray value of the pixel in the i-th row and j-th column in the I, roi image, f i,j+2 Represents the grayscale value of the pixel in the i-th row and j+2-th column in the I, roi image.
[0152] It is worth noting that the clarity score of a normal palm vein image preferably ranges from (50, 100).
[0153] In another embodiment of the present application, please refer to Figure 5 In step S4, the method for obtaining the comprehensive scoring result of the palm vein image by fusion weighting includes the steps of:
[0154] The palm tilt evaluation score score1, the size ratio score of the palm vein ROI area in the palm vein image score2, the aspect ratio score of the palm vein target box score3, the brightness score of the palm vein ROI center area score4, and the clarity score of the palm vein ROI area score5 are fused and weighted.
[0155] It can be understood that in this embodiment, the final result of the palm vein image quality assessment is obtained by fusion weighting, and the influence of these quality assessment scores on the image quality is comprehensively considered, so as to further improve the accuracy of the palm vein quality assessment.
[0156] The expression of the comprehensive scoring result Q is:
[0157] .
[0158] Among them, W1, W2, W3, W4 and W5 are the weight coefficients of the palm tilt evaluation score score1, the size proportion score of the palm vein ROI area in the palm vein image score2, the aspect ratio score of the palm vein target box score3, the brightness score of the central area of the palm vein ROI score4, and the clarity score of the palm vein ROI area score5.
[0159] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A palm vein image quality assessment method, It is characterized in that Includes steps: A palm vein target frame and palm key points of a palm vein image are obtained; the palm key points include P1, P2, P3 and P4, wherein P1 is the finger root point between the thumb and the index finger, P2 is the finger root point between the middle finger and the index finger, P3 is the finger root point between the middle finger and the ring finger, and P4 is the finger root point between the little finger and the ring finger; the palm vein image with abnormal misdetection is detected and filtered according to the palm vein target frame and the palm key points according to the geometric features; the method for filtering the palm vein image with abnormal misdetection according to the palm vein target frame and the palm key points comprises the steps of: With P2 as the fulcrum, connect P1 and P2, P2 and P4, P1 and P4 to form △P1P2P4; calculate the angle ∠P1P2P4; if the angle ∠P1P2P4 is outside the first threshold range, delete the current palm vein target frame and palm key points; Check whether P1, P2, P3, and P4 are within the palm vein target frame; if any point of P1, P2, P3, and P4 is outside the palm vein target frame, delete the current palm vein target frame and palm key points; The aspect ratio of the palm vein target frame and the size ratio of the palm vein ROI area corresponding to the palm vein target frame are scored respectively; The comprehensive scoring results of palm vein images are obtained by fusion weighting.
2. The palm vein image quality assessment method according to claim 1, It is characterized in that The method for filtering abnormal misdetected palm vein images based on the palm vein target frame and the geometric features of the palm key points comprises the following steps: With P2 as the fulcrum, connect P1 and P2, P2 and P4, P1 and P4 to form △P1P2P4; Calculate the ratio P of the area S1 of △P1P2P4 to the area S2 of the palm vein target frame; If the ratio P is outside the second threshold range, the current palm vein target frame and palm key points are deleted.
3. The palm vein image quality assessment method according to any one of claims 1 to 2, It is characterized in that The method for scoring a palm vein target frame comprises the steps of: Calculate the size ratio of the palm vein ROI area in the palm vein image; The score is calculated based on the size ratio of the palm vein ROI area in the palm vein image.
4. The palm vein image quality assessment method according to claim 3, It is characterized in that The method for scoring a palm vein target frame comprises the steps of: Calculate the aspect ratio of the palm vein target box; The palm vein target box is scored based on its aspect ratio.
5. The palm vein image quality assessment method according to any one of claims 1 or 2, It is characterized in that The method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of: Collect normal palm vein image datasets and tilted palm vein image datasets; Given that the label of the normal palm vein image dataset is 1, and the label of the tilted palm vein image dataset is 0; Establish a palm tilt binary classification model based on deep convolutional neural network; The normal palm vein image dataset and the tilted palm vein image dataset are input into the palm tilt binary classification model for training; The palm vein ROI area corresponding to the palm vein target frame is input into the trained palm tilt binary classification model; After the palm tilt classification model outputs the classification result, it uses the softmax function to normalize it to between (0, 1) and outputs the palm tilt evaluation score.
6. The palm vein image quality assessment method according to claim 5, It is characterized in that The method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of: The palm vein target frame is reduced in proportion to obtain the palm vein ROI center area within the palm vein ROI area; The Lab color space was used to calculate the brightness of the central area of the palm vein ROI and score it.
7. The palm vein image quality assessment method according to claim 6, It is characterized in that The method for scoring the palm vein ROI area corresponding to the palm vein target frame comprises the steps of: The clarity of the palm vein ROI area was evaluated by calculating the image Brenner gradient; The palm vein ROI area was scored based on its clarity.
