A method and device for unsupervised low-light contactless fingerprint enhancement
Through unsupervised low-light non-contact fingerprint enhancement network model decomposition and enhancement of fingerprint images, the problem of low contrast and noise influence of fingerprint images under low light is solved, the fingerprint recognition rate and texture clarity are improved, and the fingerprint image without paired data sets is realized. Efficient fingerprint image enhancement.
Patent Information
- Application Number
- CN202410262213.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-03-07
AI Technical Summary
Existing non-contact fingerprint images collected under low light have low contrast, resulting in blurred textures and affecting fingerprint feature point extraction and recognition rates. Moreover, traditional low-light image enhancement methods often ignore noise, resulting in artifacts and color deviations. Based on supervised learning, This method has high data set production overhead and poor generalization.
Using an unsupervised low-light non-contact fingerprint enhancement method, by building and training an unsupervised low-light non-contact fingerprint enhancement network model, including an image decomposition module and a texture enhancement module, the fingerprint image is decomposed into illumination, reflection and noise components, reconstructed and Enhance the reflection component, use technologies such as depth-separable convolution and activation function, and combine with Retinex theory for denoising and contrast improvement.
It improves the illumination and texture structure obviousness of non-contact fingerprints, reduces the impact of noise, and the edge texture of the enhanced fingerprint image is clearer, improving the fingerprint recognition rate, and does not require paired data sets, reducing training complexity.
Smart Images

Figure CN118135616B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of low-light image enhancement, and in particular relates to an unsupervised low-light contactless fingerprint enhancement method and device. Background Art
[0002] With the development of social economy, personal information security is becoming increasingly important. Biometric technology has developed rapidly by using the inherent biological characteristics of the human body for identification. Among them, fingerprints have become one of the most widely used biometric features due to their uniqueness, durability and universality. At present, contact fingerprints based on contact and pressing have been widely used in the market due to their advantages such as convenient collection and obvious contrast between valleys and ridges of fingerprints. However, fingerprints obtained by this collection method have some defects, such as being susceptible to fingerprint distortion and problems of hygiene and safety in the current environment.
[0003] The contactless collection of fingerprints is gaining more and more attention. The fringe projection system can be used to collect contactless fingerprints. In addition to collecting images with fringe projection, the fringe projection system can also collect direct images (providing information reference for three-dimensional reconstruction). However, the fringe projection system needs to be placed in relatively dark conditions. In this environment, the collected contactless fingerprint images will have low contrast, especially the blurred texture at the edge of the fingerprint image. This will affect the extraction of fingerprint feature points and reduce the fingerprint recognition rate. In this case, low-light enhancement technology is a more economical and practical solution. Low-light enhancement technology is widely used, including visual monitoring, autonomous driving, and computational photography. In particular, smartphone cameras are ubiquitous. Constrained by the size of the camera aperture, photos taken with smartphones in dim environments need to find a reasonable enhancement solution, and the same is true for contactless fingerprints obtained by the fringe projection system.
[0004] Low-light enhancement techniques are divided into traditional methods and deep learning-based methods. Among the traditional methods, histogram equalization-based methods and Retinex model-based methods can enhance fingerprint images well, but these methods often ignore the influence of noise, so the noise is retained or amplified in the enhanced results. Secondly, given various lighting properties, this may lead to unrealistic enhancements and it is challenging to find effective prior knowledge or regularization. Inaccurate priors or regularization may lead to artifacts and color deviations in the enhanced results. Deep learning-based methods have better accuracy, robustness and speed than traditional methods, and fingerprint enhancement is achieved by training neural networks. At present, 70% of low-light image enhancement research focuses on supervised learning. However, considering the production overhead of paired data sets for supervised learning in the real world is impractical, coupled with the limited generalization and overfitting of supervised learning networks, there are still many problems that need to be studied. Summary of the invention
[0005] The purpose of this application is to provide a method and device for contactless fingerprint enhancement based on unsupervised low-light illumination, so as to overcome the problems of low brightness of existing contactless fingerprint images collected and blurred fingerprint edge texture, improve the illumination of contactless fingerprints, and pay more attention to the texture structure of fingerprints, so that the texture of the edge area of the enhanced fingerprint image is more obvious.
[0006] In order to achieve the above purpose, the technical solution of this application is as follows:
[0007] A non-contact fingerprint enhancement method based on unsupervised low-light illumination, comprising:
[0008] Constructing and training an unsupervised low-light contactless fingerprint enhancement network model, wherein the unsupervised low-light contactless fingerprint enhancement network model includes an image decomposition module and a texture enhancement module;
[0009] The fingerprint image is collected contactlessly and input into the image decomposition module to obtain the illumination component, reflection component and noise component of the fingerprint image;
[0010] Reconstruct the reflection component, and use the reconstructed reflection component as the input of the texture enhancement network module to obtain the reflection component after texture enhancement;
[0011] The illumination component is gamma transformed and then multiplied with the texture-enhanced reflection component to reconstruct the fingerprint image.
[0012] Furthermore, the image decomposition module includes a reflection component branch, an illumination component branch and a noise component branch.
[0013] Furthermore, the reflection component branch and the illumination component branch each include five convolutional layers, the first four convolutional layers each use convolution and ReLU activation functions, and the last layer uses convolution and Sigmoid activation functions; the noise component branch includes five convolutional layers, the first four convolutional layers each use convolution and ReLU activation functions, and the last layer uses convolution and Tanh activation functions.
[0014] Furthermore, the reconstructed reflection component is formulated as follows:
[0015]
[0016] in, is the reconstructed reflection component, I(x) is the input fingerprint image, N(x) represents the noise component, and S(x) represents the illumination component.
[0017] Furthermore, the texture enhancement module performs the following operations:
[0018] The reconstructed reflection component is subjected to a depthwise separable convolution to obtain feature map 0, and then passes through a first combination module including a depthwise separable convolution DWConv, an activation function ReLU, and a batch normalization BN. The result obtained by the first combination module is added to feature map 0 to obtain feature map 1. Figure 1 ;
[0019] Next, the features Figure 1 Then pass through the first combination module and combine with the feature Figure 1 Perform addition operation to obtain features Figure 2 ;
[0020] Next, the features Figure 2 Then pass through the first combination module and combine with the feature Figure 2 Perform addition operation to obtain features Figure 3 ;
[0021] Next, the features Figure 3 Then pass through the first combination module and combine with the feature Figure 3 Perform addition operation to obtain feature map 4;
[0022] Finally, feature map 4 is used as the output of the texture enhancement module, which is the reflection component after texture enhancement.
[0023] Furthermore, the total loss function during the training of the unsupervised low-light contactless fingerprint enhancement network model is:
[0024] L t =L r +λ n L n +λ b L b ;
[0025] Among them, L t Represents the total loss function, L r represents the reconstruction loss, L n represents the noise estimation loss, L b represents the binary structure loss, λ n and λ b Respectively represent the weight parameters of each loss function;
[0026] L r =||I(x)-(R(x)·S(x)+N(x))||1+||S(x)-S0(x)||1+||R(x)-I(x) / S(x)||1;
[0027]
[0028] Where I(x) represents the input fingerprint image, R(x) is the reflection component, S(x) is the illumination component, S0(x) represents the initial illumination component of the maximum channel value, N(x) is the noise component, ||·||1 represents the l1 loss, and w n and w r is the light guidance weight parameter, and represents horizontal and vertical gradients, ||·|| F represents Frobenius loss, Thershold(·) represents the binarization function, represents the reflection component after texture enhancement, ||·||2 represents the l2 loss, is the reconstructed reflection component.
[0029] The present application also proposes a device for unsupervised low-light contactless fingerprint enhancement, comprising a processor and a memory storing a plurality of computer instructions, wherein the computer instructions, when executed by the processor, implement the steps of the above-mentioned unsupervised low-light contactless fingerprint enhancement method.
[0030] This application proposes a method and device for unsupervised low-light contactless fingerprint enhancement. A fringe projection system is used to collect contactless fingerprints. An unsupervised low-light enhancement network is trained through fingerprint images. The trained network model can be used to improve the quality of low-light fingerprints. The fringe projection system needs to collect fingerprint data in a dim environment. In order to enhance the quality of collected fingerprints and improve the fingerprint recognition rate, an unsupervised low-light enhancement network that does not require a paired data set is proposed. The Retinex theory is used to denoise and improve the contrast of the fingerprint image, and the texture enhancement module is used to enhance the valley ridge structure of the fingerprint. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is a flow chart of the unsupervised low-light contactless fingerprint enhancement method based on this application.
[0032] Figure 2 Schematic diagram of the unsupervised low-light contactless fingerprint enhancement network model for this application.
[0033] Figure 3 Schematic diagram of the texture enhancement module structure of an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of 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.
[0035] One embodiment of the present application, referring to Figure 1, an unsupervised low-light contactless fingerprint enhancement method is provided, including:
[0036] Step S1, constructing and training an unsupervised low-light contactless fingerprint enhancement network model, wherein the unsupervised low-light contactless fingerprint enhancement network model includes an image decomposition module and a texture enhancement module.
[0037] This application constructs an unsupervised low-light contactless fingerprint enhancement network model, including an image decomposition module and a texture enhancement module. The image decomposition module can divide the input fingerprint image into an illumination component, a reflection component, and a noise component, and the texture enhancement module can enhance the fingerprint valley ridge structure.
[0038] The structure of the image decomposition module is as follows: Figure 2 As shown in the figure, since the fingerprint image is inevitably affected by noise during acquisition, the fingerprint image is decomposed and modeled as shown in the following formula (1):
[0039] I(x)=R(x)·S(x)+N(x) (1)
[0040] Where I(x) is the input fingerprint image, R(x) represents the reflection component, S(x) represents the illumination component, and N(x) represents the noise component. The image decomposition module uses a three-branch CNN to explicitly estimate the three components of the input image, also known as the reflection component branch, the illumination component branch, and the noise component branch. Each branch includes 5 convolutional layers.
[0041] In the reflection component branch, the first four convolution layers all use convolution and ReLU activation functions, and the last layer uses convolution and Sigmoid activation functions. For example, the first four layers use 4 3*3Conv convolutions and ReLU activation functions, and the number of channels increases from 3→16→32→64→32. Increasing the dimension first and then reducing the dimension can better learn the deeper information features of the image. Then a 3*3Conv convolution is used, and the number of channels increases from 32→3 to convert the resolution of the reflection component image to the resolution size of the input image. Finally, in order to ensure that the intensity of the reflection component decreases within [0,1], the last layer uses the Sigmoid activation function.
[0042] In the illumination component branch, the first four convolution layers all use convolution and ReLU activation functions, and the last layer uses convolution and Sigmoid activation functions. For example, the first four layers use 4 3*3Conv convolutions and ReLU activation functions, and the number of channels increases from 3→16→32→64→32. Increasing the dimension first and then reducing the dimension can better learn the deeper information features of the image. Then a 3*3Conv convolution is used, and the number of channels increases from 32→1 to convert the illumination component image resolution to the resolution size of the input image. Finally, in order to ensure that the intensity of the illumination component decreases within [0,1], the last layer uses the Sigmoid activation function.
[0043] In the noise component branch, the first four convolution layers all use convolution and ReLU activation functions, and the last layer uses convolution and Tanh activation functions. For example, the first four layers all use 4 3*3Conv convolutions and ReLU activation functions, and the number of channels increases from 3→16→32→64→32. Increasing the dimension first and then reducing the dimension can better learn the deeper information features of the image. Then a 3*3Conv convolution is used, and the number of channels increases from 32→3 to convert the resolution of the noise image to the resolution size of the input image. Finally, in order to reduce the noise component to [-1,1], the last layer uses the Tanh activation function.
[0044] The texture enhancement module is used to enhance the fingerprint valleys and ridges. Figure 3 As shown in Figure 2. The input of the texture enhancement module is the reconstructed reflectance component.
[0045] In this embodiment, the reconstructed reflection component is obtained by the following formula (2): As input to the texture enhancement network module:
[0046]
[0047] Among them, I(x) is the input fingerprint image, N(x) represents the noise component after decomposition, and S(x) represents the illumination component after decomposition. The texture enhancement network module is used to make the best use of the fingerprint texture feature map information to achieve better results and fewer parameters, ensuring the maximum transmission of feature information between layers.
[0048] In the texture enhancement module, the reflection component is reconstructed After 5*5 depth separable convolution DWConv, feature map 0 is obtained, and then after 3*3 depth separable convolution DWConv+ activation function ReLU+ batch normalization BN first combination module, the result of the first combination module is added to feature map 0 to obtain feature Figure 1 ;
[0049] Next, the features Figure 1 Then pass through the first combination module (3*3DWConv+ReLU+BN) and combine with the feature Figure 1 Perform addition operation to obtain features Figure 2 ;
[0050] Next, the features Figure 2 Then pass through the first combination module (3*3DWConv+ReLU+BN) and combine with the feature Figure 2 Perform addition operation to obtain features Figure 3 ;
[0051] Next, the features Figure 3Then pass through the first combination module (3*3DWConv+ReLU+BN) and combine with the feature Figure 3 Perform an addition operation to obtain feature map 4;
[0052] Finally, feature map 4 is used as the output of the texture enhancement module, which is the reflection component after texture enhancement.
[0053] Step S2: non-contact collection of fingerprint images, input into the image decomposition module, and obtain the illumination component, reflection component and noise component of the fingerprint image.
[0054] The collection of non-contact fingerprint images can use a fringe projection system. The fringe projection system uses a projector to irradiate light with phase information onto the fingerprint surface, and the camera captures the distorted fingerprint image. This process can be used not only to collect a series of fringe projection images, but also to collect direct-shot non-contact fingerprint images. This embodiment uses a fringe projection system to collect a set of non-contact direct-shot fingerprint data for network training and testing. In formal applications, a fringe projection system is also used to collect non-contact fingerprint images, which will not be repeated below.
[0055] The collected fingerprint image is input into the image decomposition module to obtain the illumination component, reflection component and noise component of the fingerprint image. The specific processing of the image decomposition module will not be described in detail here.
[0056] Step S3: reconstruct the reflection component, and use the reconstructed reflection component as the input of the texture enhancement network module to obtain the reflection component after texture enhancement.
[0057] The reconstructed reflection component is shown in formula (2), and then the reconstructed reflection component is used as the input of the texture enhancement network module to obtain the texture enhanced reflection component. The processing process of the texture enhancement network module has been described in the previous step S1 and will not be repeated here.
[0058] Step S4: perform gamma transformation on the illumination component, and then multiply it with the reflection component after texture enhancement to reconstruct the fingerprint image.
[0059] In order to reconstruct the image, this embodiment uses gamma transformation (Gamma) on the illumination component S(x), as shown in the following equation (3):
[0060]
[0061] in, Represents the illumination component after gamma transformation, and γ is the preset gamma value.
[0062] Finally, the image is reconstructed as shown in the following formula (4):
[0063]
[0064] in, Represents the reconstructed fingerprint image.
[0065] In another embodiment of the present application, when training an unsupervised low-light contactless fingerprint enhancement network model, the total loss function of the model is as follows:
[0066] L t =L r +λ n L n +λ b L b (5)
[0067] Among them, L t Represents the total loss function, L r represents the reconstruction loss, L n represents the noise estimation loss, L b represents the binary structure loss, λ n and λ b Represent the weight parameters of each loss function respectively.
[0068] Among them, since the image decomposition must satisfy the Retinex theoretical reconstruction, the Retinex reconstruction loss function L r It can be expressed as shown in the following formula (6):
[0069] L r =||I(x)-(R(x)·S(x)+N(x))||1+||S(x)-S0(x)||1+||R(x)-I(x) / S(x)||1(6)
[0070] Where I(x) represents the input fingerprint image, R(x) is the reflection component, S(x) is the illumination component, S0(x) represents the initial illumination component of the maximum channel value, which is used to constrain the illumination component S(x), N(x) is the noise component, and ||·||1 indicates the use of l1 loss;
[0071] When enhancing images, it is necessary to suppress noise, especially in dark areas. The lighting guides the estimation loss function L n As shown in the following formula (7):
[0072]
[0073] Among them, w n and w r is the light guidance weight parameter, and represents horizontal and vertical gradients, ||·|| F Indicates the use of Frobenius loss;
[0074] In order to make the texture enhancement module pay more attention to the valley and ridge structure of the fingerprint, the binary structure loss function L b As shown in the following formula (8):
[0075]
[0076] Among them, Thershold(·) represents the binarization function, represents the reflection component after texture enhancement, and ||·||2 indicates the use of l2 loss.
[0077] In another embodiment of the present application, in order to allow the network to fully converge, data augmentation is performed on the training data, starting from the (0,0) position of the image, with a step size of s pixels, and the cropped image size is (2s, 2s). Where s must be an integer greater than 2. Subsequently, the cropped image is flipped horizontally, vertically, and horizontally and vertically to further expand the data set. Next, hyperparameters such as learning rate, batch size, and training rounds are set for the network, and the network model is trained until the loss function converges to complete the training of the network model.
[0078] Another embodiment of the present application also proposes a device based on unsupervised low-light contactless fingerprint enhancement, including a processor and a memory storing a plurality of computer instructions, characterized in that when the computer instructions are executed by the processor, the steps of the above-mentioned method based on unsupervised low-light contactless fingerprint enhancement are implemented.
[0079] For the specific definition of the unsupervised low-light contactless fingerprint enhancement device, please refer to the definition of the unsupervised low-light contactless fingerprint enhancement method above, which will not be repeated here. The above-mentioned unsupervised low-light contactless fingerprint enhancement device can be implemented in whole or in part through software, hardware and a combination thereof. It can be embedded in or independent of the processor in the computer device in hardware form, or it can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0080] The memory and the processor are electrically connected directly or indirectly to achieve data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The memory stores a computer program that can be run on the processor, and the processor implements the unsupervised low-light contactless fingerprint enhancement method in the embodiment of the present invention by running the computer program stored in the memory.
[0081] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory is used to store a program, and the processor executes the program after receiving an execution instruction.
[0082] The processor may be an integrated circuit chip with data processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0083] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A non-contact fingerprint enhancement method based on unsupervised low-light, characterized in that: The unsupervised low-light contactless fingerprint enhancement method comprises: Constructing and training an unsupervised low-light contactless fingerprint enhancement network model, wherein the unsupervised low-light contactless fingerprint enhancement network model includes an image decomposition module and a texture enhancement module; The fingerprint image is collected contactlessly and input into the image decomposition module to obtain the illumination component, reflection component and noise component of the fingerprint image; Reconstructing the reflection component, and using the reconstructed reflection component as the input of the texture enhancement module to obtain the reflection component after texture enhancement; Perform gamma transformation on the illumination component and then multiply it with the texture-enhanced reflection component to reconstruct the fingerprint image; Wherein, the texture enhancement module performs the following operations: The reconstructed reflection component is subjected to a depthwise separable convolution to obtain feature map 0, and then passes through a first combination module including a depthwise separable convolution DWConv, an activation function ReLU, and a batch normalization BN, and the result obtained by the first combination module is added to feature map 0 to obtain feature map 1; Next, feature map 1 is passed through the first combination module and added to feature map 1 to obtain feature map 2; Next, feature map 2 is passed through the first combination module and added to feature map 2 to obtain feature map 3; Next, feature map 3 is passed through the first combination module and added to feature map 3 to obtain feature map 4; Finally, feature map 4 is used as the output of the texture enhancement module, which is the reflection component after texture enhancement.
2. The unsupervised low-light contactless fingerprint enhancement method according to claim 1, characterized in that: The image decomposition module includes a reflection component branch, an illumination component branch and a noise component branch.
3. The unsupervised low-light contactless fingerprint enhancement method according to claim 2, characterized in that: The reflection component branch and the illumination component branch each include five convolutional layers, the first four convolutional layers each use convolution and ReLU activation functions, and the last layer uses convolution and Sigmoid activation functions; the noise component branch includes five convolutional layers, the first four convolutional layers each use convolution and ReLU activation functions, and the last layer uses convolution and Tanh activation functions.
4. The unsupervised low-light contactless fingerprint enhancement method according to claim 1, characterized in that: The reconstructed reflection component is formulated as follows: in, is the reconstructed reflection component, I(x) is the input fingerprint image, N(x) represents the noise component, and S(x) represents the illumination component.
5. The unsupervised low-light contactless fingerprint enhancement method according to claim 1, characterized in that: The total loss function during the training of the unsupervised low-light contactless fingerprint enhancement network model is: L t =L r +λ n L n +λ b L b ; Among them, L t Represents the total loss function, L r represents the reconstruction loss, L n represents the noise estimation loss, L b represents the binary structure loss, λ n and λ b Respectively represent the weight parameters of each loss function; L r =||I(x)-(R(x)·S(x)+N(x))||1+||S(x)-S0(x)||1+||R(x)-I(x) / S(x)||1; Where I(x) represents the input fingerprint image, R(x) is the reflection component, S(x) is the illumination component, S0(x) represents the initial illumination component of the maximum channel value, N(x) is the noise component, ||·||1 represents the l1 loss, and w n and w r is the light guidance weight parameter, and represents horizontal and vertical gradients, ||·|| F represents Frobenius loss, Thershold(·) represents the binarization function, represents the reflection component after texture enhancement, ||·||2 represents the l2 loss, is the reconstructed reflection component.
6. A non-contact fingerprint enhancement device based on unsupervised low-light illumination, comprising a processor and a memory storing a plurality of computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.
