WO2025103010A1 - 掌纹图像生成方法、装置、设备、存储介质及程序产品 - Google Patents
掌纹图像生成方法、装置、设备、存储介质及程序产品 Download PDFInfo
- Publication number
- WO2025103010A1 WO2025103010A1 PCT/CN2024/123335 CN2024123335W WO2025103010A1 WO 2025103010 A1 WO2025103010 A1 WO 2025103010A1 CN 2024123335 W CN2024123335 W CN 2024123335W WO 2025103010 A1 WO2025103010 A1 WO 2025103010A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- palmprint
- line
- palm
- map
- line energy
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/10—Texturing; Colouring; Generation of textures or colours
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
- G06N3/0455—Auto-encoder networks; Encoder-decoder networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/094—Adversarial learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/77—Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
- G06V10/774—Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/1347—Preprocessing; Feature extraction
- G06V40/1359—Extracting features related to ridge properties; Determining the fingerprint type, e.g. whorl or loop
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/1365—Matching; Classification
Definitions
- the present application relates to the field of artificial intelligence, and more specifically, to a palmprint image generation method, device, equipment, storage medium and program product.
- Palmprints refer to the skin lines inside the palm of a person, which are unique and stable and can be used for individual identification and identity verification.
- the acquisition and annotation of palmprint data are relatively complex and time-consuming, resulting in a limited number of available palmprint datasets, especially large-scale datasets.
- Palmprints are part of personal body features and are sensitive and private. Therefore, when collecting and using palmprint data, we must comply with relevant privacy laws and regulations and take appropriate security measures to protect user privacy.
- the present application introduces a new palm line energy (Palm Crease Energy, PCE) domain, first converts the Bezier curve into the palm line energy domain to generate a palm line energy map with realistic wrinkles, and then generates a realistic palm print image with realistic texture based on the palm line energy map, thereby generating diversified and realistic palm print images.
- PCE Palm Line Energy
- the embodiments of the present application provide a palmprint image generation method, apparatus, device, storage medium and program product.
- an embodiment of the present application provides a palmprint image generation method, which is executed by an electronic device and includes:
- a predetermined palmprint curve template Based on a predetermined palmprint curve template, a plurality of control points are determined, and a Bezier curve is generated based on the plurality of control points;
- a palm line energy map with wrinkle information is generated, wherein the palm line energy map includes palm lines having the same line distribution as the Bezier curve but different line types, wherein the line type is used to describe the wrinkle information and corresponds to the line direction energy of each pixel on the palm line; and,
- a simulated palmprint image with detailed texture information is generated.
- an embodiment of the present application provides a palmprint image generating device, comprising:
- a curve generating module is configured to determine a plurality of control points based on a predetermined palmprint curve template, and generate a Bezier curve based on the plurality of control points;
- a wrinkle generation module is configured to generate a palm line energy map with wrinkle information based on the Bezier curve, wherein the palm line energy map includes palm lines having the same line distribution as the Bezier curve but different line types, wherein the line type is used to describe the wrinkle information and corresponds to the line direction energy of each pixel on the palm line;
- the texture generation module is configured to generate a simulated palm print image with detailed texture information based on the palm print line energy map.
- an embodiment of the present application provides an electronic device, comprising: one or more processors; and one or more memories, wherein a computer executable program is stored in the one or more memories, and when the computer executable program is executed by the processor, the palmprint image generation method as described above is executed.
- an embodiment of the present application provides a computer-readable storage medium having computer-executable instructions stored thereon, which are used to implement the palmprint image generation method as described above when executed by a processor.
- the embodiment of the present application provides a computer program product or a computer program, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the palmprint image generation method according to the embodiment of the present application.
- FIG1 is a schematic diagram showing the significant difference between the Bezier curve and the real palm print in terms of wrinkle distribution and texture
- FIG2 is a flow chart showing a palmprint image generating method according to an embodiment of the present application.
- FIG3 is a schematic diagram showing a palmprint image generating system according to an embodiment of the present application.
- FIG4A is a schematic diagram showing an example palmprint curve template according to an embodiment of the present application.
- FIG4B is a schematic diagram showing a comparison between a Gaussian-MFRAT kernel according to an embodiment of the present application and a traditional MFRAT filter;
- FIG5 is a schematic diagram illustrating domain conversion in joint training according to an embodiment of the present application.
- FIG6 is a schematic diagram showing a first generation phase in joint training according to an embodiment of the present application.
- FIG7 is a schematic diagram showing a palm line energy extractor according to an embodiment of the present application.
- FIG8 is a schematic diagram showing a second generation phase in joint training according to an embodiment of the present application.
- FIG9 is a comparison diagram showing palmprint generation results using different palmprint generation methods according to an embodiment of the present application.
- FIG10 is a diagram showing the result of the effectiveness verification of the line energy feature enhancement block according to an embodiment of the present application.
- FIG11 is a schematic diagram showing a palmprint image generating device according to an embodiment of the present application.
- FIG12 shows a schematic diagram of an electronic device according to an embodiment of the present application.
- FIG. 13 is a schematic diagram showing the architecture of an exemplary computing device according to an embodiment of the present application.
- the palm print image generation method of the present application can be implemented based on artificial intelligence (AI).
- Artificial intelligence is the use of digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, so that the machine has the functions of perception, reasoning and decision-making.
- artificial intelligence studies the design principles and implementation methods of various intelligent machines, so that the palm print image generation method of the present application can achieve the following functions: based on the control points determined from the palm print curve template, a realistic palm print image with realistic wrinkles and texture is generated.
- the palmprint image generation method of the present application can also be implemented based on computer vision (CV) technology.
- Computer vision technology can obtain information from images or multi-dimensional data.
- the palmprint image generation method of the present application can use CV technology to generate a palmprint line energy map with a style close to the real palmprint from the Bezier curve, and then generate a palmprint image with diversified texture information based on the palmprint line energy map to achieve diversified palmprint image output, which is used for pre-training processes such as palmprint recognition models.
- the palm print image generation method of the present application can be implemented based on Bezier curve.
- Bezier curve is used to describe a smooth curve.
- Bezier curve can be applied to the drawing of palm print line.
- the characteristic of Bezier curve is that the shape of the curve can be controlled by control points, so the curvature of the palm print line and the shape of the curve can be adjusted by control points.
- the palm can be divided into several sections, each section is described by a Bezier curve, and palm print lines of different shapes can be obtained by adjusting the position and number of control points.
- FIG. 1 is a schematic diagram showing that there is a significant gap between the Bezier curve and the real palm print in terms of wrinkle distribution and texture.
- Palmprint as a stable and privacy-friendly biometric recognition technology, has recently shown great potential in recognition applications.
- deep learning-based palmprint recognition methods have become the mainstream palmprint recognition technology.
- Deep learning-based palmprint recognition methods train neural networks to extract features of palmprints with improved classification or pairing losses.
- a major difficulty in the research and application of deep learning-based palmprint recognition is the scarcity of large-scale palmprint datasets, and collecting large-scale palmprint datasets may pose the risk of violating user privacy.
- researchers can currently expand the dataset by using some data synthesis techniques to generate simulated palmprint data.
- the Bezier palmprint generation method uses parameterized Bezier curves to synthesize pseudo palmprint lines.
- the Bezier palmprint 101 generated by the Bezier palmprint generation method has significant differences in wrinkles and textures from the real palmprint image 102. It cannot reflect the wrinkle distribution of the real palmprint, nor can it present the various detailed textures in the real palmprint. Therefore, the Bezier palmprint still requires a certain amount of real palmprint data for fine-tuning.
- GANs generative adversarial networks
- the embodiment of the present application provides a method of using an intermediate domain connecting the Bezier palmprint domain and the real palmprint image domain, wherein a new palmprint line energy (PCE) domain is introduced as the intermediate domain.
- PCE palmprint line energy
- the Bezier curve is converted to the palmprint line energy domain to generate a palmprint line energy map with realistic wrinkles (referred to as PCE image), and then based on the palmprint line energy map, a simulated palmprint image with realistic texture is generated, thereby obtaining a diversified and realistic palmprint image.
- the PCE image 103 is an intermediate state close to the real palm print. It has wrinkle consistency with the Bezier curve 101, that is, the line distribution of its wrinkles (i.e., palm print lines) is consistent with the Bezier curve 101, and has appearance similarity with the real palm print image 102, that is, the appearance of the palm print lines of the PCE image 103 is consistent with the appearance of the real palm print lines.
- the method provided in the embodiment of the present application decomposes the Bezier-Real difference into the wrinkle difference and the texture difference, thereby reducing the generation difficulty.
- the generation of palmprint wrinkles and textures is decoupled, so as to generate realistic wrinkles by converting the Bezier curve in the Bezier palmprint domain to the palmprint line energy map in the palmprint line energy domain, and to generate realistic textures by converting the palmprint line energy map in the palmprint line energy domain to the palmprint image in the palmprint image domain, thereby reducing the difficulty of generating realistic palmprint images from Bezier curves, and realizing diversified realistic palmprint image generation.
- the method provided in the embodiment of the present application generates a Bezier curve using control points determined from a predetermined palmprint curve template, and converts the Bezier curve into a palmprint line energy map with wrinkle information, wherein the wrinkle information includes the same line distribution as the Bezier curve but a different line type, and the line type is determined by the line energy feature of each pixel, and then further generates a palmprint image with texture information based on the palmprint line energy map with the wrinkle information, and the palmprint lines of the palmprint image are consistent with the wrinkle information of the palmprint line energy map, thereby generating a simulated palmprint image with realistic wrinkles and texture.
- the method provided in the embodiment of the present application introduces a palmprint line energy domain as an intermediate domain connecting the Bezier palmprint domain and the palmprint image domain, thereby avoiding directly generating a palmprint image with wrinkle information and texture information from a Bezier curve, thereby reducing the difficulty of generating a palmprint image.
- a palmprint line energy domain as an intermediate domain connecting the Bezier palmprint domain and the palmprint image domain, thereby avoiding directly generating a palmprint image with wrinkle information and texture information from a Bezier curve, thereby reducing the difficulty of generating a palmprint image.
- detailed texture information is generated while ensuring that the palmprint image has consistent palmprint lines, so that a realistic palmprint image with diversified textures can be generated while retaining the same identity information, thereby reducing dependence on real data and being suitable for palmprint recognition training in the absence of a large-scale palmprint data set.
- Fig. 2 is a flow chart showing a palmprint image generation method 200 according to an embodiment of the present application.
- Fig. 3 is a schematic diagram showing a palmprint image generation system according to an embodiment of the present application.
- the palmprint image generation system may include a first generation stage 310 associated with a first generator 304, and a second generation stage 320 associated with a second generator 307.
- the first generation stage 310 and the second generation stage 320 are connected by a PCE image 305 of the PCE domain.
- the Bezier palmprint generator 302 In the first generation stage 310 , the Bezier palmprint generator 302 generates a Bezier curve 303 based on the control point 301 , and the first generator 304 generates a PCE image 305 based on the Bezier curve 303 .
- the second generator 307 In the second generation stage 320, the second generator 307 generates a simulated palm print image 308 based on the PCE image 305 and the control vector 306. The generation process will be described in detail below with reference to FIG. 2 to FIG. 4A.
- a plurality of control points may be determined based on a predetermined palmprint curve template, and a Bezier curve may be generated based on the plurality of control points.
- the palmprint image generation method can use prior knowledge obtained from human skin texture to improve the control point generation mechanism, for example, to improve the palmprint curve template used to generate control points.
- the palm print curve template can be predetermined based on the statistical information obtained from the real palm print lines of humans. Since the diversity and individual differences of real human palm prints are taken into consideration at the same time, the palm print curve template determined is more representative. Therefore, the generation range of the control points determined based on the palm print curve template will be more accurate, so that a Bezier curve that is closer to the distribution of real palm print wrinkles can be generated.
- FIG. 4A is a schematic diagram showing an example palm print curve template according to an embodiment of the present application.
- five example palm print curve templates divided based on statistical information obtained from real human palm print lines are provided, corresponding to the five most representative human palm print line distributions.
- each example palm print curve template provides a generation range for control points, as shown in the dotted box.
- Different example palm print curve templates may have different numbers of palm print lines, and therefore may be determined by different numbers of generation ranges and control points.
- example palmprint curve template in FIG. 4A is not intended to limit the palmprint curve template used to generate control points in the present application, and the present application may also adopt various other palmprint curve templates.
- determining a plurality of control points may include:
- Sampling is performed within the region to obtain the plurality of control points.
- the sampling method may include methods such as random sampling, so as to increase a certain degree of randomness and individual differences while maintaining the shape and style of the palm print, so as to make the generated palm print image more realistic and diverse.
- Other sampling methods may also be used to achieve different data generation effects, and this application does not limit this.
- these palm print curve templates can provide a more accurate generation range of control points, so that the Bezier curves generated based on these control points are closer to the distribution of real wrinkles, thereby reducing the difference between the generated palm prints and the real palm prints.
- a palm line energy map with wrinkle information can be generated based on the Bezier curve, and the palm line energy map includes palm lines with the same line distribution as the Bezier curve but different line types, wherein the line type is used to describe the wrinkle information and corresponds to the line direction energy of each pixel on the palm line.
- the Bezier curve 303 can be converted to the PCE domain to generate a PCE image (i.e., palm line energy map) 305.
- a PCE image i.e., palm line energy map
- Both the Bezier curve 303 and the PCE image 305 are binary images based on lines.
- the goal of the first generation stage is to convert the curve lines in the Bezier palm print image into a PCE image with wrinkles (i.e., palm lines) that are closer to real human palm prints.
- wrinkles can refer to the deep and shallow concave and convex lines in the palm lines, which are usually formed due to the folding and bending of the skin. They are used to describe the overall shape of the palm lines, such as the main lines of the palm, curved edges, etc., and they play a role in segmenting and defining different areas in the palm lines.
- the shape and distribution of palm lines can be used in fields such as individual identity recognition.
- the PCE image can include palm lines with the same line distribution (i.e., the position and direction of the main lines of the palm are consistent), but the palm lines in the PCE image have different line types (e.g., lines of different thickness and depth) to simulate the wrinkles of real human palm lines.
- the different line types used on the palm line may depend on the line energy characteristics of the pixels at the corresponding positions on the palm line, wherein the line energy characteristics of each pixel may be obtained by enhancing the line energy characteristics of the Bezier curve, which may describe the directional distribution of the line energy characteristics at the pixel.
- generating a palm line energy map based on the Bezier curve may include:
- the palm line energy map is generated based on the enhanced multi-channel feature map.
- a Bezier curve has N channels.
- the line energy feature enhancement can be performed on the feature map on each channel so that the wrinkle generation process focuses on the line energy feature.
- the line energy feature enhancement may include subtracting the average value of all features in the feature map on each channel to obtain high-frequency component features in these feature maps, and then the line energy features may be extracted from these high-frequency component features.
- determining the line energy feature of each pixel in each channel feature map based on the multi-channel feature map may include:
- the line energy feature of each pixel is obtained according to the line direction energy, and the line energy feature includes the maximum line direction energy of the pixel in the plurality of predetermined directions and a predetermined direction corresponding to the maximum line direction energy.
- a linear convolutional layer may include several Gaussian Modified Finite RAdon Transform (MFRAT) kernels along different directions (i.e., the multiple predetermined directions mentioned above).
- MFRAT Gaussian Modified Finite RAdon Transform
- the line energy feature of the feature map can be obtained according to the maximum response operation. Specifically, for each pixel in the feature map, the maximum line direction energy of the pixel in the plurality of predetermined directions and a predetermined direction corresponding to the maximum line direction energy are selected as the line energy feature of the pixel.
- the palmprint lines usually have certain directional characteristics, and the line direction energy can be used to describe the line direction information at different pixels in the palmprint image, for example, to quantify the line direction information at different pixels (or specific areas) and convert the line direction information into a set of numerical features to represent the line direction energy of the pixel.
- a dilated convolution based on the Gaussian-MFRAT kernel can be used to reduce the computational and time costs.
- the line energy feature of the feature map can be multiplied by the preset learning parameter S, and the product is added to the original feature map to obtain a feature map with enhanced line energy features.
- the Gaussian-MFRAT kernel can be obtained by improving the traditional MFRAT method.
- FIG4B is a schematic diagram showing a comparison between the Gaussian-MFRAT kernel 420 according to an embodiment of the present application and the traditional MFRAT filter 410.
- the traditional MFRAT method uses a linear filter with a constant value, which is sensitive to noise or small changes, while the Gaussian-MFRAT kernel in this application is calculated as follows:
- (x,y) ⁇ L( ⁇ ) represents the coordinates on the kernel
- (x 0 ,y 0 ) represents the center point of the kernel
- L( ⁇ ) represents a line with an angle ⁇ defined on the two-dimensional image plane (as shown by the white line on the black background in FIG. 4B )
- ⁇ is a hyperparameter.
- f(x, y) 0.
- 12 Gaussian-MFRAT kernels may be designed, with a size of 31 ⁇ 31, ⁇ ranging from 0° to 165°, and an interval of 15°.
- line direction energy can be extracted from the feature map along these different predetermined directions, and the line energy feature of each pixel in the feature map includes the maximum line direction energy selected from these line direction energies along different predetermined directions.
- FIG. 4B also shows the filtering results 411 and 421 for the line energy feature generated based on the MFRAT filter and the Gaussian-MFRAT kernel.
- the line energy feature extraction result based on the Gaussian-MFRAT kernel i.e., filtering result 421) is clearer and has less noise.
- the Gaussian-MFRAT kernel 420 can be used to replace the traditional MFRAT filter 410, avoiding the use of the inefficient response suppression denoising strategy in the traditional MFRAT filter 410, simplifying the enhancement operation of the line energy feature, and achieving the differentiability of the enhancement operation.
- ⁇ i represents the mean of Xi
- f MAX represents the maximum response operation
- N k the total number of Gaussian-MFRAT kernels
- s i represents the preset learning parameter of the ith channel, which is used to adjust the feature enhancement degree of the ith channel.
- a PCE image with realistic palm lines ie, wrinkles
- the palm lines appear as different line types depending on the line energy characteristics of each pixel.
- the line direction energy of each pixel in the palm line may include the line direction energy of the pixel in all directions.
- the line direction energy of each pixel in all directions may be determined based on a feature-enhanced multi-channel feature map of a Bezier curve, and these line direction vectors may be represented by different line types, thereby achieving simulation of real wrinkles.
- generating a palm line energy map with wrinkle information based on the Bezier curve may include: generating a palm line energy map based on the Bezier curve using a pre-trained first generator.
- a first generator 304GB ⁇ P can be used to convert the Bezier curve domain (B) to the PCE domain (P).
- the main structure of GB ⁇ P may include an encoder-decoder network based on a residual block (RB), and its specific structure and operation will be described below with reference to FIG6 .
- a simulated palmprint image with detailed texture information may be generated based on the palmprint line energy map.
- the simulated palmprint image has palmprint lines that are consistent with the palmprint line energy map and has detailed texture information.
- preserving wrinkle content can be decoupled from generating detail textures.
- generating a simulated palmprint image based on the palmprint line energy map may include: using multiple control vectors to generate the simulated palmprint image with multiple detail texture information based on the palmprint line energy map.
- the palm lines in the palm line energy map are used as identity information to indicate the identity of the palm line image. That is, a realistic palm line image with detailed texture information can be generated while retaining the palm lines in the palm line energy map, wherein the palm lines retained in the palm line energy map can be interpreted as maintaining consistent identity information, because the palm lines can be used to indicate identity (ID).
- detail texture information may be used to describe subtle texture features in a palm print.
- the detail texture information may include one or more of light information, shadow information, and skin texture information.
- skin texture information may include spots and fine textures on the skin, which are usually formed based on factors such as tiny details of the skin, arrangement and tissue structure of skin cells, and can be used to generate more realistic palm print images.
- detail texture information may also include information related to the style of the palmprint image, such as light, shadow, and other information of the generated palmprint image, so as to achieve diversified palmprint image generation.
- the generation of detail texture information may be achieved using a control vector.
- the control vector may be a random noise vector.
- a control vector 306 may participate in the generation of a simulated palm print image 308 from a PCE image 305, and optionally, the control vector may be a random noise vector (e.g., a Gaussian white noise conforming to a standard normal distribution) to control the generation of a diversified palm print image in the second generation stage.
- a random noise vector e.g., a Gaussian white noise conforming to a standard normal distribution
- control vectors may also be generated to generate diversified palm prints, and the present application does not impose any limitation on this.
- generating a realistic palmprint image with detailed texture information based on the palmprint line energy map may include: generating a realistic palmprint image based on the palmprint line energy map using a pre-trained second generator.
- a second generator 307GP ⁇ R can be used to convert the PCE image 305 of the PCE domain (P) into the palmprint image domain (R) to generate realistic palmprints using the PCE image 305 as an ID condition.
- a random noise vector can be used as a control vector 306 and input into GP ⁇ R in the form of a latent vector to reproduce various detail textures such as light, shadow, and skin texture.
- the first generator and the second generator may be jointly trained using real palmprint images. Therefore, next, the joint training process of the model used in the palmprint image generation method of the present application will be introduced with reference to FIGS. 5-8.
- FIG5 is a schematic diagram illustrating domain conversion in joint training according to an embodiment of the present application.
- the joint training process of the present application also involves a conversion from the Bessel palmprint domain to the PCE domain in the first generation stage, and a conversion from the PCE domain to the palmprint image domain in the second generation stage.
- the PCE image sample 5031 is converted from the Bezier curve sample 501. Since there is no supervision information, the Convert to unpaired domain conversion 502.
- a cycle conditional generation model is introduced.
- the real palmprint image 506 is used as the supervision information.
- the PCEE 505 is used to extract the real PCE image 5032 from the real palmprint image 506. Then the PCE image samples 5031 and 5032 are paired to generate a realistic palmprint image (not shown) in the palmprint image domain, thereby achieving the purpose of supervised learning using real palmprint images.
- the first generator may take Bezier curve samples as input and palm line energy map samples as output, wherein the palm line energy map samples include wrinkle information.
- FIG6 is a schematic diagram showing the first generation stage in joint training according to an embodiment of the present application.
- the first generator GB ⁇ P to be trained can be used to generate the PCE image sample 602 in the PCE domain.
- Figure 6(b) shows an exemplary structure of the first generator GB ⁇ P , wherein the main structure of the first generator GB ⁇ P may be an encoder-decoder network based on the residual block RB 610, and according to an embodiment of the present application, the first generator may include a line energy feature enhancement block (Line Feature Enhancement Block, LFEB) 620 for enhancing the line energy features of the multi-channel feature map of the Bezier curve sample 601.
- Line Feature Enhancement Block Line Feature Enhancement Block
- each encoder structure of the first generator GB ⁇ P may include a LFEB 620, a convolution layer (e.g., Conv 7x7, Conv 3x3, etc.) and an activation layer (e.g., BN+ReLU), and each decoder structure may include a deconvolution layer (e.g., DeConv 3x3) and an activation layer (e.g., BN+ReLU, Tanh).
- the residual block RB 610 includes a convolution layer (e.g., Conv 3x3), an activation layer (e.g., BN+ReLU, BN), and a discard layer (e.g., Dropout).
- the line energy feature enhancement block LFEB 620 can be used to implement the line energy feature enhancement processing described above with reference to step S202, as shown in the above formula (2), which may include:
- the maximum line energy feature among the extracted multiple line energy features is used as the line energy feature of the feature map
- the line energy feature enhancement block LFEB 620 is a lightweight plug-and-play block that can facilitate domain transmission and improve recognition performance.
- a real PCE image 604 is obtained based on a real palmprint image 603 , so as to be used for supervising the training of the PCE image sample 602 .
- a palmprint line energy extractor (PCE Extractor, PCEE) is used to extract the corresponding real PCE image from the real palmprint image.
- a PCEE for extracting a PCE image from a real palmprint image can be designed to generate supervisory information for joint training, so that the generated palmprint image is more realistic.
- FIG. 7 is a schematic diagram showing a palmprint line energy extractor PCEE according to an embodiment of the present application.
- the palmprint line energy extractor PCEE of the present application may include a mean filter 710, a linear convolution layer 720, a maximum response operation layer 730, and an adaptive binarization layer 740, taking a real palmprint image 700 as input, and finally generating a binarized PCE image 750.
- using a palm line energy extractor to extract a real palm line energy map from the real palm line image may include:
- the real palm line energy map is obtained through binarization processing.
- a mean filter 710 is applied to subtract the filtering result from the original real palmprint image 700 to obtain a high-frequency component;
- a linear convolution layer 720 is used to obtain the line energy feature in the real palmprint image 700, that is, the line distribution of the real palmprint line, wherein the linear convolution layer may be composed of several Gaussian-MFRAT kernels along different directions.
- the maximum line direction energy can be determined as the line energy feature of the pixel.
- the final PCE image may be obtained using an adaptive binarization process 740.
- a binarization threshold T may be set based on the top 10% of the values of the line energy features on the entire image.
- the second generator in joint training, can take a real palmprint line energy map of a real palmprint image as input, and take a simulated palmprint image corresponding to the real palmprint image as output, wherein the simulated palmprint image includes detailed texture information.
- FIG8 is a schematic diagram showing the second generation stage in joint training according to an embodiment of the present application.
- the second generation stage in the joint training utilizes the real palmprint image 801 to participate in the training, wherein, similar to the above, PCEE is also used to extract the real PCE image 802 from the real palmprint image 801.
- the real PCE image f PCEE (A) is generated from the real palmprint image A through PCEE, and then the real PCE image f PCEE (A) can be input into the second generator G P ⁇ R to be trained to obtain a simulated palmprint image A * 803 having palmprint lines consistent with the real PCE image f PCEE (A).
- the encoder E can be used to map the input real palmprint image A to a vector with mean ⁇ Q and variance
- A) can obey the normal distribution
- a latent vector ie, control vector for controlling the generation of texture information is generated based on the latent space.
- the divergence of the latent vector can be constrained during the training phase, for example, the distribution of the latent space can be made Close to the standard normal distribution N(0,1), that is, the latent space is approximated to the standard normal space, so that the random noise z ⁇ N(0,1) can be easily sampled as a latent vector to generate diverse palmprint details.
- the generated simulated palmprint image 803 and the real palmprint image 801 can be expanded using a data augmentation module AUG before feeding these images to the discriminator D to generate more diverse training samples, thereby improving the generalization ability and robustness of the discriminator D. Even if only a small number of samples are used for training, the overfitting risk of the discriminator D can be reduced, allowing it to better adapt to different palmprint image samples.
- the generation process of the first generator and the second generator can be supervised based on the real PCE image, wherein the palm line energy extractor can be jointly trained with the first generator and the second generator.
- a real PCE image 604 can be used to supervise the generation of a PCE image sample 602.
- a real PCE image 604 extracted from a real palmprint image 603 can be used as an adversarial sample to adopt an adversarial loss to drive the result generated by the first generator to be closer to the real PCE image 604, thereby optimizing the generation quality of the PCE image.
- a loop structure with PCEE can be used in the second generation stage in the joint training to remap the generated simulated palmprint image A * back to the PCE domain fPCEE (A * ), that is, to obtain a simulated PCE image 804, and by minimizing the gap between the real PCE image 803 and the simulated PCE image 804, it is ensured that the simulated palmprint image has consistent identity information with the original real palmprint image.
- the distortion of the generated simulated palmprint image A * can be constrained by minimizing the L1 distance between fPCEE (A) and the generated fPCEE (A * ), so as to strictly retain the ID information of the input fPCEE (A), and the discriminator D can be applied to strengthen the authenticity of the generated simulated palmprint image A * .
- the loss function of the joint training may include a first loss function associated with the first generator and a second loss function associated with the second generator;
- the first loss function includes: a contrast loss for maintaining the structural consistency between the palm line energy map sample and the Bezier curve sample, and an adversarial loss for making the palm line energy map sample similar to the real palm line energy map;
- the second loss function includes: a distribution control loss for making the distribution of the control vector close to a standard normal distribution, an identity consistency loss between the identity of the simulated palmprint image and the identity of the real palmprint image, a distortion loss of the simulated palmprint image, and a loss for strengthening the authenticity of the simulated palmprint image.
- the joint training of the present application may include joint training of the first generator, the second generator and the PCEE, wherein the PCEE serves as a connection between the first generator and the second generator. Therefore, the loss function of the entire training process may include a loss function corresponding to the generation process of the first generator and the generation process of the second generator.
- the loss function corresponding to the generation process of the first generator may include a contrast loss L CL for maintaining structural consistency and an adversarial loss L adv for making the palmprint image more realistic.
- a contrastive loss can be used. Specifically, a series of tiles can be cropped from both B and GB ⁇ P (B). For a query tile q in GB ⁇ P (B), the corresponding tile at the same position in B can be used as the positive sample k + of the query tile q, and other tiles in B can be used as the negative samples of the query tile Therefore, the contrastive loss function can be constructed in a way that the positive samples are closer together and the negative samples are farther apart.
- the contrastive loss L CL applying the normalized mutual information neural estimation (InfoNCE) loss function can be expressed as follows:
- ⁇ is the temperature hyperparameter
- the loss function corresponding to the generation process of the first generator can be expressed as follows:
- f PCEE represents the PCEE processing performed on image A
- A represents a random real palmprint image, and are two weights.
- the loss function corresponding to the generation process of the second generator may include a distribution control loss L KL for making the distribution of the control vector N(z) close to the standard normal distribution Q(z
- a distribution control loss L KL for making the distribution of the control vector N(z) close to the standard normal distribution Q(z
- an identity consistency loss L cyc for maintaining the identity of the simulated palmprint image 803 generated by the second generator based on the real PCE image 802 and the identity of the real palmprint image 801
- a generation loss LG for constraining the distortion of the simulated palmprint image 803 generated by the second generator and enhancing the authenticity.
- the distribution control loss L KL can be expressed as follows:
- identity consistency loss Lcyc can be expressed as follows:
- the generation loss LG may include a distortion loss for the simulated palm print image 803. and the loss of authenticity of the simulated palmprint image 803 for the discriminator Among them, T() represents the processing of the data enhancement module T. Therefore, the generation loss LG can be expressed as follows:
- the loss function corresponding to the generation process of the second generator can be expressed as follows:
- the same experimental data set and open set evaluation scheme as in the Bessel palmprint generation method and the RPG-Palm (Realistic Pseudo-data Generation-Palm) palmprint generation method can be followed.
- the performance of the recognition model pre-trained based on the palmprint images generated by various palmprint generation methods can be evaluated according to TAR and FAR, where TAR and FAR represent "True Acceptance Rate” and "False Acceptance Rate", respectively. That is, TAR can represent the proportion of correctly identified samples that are correctly accepted, which can also be understood as the accuracy of the recognition model, while FAR represents the proportion of incorrectly identified samples that are incorrectly accepted, which can also be understood as the false recognition rate of the recognition model.
- the FID (Fréchet Inception Distance) metric can be used to evaluate the quality of the generated palmprint images.
- the Bessel palmprint generation method and the RPG palmprint generation method can be followed.
- 13 public data sets are used, which can come from various devices, with a total of 3,268 IDs and 59,162 images.
- the detect-then-crop scheme can be followed to extract the region of interest (ROI).
- 4000 body images can be generated according to the Bessel palmprint generation method and the RPG palmprint generation method.
- Each identity has 100 samples by default.
- ⁇ can be set to 1.0, 1.0, and 1.0, and the learning rate is 0.0002 in the first 30 training epochs and decays linearly to 1e-6 in the last 30 training epochs.
- the second generation phase and They are set to 1.0, 10.0, 0.01, and 1.0 respectively, and the learning rate is 0.0002 in the first 50 training cycles and linearly decays to 1e-8 in the last 50 training cycles.
- the Adaptive Moment Estimation (Adam) optimizer parameters are set to (0.5, 0.99).
- the resolution of all images in the above training can be set to 256 ⁇ 256.
- the same recognition model skeleton as the palmprint recognition model corresponding to the Bessel palmprint generation method namely ResNet (residual network) 50 and MobileFaceNet (mobile face recognition network)
- ResNet residual network
- MobileFaceNet mobile face recognition network
- SGD stochastic gradient descent
- the method described in the embodiment of the present application can improve the RPG palmprint generation method with a clear margin, and achieves the highest performance level in the settings where the ratio of training ID to test ID is 1:1 and 1:3 respectively.
- the improvement of the method described in the embodiment of the present application in the setting where the ratio of training ID to test ID is 1:3 is greater than that in the setting where the ratio is 1:1, that is, the method described in the embodiment of the present application has significant effectiveness in the case of less real data.
- the model with different numbers of training identities can be tested under an open set protocol with a ratio of training ID to test ID of 1:1. Specifically, a total of 4000 pseudo IDs were synthesized in the verification process, and each ID contained 100 pseudo palmprints.
- the same MobileFaceNet was used as the recognition model skeleton for different methods, and the quantitative results are shown in Table 2 below.
- the palmprint generation performance can be compared using four generation methods, pix2pixHD, CycleGAN, BicycleGAN, and RPG-Palm, all of which are retrained using 40 real IDs and unpaired data from RPG-Palm.
- the quantitative results are shown in Table 3.
- the palmprint recognition model pre-trained based on the method described in the embodiment of the present application is superior to other methods.
- the method described in the embodiment of the present application can achieve a FID score of 40.3, showing a significant improvement.
- FIG9 is a comparison diagram showing palmprint generation results using different palmprint generation methods according to an embodiment of the present application.
- (a) corresponds to the Bézier palm generation method
- (b) corresponds to the pix2pixHD method
- (c) corresponds to the CycleGAN method
- (d) corresponds to the BicycleGAN method
- (e) corresponds to the RPG-Palm method
- (f) corresponds to the PCE image
- (g)-(j) correspond to the diversified palmprint images generated by the method described in the embodiment of the present application.
- the palm print image generated by RPG-Palm exhibits severe blurring and inconsistent lines, while the method described in the embodiment of the present application still maintains overall clarity and ID consistency.
- the method described in the embodiment of the present application can restore better detail information about the palm print line, including changes in thickness and the interweaving of multiple wrinkles, rather than just migrating Bezier curves.
- the results of the pix2pixHD, CycleGAN, and BicycleGAN methods show more serious blurring problems than RPG-Palm.
- the palmprint image generation method of the present application can also apply the proposed LFEB to the palmprint recognition model, for example, incorporating a plug-and-play LFEB before the first convolutional layer of the skeleton of the palmprint recognition model to enhance the line energy characteristics of the input palmprint image.
- the performance verification may also include a study of ablation.
- the main components of the method described in the embodiment of the present application may include PCEE, a data amplification (DA) module for few-sample training, an improved Bezier curve synthesis, a generation model with LFEB, and a recognition model with LFEB, which can be represented by "P", "A”, “I”, “G+L” and “R+L” respectively.
- DA data amplification
- LFEB generation model with LFEB
- recognition model with LFEB which can be represented by "P", "A”, “I”, “G+L” and "R+L” respectively.
- 40 IDs can be used to train ablation experiments, and the test set is fixed under an open set protocol with a ratio of 1:1 between training ID and test ID. The results of the ablation experiment are shown in Table 4 below.
- the improvement to the Bezier curve also achieves better performance by introducing a more reasonable palmprint line distribution.
- Fig. 10 is a diagram showing the results of the effectiveness verification of the line energy feature enhancement block according to an embodiment of the present application.
- Figure 10 visualizes the features of the middle layer 1 block of MobileFaceNet with and without LFEB, where Figure 10(a) is the input palmprint image, Figure 10(b) is the palmprint image after LFEB, Figure 10(c) corresponds to the feature visualization without LFEB, and Figure 10(d) corresponds to the feature visualization with LFEB. Therefore, it can be seen that the model focuses on both the palmprint lines and non-line areas without LFEB, and by adding the LFEB component, the model can be biased to focus on the palmprint lines.
- a Bezier curve can be generated by using control points determined from a predetermined palmprint curve template, and the Bezier curve can be converted into a palmprint line energy map with wrinkle information, wherein the wrinkle information includes the same line distribution as the Bezier curve but a different line type, and its line type is determined by the line energy feature of each pixel, and then a palmprint image with texture information is further generated based on the palmprint line energy map with the wrinkle information, and the palmprint lines of the palmprint image are consistent with the wrinkle information of the palmprint line energy map, thereby generating a realistic palmprint image with realistic wrinkles and texture.
- the palmprint line energy domain as the intermediate domain connecting the Bezier palmprint domain and the palmprint image domain
- the direct generation of palmprint images with wrinkle information and texture information from the Bezier curve is avoided, thereby reducing the difficulty of generating palmprint images.
- detailed texture information is generated while ensuring that the palmprint image has consistent palmprint lines, so that realistic palmprint images with diverse textures can be generated while retaining the same identity information. Therefore, the dependence on real data is reduced, which is suitable for palmprint recognition training in the absence of large-scale palmprint datasets.
- FIG. 11 is a schematic diagram showing a palmprint image generating device 1100 according to an embodiment of the present application.
- the palmprint image generating device 1100 may include a curve generating module 1101 , a wrinkle generating module 1102 , and a texture generating module 1103 .
- the curve generation module 1101 may be configured to determine a plurality of control points based on a predetermined palmprint curve template, and generate a Bezier curve based on the plurality of control points.
- the curve generation module 1101 may perform the operations described above with reference to step S201.
- the wrinkle generation module 1102 may be configured to generate a palm line energy map with wrinkle information based on the Bezier curve, wherein the palm line energy map includes palm lines having the same line distribution as the Bezier curve but different line types, wherein the line types are used to describe the wrinkle information and correspond to the line direction energy of each pixel on the palm line.
- the wrinkle generation module 1102 may perform the operations described above with reference to step S202.
- the texture generation module 1103 may be configured to generate a simulated palm print image with detailed texture information based on the palm print line energy map.
- the texture generation module 1103 may perform the operation described above with reference to step S203.
- the wrinkle generation module 1102 is configured to perform feature extraction on the Bezier curve to obtain a multi-channel feature map of the Bezier curve; determine the line energy features of each pixel in each channel feature map based on the multi-channel feature map; enhance the line energy features of each pixel to generate an enhanced multi-channel feature map; and generate the palm print line energy map based on the enhanced multi-channel feature map.
- the wrinkle generation module 1102 is configured to perform the following processing for each channel feature map:
- the linear convolution layer includes a Gaussian modified finite Radon transform kernel along a plurality of predetermined directions, and the line direction energy includes the line direction energy of the pixel along the plurality of predetermined directions;
- the line energy feature of each pixel is obtained according to the line direction energy, and the line energy feature includes the maximum line direction energy of the pixel in the plurality of predetermined directions and a predetermined direction corresponding to the maximum line direction energy.
- the texture generation module 1103 is configured to generate the simulated palm print image with multiple detail texture information based on the palm print line energy map using multiple control vectors.
- the palm lines in the palm line energy map are used as identity information to indicate the identity of the simulated palm print image.
- control vector is a random noise vector
- detail texture information includes one or more of light information, shadow information and skin texture information.
- the wrinkle generation module 1102 is configured to generate the palm line energy map based on the Bezier curve using a pre-trained first generator
- the texture generation module 1103 is configured to generate the simulated palm print image based on the palm print line energy map using a pre-trained second generator;
- the first generator and the second generator are jointly trained using real palmprint images.
- the first generator takes a Bezier curve sample as input and a palm line energy map sample as output, wherein the palm line energy map sample includes wrinkle information;
- the second generator takes the real palmprint line energy map of the real palmprint image as input, and takes the simulated palmprint image corresponding to the real palmprint image as output, wherein the simulated palmprint image includes detail texture information;
- the palm line energy extractor is jointly trained with the first generator and the second generator.
- the extracting the real palmprint line energy map from the real palmprint image using a palmprint line energy extractor comprises:
- the real palm line energy map is obtained through binarization processing.
- the first generator comprises a line energy feature enhancement block for enhancing the line energy features of the multi-channel feature map of the Bezier curve sample.
- the loss function of the joint training includes a first loss function associated with the first generator and a second loss function associated with the second generator;
- the first loss function includes: a contrast loss for maintaining the structural consistency between the palm line energy map sample and the Bezier curve sample, and an adversarial loss for making the palm line energy map sample similar to the real palm line energy map;
- the second loss function includes: a distribution control loss for making the distribution of the control vector close to a standard normal distribution, an identity consistency loss between the identity of the simulated palmprint image and the identity of the real palmprint image, a distortion loss of the simulated palmprint image, and a loss for strengthening the authenticity of the simulated palmprint image.
- the palm print curve template is predetermined based on statistical information obtained from real human palm print lines;
- the curve generating module 1101 is configured to determine the region range for generating the plurality of control points based on the palmprint curve template; and perform sampling within the region range to obtain the plurality of control points.
- Fig. 12 shows a schematic diagram of an electronic device 2000 according to an embodiment of the present application.
- the electronic device 2000 may include one or more processors 2010 and one or more memories 2020.
- the memory 2020 stores computer readable codes, and when the computer readable codes are run by the one or more processors 2010, the palmprint image generation method described above may be executed.
- the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities.
- the above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
- DSP digital signal processor
- ASIC application-specific integrated circuit
- FPGA field-programmable gate array
- the disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed.
- the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can be an X86 architecture or an ARM architecture.
- various example embodiments of the present application can be implemented in hardware or dedicated circuits, software, firmware, logic, or any combination thereof. Certain aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device.
- firmware or software that can be executed by a controller, microprocessor, or other computing device.
- the method or apparatus according to the embodiment of the present application can also be implemented with the aid of the architecture of the computing device 3000 shown in FIG13.
- the computing device 3000 may include a bus 3010, one or more CPUs 3020, a read-only memory (ROM) 3030, a random access memory (RAM) 3040, a communication port 3050 connected to a network, an input/output component 3060, a hard disk 3070, and the like.
- the storage device in the computing device 3000 such as the ROM 3030 or the hard disk 3070, can store various data or files used for processing and/or communication of the palmprint image generation method provided in the present application, as well as program instructions executed by the CPU.
- the computing device 3000 may also include a user interface 3080.
- the architecture shown in FIG13 is only exemplary. When implementing different devices, one or more components in the computing device shown in FIG13 may be omitted according to actual needs.
- a computer-readable storage medium is also provided.
- Computer-readable instructions are stored on the computer storage medium.
- the palm print image generation method according to the embodiment of the present application described with reference to the above figures can be executed.
- the computer-readable storage medium in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.
- the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory.
- the volatile memory can be a random access memory (RAM), which is used as an external cache.
- RAM random access memory
- DRAM dynamic random access memory
- SDRAM synchronous dynamic random access memory
- DDRSDRAM double data rate synchronous dynamic random access memory
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronous connection dynamic random access memory
- DR RAM direct memory bus random access memory
- the embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the palmprint image generation method according to the embodiment of the present application.
- Embodiments of the present application provide a palmprint image generation method, apparatus, device, and computer-readable storage medium.
- the method provided in the embodiment of the present application can decouple the generation of palmprint wrinkles and textures by introducing the palmprint line energy domain, so as to convert the Bezier curve in the Bezier palmprint domain into the palmprint line energy domain.
- the realistic wrinkles are generated by converting the palmprint line energy map in the palmprint line energy domain into the palmprint image in the palmprint image domain to generate realistic texture, thereby reducing the difficulty of generating realistic palmprint images from Bezier curves and realizing diversified realistic palmprint image generation.
- the method provided in the embodiment of the present application generates a Bezier curve using control points determined from a predetermined palmprint curve template, and converts the Bezier curve into a palmprint line energy map with wrinkle information, wherein the wrinkle information includes the same line distribution as the Bezier curve but a different line type, and the line type is determined by the line energy feature of each pixel, and then further generates a palmprint image with texture information based on the palmprint line energy map with the wrinkle information, and the palmprint lines of the palmprint image are consistent with the wrinkle information of the palmprint line energy map, thereby generating a simulated palmprint image with realistic wrinkles and texture.
- the method provided in the embodiment of the present application introduces a palmprint line energy domain as an intermediate domain connecting the Bezier palmprint domain and the palmprint image domain, thereby avoiding direct generation of a palmprint image with wrinkle information and texture information from a Bezier curve, thereby reducing the difficulty of generating a palmprint image.
- a palmprint line energy domain as an intermediate domain connecting the Bezier palmprint domain and the palmprint image domain, thereby avoiding direct generation of a palmprint image with wrinkle information and texture information from a Bezier curve, thereby reducing the difficulty of generating a palmprint image.
- detailed texture information is generated while ensuring that the palmprint image has consistent palmprint lines, so that a realistic palmprint image with diversified textures can be generated while retaining the same identity information, thereby reducing dependence on real data and being suitable for palmprint recognition training in the absence of a large-scale palmprint data set.
- each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains at least one executable instruction for realizing the specified logical function.
- the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
- each box in the block diagram and/or flowchart, and the combination of the boxes in the block diagram and/or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
- various example embodiments of the present application can be implemented in hardware or dedicated circuits, software, firmware, logic, or any combination thereof. Certain aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device.
- firmware or software that can be executed by a controller, microprocessor, or other computing device.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Biomedical Technology (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Biophysics (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Image Processing (AREA)
Abstract
Description
Claims (20)
- 一种掌纹图像生成方法,由电子设备执行,包括:基于预先确定的掌纹曲线模板,确定多个控制点,并基于所述多个控制点生成贝塞尔曲线;基于所述贝塞尔曲线,生成具有皱褶信息的掌纹线能量图,所述掌纹线能量图包括与所述贝塞尔曲线具有相同线条分布、但不同线型的掌纹线,其中,所述线型用于描述所述皱褶信息、并与所述掌纹线上各个像素的线方向能量相对应;及,基于所述掌纹线能量图,生成具有细节纹理信息的拟真掌纹图像。
- 如权利要求1所述的方法,其中,所述基于所述贝塞尔曲线,生成具有皱褶信息的掌纹线能量图,包括:对所述贝塞尔曲线进行特征提取,获得所述贝塞尔曲线的多通道特征图;基于所述多通道特征图,确定每个通道特征图中每个像素的线能量特征;对各个像素的所述线能量特征进行增强,生成增强后的多通道特征图;及基于所述增强后的多通道特征图,生成所述掌纹线能量图。
- 如权利要求2所述的方法,其中,所述基于所述多通道特征图,确定每个通道特征图中每个像素的线能量特征,包括:对于每个通道特征图,执行以下处理:利用线状卷积层,从该通道特征图中提取每个像素的线方向能量,其中,所述线状卷积层包括沿着多个预定方向的高斯改进有限拉东变换核,所述线方向能量包括该像素沿着所述多个预定方向上的线方向能量;根据所述线方向能量,获得每个像素的所述线能量特征,所述线能量特征包括该像素在所述多个预定方向上的最大线方向能量以及与所述最大线方向能量相对应的预定方向。
- 如权利要求1-3中任一项所述的方法,其中,所述基于所述掌纹线能量图,生成具有细节纹理信息的拟真掌纹图像,包括:使用多个控制向量,基于所述掌纹线能量图,生成具有多个细节纹理信息的所述拟真掌纹图像。
- 如权利要求4所述的方法,其中,所述掌纹线能量图中的掌纹线,作为身份信息,用于指示所述拟真掌纹图像的身份。
- 如权利要求4或者5所述的方法,其中,所述控制向量为随机噪声向量,并且所述细节纹理信息包括光线信息、阴影信息以及皮肤纹理信息中的一种或多种。
- 如权利要求4-6中任一项所述的方法,其中,所述基于所述贝塞尔曲线,生成具有皱褶信息的掌纹线能量图,包括:基于所述贝塞尔曲线,利用预先训练的第一生成器,生成所述掌纹线能量图;所述基于所述掌纹线能量图,生成具有细节纹理信息的拟真掌纹图像,包括:基于所述掌纹线能量图,利用预先训练的第二生成器,生成所述拟真掌纹图像;其中,所述第一生成器和所述第二生成器是利用真实掌纹图像联合训练的。
- 如权利要求7所述的方法,其中,在所述联合训练中,所述第一生成器以贝塞尔曲线样本为输入,以掌纹线能量图样本为输出,所述掌纹线能量图样本包括皱褶信息;所述第二生成器以真实掌纹图像的真实掌纹线能量图为输入,以与所述真实掌纹图像相对应的拟真掌纹图像为输出,所述拟真掌纹图像包括细节纹理信息;利用掌纹线能量提取器,从所述真实掌纹图像中提取出所述真实掌纹线能量图;基于所述真实掌纹线能量图,对所述第一生成器和所述第二生成器进行监督;及,所述掌纹线能量提取器与所述第一生成器和所述第二生成器联合训练。
- 如权利要求8所述的方法,其中,所述利用掌纹线能量提取器,从所述真实掌纹图像中提取出所述真实掌纹线能量图,包括:利用所述掌纹线能量提取器,提取所述真实掌纹图像中的真实掌纹线,并确定所述真实掌纹线中每个像素的线能量特征;基于所述真实掌纹线和所述真实掌纹线中每个像素的线能量特征,通过二值化处理,获得所述真实掌纹线能量图。
- 如权利要求7-9中任一项所述的方法,其中,所述第一生成器包括线能量特征增强块,用于对所述贝塞尔曲线样本的多通道特征图的线能量特征进行增强。
- 如权利要求8-10中任一项所述的方法,其中,所述联合训练的损失函数包括与所述第一生成器相关的第一损失函数以及与所述第二生成器相关的第二损失函数;其中,所述第一损失函数包括:用于保持所述掌纹线能量图样本与所述贝塞尔曲线样本之间结构一致性的对比损失、以及用于使所述掌纹线能量图样本与所述真实掌纹线能量图之间相似的对抗损失;所述第二损失函数包括:用于使控制向量的分布接近标准正态分布的分布控制损失、所述拟真掌纹图像的身份与所述真实掌纹图像的身份之间的身份一致性损失、所述拟真掌纹图像的失真损失、以及强化所述拟真掌纹图像的真实性的损失。
- 如权利要求1-11中任一项所述的方法,其中,所述掌纹曲线模板是基于人类真实掌纹线得到的统计信息预先确定的;其中,所述基于预先确定的掌纹曲线模板,确定多个控制点,包括:基于所述掌纹曲线模板,确定生成所述多个控制点的区域范围;在所述区域范围内进行采样,得到所述多个控制点。
- 一种掌纹图像生成装置,包括:曲线生成模块,被配置为基于预先确定的掌纹曲线模板,确定多个控制点,并基于所述多个控制点生成贝塞尔曲线;皱褶生成模块,被配置为基于所述贝塞尔曲线,生成具有皱褶信息的掌纹线能量图,所述掌纹线能量图包括与所述贝塞尔曲线具有相同线条分布、但不同线型的掌纹线,其中,所述线型用于描述所述皱褶信息、并与所述掌纹线上各个像素的线方向能量相对应;及,纹理生成模块,被配置为基于所述掌纹线能量图,生成具有细节纹理信息的拟真掌纹图像。
- 如权利要求13所述的装置,其中,所述皱褶生成模块被配置为,对所述贝塞尔曲线进行特征提取,获得所述贝塞尔曲线的多通道特征图;基于所述多通道特征图,确定每个通道特征图中每个像素的线能量特征;对各个像素的所述线能量特征进行增强,生成增强后的多通道特征图;及,基于所述增强后的多通道特征图,生成所述掌纹线能量图。
- 如权利要求13或14所述的装置,其中,所述纹理生成模块被配置为,使用多个控制向量,基于所述掌纹线能量图,生成具有多个细节纹理信息的所述拟真掌纹图像。
- 如权利要求13所述的装置,其中,所述皱褶生成模块被配置为,基于所述贝塞尔曲线,利用预先训练的第一生成器,生成所述掌纹线能量图;所述纹理生成模块被配置为,基于所述掌纹线能量图,利用预先训练的第二生成器,生成所述拟真掌纹图像;其中,所述第一生成器和所述第二生成器是利用真实掌纹图像联合训练的。
- 如权利要求13-16中任一项所述的装置,其中,所述掌纹曲线模板是基于人类真实掌纹线得到的统计信息预先确定的;其中,所述曲线生成模块被配置为,基于所述掌纹曲线模板,确定生成所述多个控制点的区域范围;在所述区域范围内进行采样,得到所述多个控制点。
- 一种电子设备,包括:一个或多个处理器;以及一个或多个存储器,其中存储有计算机可执行程序,当由所述处理器执行所述计算机可执行程序时,执行权利要求1-12中任一项所述的方法。
- 一种计算机程序产品,所述计算机程序产品存储在计算机可读存储介质上,并且包括计算机指令,所述计算机指令在由处理器运行时,使得计算机设备执行权利要求1-12中任一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机可执行指令,所述指令在被处理器执行时用于实现如权利要求1-12中任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311546177.7 | 2023-11-17 | ||
| CN202311546177.7A CN118608635A (zh) | 2023-11-17 | 2023-11-17 | 掌纹图像生成方法、装置、设备和存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025103010A1 true WO2025103010A1 (zh) | 2025-05-22 |
Family
ID=92557769
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/123335 Pending WO2025103010A1 (zh) | 2023-11-17 | 2024-10-08 | 掌纹图像生成方法、装置、设备、存储介质及程序产品 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118608635A (zh) |
| WO (1) | WO2025103010A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN121167941A (zh) * | 2025-11-20 | 2025-12-19 | 华北电力大学(保定) | 基于主副代理模型的轴流压气机叶型优化方法及相关装置 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118608635A (zh) * | 2023-11-17 | 2024-09-06 | 腾讯科技(深圳)有限公司 | 掌纹图像生成方法、装置、设备和存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115527079A (zh) * | 2022-02-28 | 2022-12-27 | 腾讯科技(深圳)有限公司 | 掌纹样本的生成方法、装置、设备、介质及程序产品 |
| US20230075233A1 (en) * | 2020-01-30 | 2023-03-09 | The Regents Of The University Of California | Synthetic human fingerprints |
| CN116168269A (zh) * | 2023-01-19 | 2023-05-26 | 支付宝(杭州)信息技术有限公司 | 掌纹图像生成模型的训练方法及系统、掌纹图像生成方法及系统 |
| CN116994297A (zh) * | 2022-09-07 | 2023-11-03 | 腾讯科技(深圳)有限公司 | 掌纹图像生成方法、掌纹识别模型训练方法、装置及介质 |
| CN118608635A (zh) * | 2023-11-17 | 2024-09-06 | 腾讯科技(深圳)有限公司 | 掌纹图像生成方法、装置、设备和存储介质 |
-
2023
- 2023-11-17 CN CN202311546177.7A patent/CN118608635A/zh active Pending
-
2024
- 2024-10-08 WO PCT/CN2024/123335 patent/WO2025103010A1/zh active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20230075233A1 (en) * | 2020-01-30 | 2023-03-09 | The Regents Of The University Of California | Synthetic human fingerprints |
| CN115527079A (zh) * | 2022-02-28 | 2022-12-27 | 腾讯科技(深圳)有限公司 | 掌纹样本的生成方法、装置、设备、介质及程序产品 |
| CN116994297A (zh) * | 2022-09-07 | 2023-11-03 | 腾讯科技(深圳)有限公司 | 掌纹图像生成方法、掌纹识别模型训练方法、装置及介质 |
| CN116168269A (zh) * | 2023-01-19 | 2023-05-26 | 支付宝(杭州)信息技术有限公司 | 掌纹图像生成模型的训练方法及系统、掌纹图像生成方法及系统 |
| CN118608635A (zh) * | 2023-11-17 | 2024-09-06 | 腾讯科技(深圳)有限公司 | 掌纹图像生成方法、装置、设备和存储介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN121167941A (zh) * | 2025-11-20 | 2025-12-19 | 华北电力大学(保定) | 基于主副代理模型的轴流压气机叶型优化方法及相关装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118608635A (zh) | 2024-09-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Zhao et al. | Dermoscopy image classification based on StyleGAN and DenseNet201 | |
| WO2025103010A1 (zh) | 掌纹图像生成方法、装置、设备、存储介质及程序产品 | |
| WO2020063527A1 (zh) | 基于多特征检索和形变的人体发型生成方法 | |
| CN110569756A (zh) | 人脸识别模型构建方法、识别方法、设备和存储介质 | |
| CN110348319A (zh) | 一种基于人脸深度信息和边缘图像融合的人脸防伪方法 | |
| CN109949255A (zh) | 图像重建方法及设备 | |
| CN110348330A (zh) | 基于vae-acgan的人脸姿态虚拟视图生成方法 | |
| CN107680119A (zh) | 一种基于时空上下文融合多特征及尺度滤波的跟踪算法 | |
| CN109002763B (zh) | 基于同源连续性的模拟人脸老化的方法及装置 | |
| CN105354555B (zh) | 一种基于概率图模型的三维人脸识别方法 | |
| CN113538221A (zh) | 三维人脸的处理方法、训练方法、生成方法、装置及设备 | |
| CN114882545B (zh) | 基于三维智能重建的多角度人脸识别方法 | |
| CN113327191A (zh) | 人脸图像合成方法及装置 | |
| CN110414516A (zh) | 一种基于深度学习的单个汉字识别方法 | |
| CN118553001A (zh) | 基于素描输入的纹理可控的三维精细人脸重建方法及装置 | |
| CN119228938A (zh) | 一种基于感知损失的人脸素描合成方法及系统 | |
| CN118052700A (zh) | 一种基于改进CycleGAN的人脸属性风格转换方法及系统 | |
| CN110956116B (zh) | 基于卷积神经网络的人脸图像性别识别模型及识别方法 | |
| CN119649410B (zh) | 一种基于三维重建和图像生成的行人重识别方法 | |
| Feng et al. | Study on the optimization of CNN based on image identification | |
| CN102214292B (zh) | 人脸图像的光照处理方法 | |
| CN113705480A (zh) | 基于姿态识别神经网络的姿态识别方法、设备和介质 | |
| Jia et al. | Face aging with improved invertible conditional GANs | |
| CN117315736B (zh) | 一种基于数据增广结构的端到端3d人脸识别系统 | |
| CN104463190B (zh) | 年龄估计方法及设备 |
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: 24890368 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024890368 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 24890368.4 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 11202600985P Country of ref document: SG |
|
| WWP | Wipo information: published in national office |
Ref document number: 11202600985P Country of ref document: SG |