WO2022121858A1 - 图像处理方法、指纹信息提取方法、装置、设备、产品及介质 - Google Patents

图像处理方法、指纹信息提取方法、装置、设备、产品及介质 Download PDF

Info

Publication number
WO2022121858A1
WO2022121858A1 PCT/CN2021/135829 CN2021135829W WO2022121858A1 WO 2022121858 A1 WO2022121858 A1 WO 2022121858A1 CN 2021135829 W CN2021135829 W CN 2021135829W WO 2022121858 A1 WO2022121858 A1 WO 2022121858A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint image
fingerprint
sample
interference information
processed
Prior art date
Application number
PCT/CN2021/135829
Other languages
English (en)
French (fr)
Inventor
李林泽
Original Assignee
北京极豪科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京极豪科技有限公司 filed Critical 北京极豪科技有限公司
Priority to KR1020237019249A priority Critical patent/KR20230130620A/ko
Publication of WO2022121858A1 publication Critical patent/WO2022121858A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing 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/774Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing 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/80Fusion, i.e. combining data from various sources at the sensor level, preprocessing level, feature extraction level or classification level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints

Definitions

  • the embodiments of the present application relate to the technical field of image processing, and in particular, to an image processing method, a fingerprint information extraction method, an apparatus, a device, a product, and a medium.
  • More and more electronic devices or service websites use fingerprint recognition technology to verify the identity of users.
  • the first loop is to obtain the fingerprint information of the user to be identified, and the quality of the fingerprint information collected in the first loop will directly determine the accuracy of the fingerprint identification.
  • the embodiments of the present application provide an image processing method, a fingerprint information extraction method, device, equipment, product and medium, which aim to eliminate the influence of interference information contained in the fingerprint image to be identified on fingerprint identification, so as to improve the identification accuracy of fingerprint identification .
  • a first aspect of the embodiments of the present application provides an image processing method, the method includes:
  • the target standard fingerprint image does not contain interference information or the interference information contained is less than the interference information contained in the to-be-processed fingerprint image.
  • the training samples of the fingerprint image conversion model include a plurality of sample fingerprint image pairs, and each sample fingerprint image pair is composed of a first sample fingerprint image and a second sample fingerprint image that have the same fingerprint area and are aligned with each other,
  • the first sample fingerprint image contains interference information
  • the second sample fingerprint image does not contain interference information.
  • the training samples of the fingerprint image conversion model further include enhanced sample fingerprint images corresponding to each of the plurality of sample fingerprint image pairs;
  • the enhanced sample fingerprint image corresponding to each sample fingerprint image pair is the second sample fingerprint image in the sample fingerprint image pair, and the sample fingerprint image after the fingerprint texture enhancement operation is performed.
  • the method before inputting the fingerprint image to be processed into the fingerprint image conversion model, the method further includes:
  • the following steps are performed: inputting the fingerprint image to be processed into a fingerprint image conversion model using the plurality of sample fingerprint image pairs as training samples;
  • the generation process of the multiple sample fingerprint image pairs includes the following steps:
  • an alignment process is performed to obtain mutually aligned sample fingerprint images containing interference information and sample fingerprint images that do not contain interference information;
  • a sample fingerprint image containing interference information and a sample fingerprint image not containing interference information that have the same fingerprint area and are aligned are determined as a sample fingerprint image pair.
  • detecting whether each sample fingerprint image containing interference information and the sample fingerprint image that is aligned with the sample fingerprint image that does not contain interference information have the same fingerprint area, including:
  • the classification result output by the classification model determine whether the two sample fingerprint images input into the classification model have the same fingerprint area
  • the classification model is obtained by training the classifier by using two sample fingerprint images with the same fingerprint area as training samples.
  • the fingerprint image conversion model includes a plurality of fingerprint image processing branches
  • a downsampling unit is connected between every two adjacent fingerprint image processing branches, and is used for downsampling the processing result output by the previous fingerprint image processing branch, as the input of the next fingerprint image processing branch;
  • the first fingerprint image processing branch in the plurality of fingerprint image processing branches includes a convolution unit for performing convolution processing on the fingerprint image to be processed;
  • the other fingerprint image processing branches in the plurality of fingerprint image processing branches except the first fingerprint image processing branch include a convolution unit and an upsampling unit, which are used to sequentially convolve the inputs of the other fingerprint image processing branches processing and upsampling processing.
  • the fingerprint image conversion model further includes a fingerprint image enhancement branch, a fusion module and a fingerprint image processing module;
  • the fingerprint image enhancement branch is used to perform fingerprint texture enhancement processing on the to-be-processed fingerprint image
  • the fusion module is configured to fuse the processing result output by the last fingerprint image processing branch in the plurality of fingerprint image processing branches and the processing result output by the fingerprint image enhancement branch to obtain a fingerprint fusion processing result;
  • the fingerprint image processing module includes a convolution unit and a nonlinear activation unit connected in series, and is used for processing the fingerprint fusion processing result to obtain the target standard fingerprint image.
  • the fingerprint image enhancement branch includes a plurality of fingerprint image enhancement sub-branches
  • the input of the first fingerprint image enhancer branch in the plurality of fingerprint image enhancer branches is the to-be-processed fingerprint image
  • the first fingerprint image enhancer branch includes a convolution unit for processing the to-be-processed fingerprint image. Process the fingerprint image for convolution processing
  • a downsampling unit is connected between every two adjacent fingerprint image enhancement sub-branches, and is used for down-sampling the processing result output by the previous fingerprint image enhancement sub-branch, as the input of the next fingerprint image enhancement sub-branch;
  • the other fingerprint image enhancer sub-branches except the first fingerprint image enhancer sub-branch in the plurality of fingerprint image enhancer sub-branches include a convolution unit and an up-sampling unit, which are used for successively the other fingerprint image enhancer sub-branches.
  • the input is processed by convolution and upsampling;
  • the fusion module is configured to combine the processing result output by the last fingerprint image processing branch in the plurality of fingerprint image processing branches and the processing result output by the last fingerprint image enhancing sub-branch in the multiple fingerprint image enhancing sub-branches Fusion is performed to obtain the result of fingerprint fusion processing.
  • the fusion module is specifically configured to perform an exponential operation on the processing result output by the last fingerprint image processing branch in the plurality of fingerprint image processing branches and the processing result output by the fingerprint image enhancement branch to obtain: The fingerprint fusion processing result.
  • a second aspect of this embodiment provides a method for extracting fingerprint information, including:
  • the target standard fingerprint image does not contain interference information or the interference information contained is less than the interference information contained in the to-be-processed fingerprint image;
  • a third aspect of the embodiments of the present application provides an image processing apparatus, the apparatus includes:
  • an obtaining module for obtaining the fingerprint image to be processed
  • a conversion module configured to input the fingerprint image to be processed into a fingerprint image conversion model, so as to obtain a target standard fingerprint image that is the same fingerprint area and aligned with the fingerprint area represented by the fingerprint image to be processed; wherein, the target standard fingerprint The image does not contain interference information or contains less interference information than the fingerprint image to be processed.
  • a fourth aspect of the embodiments of the present application provides a fingerprint extraction device, the device comprising:
  • an obtaining module for obtaining the fingerprint image to be processed
  • the processing module is configured to perform interference information elimination processing on the to-be-processed fingerprint image according to the fingerprint information extraction method described in the embodiment of the first aspect, and obtain a fingerprint area that is the same and aligned as the fingerprint area represented by the to-be-processed fingerprint image.
  • a target standard fingerprint image wherein, the target standard fingerprint image does not contain interference information or contains less interference information than the interference information contained in the to-be-processed fingerprint image;
  • the extraction module is used for extracting the fingerprint information in the target standard fingerprint image.
  • a fifth aspect of the embodiments of the present application provides a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the method described in the first aspect or the second aspect of the present application.
  • a sixth aspect of the embodiments of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, when the processor executes the computer program, the first computer program of the present application is implemented.
  • Embodiments of the present application further provide a computer program product, including a computer program or computer instructions, which implement the method of the first aspect or the second aspect when the computer program or computer instructions are executed by a processor.
  • the fingerprint image to be processed can be input into the fingerprint image conversion model for interference information elimination processing, so as to obtain the same fingerprint area as the fingerprint area represented by the fingerprint image to be processed And the aligned target standard fingerprint image, wherein the target standard fingerprint image does not contain interference information or contains less interference information than the interference information contained in the fingerprint image to be processed.
  • the fingerprint image conversion model can perform interference information elimination processing, the interference information contained in the to-be-processed image can be eliminated, so that the obtained target standard fingerprint image may contain no interference information, or contain less interference information than the to-be-processed image. Interference information contained in the fingerprint image. In this way, since there is little or no interference information in the target standard fingerprint image, when fingerprinting the target standard fingerprint image, the interference caused by the interference information to the identification process of the target standard fingerprint image can be avoided, thereby improving the accuracy of the identification process. The accuracy of fingerprint identification in the target standard fingerprint image.
  • FIG. 1 exemplarily shows a schematic diagram showing two types of dirty fingerprint images
  • FIG. 2 exemplarily shows a schematic diagram of a clean fingerprint image
  • Fig. 3 exemplarily shows a flow chart of the steps of image processing of the fingerprint image to be processed
  • FIG. 4 exemplarily shows a flow chart of the steps of generating a sample fingerprint image pair
  • FIG. 5 exemplarily shows a schematic diagram showing that several kinds of fingers collect sample fingerprint images at different angles
  • Fig. 6 exemplarily shows a model structure diagram of a fingerprint image conversion model
  • Fig. 7 exemplarily shows a step flow chart of a training process for obtaining a fingerprint image conversion model by training
  • FIG. 8 exemplarily shows a schematic diagram of the model structure of another fingerprint image conversion model
  • FIG. 9 exemplarily shows a flow chart of steps of another training process for obtaining a fingerprint image conversion model by training
  • FIG. 10 is a schematic structural diagram of an image processing apparatus proposed by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an apparatus for extracting fingerprint information according to an embodiment of the present application.
  • the fingerprints collected by the fingerprint collection device generally contain a lot of interference information.
  • the collected fingerprint image contains more background interference information.
  • These background interference information It will make the collected fingerprint texture blurry and chaotic, which will seriously interfere with the accuracy of fingerprint recognition.
  • the interference information in the fingerprint image is generally filtered out, that is, the filtering method is used, but the fingerprint information obtained in this way still has various complex background interference, which is not conducive to fingerprint identification.
  • the improvement in accuracy is limited.
  • the applicant proposes a fingerprint information purification scheme.
  • the fingerprint information purification is realized by means of image splicing and alignment and deep learning training, so as to process the dirty fingerprint image with interference information into no interference.
  • the pure fingerprint image of the information (hereinafter referred to as the standard fingerprint image).
  • FIG. 1 shows two types of dirty fingerprint images
  • FIG. 2 shows a clean fingerprint image
  • the fingerprint image on the right side of FIG. 1 is a fingerprint image containing scratch interference information
  • the fingerprint image on the left side of FIG. 1 is a fingerprint image containing stain-like interference information.
  • the scratch interference information is generally caused by historical scratches on the screen. When the user's finger presses the screen to collect fingerprints, these historical scratches become background interference information.
  • a fingerprint image conversion model for converting a dirty fingerprint image into a clean fingerprint image can be trained first, and the fingerprint image conversion model containing interference information can be converted into a fingerprint image that does not contain interference information or contains only a small amount of interference information by using the fingerprint image conversion model. fingerprint image.
  • FIG. 3 a flowchart of steps of an image processing method according to an embodiment of the present application is shown, which may specifically include the following steps:
  • Step S301 Obtain the fingerprint image to be processed.
  • the fingerprint image to be processed may refer to a fingerprint image to be identified, which may be an image collected by a fingerprint collection device, and the fingerprint image to be processed may include interference information.
  • the fingerprint collection device may include an optical fingerprint collection device and a capacitive fingerprint collection device, for example, it may be a fingerprint collection area set on the screen of a mobile phone.
  • the fingerprint image to be processed may be obtained by the following methods: image acquisition of the fingerprint on the finger touched on the screen with stains, or, the fingerprint touched on the screen with scratches
  • the fingerprint on the finger is imaged to obtain the fingerprint image to be processed.
  • the screen with scratches should be understood in a broad sense, which may refer to the scratches on the screen or the scratches on the anti-scratch film pasted on the screen.
  • Step S302 Input the to-be-processed fingerprint image into a fingerprint image conversion model for interference information elimination processing to obtain a target standard fingerprint image that is the same fingerprint area and aligned with the fingerprint area represented by the to-be-processed fingerprint image.
  • the target standard fingerprint image does not contain interference information or contains less interference information than the to-be-processed fingerprint image.
  • the fingerprint image conversion model obtained by training can be used to perform multiple convolution processing and multiple up and down sampling processing on the fingerprint image to be processed.
  • the fingerprint image conversion model can strengthen the fingerprint image to be processed multiple times.
  • the global features and local features of the fingerprint information in the fingerprint image make the fingerprint information in the fingerprint image to be processed continuously saved, and the interference information that does not belong to the fingerprint information is continuously eliminated, so as to obtain a pure target standard fingerprint image.
  • the fingerprint image conversion model can perform multiple up-and-down sampling and convolution processing on the fingerprint image to be processed, so as to continuously strengthen the global and local features of the fingerprint information in the fingerprint image to be processed, so that the fingerprint information is continuously saved instead of belonging to the
  • the interference information of the fingerprint information is continuously eliminated, so that the fingerprint area to be processed remains unchanged, so that the interference information contained in the fingerprint information in the fingerprint area is eliminated. Therefore, the target standard fingerprint image and the fingerprint image to be processed have the same fingerprint area, and the fingerprint areas are aligned with each other.
  • the target standard fingerprint image may not include interference information or only a small amount of interference information.
  • the interference information in the target standard fingerprint image is much less than that in the fingerprint image to be processed, and a relatively clean fingerprint can be obtained. image. In this way, fingerprint recognition can be performed on a clean fingerprint image, thereby improving the recognition accuracy.
  • the false recognition rate of fingerprint recognition can be effectively reduced and the recognition accuracy rate can be improved.
  • FIG. 4 a flowchart of steps for obtaining a sample fingerprint image pair is shown, which may specifically include the following steps:
  • Step S401 Acquire a plurality of sample fingerprint images that do not contain interference information and a plurality of sample fingerprint images that contain interference information of the same finger collected at different angles.
  • different angles may refer to different angles formed between the finger and the central axis of the fingerprint collection device.
  • FIG. 5 a schematic diagram of several kinds of fingers collecting sample fingerprint images at different angles is shown, as shown in FIG. 5 .
  • the finger can let the fingerprint collection device collect fingerprints at an angle of 0 degrees, as shown in the middle image, or it can be collected by the fingerprint collection device at an angle of 40 degrees, as shown in the rightmost image.
  • the fingerprint collection device can collect fingerprints at an angle of 60 degrees.
  • sample fingerprint images containing interference information (which may be referred to as dirty sample fingerprint images) and sample fingerprint images without interference information (which may be referred to as standard sample fingerprint images) of the finger at different angles may be collected.
  • sample fingerprint images containing interference information (which may be referred to as dirty sample fingerprint images) and sample fingerprint images without interference information (which may be referred to as standard sample fingerprint images) of the finger at different angles may be collected.
  • the sample fingerprint image containing interference information can be obtained by scratching or stains on the screen of the fingerprint device, and the sample fingerprint image not containing interference information can be obtained through a clean screen that does not contain stains and scratches. obtained from the fingerprint device.
  • each person can be taken as the acquisition objects, and each person can collect fingerprint images of 6 fingers (left thumb/left index finger/left middle finger/right thumb/right index finger/right middle finger), and each finger has five angles (-60 degrees). /-30 degrees/0 degrees/30 degrees/60 degrees), at the same angle, collect 40 sample fingerprint images without interference information (as shown in Figure 2) and 40 sample fingerprint images with scratches or cluttered backgrounds (as shown in Figure 1), 48,000 sample fingerprint images without interference information and 48,000 sample fingerprint images with interference information can be obtained.
  • Step S402 Splicing the plurality of sample fingerprint images that do not contain interference information to obtain a complete standard sample fingerprint image.
  • the same finger can collect multiple sample fingerprint images that do not contain interference information (hereinafter referred to as standard fingerprint images) from different angles, thus, for a plurality of sample fingerprint images belonging to the same finger that do not contain interference information, these There must be overlapping fingerprint areas between the sample fingerprint images. For example, the fingerprint in a standard fingerprint image collected on the right index finger at 0 degrees must be different from another standard fingerprint image collected on the right index finger at 30 degrees. The fingerprints have overlapping partial areas. Then, multiple sample fingerprint images of the same finger at different angles that do not contain interference information can be spliced to obtain a complete standard sample fingerprint image.
  • the standard fingerprint images of different angles of the same finger can be rotated to the same angle to align multiple standard fingerprint images of different angles of the same finger.
  • the standard sample fingerprint images are stitched.
  • all standard images of different angles of the same finger can be rotated to 0 degrees.
  • a standard fingerprint image collected at 30 degrees needs to be rotated 30 degrees counterclockwise
  • a standard fingerprint image collected at -60 degrees needs to be rotated 30 degrees counterclockwise.
  • Rotate 60 degrees clockwise so that multiple standard fingerprint images collected at different angles are rotated to the same angle.
  • each collection object collects 6 fingers, and after splicing the standard sample fingerprint images of different angles of each finger, 240 complete standard sample fingerprint images can be obtained.
  • the overlapping fingerprint area can be used as the benchmark for splicing, that is, the standard fingerprint image after splicing can truly and completely reflect the shape of the entire finger fingerprint, and a large and complete standard sample fingerprint can be obtained. image.
  • Step S403 Perform alignment processing based on the plurality of sample fingerprint images containing interference information and the complete standard sample fingerprint images to obtain mutually aligned sample fingerprint images containing interference information and sample fingerprint images not containing interference information.
  • the sample fingerprint image containing interference information and the complete standard sample fingerprint image are aligned, that is, the interference information is included. Align the sample fingerprint images that do not contain interference information with the sample fingerprint images that do not contain interference information. In this way, the sample fingerprint images containing interference information and the sample fingerprint images not containing interference information that are aligned with each other are obtained. Using this alignment method can improve the fingerprint alignment efficiency of the present application compared to the method of separately aligning multiple sample fingerprint images containing interference information and multiple sample fingerprint images not containing interference information.
  • a plurality of sample fingerprint images containing interference information can be aligned with each complete standard sample fingerprint image in turn.
  • the complete standard sample fingerprint image does not need to be rotated, but only needs to be rotated with a smaller area containing interference information. For example, if a total of 4800 sample fingerprint images containing interference information are obtained, for each complete standard sample fingerprint image, 4800 sample fingerprint images containing interference information can be aligned with the complete standard sample fingerprint image. .
  • the angle in practice, can be understood as straightening the dirty sample fingerprint image to align with the complete standard sample fingerprint image. For example, if the angle of the complete standard sample fingerprint image is 0 degrees, the multiple sample fingerprint images containing interference information are all rotated to 0 degrees.
  • the complete standard sample fingerprint image can also be aligned with each sample fingerprint image containing interference information.
  • the sample fingerprint image containing interference information may not be rotated, but the complete standard sample fingerprint image can be rotated.
  • sample fingerprint images that do not contain interference information and sample fingerprint images that contain interference information can be obtained.
  • the images are aligned. In this way, 48000*240 sample fingerprint images without interference information and sample fingerprint images containing interference information can be obtained.
  • Step S404 Detect whether each sample fingerprint image containing interference information and the sample fingerprint image aligned with the sample fingerprint image containing no interference information have the same fingerprint area.
  • each standard sample fingerprint image that is, a sample fingerprint image that does not contain interference information
  • the fingerprint image of the dirty sample and the fingerprint image of the standard sample have the same fingerprint area, it can be determined whether the fingerprint image of the dirty sample and the fingerprint image of the standard sample originate from the same finger of the same person.
  • the collected fingerprint image can be determined by a neural network. Whether the dirty sample fingerprint image and the standard sample fingerprint image aligned with it have the same fingerprint area.
  • a sample fingerprint image containing interference information and the aligned sample fingerprint image can be A sample fingerprint image that does not contain interference information is input into a pre-trained classification model; and according to the classification result output by the classification model, it is determined whether the two sample fingerprint images input into the classification model have the same fingerprint area.
  • the classification model is obtained by training the classifier by using two sample fingerprint images with the same fingerprint area as training samples.
  • the classifier may be various common classifiers, such as SVM classifier, Adaboost classifier, Boosting classifier, logistic classifier, Softmax classification, etc., which are not specifically limited in this application.
  • the classification model can be used to determine whether two fingerprint images have the same fingerprint area. In this way, a sample fingerprint image containing interference information can be aligned with a sample fingerprint image that does not contain interference information. Both are input into the classification model, and whether the two have the same fingerprint area is determined by the score output by the classification model.
  • the score output by the classification model may represent the probability that the two have the same fingerprint area. In practice, when the score is higher than a preset threshold, for example, greater than 0.5, the input dirty sample fingerprint image and the standard sample fingerprint aligned with it are determined. The images have the same fingerprint area.
  • having the same fingerprint area means that the fingerprint lines in the fingerprint area are the same.
  • the two sample fingerprint images in the sample pair used as the training classification model may be fingerprint images aligned with each other.
  • the training sample pair should at least include multiple positive sample pairs and multiple negative sample pairs, each positive sample pair.
  • the sample pair is a training sample composed of two sample fingerprint images with the same fingerprint area
  • each negative sample pair is a training sample composed of two sample fingerprint images without the same fingerprint area.
  • the process of obtaining the classification model by training may refer to the training process in the prior art, which will not be repeated here.
  • Step S405 Determining a sample fingerprint image containing interference information and a sample fingerprint image not containing interference information that have the same fingerprint area and are aligned as a sample fingerprint image pair.
  • a sample fingerprint image pair can include a dirty sample fingerprint image (that is, a sample fingerprint image containing interference information) and a standard sample fingerprint image (that is, a sample fingerprint image that does not contain interference information), which have the same fingerprint area and are aligned with each other. ).
  • a plurality of sample fingerprint image pairs can be obtained. For example, after comparing 48,000 dirty fingerprint images with the aligned 240 large-area clean fingerprints in turn, 33,044 pairs of sample fingerprint images with the same fingerprint area and aligned can finally be obtained.
  • the preset model can be trained by using the obtained multiple sample fingerprint image pairs to obtain a fingerprint image conversion model.
  • the model structure of the fingerprint image conversion model obtained after training the preset model by using the plurality of sample fingerprint images is shown in FIG. 6 .
  • the fingerprint image conversion model may include a plurality of fingerprint image processing branches connected in series (only three fingerprint image processing branches are exemplarily shown in the figure).
  • the fingerprint image processing branch is used to perform convolution processing and up-sampling processing on the input fingerprint image to be processed, so as to retain the fingerprint information in the fingerprint image to be processed and eliminate the fingerprint to be processed through layer-by-layer convolution and up and down sampling.
  • the interference information in the image is obtained, and the target standard fingerprint image that contains no interference information or only a small amount of interference information is obtained accordingly.
  • a downsampling unit is connected between every two adjacent fingerprint image processing branches, which is used to downsample the processing result output by the previous fingerprint image processing branch to serve as the next fingerprint image.
  • the input of the processing branch; and other fingerprint image processing branches except the first fingerprint image processing branch (fingerprint image processing branch 1 in FIG. 6 ) in the plurality of fingerprint image processing branches include convolution units and upsampling.
  • the unit is used to sequentially perform convolution processing and upsampling processing on the input of the other fingerprint image processing branches, wherein the output of the last fingerprint image processing branch is the target standard fingerprint image.
  • the input of the first fingerprint image processing branch of the plurality of fingerprint image processing branches is the to-be-processed fingerprint image
  • the first fingerprint image processing branch may include a convolution unit for the to-be-processed fingerprint image.
  • the fingerprint image is processed by convolution to extract the fingerprint features in the fingerprint image to be processed.
  • the first fingerprint image processing branch in the example of this application can be understood as the fingerprint image processing branch located in the shallow layer, that is, the first upstream fingerprint image processing branch, and the subsequent deeper fingerprint image processing branches can be
  • the features input to the fingerprint image processing branch are first convolved and then upsampled to extract finer fingerprint features from details.
  • the size of the feature output by the fingerprint image processing branch of the last layer is the same as the size of the sample fingerprint image input to the first fingerprint image processing branch, for example, the size of the fingerprint image to be processed input to the first fingerprint image processing branch is 100*100, then the size of the feature map output by the fingerprint image processing branch of the last layer is also 100*100.
  • the image size after up-sampling of each up-sampling unit may be the same as the image size before down-sampling performed by the down-sampling unit connected thereto.
  • the down-sampling unit performs a down-sampling operation, which is mainly used to extract more global fingerprint features as a whole.
  • the downsampling unit may be Pooling pooling downsampling
  • the upsampling unit performs an upsampling operation, which may be upsampling of the nearest neighbor difference.
  • the specific sampling methods of the above upsampling and downsampling are not limited to the above-mentioned nearest neighbor difference upsampling or Pooling pooling downsampling, but can also be other sampling methods, such as deconvolution upsampling, random downsampling Wait.
  • the fingerprint image to be processed can be processed for multiple times through multiple fingerprint image processing branches and the downsampling unit connected between the fingerprint image processing branches.
  • Up-sampling and convolution processing since down-sampling can extract global fingerprint information as a whole, and up-sampling can be refined to obtain fingerprint information. Therefore, through multiple up-sampling and convolution processing, the pending processing can be filtered out.
  • the interference information in the fingerprint image is retained, and the fingerprint information is retained. In this way, the purpose of purifying the fingerprint information is achieved, thereby obtaining a pure fingerprint image.
  • the process of using the multiple sample fingerprint images to train the preset model to obtain the fingerprint image conversion model can be referred to as shown in FIG. 7 , and may specifically include the following steps:
  • Step S701 Input the first sample fingerprint image included in the plurality of sample fingerprint image pairs into the first fingerprint image processing branch to obtain the last fingerprint image processing branch in the plurality of fingerprint image processing branches The output processing result.
  • the first sample fingerprint image refers to a sample fingerprint image that includes interference information in the sample fingerprint image pair.
  • the processing result, wherein the last fingerprint image processing branch may refer to the fingerprint image processing branch located in the deepest layer.
  • Step S702 Update parameters of the preset model multiple times according to the processing result and the second sample fingerprint image in the sample fingerprint image pair.
  • the second sample fingerprint image refers to a sample fingerprint image that does not contain interference information in the sample fingerprint image pair, wherein the second sample fingerprint image can be understood as a training label.
  • the loss value between the processing result and the second sample fingerprint image can be determined first, and then the parameters of the preset model are updated multiple times according to the loss value.
  • Step S703 Determine the preset model after multiple updates as the fingerprint image conversion model.
  • the preset model updated with the preset number of rounds may be determined as the fingerprint image conversion model, or the preset model when the loss value is lower than the preset loss value may be determined as the fingerprint image conversion model.
  • the training samples of the fingerprint image conversion model may further include enhanced sample fingerprint images corresponding to each of the plurality of sample fingerprint image pairs; the enhanced sample fingerprint image corresponding to one sample fingerprint image pair is the sample fingerprint image corresponding to the sample fingerprint image pair.
  • the sample fingerprint image after the fingerprint texture enhancement operation is performed on the second sample fingerprint image in the fingerprint image pair.
  • the enhanced sample fingerprint image may refer to an image in which a fingerprint texture enhancement operation is performed on the second sample fingerprint image
  • the fingerprint texture enhancement operation may refer to an enhancement operation performed on the valley ridge lines of the fingerprint, so that the valley ridge lines of the fingerprint are enhanced. Clearer.
  • the training sample when the training sample also includes the enhanced sample fingerprint images corresponding to the plurality of sample fingerprint image pairs, the training sample can be used to train the preset model to obtain a fingerprint image conversion model, and the obtained fingerprint image conversion model
  • the model can also include a fingerprint image enhancement branch, a fusion module and a fingerprint image processing module. Then, after the fingerprint image conversion model is obtained by training with the training sample, the fingerprint image to be processed can be input into the fingerprint image conversion model to obtain the target standard fingerprint image.
  • the fingerprint image to be processed can be input into the fingerprint image enhancement branch and the first fingerprint image processing branch.
  • the fingerprint image enhancement branch is used to perform fingerprint texture enhancement processing on the fingerprint image to be processed;
  • the fusion module is used to combine the processing result output by the last fingerprint image processing branch in the multiple fingerprint image processing branches with the The processing results output by the fingerprint image enhancement branch are fused to obtain the fingerprint fusion processing results;
  • the fingerprint image processing module includes a convolution unit and a nonlinear activation unit connected in series, and the fingerprint image processing module is used to process the result of the fingerprint fusion processing to output a target standard fingerprint image.
  • the fingerprint image enhancement branch can be used to make the model pay more attention to the part of the fingerprint information. In this way, the fingerprint image can be processed into a fingerprint image that makes the fingerprint valley ridge lines more obvious.
  • the model structure of the obtained fingerprint image conversion model can be as shown in Figure 8.
  • the fingerprint image conversion model The fingerprint image enhancement branch in the model may include multiple fingerprint image enhancement sub-branches.
  • the input of the first fingerprint image enhancement sub-branch in the plurality of fingerprint image enhancement sub-branchs is the fingerprint image to be processed
  • the first fingerprint image enhancement sub-branch includes a convolution unit, which is used for Perform convolution processing on the fingerprint image to be processed
  • a downsampling unit is connected between every two adjacent fingerprint image enhancement sub-branches, which is used to downsample the processing result output by the previous fingerprint image enhancement sub-branch as the input of the next fingerprint image enhancement sub-branch;
  • the fingerprint image to be processed is down-sampled multiple times through multiple fingerprint image enhancer branches, so that the intensity of the fingerprint features extracted from the global can be enhanced, so that the fingerprint texture is continuously strengthened and the definition of the fingerprint texture is continuously improved.
  • other fingerprint image enhancer branches except the first fingerprint image enhancer branch in the plurality of fingerprint image enhancer branches include a convolution unit and an upsampling unit, which are used to sequentially perform the other fingerprint image enhancer branches.
  • the input of the branch is processed by convolution and upsampling;
  • the fusion module is configured to combine the processing result output from the last fingerprint image processing branch in the multiple fingerprint image processing branches and the processing result output from the last fingerprint image enhancer branch in the multiple fingerprint image enhancer branches The processing results are fused to obtain the fingerprint fusion processing results.
  • the first fingerprint image enhancer branch is the fingerprint image enhancer branch located in the shallowest layer of the model. As shown in FIG. 8 , the first fingerprint image enhancer branch may be fingerprint image enhancer branch 1.
  • the first fingerprint image enhancer sub-branch can be input to process the fingerprint image, and the down-sampling and up-sampling of multiple fingerprint image enhancer sub-branches are performed in turn to enhance the valley and ridge lines of fingerprint lines.
  • the processing result output by the last fingerprint image processing branch and the processing result output by the last fingerprint image enhancement sub-branch can be fused, so that the fingerprint fusion processing result has both the effect of fingerprint purification and fingerprint texture enhancement. That is, while obtaining no interference information, the fingerprint texture is also enhanced, that is, the fingerprint texture is clearer.
  • the size of the convolution kernel of the convolution unit in each fingerprint image enhancer sub-branch can be set according to actual needs, and the size of the convolution kernel of the convolution unit in the fingerprint image processing module can also be set according to actual needs.
  • the plurality of fingerprint image enhancement sub-branches may be fused.
  • the processing result output by the last fingerprint image processing branch in the fingerprint image processing branch and the processing result output by the last fingerprint image enhancement sub-branch are subjected to exponential operation to obtain the fingerprint fusion processing result.
  • Z 3 represents the processing result output by the last fingerprint image enhancement sub-branch
  • T 3 represents the processing result output by the last fingerprint image processing branch
  • T 3-2 represents the fingerprint fusion processing result.
  • the fingerprint image enhancement branch since the fingerprint image enhancement branch is added, the fingerprint image can be processed into a fingerprint image with more obvious fingerprint valley and ridge lines through the fingerprint image enhancement branch.
  • the fingerprint fusion processing result can have the effect of fingerprint purification and fingerprint valley ridge enhancement. That is, while obtaining no interference information, the obtained fingerprint image is clearer.
  • the exponential operation can be understood as an attention mechanism.
  • the processing result output by the last fingerprint image processing branch and the processing result output by the last fingerprint image enhancer branch are fused through the exponential operation, more attention can be paid to the fingerprint valley ridge. Therefore, the target standard fingerprint image obtained according to the post-processing result of fingerprint fusion does not contain interference information and the fingerprint valley and ridge lines are clearer, that is, the fingerprint in the target standard fingerprint image is clean and clear.
  • FIG. 9 The process of using the training sample including the enhanced sample fingerprint image to train the preset model to obtain the fingerprint image conversion model shown in FIG. 8 can be referred to as shown in FIG. 9 , which may specifically include the following steps
  • Step S901 Input the first sample fingerprint image included in the plurality of sample fingerprint image pairs into the first fingerprint image processing branch to obtain the last fingerprint image processing branch in the plurality of fingerprint image processing branches The output processing result.
  • the first sample fingerprint image is a sample fingerprint image including interference information in the sample fingerprint image pair.
  • Step S902 Inputting the first sample fingerprint images included in the plurality of sample fingerprint image pairs into the first fingerprint image enhancement sub-branch to obtain the last fingerprint image in the plurality of fingerprint image enhancement sub-branches The processing result of the enhancer branch output.
  • the first sample fingerprint image input can be input into the first fingerprint image processing branch and the first fingerprint image enhancement sub-branch respectively, so that each fingerprint of the preset model
  • the image processing branch is used to process the first sample fingerprint image, so as to obtain the processing result output by the last fingerprint image processing branch; at the same time, multiple fingerprint image enhancement sub-branches can also process the first sample fingerprint image to obtain The processing result of the last fingerprint image enhancer branch output.
  • the processing results output by the last fingerprint image processing branch can reflect the results of these fingerprint image processing branches after purifying the first sample fingerprint image
  • the processing results output by the last fingerprint image enhancement sub-branch can reflect these fingerprint image enhancements.
  • the sub-branch is the result of enhancing the fingerprint information in the first sample fingerprint image.
  • Step S903 Obtain a final fingerprint processing result through the fusion module and the fingerprint image processing module in sequence.
  • the fingerprint image processing module can process the fingerprint fusion processing result to obtain the final fingerprint processing result.
  • Step S904 According to the final fingerprint processing result, the second sample fingerprint image in the sample fingerprint image pair, and the enhanced sample fingerprint image after the enhancement operation is performed on the second sample fingerprint image, perform an enhancement on the preset model. parameters are updated multiple times.
  • the purification loss can be determined according to the final fingerprint processing result, that is, the output in FIG. 8 , and the second sample fingerprint image; and According to the processing result output by the last fingerprint image enhancement branch and the enhanced sample fingerprint image, the enhancement loss is determined; then, the overall loss is determined according to the purification loss and the enhancement loss, and the parameters of the preset model are updated multiple times according to the overall loss.
  • the weighted summation can be performed according to the preset weights of the two, so as to calculate the overall loss.
  • the input first sample fingerprint image is a fingerprint image containing interference information
  • the second sample fingerprint image is a fingerprint image that does not contain interference information
  • the enhanced sample can be used as a label to calculate the enhancement loss
  • the second sample fingerprint image can be used as a label to calculate the purification loss.
  • two fingerprint image conversion models are obtained.
  • any one of the two types of image conversion models can be used.
  • the image conversion model converts the fingerprint image to be processed into the target standard fingerprint image.
  • the fingerprint image conversion model obtained by the training can improve the clarity of the fingerprint information when the fingerprint information of the to-be-processed image is relatively blurred.
  • the interference information in the to-be-processed image is eliminated, it is possible to determine which type of fingerprint-image conversion model is applicable according to the clarity of the fingerprint lines in the to-be-processed fingerprint image, that is, it can be determined according to the difference of the fingerprint lines in the to-be-processed fingerprint image.
  • the fingerprint image to be processed is input into the fingerprint image conversion model of the corresponding structure.
  • the to-be-processed fingerprint image is input into a fingerprint image conversion model that uses the plurality of sample fingerprint image pairs as training samples.
  • the fingerprint image to be processed is input into a fingerprint image conversion using the multiple sample fingerprint image pairs and the corresponding enhanced sample fingerprint images as training samples Model.
  • the preset threshold can be set as required.
  • the clarity of the fingerprint lines in the fingerprint image to be processed is higher than or equal to the preset threshold, it means that the clarity of the fingerprint lines in the fingerprint image to be processed is relatively high, then the fingerprint image to be processed can be input into a pair of fingerprint images using multiple samples.
  • the fingerprint image conversion model obtained by training it is input into the fingerprint image conversion model including multiple fingerprint image processing branches shown in FIG. 6 .
  • the fingerprint image is input into the fingerprint image conversion model obtained by training with multiple sample fingerprint image pairs and enhanced sample fingerprint images as training samples.
  • the fingerprint image conversion model of branch, fusion module and fingerprint image processing module In the fingerprint image conversion model of branch, fusion module and fingerprint image processing module.
  • the fingerprint image conversion model can convert the fingerprint image containing the interference information into the fingerprint image not containing the interference information, that is, the fingerprint image conversion model can be used for the purification of the fingerprint information.
  • a pure target standard fingerprint image can be obtained.
  • the target standard fingerprint image can be fingerprinted. Since the target standard fingerprint image does not contain interference information, the fingerprint identification will not be Cause interference, reduce misrecognition, and improve the recognition accuracy.
  • the fingerprint image to be processed can be input into a fingerprint image conversion model with a texture enhancement function, so that the obtained target standard fingerprint image not only does not contain interference information,
  • the fingerprint pattern is also clearer, thereby reducing the difficulty of fingerprint identification and improving the identification accuracy in this case.
  • the following takes a specific application scenario as an example to introduce the fingerprint information extraction method of the present application.
  • the method can be applied to an off-screen fingerprint identification system, and specifically can include the following processes:
  • the fingerprint image to be processed is obtained.
  • the to-be-processed fingerprint image may be obtained by using off-screen fingerprint collection as a collection method, for example, a fingerprint collection area on a screen of a smart device.
  • the fingerprint image to be processed can be input to the processor of the smart device or a background server that is communicatively connected to the smart device for processing.
  • the interference information elimination process is performed on the fingerprint image to be processed, and the fingerprint area represented by the fingerprint image to be processed is obtained.
  • a fingerprint image conversion model may be built in the processor of the smart device or a background server that is communicatively connected to the smart device, so that the target standard fingerprint image output by the fingerprint image conversion model can be obtained.
  • the fingerprint area represented by the processed fingerprint image is the same fingerprint area and aligned, that is, it can be understood that the target standard fingerprint image and the to-be-processed fingerprint image still correspond to the same finger, and the angle of the target standard fingerprint image and the to-be-processed fingerprint image are the same. That is, the target standard fingerprint image can be understood as a to-be-processed fingerprint image that does not contain interference.
  • the fingerprint information in the target standard fingerprint image is extracted.
  • extracting the fingerprint information in the target standard fingerprint image may refer to extracting the fingerprint lines in the target standard fingerprint image, so that the extracted fingerprint information can be input into the subsequent fingerprint identification task for fingerprint identification. identify.
  • the extracted fingerprint information can also be used in other fingerprint tasks, for example, in a storage task, so as to store the extracted fingerprint information to facilitate subsequent comparison.
  • FIG. 10 based on the same inventive concept, another embodiment of the present application provides a structural block diagram of an image processing apparatus. As shown in FIG. 10 , the apparatus may specifically include the following modules:
  • Obtaining module 1001 for obtaining the fingerprint image to be processed
  • the conversion module 1002 is used to input the fingerprint image to be processed into a fingerprint image conversion model to perform interference information elimination processing, and obtain a target standard fingerprint image that is the same fingerprint area and aligned with the fingerprint area represented by the fingerprint image to be processed; wherein, The target standard fingerprint image does not contain interference information or contains less interference information than the to-be-processed fingerprint image.
  • the training samples of the fingerprint image conversion model include a plurality of sample fingerprint image pairs, and each sample fingerprint image pair is composed of a first sample fingerprint image and a second sample fingerprint image that have the same fingerprint area and are aligned with each other,
  • the first sample fingerprint image contains interference information
  • the second sample fingerprint image does not contain interference information.
  • the training samples of the fingerprint image conversion model also include enhanced sample fingerprint images corresponding to the plurality of sample fingerprint image pairs; the enhanced sample fingerprint image corresponding to each sample fingerprint image pair is the sample fingerprint image pair.
  • the second sample fingerprint image in the sample fingerprint image after the fingerprint texture enhancement operation is performed.
  • the device may also include the following modules:
  • a sharpness determination module for detecting whether the sharpness of the fingerprint lines in the fingerprint image to be processed is higher than a preset threshold
  • a first input module configured to input the fingerprint image to be processed into a fingerprint image conversion model using the plurality of sample fingerprint image pairs as training samples when the clarity is higher than the preset threshold;
  • a second input module configured to input the fingerprint image to be processed using the plurality of sample fingerprint image pairs and the corresponding enhanced sample fingerprint images as training under the condition that the definition is not higher than the preset threshold
  • the fingerprint image transformation model of the sample configured to input the fingerprint image to be processed using the plurality of sample fingerprint image pairs and the corresponding enhanced sample fingerprint images as training under the condition that the definition is not higher than the preset threshold
  • the apparatus may further include a sample pair obtaining module, the sample pair obtaining module is configured to obtain a plurality of sample fingerprint image pairs, and may specifically include the following units:
  • an acquisition unit used for acquiring a plurality of sample fingerprint images that do not contain interference information and a plurality of sample fingerprint images that contain interference information of the same finger collected at different angles;
  • a splicing unit for splicing the plurality of fingerprint images that do not contain interference information to obtain a complete standard sample fingerprint image
  • an alignment unit configured to perform alignment processing based on the plurality of sample fingerprint images containing interference information and the complete standard sample fingerprint images to obtain mutually aligned sample fingerprint images containing interference information and sample fingerprint images that do not contain interference information ;
  • a detection unit for detecting whether each sample fingerprint image containing interference information and the sample fingerprint image aligned with the sample fingerprint image not containing interference information have the same fingerprint area
  • the building unit is used for determining a sample fingerprint image containing interference information and a sample fingerprint image not containing interference information that have the same fingerprint area and are aligned as a sample fingerprint image pair.
  • the detection unit can be specifically configured to input a sample fingerprint image containing interference information and a sample fingerprint image not containing interference information into a pre-trained classification model; and output according to the classification model.
  • Classification result determining whether the two sample fingerprint images input to the classification model have the same fingerprint area;
  • the classification model is obtained by training the classifier by using two sample fingerprint images with the same fingerprint area as training samples.
  • the fingerprint image conversion model includes a plurality of fingerprint image processing branches
  • the first fingerprint image processing branch in the plurality of fingerprint image processing branches includes a convolution unit, and the convolution unit is configured to perform convolution processing on the fingerprint image to be processed;
  • a downsampling unit is connected between every two adjacent fingerprint image processing branches, and is used for downsampling the processing result output by the previous fingerprint image processing branch, as the input of the next fingerprint image processing branch;
  • the other fingerprint image processing branches of the plurality of fingerprint image processing branches except the first fingerprint image processing branch include a convolution unit and an upsampling unit for performing convolution processing and upsampling processing in sequence.
  • the device may further include a first training module for obtaining a fingerprint image conversion model through training, and may specifically include the following units:
  • a first input unit configured to input the first sample fingerprint images included in the plurality of sample fingerprint image pairs into the first fingerprint image processing branch to obtain the last one of the plurality of fingerprint image processing branches The processing result output by the fingerprint image processing branch;
  • a first updating unit configured to update the parameters of the preset model multiple times according to the processing result and the second sample fingerprint image in the sample fingerprint image pair;
  • the obtaining unit is configured to determine the preset model after multiple updates as the fingerprint image conversion model.
  • the fingerprint image conversion model further includes a fingerprint image enhancement branch, a fusion module and a fingerprint image processing module;
  • the fingerprint image enhancement branch is used to perform fingerprint texture enhancement processing on the to-be-processed fingerprint image
  • the fusion module is configured to fuse the processing result output by the last fingerprint image processing branch in the plurality of fingerprint image processing branches and the processing result output by the fingerprint image enhancement branch to obtain a fingerprint fusion processing result;
  • the fingerprint image processing module includes a convolution unit and a nonlinear activation unit connected in series, and is used for processing the fingerprint fusion processing result to obtain a final fingerprint processing result.
  • the fingerprint image enhancement branch includes a plurality of fingerprint image enhancement sub-branches
  • the input of the first fingerprint image enhancement sub-branch in the plurality of fingerprint image enhancement sub-branchs is the fingerprint image to be processed
  • the first fingerprint image enhancement sub-branch includes a convolution unit, which is used for Perform convolution processing on the fingerprint image to be processed
  • a downsampling unit is connected between every two adjacent fingerprint image enhancement sub-branches, and is used for down-sampling the processing result output by the previous fingerprint image enhancement sub-branch, as the input of the next fingerprint image enhancement sub-branch;
  • the other fingerprint image enhancer sub-branches except the first fingerprint image enhancer sub-branch in the plurality of fingerprint image enhancer sub-branches include a convolution unit and an up-sampling unit for performing convolution processing and up-sampling processing in sequence;
  • the fusion module is configured to combine the processing result output by the last fingerprint image processing branch in the plurality of fingerprint image processing branches and the processing result output by the last fingerprint image enhancing sub-branch in the multiple fingerprint image enhancing sub-branches Fusion is performed to obtain the result of fingerprint fusion processing.
  • the fusion module is specifically configured to perform an exponential operation on the processing result output by the last fingerprint image processing branch in the plurality of fingerprint image processing branches and the processing result output by the fingerprint image enhancement branch to obtain: The fingerprint fusion processing result.
  • the device may further include a second training module for obtaining the fingerprint image conversion model through training, which may specifically include the following units:
  • the second input unit is configured to input the first sample fingerprint image included in the plurality of sample fingerprint image pairs into the first fingerprint image enhancement sub-branch to obtain the last one of the plurality of fingerprint image enhancement sub-branches The processing result of the fingerprint image enhancer branch output;
  • a fusion processing unit configured to obtain a final fingerprint processing result through the fusion module and the fingerprint image processing module in sequence
  • the updating unit is configured to, according to the final fingerprint processing result, the second sample fingerprint image in the pair of sample fingerprint images, and the enhanced sample fingerprint image after the enhancement operation is performed on the second sample fingerprint image, to update the preset fingerprint image. Let the parameters of the model be updated multiple times.
  • FIG. 11 based on the same inventive concept, another embodiment of the present application provides an apparatus for extracting fingerprint information, which may specifically include the following modules:
  • the processing module 1102 is configured to perform interference information elimination processing on the to-be-processed fingerprint image according to the above-mentioned fingerprint information extraction method, and obtain a target standard fingerprint image that is the same fingerprint area and aligned with the fingerprint area represented by the to-be-processed fingerprint image; Wherein, the target standard fingerprint image does not contain interference information or the interference information contained is less than the interference information contained in the to-be-processed fingerprint image;
  • the extraction module 1103 is configured to extract fingerprint information in the target standard fingerprint image.
  • another embodiment of the present application provides a readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the fingerprint information extraction method described in any of the foregoing embodiments of the present application, Or perform the steps in the method described in the embodiments of the second aspect.
  • another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implements any of the above-mentioned applications when executed.
  • Embodiments of the present application further provide a computer program product, including a computer program or computer instructions, which implement the method of the first aspect or the second aspect when the computer program or computer instructions are executed by a processor.
  • embodiments of the embodiments of the present application may be provided as methods, apparatuses, or computer program products. Accordingly, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal equipment to produce a machine that causes the instructions to be executed by the processor of the computer or other programmable data processing terminal equipment Means are created for implementing the functions specified in the flow or flows of the flowcharts and/or the blocks or blocks of the block diagrams.
  • These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal equipment to operate in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising instruction means, the The instruction means implement the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Collating Specific Patterns (AREA)

Abstract

一种图像处理方法、指纹信息提取方法、装置、设备、产品及介质,所述方法包括:获得待处理指纹图像(S301);将所述待处理指纹图像输入指纹图像转换模型进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息(S302)。

Description

图像处理方法、指纹信息提取方法、装置、设备、产品及介质
本申请要求在2020年12月7日提交中国专利局、申请号为202011419424.3、发明名称为“图像处理方法、指纹信息提取方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及图像处理技术领域,具体而言,涉及一种图像处理方法、指纹信息提取方法、装置、设备、产品及介质。
背景技术
越来越多的电子设备或服务网站采用指纹识别技术验证用户的身份。在指纹识别技术中,第一环就是要获取待识别用户的指纹信息,而第一环采集的指纹信息的质量将直接决定指纹识别的准确率。
然而,目前通过一些设备采集的指纹图像中存在较多的背景干扰信息,由于背景干扰信息的存在,会对此类指纹图像的识别过程造成严重的干扰,严重降低指纹识别的识别准确率。
发明内容
本申请实施例提供一种图像处理方法、指纹信息提取方法、装置、设备、产品及介质,旨在排除待识别指纹图像中包含的干扰信息对指纹识别的影响,以提高指纹识别的识别准确率。
本申请实施例第一方面提供一种图像处理方法,所述方法包括:
获得待处理指纹图像;
将所述待处理指纹图像输入指纹图像转换模型进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;
其中,其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息。
可选地,所述指纹图像转换模型的训练样本包含多个样本指纹图像对,每个样本指纹图像对由具有相同指纹区域且相互对齐的第一样本指纹图像和第二样本指纹图像组成,所述第一样本指纹图像包含干扰信息,所述第二样本指纹图像不包含干扰信息。
可选地,所述指纹图像转换模型的训练样本还包含所述多个样本指纹图像对各自对应的增强样本指纹图像;
每个样本指纹图像对所对应的增强样本指纹图像是该样本指纹图像对中的第二样本指纹图像,进行指纹纹路增强操作后的样本指纹图像。
可选地,在将所述待处理指纹图像输入指纹图像转换模型之前,所述方法还包括:
检测所述待处理指纹图像中指纹纹路的清晰度是否高于预设阈值;
其中,在所述清晰度高于所述预设阈值的情况下,执行步骤:将所述待处理指纹图像输入以所述多个样本指纹图像对为训练样本的指纹图像转换模型;
在所述清晰度不高于所述预设阈值的情况下,执行步骤:将所述待处理指纹图像输入以所述多个样本指纹图像对以及对应的增强样本指纹图像为训练样本的指纹图像转换模型。
可选地,所述多个样本指纹图像对的生成过程包括以下步骤:
获取在不同角度下采集的同一手指的多张不包含干扰信息的样本指纹图像和多张包含干扰信息的样本指纹图像;
对所述多张不包含干扰信息的指纹图像进行拼接,得到完整标准样本指纹图像;
基于所述多张包含干扰信息的样本指纹图像和所述完整标准样本指纹图像,进行对齐处理,得到相互对齐的包含干扰信息的样本指纹图像和不包含干扰信息的样本指纹图像;
检测每张包含干扰信息的样本指纹图像和与其对齐的不包含干扰信息的样本指纹图像是否具有相同指纹区域;
将具有相同指纹区域且对齐的一张包含干扰信息的样本指纹图像和一 张不包含干扰信息的样本指纹图像确定为一个样本指纹图像对。
可选地,检测每张包含干扰信息的样本指纹图像和与其对齐的不包含干扰信息的样本指纹图像是否具有相同指纹区域,包括:
将一张包含干扰信息的样本指纹图像和一张不包含干扰信息的样本指纹图像均输入预先训练的分类模型;
根据所述分类模型输出的分类结果,确定输入所述分类模型的两张样本指纹图像是否具有相同指纹区域;
其中,所述分类模型是以具有相同指纹区域的两张样本指纹图像为训练样本,对分类器进行训练得到的。
可选地,所述指纹图像转换模型包括多个指纹图像处理分支;
每两个相邻的指纹图像处理分支之间连接有下采样单元,用于对上一个指纹图像处理分支输出的处理结果进行下采样,以作为下一个指纹图像处理分支的输入;
所述多个指纹图像处理分支中的第一个指纹图像处理分支包括卷积单元,用于对所述待处理指纹图像进行卷积处理;
所述多个指纹图像处理分支中除所述第一个指纹图像处理分支外的其他指纹图像处理分支包括卷积单元和上采样单元,用于依次对该其他指纹图像处理分支的输入进行卷积处理和上采样处理。
可选地,所述指纹图像转换模型还包括指纹图像增强分支、一个融合模块以及一个指纹图像处理模块;
所述指纹图像增强分支用于对所述待处理指纹图像进行指纹纹路增强处理;
所述融合模块用于将所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述指纹图像增强分支输出的处理结果进行融合,得到指纹融合处理结果;
所述指纹图像处理模块包括依次串接的卷积单元和非线性激活单元,并用于对所述指纹融合处理结果进行处理,得到所述目标标准指纹图像。
可选地,所述指纹图像增强分支包括多个指纹图像增强子分支;
所述多个指纹图像增强子分支中的第一个指纹图像增强子分支的输入为所述待处理指纹图像,所述第一个指纹图像增强子分支包括卷积单元,用于对所述待处理指纹图像进行卷积处理;
每两个相邻的指纹图像增强子分支之间连接有下采样单元,用于对上一个指纹图像增强子分支输出的处理结果进行下采样,以作为下一个指纹图像增强子分支的输入;
所述多个指纹图像增强子分支中除所述第一个指纹图像增强子分支外的其他指纹图像增强子分支包括卷积单元和上采样单元,用于依次对该其他指纹图像增强子分支的输入进行卷积处理和上采样处理;
所述融合模块用于将所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述多个指纹图像增强子分支中的最后一个指纹图像增强子分支输出的处理结果进行融合,得到指纹融合处理结果。
可选地,所述融合模块,具体用于对所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述指纹图像增强分支输出的处理结果进行指数操作,以得到所述指纹融合处理结果。
本实施例的第二方面,提供一种指纹信息提取方法,包括:
获得待处理指纹图像;
按照第一方面实施例所述的指纹信息提取方法对所述待处理指纹图像进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息;
提取所述目标标准指纹图像中的指纹信息。
本申请实施例第三方面提供一种图像处理装置,所述装置包括:
获得模块,用于获得待处理指纹图像;
转换模块,用于将所述待处理指纹图像输入指纹图像转换模型,以得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息。
本申请实施例第四方面提供一种指纹提取装置,所述装置包括:
获得模块,用于获得待处理指纹图像;
处理模块,用于按照第一方面实施例所述的指纹信息提取方法对所述待处理指纹图像进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息;
提取模块,用于提取所述目标标准指纹图像中的指纹信息。
本申请实施例第五方面提供一种可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时,实现如本申请第一方面或第二方面所述的方法中的步骤。
本申请实施例第六方面提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现本申请第一方面或第二方面所述的方法的步骤。
本申请实施例还提供一种计算机程序产品,包括计算机程序或计算机指令,所述计算机程序或计算机指令被处理器执行时实现第一方面或第二方面所的方法。
采用本申请提供的图像处理方法,在获得待处理指纹图像后,可以将待处理指纹图像输入到指纹图像转换模型进行干扰信息消除处理,从而得到与待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像,其中,目标标准指纹图像中不包含干扰信息或包含的干扰信息少于待处理指纹图像中包含的干扰信息。
由于指纹图像转换模型可以进行干扰信息消除处理,如此,可以将待处理图像中包含的干扰信息进行消除,从而得到的目标标准指纹图像中可以不包含干扰信息,或者包含的干扰信息少于待处理指纹图像中包含的干扰信息。如此,由于目标标准指纹图像中的干扰信息已经很少甚至没有,因而在对目标标准指纹图像进行指纹识别时,可以避免干扰信息对目标标准指纹图像的识别过程所造成的干扰,从而提高了对目标标准指纹图像中指纹进行指 纹识别的准确率。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1示例性的示出了示出了两种类型的脏指纹图像的示意图;
图2示例性的示出了纯净指纹图像的示意图;
图3示例性的示出了对待处理指纹图像进行图像处理的步骤流程图;
图4示例性的示出了样本指纹图像对的生成步骤流程图;
图5示例性的示出了示出了几种手指以不同角度采集样本指纹图像的示意图;
图6示例性的示出了一种指纹图像转换模型的模型结构示意图;
图7示例性的示出了训练得到指纹图像转换模型的一种训练过程的步骤流程图;
图8示例性的示出了又一种指纹图像转换模型的模型结构示意图;
图9示例性的示出了训练得到指纹图像转换模型的又一种训练过程的步骤流程图;
图10是本申请一实施例提出的一种图像处理装置的结构示意图;
图11是本申请一实施例提出的一种指纹信息提取装置的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
一般而言,指纹采集设备采集的指纹一般含有较多的干扰信息,例如,手指有汗渍或屏幕上有灰尘污渍等情况时,采集的指纹图像便含有较多的背 景干扰信息,这些背景干扰信息会使得采集的指纹纹理变得模糊杂乱,从而严重干扰指纹识别的准确度。
在先技术中,为了提高指纹识别的准确度,一般是滤除指纹图像中的干扰信息,即采用滤波方法,但是此种方式得到的指纹信息仍然会存在各种复杂的背景干扰,对指纹识别准确率的提升有限。
有鉴于此,本申请人提出了一种指纹信息提纯方案,具体而言,使用图像拼接对齐和深度学习训练的手段来实现指纹信息提纯,以将带干扰信息的脏指纹图处理成不包含干扰信息的纯净指纹图(后文称为标准指纹图像)。
为方便理解本申请,首先对本申请所定义的脏指纹图像和纯净指纹图像进行说明。参照图1和图2所示,图1示出了两种类型的脏指纹图像,图2示出了纯净指纹图像。
其中,如图1所示,图1右侧的指纹图像是包含划痕干扰信息的指纹图像,图1左侧的指纹图像是包含污渍类的干扰信息的指纹图像。其中,划痕干扰信息一般是屏幕上的历史划痕造成的,用户手指按压屏幕采集指纹时,这些历史划痕便成了背景干扰信息。
其中,如图2所示,可见,纯净图像中不包含干扰信息,其指纹的谷脊线清晰可见,对这样的指纹图像进行指纹识别时,指纹识别的准确率较高。
由此,本申请所讨论的便是如何将图1所示的脏指纹图像处理为图2所示的纯净指纹图像。具体地,可以先训练一个用于将脏指纹图像转换为纯净指纹图像的指纹图像转换模型,利用该指纹图像转换模型,将包含干扰信息的指纹图像转换为不包含干扰信息或仅包含少量干扰信息的指纹图像。
参照图3所示,示出了本申请实施例的一种图像处理方法的步骤流程图,具体可以包括以下步骤:
步骤S301:获得待处理指纹图像。
本实施例中,待处理指纹图像可以是指需要进行识别的指纹图像,其可以是指纹采集设备采集的图像,该待处理指纹图像可以包括干扰信息。其中,指纹采集设备可以包括光学指纹采集设备、电容式指纹采集设备,如,可以是在手机屏幕上设置的指纹采集区。
在一种可选地实施方式中,待处理指纹图像可以通过以下方式获得:对触摸在有污渍的屏幕上的手指头上的指纹进行图像采集,或,对触摸在有划痕的屏幕上的手指头上的指纹进行图像采集,从而获得待处理指纹图像。其中,有划痕的屏幕应当做广义的理解,既可以是指屏幕上的划痕,也可以是指屏幕上粘贴的防划膜上的划痕。
步骤S302:将所述待处理指纹图像输入指纹图像转换模型进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像。
其中,目标标准指纹图像中不包含干扰信息或包含的干扰信息少于待处理指纹图像中包含的干扰信息。
本实施例中,训练得到的指纹图像转换模型可以用于对待处理指纹图像进行多次的卷积处理以及多次的上下采样处理,具体地,该指纹图像转换模型可以多次强化待处理指纹图像中指纹信息的全局特征以及局部特征,使得待处理指纹图像中的指纹信息被不断保存,而不属于指纹信息的干扰信息被不断消除,从而得到纯净的目标标准指纹图像。
具体地,指纹图像转换模型可以对待处理指纹图像进行多次上下采样和卷积处理,以不断强化待处理指纹图像中指纹信息的全局特征以及局部特征,从而使得指纹信息被不断保存,而不属于指纹信息的干扰信息被不断消除,这样,保留了待处理的指纹区域不变,而使得指纹区域中的指纹信息中包含的干扰信息被消除。因此,目标标准指纹图像便与待处理指纹图像具有相同的指纹区域,且指纹区域是相互对齐的。
其中,目标标准指纹图像中便可以不包括干扰信息或者仅包括少量的干扰信息,无论如何,目标标准指纹图像中的干扰信息大大少于待处理指纹图像中的干扰信息,可以得到较为干净的指纹图像。如此,便可以对干净的指纹图像进行指纹识别,从而提高了识别的准确性。
采用本申请实施例的技术方案,可以有效降低指纹识别的误识率和提高识别准确率。
为方便理解本申请的技术方案,下面,对本申请中如何训练得到指纹图 像转换模型进行介绍,如下所述,首先需要获得训练用的样本指纹图像对。
参照图4所示,示出了获得样本指纹图像对的步骤流程图,具体可以包括以下步骤:
步骤S401:获取在不同角度下采集的同一手指的多张不包含干扰信息的样本指纹图像和多张包含干扰信息的样本指纹图像。
本实施例中,不同角度可以是指手指与指纹采集设备的中轴线之间形成的角度不同,参照图5所示,示出了几种手指以不同角度采集样本指纹图像的示意图,如图5最左侧图像所示,手指可以以0度的角度让指纹采集设备采集指纹,如中间图像所示,也可以以40度的角度让指纹采集设备采集指纹,如最右侧图像所示,也可以以60度的角度让指纹采集设备采集指纹。
如此,针对同一手指,可以采集该手指在不同角度下的包含干扰信息的样本指纹图像(可以称为脏样本指纹图像)和不包含干扰信息的样本指纹图像(可以称为标准样本指纹图像)。其中,在一种示例中,在同一手指的同一角度下,可以采集多张包含干扰信息的样本指纹图像和多张不包含干扰信息的样本指纹图像。
其中,包含干扰信息的样本指纹图像可以是通过在指纹设备的屏幕上做划痕或者污渍来获取的,不包含干扰信息的样本指纹图像则可以是通过干净且不包含污渍和划痕的屏幕的指纹设备来获取的。
示例地,可以以40个人为采集对象,每个人采集6个手指的指纹图像(左手拇指/左手食指/左手中指/右手拇指/右手食指/右手中指),每个手指五个角度(-60度/-30度/0度/30度/60度),同一角度下,采集40张不包含干扰信息的样本指纹图像(如图2所示)和40张带划痕或杂乱背景的样本指纹图像(如图1所示),则可以获得48000张不包含干扰信息的样本指纹图像和48000张包含干扰信息的样本指纹图像。
步骤S402:对所述多张不包含干扰信息的样本指纹图像进行拼接,得到完整标准样本指纹图像。
本实施例中,由于同一手指可以从不同角度采集多个不包含干扰信息的样本指纹图像(以下简称标准指纹图像),如此,对于属于同一手指的多个 不包含干扰信息的样本指纹图像,这些样本指纹图像之间必然存在相互重叠的指纹区域,例如在0度时对右手食指采集的一张标准指纹图像中的指纹,必然与在30度时对右手食指采集的另一张标准指纹图像中的指纹存在重叠的部分区域。则可以对同一手指的多张不同角度下的不包含干扰信息的样本指纹图像进行拼接,得到完整标准样本指纹图像。
具体实施时,在对标准样本指纹图像进行拼接时,可以将同一手指的不同角度的标准指纹图像均旋转至同一角度,以使同一手指的不同角度的多张标准指纹图像对齐,从而将对齐后的标准样本指纹图像进行拼接。
示例地,可以将同一手指的不同角度的所有标准图像均旋转至0度,例如在30度时采集的标准指纹图像,需要逆时针旋转30度,在-60度时采集的标准指纹图像,需要顺时针旋转60度,从而使得多张不同角度下采集的标准指纹图像被旋转至同一角度。如此,针对40个采集对象,每个采集对象采集6个手指,对每个手指的不同角度的标准样本指纹图像进行对齐后拼接,则可以得到240张完整标准样本指纹图像。
其中,在进行标准样本指纹图像的拼接时,可以以重叠的指纹区域为基准进行拼接,即拼接后的标准指纹图像可以真实完整反映整个手指指纹的形状,得到面积较大且完整的标准样本指纹图像。
步骤S403:基于所述多张包含干扰信息的样本指纹图像和所述完整标准样本指纹图像,进行对齐处理,得到相互对齐的包含干扰信息的样本指纹图像和不包含干扰信息的样本指纹图像。
本实施例中,由于完整标准样本指纹图像的由各个不包含干扰信息的样本指纹图像进行拼接得到的,将包含干扰信息的样本指纹图像和完整标准样本指纹图像进行对齐,即是将包含干扰信息的样本指纹图像和各不包含干扰信息的样本指纹图像进行对齐,如此,便得到相互对齐的包含干扰信息的样本指纹图像和不包含干扰信息的样本指纹图像。采用此种对齐方式,相比于单独将多张包含干扰信息的样本指纹图像和多张不包含干扰信息的样本指纹图像件分别对齐的方式,可以提高本申请的指纹对其效率。
本实施例中,可以将多张包含干扰信息的样本指纹图像依次与每个完整 标准样本指纹图像进行对齐,如此,完整标准样本指纹图像可以不用旋转,而只需旋转面积较小的包含干扰信息的样本指纹图像,例如,共得到4800张包含干扰信息的样本指纹图像,则对于每个完整标准样本指纹图像,均可以将4800张包含干扰信息的样本指纹图像与该完整标准样本指纹图像进行对齐。
具体实施时,将多张包含干扰信息的样本指纹图像与该完整标准样本指纹图像进行对齐时,可以是指将多张包含干扰信息的样本指纹图像均旋转至该完整标准样本指纹图像所具有的角度,实际中,可以理解为将脏样本指纹图像掰正,以与完整标准样本指纹图像对齐。例如,完整标准样本指纹图像的角度为0度,则将多张包含干扰信息的样本指纹图像均旋转至0度。
当然,也可以是完整标准样本指纹图像与每个包含干扰信息的样本指纹图像对齐,如此,包含干扰信息的样本指纹图像可以不用旋转,而旋转完整标准样本指纹图像。
经过上述对齐,便可以得到多对相互对齐的不包含干扰信息的样本指纹图像和包含干扰信息的样本指纹图像,例如,通过对48000张包含干扰信息的样本指纹图依次与240张完整表征样本指纹图像做对齐,如此,便可以得到48000*240张相互对齐的不包含干扰信息的样本指纹图像和包含干扰信息的样本指纹图像。
本实施例中,将多张包含干扰信息的样本指纹图像依次与每个完整标准样本指纹图像进行对齐后,可以保证干扰信息的样本指纹图像与完整标准样本指纹图像具有相同的比对基准,排除角度不同而导致的同一指纹图像出现差异,如此,可以减小后续对两张指纹图像的相似性进行比较的难度。
步骤S404:检测每张包含干扰信息的样本指纹图像和与其对齐的不包含干扰信息的样本指纹图像是否具有相同指纹区域。
本实施例中,对每个标准样本指纹图像(即不包含干扰信息的样本指纹图像),可以检测与该标准指纹图像对齐的多个包含干扰信息的样本指纹图像是否与该标准指纹图像具有相同指纹区域。
其中,通过判断脏样本指纹图像和标准样本指纹图像是否具有相同指纹 区域,可以确定脏样本指纹图像和标准样本指纹图像是否来源于同一人的同一手指。
在一种示例中,为了避免在采集指纹图像时,人工确定脏样本指纹图像和标准样本指纹图像是否具有相同指纹区域而导致的效率低下、准确率不高的问题,可以通过神经网络确定采集到的脏样本指纹图像和与之对齐的标准样本指纹图像是否具有相同指纹区域。
具体实施时,在检测每张包含干扰信息的样本指纹图像和与其对齐的不包含干扰信息的样本指纹图像是否具有相同指纹区域时,可以将一张包含干扰信息的样本指纹图像和与之对齐的一张不包含干扰信息的样本指纹图像均输入预先训练的分类模型;并根据所述分类模型输出的分类结果,确定输入所述分类模型的两张样本指纹图像是否具有相同指纹区域。
其中,所述分类模型是以具有相同指纹区域的两张样本指纹图像为训练样本,对分类器进行训练得到的。分类器可以是各种常见的分类器,例如是SVM分类器、Adaboost分类器、Boosting分类器、logistic分类器、Softmax分类等,在本申请中,不做具体的限制。
本实施例中,分类模型可以用于确定两张指纹图像是否具有相同的指纹区域,这样,可以将一张包含干扰信息的样本指纹图像和与之对齐的一张不包含干扰信息的样本指纹图像均输入分类模型,通过分类模型输出的得分确定二者是否具有相同指纹区域。其中,分类模型输出的得分可以是表征二者具有相同指纹区域的概率,实际中,在得分高于预设阈值,例如大于0.5时,确定输入的脏样本指纹图像和与之对齐的标准样本指纹图像具有相同的指纹区域。
其中,可以理解的是具有相同的指纹区域是指:在该指纹区域中的指纹纹路相同。
本申请中,作为训练分类模型的样本对中的两张样本指纹图像可以是相互对齐的指纹图像,当然,训练样本对中应当至少包含多个正样本对和多个负样本对,每个正样本对是具有相同指纹区域的两张样本指纹图像组成的训练样本,每个负样本对是不具有相同指纹区域的两张样本指纹图像组成的训 练样本。其中,训练得到分类模型的过程可以参见现有技术的训练过程即可,在此不再赘述。
步骤S405:将具有相同指纹区域且对齐的一张包含干扰信息的样本指纹图像和一张不包含干扰信息的样本指纹图像确定为一个样本指纹图像对。
本实施例中,若分类模型输出的得分表征脏样本指纹图像和与之对齐的标准样本指纹图像具有相同的指纹区域,则可以表征二者来源于同一手指,这样,可以随即将二者确定为一个样本指纹图像对。如此,一个样本指纹图像对中便可以包括具有相同指纹区域且相互对齐的一个脏样本指纹图像(即包含干扰信息的样本指纹图像)和一个标准样本指纹图像(即不包含干扰信息的样本指纹图像)。
通过上述过程,便可以得到多个样本指纹图像对。示例地,在将48000张脏指纹图依次与对齐的240张大面积干净指纹做比对后,最终可以得到33044对具有相同指纹区域并对齐的样本指纹图像对。
之后,便可以利用得到的多个样本指纹图像对对预设模型进行训练,得到指纹图像转换模型。其中,利用该多个样本指纹图像对对预设模型进行训练后得到的指纹图像转换模型的模型结构如图6所示。
具体的,如图6所示,指纹图像转换模型可以包括多个依次串接的指纹图像处理分支(图中仅示例性给出3个指纹图像处理分支)。其中,指纹图像处理分支用于对输入的待处理指纹图像进行卷积处理和上下采样处理,从而通过层层的卷积和上下采样,保留待处理指纹图像中的指纹信息,而消除待处理指纹图像中的干扰信息,而得到相应地不包含干扰信息或仅包含微量干扰信息的目标标准指纹图像。
其中,由图6可以看出,每两个相邻的指纹图像处理分支之间连接有下采样单元,用于对上一指纹图像处理分支输出的处理结果进行下采样,以作为下一指纹图像处理分支的输入;且所述多个指纹图像处理分支中除所述第一个指纹图像处理分支(图6中的指纹图像处理分支1)外的其他指纹图像处理分支包括卷积单元和上采样单元,用于对该其他指纹图像处理分支的输入依次进行卷积处理和上采样处理,其中,最后一个指纹图像处理分支输出 的即为目标标准指纹图像。
其中,所述多个指纹图像处理分支中的第一个指纹图像处理分支的输入为该待处理指纹图像,所述第一个指纹图像处理分支中可以包括卷积单元,用于对该待处理指纹图像进行卷积处理,以提取待处理指纹图像中的指纹特征。
需要说明的是,本申请示例的第一个指纹图像处理分支可以理解为是位于浅层的指纹图像处理分支,即上游第一个指纹图像处理分支,后续更深层的其他指纹图像处理分支则可以对输入到该指纹图像处理分支的特征先进行卷积再进行上采样,以从细节上提取更加精细的指纹特征。
其中,最后一层指纹图像处理分支输出的特征的尺寸与输入到第一个指纹图像处理分支的样本指纹图像的尺寸相同,例如,输入到第一个指纹图像处理分支的待处理指纹图像的尺寸为100*100,则最后层指纹图像处理分支输出的特征图的尺寸也为100*100。当然,在一些实例中,每个上采样单元上采样后的图像尺寸可以与其连接的下采样单元执行下采样前的图像尺寸一致。
本实施例中,下采样单元执行下采样操作,其主要用于从整体上提取更加全局的指纹特征,通过该多个下采样单元,可以逐步滤除待处理指纹图像中的干扰信息。其中,该下采样单元可以是Pooling池化下采样,上采样单元执行上采样操作,其可以是最近邻差值上采样。当然以上的上采样和下采样的具体采样方式不均局限于所述的最近邻差值上采样或Pooling池化下采样,还可以是其他的采样方式,例如反卷积上采样、随机下采样等。
本示例中,将待处理指纹图像输入到第一个指纹图像处理分支后,可以通过多个指纹图像处理分支以及连接在指纹图像处理分支之间的下采样单元,对待处理指纹图像进行多次的上下采样和卷积处理,由于下采样可以从整体上提取出全局的指纹信息,而上采样又可以得到精细化得到指纹信息,因此,通过多次上下采样和卷积处理,可以滤除待处理指纹图像中的干扰信息,而保留指纹信息,如此,达到指纹信息的提纯的目的,从而得到纯净的指纹图像。
其中,利用该多个样本指纹图像对对预设模型进行训练得到指纹图像转换模型的过程可以参照图7所示,具体可以包括以下步骤:
步骤S701:将所述多个样本指纹图像对各自包含的第一样本指纹图像输入所述第一个指纹图像处理分支,以获得所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果。
本实施例中,第一样本指纹图像是指样本指纹图像对中包含干扰信息的样本指纹图像,该样本指纹图像依次经多个指纹图像处理分支处理后,得到最后一个指纹图像处理分支输出的处理结果,其中,最后一个指纹图像处理分支可以是指位于最深层的指纹图像处理分支。
步骤S702:根据所述处理结果和所述样本指纹图像对中的第二样本指纹图像,对所述预设模型的参数进行多次更新。
本实施例中,第二样本指纹图像是指样本指纹图像对中不包含干扰信息的样本指纹图像,其中,第二样本指纹图像可以理解为是训练的标签,如此,在根据处理结果和第二样本指纹图像,对预设模型的参数进行多次更新时,可以先确定处理结果和第二样本指纹图像之间的损失值,接着,根据该损失值对预设模型的参数进行多次更新。
步骤S703:将经过多次更新后的预设模型,确定为所述指纹图像转换模型。
本实施例中,可以将更新了预设轮数的预设模型,确定为指纹图像转换模型,或者将损失值低于预设损失值时的预设模型,确定为指纹图像转换模型。
在又一种示例中,所述指纹图像转换模型的训练样本还可以包含所述多个样本指纹图像对各自对应的增强样本指纹图像;一个样本指纹图像对所对应的增强样本指纹图像是该样本指纹图像对中的第二样本指纹图像进行指纹纹路增强操作后的样本指纹图像。
具体地,增强样本指纹图像可以是指对第二样本指纹图像进行指纹纹路增强操作的图像,该指纹纹路增强操作可以是指对指纹的谷脊线进行的增强操作,以使指纹的谷脊线更加清晰。
如此,在训练样本还包含所述多个样本指纹图像对各自对应的增强样本指纹图像的情况下,可以利用该训练样本对预设模型进行训练,得到指纹图像转换模型,其得到的指纹图像转换模型除包括多个指纹图像处理分支外,还可以包括指纹图像增强分支、一个融合模块以及一个指纹图像处理模块。则在用该训练样本训练得到指纹图像转换模型后,可以将待处理指纹图像输入到该指纹图像转换模型,以得到目标标准指纹图像。
此种情况下,可以将待处理指纹图像输入到指纹图像增强分支和第一个指纹图像处理分支。其中,所述指纹图像增强分支用于对待处理指纹图像进行指纹纹路增强处理;所述融合模块用于将所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述指纹图像增强分支输出的处理结果进行融合,得到指纹融合处理结果;
其中,所述指纹图像处理模块包括依次串接的卷积单元和非线性激活单元,指纹图像处理模块用于对所述指纹融合处理结果进行处理,以输出目标标准指纹图像。
由于增加了指纹图像增强分支,则可以通过指纹图像增强分支来使模型更加关注指纹信息的部分,如此,可以将指纹图像处理成一张使指纹谷脊线更加明显的指纹图像。
另一种情况下,利用包括增强样本指纹图像的指纹样本图像对对预设模型进行训练时,得到的指纹图像转换模型的模型结构可以如图8所示,此种功能情况下,指纹图像转换模型中的指纹图像增强分支可以包括多个指纹图像增强子分支。
其中,所述多个指纹图像增强子分支中的第一个指纹图像增强子分支的输入为所述待处理指纹图像,所述第一个指纹图像增强子分支包括卷积单元,用于对所述待处理指纹图像进行卷积处理;
每两个相邻的指纹图像增强子分支之间连接有下采样单元,用于对上一指纹图像增强子分支输出的处理结果进行下采样,以作为下一指纹图像增强子分支的输入;由于通过多个指纹图像增强子分支对待处理指纹图像进行了多次下采样,如此,可以增强从全局提取的指纹特征的强度,使得指纹纹路 不断被加强,指纹纹路的清晰度不断得到改善。
其中,所述多个指纹图像增强子分支中除所述第一个指纹图像增强子分支外的其他指纹图像增强子分支包括卷积单元和上采样单元,用于依次对该其他指纹图像增强子分支的输入进行卷积处理和上采样处理;
其中,所述融合模块用于将所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述多个指纹图像增强子分支中的最后一个指纹图像增强子分支输出的处理结果进行融合,得到指纹融合处理结果。
本实施例中,第一个指纹图像增强子分支是位于模型最浅层的指纹图像增强子分支,如图8所示,第一个指纹图像增强子分支可以是指纹图像增强子分支1,待处理指纹图像可以输入该第一个指纹图像增强子分支,经过多个指纹图像增强子分支依次进行的下采样和上采样,以增强指纹纹路的谷脊线。
如图8所示,对最后一个指纹图像处理分支输出的处理结果和最后一个指纹图像增强子分支输出的处理结果进行融合,可以使得指纹融合处理结果兼具指纹提纯后和指纹纹路增强的效果,即可以在得到不包含干扰信息的同时,指纹纹路也得到增强,即指纹纹路更加清晰。
其中,每个指纹图像增强子分支中的卷积单元的卷积核的尺寸可以根据实际需求进行设置,指纹图像处理模块中的卷积单元的卷积核的尺寸也可以根据实际需求进行设置。
在一种示例中,对最后一个指纹图像处理分支输出的处理结果和所述多个指纹图像增强子分支中的最后一个指纹图像增强子分支输出的处理结果进行融合时,可以对所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和最后一个所述指纹图像增强子分支输出的处理结果进行指数操作,以得到所述指纹融合处理结果。
具体的指数操作可以按照以下公式(1)进行:
Figure PCTCN2021135829-appb-000001
公式(1)中,具体的,Z 3表示最后一个指纹图像增强子分支输出的处理结果,T 3表示最后一个指纹图像处理分支输出的处理结果,T 3-2表示指纹融合处理结果。
本示例中,由于增加了指纹图像增强分支,则可以通过指纹图像增强分支将指纹图像处理成一张指纹谷脊线更加明显的指纹图像。如此,对最后一个指纹图像处理分支输出的处理结果和最后一个指纹图像增强子分支输出的处理结果进行融合后,便可以使得指纹融合处理结果兼具指纹提纯后和指纹谷脊线增强的效果,即可以在得到不包含干扰信息的同时,得到的指纹图像更加清晰。
其中,指数操作可以理解为是一种注意力机制,通过指数操作对最后一个指纹图像处理分支输出的处理结果和最后一个指纹图像增强子分支输出的处理结果进行融合时,可以更加关注指纹谷脊线,因而根据指纹融合后处理结果所得到的目标标准指纹图像中不包含干扰信息且指纹谷脊线更加清晰,即目标标准指纹图像中的指纹既干净又清晰。
当然,以上的指数操作的融合方式只是一种示例,并不排除在其他实施例中,采用其他的Attention机制融合最后一个指纹图像处理分支输出的处理结果与指纹图像增强分支输出的处理结果。
其中,利用该包含增强样本指纹图像的训练样本对预设模型进行训练,得到图8所示的指纹图像转换模型的过程,可以参照图9所示,具体可以包括以下步骤
步骤S901:将所述多个样本指纹图像对各自包含的第一样本指纹图像输入所述第一个指纹图像处理分支,以获得所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果。其中,第一样本指纹图像是样本指纹图像对中包含干扰信息的样本指纹图像。
步骤S902:将所述多个样本指纹图像对各自包含的第一样本指纹图像输入所述第一个指纹图像增强子分支,以获得所述多个指纹图像增强子分支中的最后一个指纹图像增强子分支输出的处理结果。
本实施例中,通过上述步骤S901和步骤S902,可以将第一样本指纹图 像输入分别输入到第一个指纹图像处理分支和第一个指纹图像增强子分支,这样,预设模型的各个指纹图像处理分支用于对第一样本指纹图像进行处理,从而得到最后一个指纹图像处理分支输出的处理结果;同时,多个指纹图像增强子分支也可以对第一样本指纹图像进行处理,得到最后一个指纹图像增强子分支输出的处理结果。
其中,最后一个指纹图像处理分支输出的处理结果可以反映这些指纹图像处理分支对第一样本指纹图像进行提纯后的结果,而最后一个指纹图像增强子分支输出的处理结果可以反映这些指纹图像增强子分支对第一样本指纹图像中的指纹信息进行增强的结果。
步骤S903:依次通过所述融合模块和所述指纹图像处理模块,得到最终指纹处理结果。
本实施例中,由于预设模型的融合模块是用于对最后一个指纹图像处理分支输出的处理结果和最后一个指纹图像增强子分支输出的处理结果进行融合,其得到的是指纹融合处理结果,而指纹图像处理模块可以对所述指纹融合处理结果进行处理,得到最终指纹处理结果。
步骤S904:根据所述最终指纹处理结果和所述样本指纹图像对中的第二样本指纹图像、与对所述第二样本指纹图像进行增强操作后的增强样本指纹图像,对所述预设模型的参数进行多次更新。
本实施例中,如图8所示,在对预设模型的参数进行多次更新时,可以根据最终指纹处理结果,即图8中的输出,和第二样本指纹图像,确定提纯损失;并根据最后一个指纹图像增强分支输出的处理结果和增强样本指纹图像,确定增强损失;继而,根据提纯损失和增强损失,确定整体损失,根据整体损失对预设模型的参数进行多次更新。
其中,在根据提纯损失和增强损失,确定整体损失时,可以按照二者预设的权重,进行加权求和,从而计算得到整体损失。
可以理解的是,在对该预设模型训练时,所输入的第一样本指纹图像是包含干扰信息的指纹图像,而第二样本指纹图像是不包含干扰信息的指纹图像,其中,增强样本指纹图像可以作为计算增强损失的标签,第二样本指纹 图像可以作为计算提纯损失的标签。
如图6和图8所示,通过不同的训练样本,得到了两种指纹图像转换模型,在得到两种类型的图像转换模型时,则可以利用两种类型的图像转换模型中的任意一种图像转换模型,将待处理指纹图像转换为目标标准指纹图像。
在一种示例中,由于训练得到的两种指纹图像转换模型的结构不同,其对待处理指纹图像进行处理的效果也不同。其中,在训练样本中包括增强样本指纹图像时,其训练得到的指纹图像转换模型可以在待处理图像的指纹信息较为模糊的情况下,提高指纹信息的清晰度。
相应地,在对待处理图像中的干扰信息进行消除处理时,可以根据待处理指纹图像中指纹纹路的清晰度确定适用何种类型的指纹图像转换模型,即可以根据待处理指纹图像中指纹纹路的清晰程度,将待处理指纹图像输入到相应结构的指纹图像转换模型。
具体地,可以检测所述待处理指纹图像中指纹纹路的清晰度是否高于预设阈值。其中,在所述清晰度高于所述预设阈值的情况下,将所述待处理指纹图像输入以所述多个样本指纹图像对为训练样本的指纹图像转换模型。其中,在所述清晰度不高于所述预设阈值的情况下,将所述待处理指纹图像输入以所述多个样本指纹图像对以及对应的增强样本指纹图像为训练样本的指纹图像转换模型。
本示例中,预设阈值可以根据需求进行设置。在待处理指纹图像中指纹纹路的清晰度高于或等于预设阈值时,表示待处理指纹图像中指纹纹路的清晰程度较高,则可以将待处理指纹图像输入到利用多个样本指纹图像对训练得到的指纹图像转换模型中,即输入到图6所示的包括多个指纹图像处理分支的指纹图像转换模型中。
在待处理指纹图像中指纹纹路的清晰度低于预设阈值时,表示指纹纹路的清晰程度较低,此种情况下,为了得到不包含干扰信息且指纹纹路清晰的指纹图像,可以将待处理指纹图像输入到以多个样本指纹图像对以及增强样本指纹图像为训练样本,训练得到的指纹图像转换模型中,即输入到图8所 示的包括多个指纹图像处理分支、多个指纹图像增强分支、融合模块和指纹图像处理模块的指纹图像转换模型中。
采用本申请实施例的方法,由于指纹图像转换模型可以将包含干扰信息的指纹图像转换为不包含干扰信息的指纹图像,即指纹图像转换模型可以用于指纹信息的提纯,这样,可以直接将待处理指纹图像输入至指纹图像转换模型,即可得到纯净的目标标准指纹图像,之后,可以对该目标标准指纹图像进行指纹识别,由于目标标准指纹图像不包含干扰信息,由此不会对指纹识别造成干扰,减小误识别,提高了识别准确率。
再一方面,由于在待处理指纹图像的指纹纹路的清晰程度不高时,可以将待处理指纹图像输入具有纹路增强功能的指纹图像转换模型,从而得到的目标标准指纹图像不仅不包含干扰信息,其指纹纹路也更加清晰,从而减小了指纹识别的难度,提高了此种情况下的识别准确率。
基于同一发明构思,下面以一种具体应用场景为例,对本申请的指纹信息提取方法进行介绍,该方法可以应用于屏下指纹识别系统,具体可以包括以下过程:
首先,获得待处理指纹图像。
本实施例中,待处理指纹图像可以是以屏下指纹采集为采集方式获得的,例如,智能设备的屏幕上的指纹采集区域。在采集到待处理指纹图像后,可以将该待处理指纹图像输入到智能设备的处理器、或者与智能设备通信连接的后台服务器中进行处理。
其次,按照上述实施例中的指纹信息提取方法,即可以是按照步骤S301至步骤S302的过程,对所述待处理指纹图像进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像,其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息。
本实施例中,智能设备的处理器、或者与智能设备通信连接的后台服务器中可以内置指纹图像转换模型,这样,可以获得指纹图像转换模型输出的目标标准指纹图像,该目标标准指纹图像与待处理指纹图像表征的指纹区域 为相同指纹区域且对齐,即可以理解为是目标标准指纹图像与待处理指纹图像仍然对应同一手指,且目标标准指纹图像的角度和待处理指纹图像的角度相同。即目标标准指纹图像可以理解为是不包含干扰的待处理指纹图像。
接着,提取所述目标标准指纹图像中的指纹信息。
本实施例中,提取目标标准指纹图像中的指纹信息可以是指,对目标标准指纹图像中的指纹纹路进行提取,从而可以将提取得到的指纹信息输入到后续的指纹识别任务中,以进行指纹识别。
当然,该提取的指纹信息也可以用于其他的指纹任务中,例如,存储任务中,以将提取的指纹信息进行存储,方便后续的比对。
参照图10所示,基于同一发明构思,本申请另一实施例提供一种图像处理装置的结构框图,如图10所示,所述装置具体可以包括以下模块:
获得模块1001,用于获得待处理指纹图像;
转换模块1002,用于将所述待处理指纹图像输入指纹图像转换模型进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息。
可选地,所述指纹图像转换模型的训练样本包含多个样本指纹图像对,每个样本指纹图像对由具有相同指纹区域且相互对齐的第一样本指纹图像和第二样本指纹图像组成,所述第一样本指纹图像包含干扰信息,所述第二样本指纹图像不包含干扰信息。
可选地,所述指纹图像转换模型的训练样本还包含所述多个样本指纹图像对各自对应的增强样本指纹图像;每个样本指纹图像对所对应的增强样本指纹图像是该样本指纹图像对中的第二样本指纹图像进行指纹纹路增强操作后的样本指纹图像。
可选地,所述装置还可以包括以下模块:
清晰度判定模块,用于检测所述待处理指纹图像中指纹纹路的清晰度是否高于预设阈值;
第一输入模块,用于在所述清晰度高于所述预设阈值的情况下,将所述 待处理指纹图像输入以所述多个样本指纹图像对为训练样本的指纹图像转换模型;
第二输入模块,用于在所述清晰度不高于所述预设阈值的情况下,将所述待处理指纹图像输入以所述多个样本指纹图像对以及对应的增强样本指纹图像为训练样本的指纹图像转换模型。
可选地,所述装置还可以包括样本对获得模块,所述样本对获得模块用于获得多个样本指纹图像对,具体可以包括以下单元:
采集单元,用于在获取不同角度下采集的同一手指的多张不包含干扰信息的样本指纹图像和多张包含干扰信息的样本指纹图像;
拼接单元,用于对所述多张不包含干扰信息的指纹图像进行拼接,得到完整标准样本指纹图像;
对齐单元,用于基于所述多张包含干扰信息的样本指纹图像和所述完整标准样本指纹图像,进行对齐处理,得到相互对齐的包含干扰信息的样本指纹图像和不包含干扰信息的样本指纹图像;
检测单元,用于检测每张包含干扰信息的样本指纹图像和与其对齐的不包含干扰信息的样本指纹图像是否具有相同指纹区域;
组建单元,用于将具有相同指纹区域且对齐的一张包含干扰信息的样本指纹图像和一张不包含干扰信息的样本指纹图像确定为一个样本指纹图像对。
可选地,所述检测单元,具体可以用于将一张包含干扰信息的样本指纹图像和一张不包含干扰信息的样本指纹图像均输入预先训练的分类模型;并根据所述分类模型输出的分类结果,确定输入所述分类模型的两张样本指纹图像是否具有相同指纹区域;
其中,所述分类模型是以具有相同指纹区域的两张样本指纹图像为训练样本,对分类器进行训练得到的。
可选地,所述指纹图像转换模型包括多个指纹图像处理分支;
所述多个指纹图像处理分支中的第一个指纹图像处理分支包括卷积单元,所述卷积单元用于对所述待处理指纹图像进行卷积处理;
每两个相邻的指纹图像处理分支之间连接有下采样单元,用于对上一个指纹图像处理分支输出的处理结果进行下采样,以作为下一个指纹图像处理分支的输入;
所述多个指纹图像处理分支中除所述第一个指纹图像处理分支外的其他指纹图像处理分支包括卷积单元和上采样单元,用于依次进行卷积处理和上采样处理。
可选地,所述装置还可以包括第一训练模块,用于训练得到指纹图像转换模型,具体可以包括以下单元:
第一输入单元,用于将所述多个样本指纹图像对各自包含的第一样本指纹图像输入所述第一个指纹图像处理分支,以获得所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果;
第一更新单元,用于根据所述处理结果和所述样本指纹图像对中的第二样本指纹图像,对所述预设模型的参数进行多次更新;
获得单元,用于将经过多次更新后的预设模型,确定为所述指纹图像转换模型。
可选地,所述指纹图像转换模型还包括指纹图像增强分支、一个融合模块以及一个指纹图像处理模块;
所述指纹图像增强分支用于对所述待处理指纹图像进行指纹纹路增强处理;
所述融合模块用于将所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述指纹图像增强分支输出的处理结果进行融合,得到指纹融合处理结果;
所述指纹图像处理模块包括依次串接的卷积单元和非线性激活单元,并用于对所述指纹融合处理结果进行处理,得到最终指纹处理结果。
可选地,所述指纹图像增强分支包括多个指纹图像增强子分支;
其中,所述多个指纹图像增强子分支中的第一个指纹图像增强子分支的输入为所述待处理指纹图像,所述第一个指纹图像增强子分支包括卷积单元,用于对所述待处理指纹图像进行卷积处理;
每两个相邻的指纹图像增强子分支之间连接有下采样单元,用于对上一个指纹图像增强子分支输出的处理结果进行下采样,以作为下一个指纹图像增强子分支的输入;
所述多个指纹图像增强子分支中除所述第一个指纹图像增强子分支外的其他指纹图像增强子分支包括卷积单元和上采样单元,用于依次进行卷积处理和上采样处理;
所述融合模块用于将所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述多个指纹图像增强子分支中的最后一个指纹图像增强子分支输出的处理结果进行融合,得到指纹融合处理结果。
可选地,所述融合模块,具体用于对所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述指纹图像增强分支输出的处理结果进行指数操作,以得到所述指纹融合处理结果。
可选地,所述装置还可以包括第二训练模块,用于训练得到指纹图像转换模型,具体可以包括以下单元:
第二输入单元,用于将所述多个样本指纹图像对各自包含的第一样本指纹图像输入第一个指纹图像增强子分支,以获得所述多个指纹图像增强子分支中的最后一个指纹图像增强子分支输出的处理结果;
融合处理单元,用于依次通过所述融合模块和所述指纹图像处理模块,得到最终指纹处理结果;
更新单元,用于根据所述最终指纹处理结果和所述样本指纹图像对中的第二样本指纹图像、与对所述第二样本指纹图像进行增强操作后的增强样本指纹图像,对所述预设模型的参数进行多次更新。
参照图11所示,基于同一发明构思,本申请另一实施例提供一种指纹信息提取装置,具体可以包括以下模块:
获得模块1101,用于获得待处理指纹图像;
处理模块1102,用于按照上述的指纹信息提取方法对所述待处理指纹图像进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不 包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息;
提取模块1103,用于提取所述目标标准指纹图像中的指纹信息。
基于同一发明构思,本申请另一实施例提供一种可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请上述任一实施例所述的指纹信息提取方法,或者执行第二方面实施例所述的方法中的步骤。
基于同一发明构思,本申请另一实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行时实现本申请上述任一实施例所述的指纹信息提取方法,或者执行第二方面实施例所述的方法中的步骤。
本申请实施例还提供一种计算机程序产品,包括计算机程序或计算机指令,所述计算机程序或计算机指令被处理器执行时实现第一方面或第二方面所的方法。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算 机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上对本申请所提供的一种图像处理方法、指纹信息提取方法、装置、设备、产品及介质,进行了详细介绍,本文中应用了具体个例对本申请的原 理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (16)

  1. 一种图像处理方法,其特征在于,包括:
    获得待处理指纹图像;
    将所述待处理指纹图像输入指纹图像转换模型进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息。
  2. 根据权利要求1的方法,其特征在于,所述指纹图像转换模型的训练样本包含多个样本指纹图像对,每个所述样本指纹图像对由具有相同指纹区域且相互对齐的第一样本指纹图像和第二样本指纹图像组成,所述第一样本指纹图像包含干扰信息,所述第二样本指纹图像不包含干扰信息。
  3. 根据权利要求2所述的方法,其特征在于,所述指纹图像转换模型的训练样本还包含所述多个样本指纹图像对各自对应的增强样本指纹图像;
    每个样本指纹图像对所对应的增强样本指纹图像是该样本指纹图像对中的第二样本指纹图像,进行指纹纹路增强操作后的样本指纹图像。
  4. 根据权利要求3所述的方法,其特征在于,在将所述待处理指纹图像输入指纹图像转换模型之前,所述方法还包括:
    检测所述待处理指纹图像中指纹纹路的清晰度是否高于预设阈值;
    其中,在所述清晰度高于所述预设阈值的情况下,执行步骤:将所述待处理指纹图像输入以所述多个样本指纹图像对为训练样本的指纹图像转换模型;
    在所述清晰度不高于所述预设阈值的情况下,执行步骤:将所述待处理指纹图像输入以所述多个样本指纹图像对以及对应的增强样本指纹图像为训练样本的指纹图像转换模型。
  5. 根据权利要求2-4任一所述的方法,其特征在于,所述多个样本指纹图像对的生成过程包括以下步骤:
    获取在不同角度下采集的同一手指的多张不包含干扰信息的样本指纹图像和多张包含干扰信息的样本指纹图像;
    对所述多张不包含干扰信息的指纹图像进行拼接,得到完整标准样本指纹图像;
    基于所述多张包含干扰信息的样本指纹图像和所述完整标准样本指纹图像,进行对齐处理,得到相互对齐的包含干扰信息的样本指纹图像和不包含干扰信息的样本指纹图像;
    检测每张包含干扰信息的样本指纹图像和与其对齐的不包含干扰信息的样本指纹图像是否具有相同指纹区域;
    将具有相同指纹区域且相互对齐的一张包含干扰信息的样本指纹图像和一张不包含干扰信息的样本指纹图像,确定为一个样本指纹图像对。
  6. 根据权利要求5所述的方法,其特征在于,检测每张包含干扰信息的样本指纹图像和与其对齐的不包含干扰信息的样本指纹图像是否具有相同指纹区域,包括:
    将一张包含干扰信息的样本指纹图像和一张不包含干扰信息的样本指纹图像均输入预先训练的分类模型;
    根据所述分类模型输出的分类结果,确定输入所述分类模型的两张样本指纹图像是否具有相同指纹区域;
    其中,所述分类模型是以具有相同指纹区域的两张样本指纹图像为训练样本,对分类器进行训练得到的。
  7. 根据权利要求1-6任一所述的方法,其特征在于,所述指纹图像转换模型包括多个依次串接的指纹图像处理分支;
    其中,每两个相邻的指纹图像处理分支之间连接有下采样单元,用于对上一个指纹图像处理分支输出的处理结果进行下采样,以作为下一个指纹图像处理分支的输入;
    所述多个指纹图像处理分支中的第一个指纹图像处理分支包括卷积单元,所述卷积单元用于对输入所述第一个指纹图像处理分支的所述待处理指纹图像进行卷积处理;
    所述多个指纹图像处理分支中除所述第一个指纹图像处理分支外的其他指纹图像处理分支包括卷积单元和上采样单元,用于依次对该其他指纹图 像处理分支的输入进行卷积处理和上采样处理。
  8. 根据权利要求7所述的方法,其特征在于,所述指纹图像转换模型还包括指纹图像增强分支、融合模块以及指纹图像处理模块;
    所述指纹图像增强分支用于对所述待处理图像进行指纹纹路增强处理;
    所述融合模块用于将所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述指纹图像增强分支输出的处理结果进行融合,得到指纹融合处理结果;
    所述指纹图像处理模块包括依次串接的卷积单元和非线性激活单元,用于对所述指纹融合处理结果进行处理,得到所述目标标准指纹图像。
  9. 根据权利要求8所述的方法,其特征在于,所述指纹图像增强分支包括依次串接的多个指纹图像增强子分支;
    其中,所述多个指纹图像增强子分支中的第一个指纹图像增强子分支的输入为所述待处理指纹图像,所述第一个指纹图像增强子分支包括卷积单元,用于对所述待处理指纹图像进行卷积处理;
    每两个相邻的指纹图像增强子分支之间连接有下采样单元,用于对上一个指纹图像增强子分支输出的处理结果进行下采样,以作为下一个指纹图像增强子分支的输入;
    所述多个指纹图像增强子分支中除所述第一个指纹图像增强子分支外的其他指纹图像增强子分支包括卷积单元和上采样单元,用于依次对该其他指纹图像增强子分支的输入进行卷积处理和上采样处理;
    所述融合模块用于将所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述多个指纹图像增强子分支中的最后一个指纹图像增强子分支输出的处理结果进行融合,得到指纹融合处理结果。
  10. 根据权利要求8或9所述的方法,其特征在于,所述融合模块,具体用于对所述多个指纹图像处理分支中的最后一个指纹图像处理分支输出的处理结果和所述指纹图像增强分支输出的处理结果进行指数操作,以得到所述指纹融合处理结果。
  11. 一种指纹信息提取方法,其特征在于,包括:
    获得待处理指纹图像;
    按照权利要求1-10任一所述的指纹信息提取方法对所述待处理指纹图像进行干扰信息消除处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息;
    提取所述目标标准指纹图像中的指纹信息。
  12. 一种图像处理装置,其特征在于,包括:
    获得模块,用于获得待处理指纹图像;
    转换模块,用于将所述待处理指纹图像输入指纹图像转换模型,以得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息。
  13. 一种指纹信息提取装置,其特征在于,包括:
    获得模块,用于获得待处理指纹图像;
    处理模块,用于按照权利要求1-10任一所述的指纹信息提取方法对所述待处理指纹图像进行处理,得到与所述待处理指纹图像表征的指纹区域为相同指纹区域且对齐的目标标准指纹图像;其中,所述目标标准指纹图像中不包含干扰信息或包含的干扰信息少于所述待处理指纹图像中包含的干扰信息;
    提取模块,用于提取所述目标标准指纹图像中的指纹信息。
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时,实现如权利要求1-10任一所述的方法中的步骤或权利要求11所述的方法中的步骤。
  15. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,实现如权利要求1-10任一所述的方法的步骤或权利要求11所述的方法中的步骤。
  16. 一种计算机程序产品,其特征在于,包括计算机程序或计算机指令,其特征在于,所述计算机程序或计算机指令被处理器执行时实现如权利要求1-10任一项所述的的指纹信息提取方法的步骤,或权利要求11所述的方法中的步骤。
PCT/CN2021/135829 2020-12-07 2021-12-06 图像处理方法、指纹信息提取方法、装置、设备、产品及介质 WO2022121858A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020237019249A KR20230130620A (ko) 2020-12-07 2021-12-06 영상 처리 방법, 지문 정보 추출 방법, 장치, 장비, 제품 및 매체

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011419424.3A CN112668399B (zh) 2020-12-07 2020-12-07 图像处理方法、指纹信息提取方法、装置、设备及介质
CN202011419424.3 2020-12-07

Publications (1)

Publication Number Publication Date
WO2022121858A1 true WO2022121858A1 (zh) 2022-06-16

Family

ID=75401283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135829 WO2022121858A1 (zh) 2020-12-07 2021-12-06 图像处理方法、指纹信息提取方法、装置、设备、产品及介质

Country Status (3)

Country Link
KR (1) KR20230130620A (zh)
CN (1) CN112668399B (zh)
WO (1) WO2022121858A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118379766A (zh) * 2024-06-24 2024-07-23 杭州八爪鱼微电子有限公司 一种指纹图像共模干扰去除方法、系统、设备以及介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112668399B (zh) * 2020-12-07 2022-05-17 北京极豪科技有限公司 图像处理方法、指纹信息提取方法、装置、设备及介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020146178A1 (en) * 2000-09-01 2002-10-10 International Business Machines Corporation System and method for fingerprint image enchancement using partitioned least-squared filters
CN106203326A (zh) * 2016-07-07 2016-12-07 广东欧珀移动通信有限公司 一种图像处理方法、装置及移动终端
CN108960214A (zh) * 2018-08-17 2018-12-07 中控智慧科技股份有限公司 指纹图像增强二值化方法、装置、设备、系统及存储介质
CN110363121A (zh) * 2019-07-01 2019-10-22 Oppo广东移动通信有限公司 指纹图像处理方法及装置、存储介质和电子设备
CN111259685A (zh) * 2018-11-30 2020-06-09 上海耕岩智能科技有限公司 一种指纹重建方法及存储介质
CN112668399A (zh) * 2020-12-07 2021-04-16 北京极豪科技有限公司 图像处理方法、指纹信息提取方法、装置、设备及介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111695386B (zh) * 2019-03-15 2024-04-26 虹软科技股份有限公司 一种指纹图像增强、指纹识别和应用程序启动方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020146178A1 (en) * 2000-09-01 2002-10-10 International Business Machines Corporation System and method for fingerprint image enchancement using partitioned least-squared filters
CN106203326A (zh) * 2016-07-07 2016-12-07 广东欧珀移动通信有限公司 一种图像处理方法、装置及移动终端
CN108960214A (zh) * 2018-08-17 2018-12-07 中控智慧科技股份有限公司 指纹图像增强二值化方法、装置、设备、系统及存储介质
CN111259685A (zh) * 2018-11-30 2020-06-09 上海耕岩智能科技有限公司 一种指纹重建方法及存储介质
CN110363121A (zh) * 2019-07-01 2019-10-22 Oppo广东移动通信有限公司 指纹图像处理方法及装置、存储介质和电子设备
CN112668399A (zh) * 2020-12-07 2021-04-16 北京极豪科技有限公司 图像处理方法、指纹信息提取方法、装置、设备及介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118379766A (zh) * 2024-06-24 2024-07-23 杭州八爪鱼微电子有限公司 一种指纹图像共模干扰去除方法、系统、设备以及介质

Also Published As

Publication number Publication date
CN112668399B (zh) 2022-05-17
KR20230130620A (ko) 2023-09-12
CN112668399A (zh) 2021-04-16

Similar Documents

Publication Publication Date Title
CN110414507B (zh) 车牌识别方法、装置、计算机设备和存储介质
WO2023070447A1 (zh) 模型训练方法、图像处理方法、计算处理设备及非瞬态计算机可读介质
WO2022121858A1 (zh) 图像处理方法、指纹信息提取方法、装置、设备、产品及介质
CN108197644A (zh) 一种图像识别方法和装置
CN110909809A (zh) 基于深度学习的卡证图像识别方法
CN108009472A (zh) 一种基于卷积神经网络和贝叶斯分类器的指背关节纹识别方法
CN110852311A (zh) 一种三维人手关键点定位方法及装置
CN109949227A (zh) 图像拼接方法、系统及电子设备
CN110245621B (zh) 人脸识别装置及图像处理方法、特征提取模型、存储介质
CN109815823B (zh) 数据处理方法及相关产品
CN113011253B (zh) 基于ResNeXt网络的人脸表情识别方法、装置、设备及存储介质
Jain et al. A systematic literature review on qr code detection and pre-processing
CN111951283A (zh) 一种基于深度学习的医学图像识别方法及系统
CN111814682A (zh) 人脸活体检测方法及装置
CN115830686A (zh) 基于特征融合的生物识别方法、系统、装置及存储介质
Wicht et al. Camera-based sudoku recognition with deep belief network
CN113807237B (zh) 活体检测模型的训练、活体检测方法、计算机设备及介质
CN113421210B (zh) 一种基于双目立体视觉的表面点云重建方法
Singh et al. IPCRF: An End-to-End Indian Paper Currency Recognition Framework for Blind and Visually Impaired People
CN111178398A (zh) 检测身份证图像信息篡改的方法、系统、存储介质及装置
CN111368602A (zh) 人脸图像模糊程度评价方法、装置、可读存储介质及设备
CN111582057B (zh) 一种基于局部感受野的人脸验证方法
CN116778533A (zh) 一种掌纹全感兴趣区域图像提取方法、装置、设备及介质
CN114821194B (zh) 一种设备运行状态识别方法及装置
CN117079272A (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: 21902563

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.11.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21902563

Country of ref document: EP

Kind code of ref document: A1