CN113272819A - Fingerprint image processing method, fingerprint chip and electronic equipment - Google Patents

Fingerprint image processing method, fingerprint chip and electronic equipment Download PDF

Info

Publication number
CN113272819A
CN113272819A CN202180001794.1A CN202180001794A CN113272819A CN 113272819 A CN113272819 A CN 113272819A CN 202180001794 A CN202180001794 A CN 202180001794A CN 113272819 A CN113272819 A CN 113272819A
Authority
CN
China
Prior art keywords
image data
fingerprint image
data
background
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202180001794.1A
Other languages
Chinese (zh)
Inventor
李准
龙文勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inferpoint Systems Shenzhen Ltd
Original Assignee
Inferpoint Systems Shenzhen Ltd
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 Inferpoint Systems Shenzhen Ltd filed Critical Inferpoint Systems Shenzhen Ltd
Publication of CN113272819A publication Critical patent/CN113272819A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06V40/1382Detecting the live character of the finger, i.e. distinguishing from a fake or cadaver finger
    • G06V40/1388Detecting the live character of the finger, i.e. distinguishing from a fake or cadaver finger using image processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/28Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/30Noise filtering
    • 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
    • G06V40/13Sensors therefor
    • G06V40/1318Sensors therefor using electro-optical elements or layers, e.g. electroluminescent sensing
    • 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
    • G06V40/1365Matching; Classification

Abstract

The embodiment of the application provides a fingerprint image processing method, a fingerprint chip and electronic equipment, which are used for realizing automatic updating of background data in an optical fingerprint identification process and improving the adaptability of fingerprint image analysis to application scenes. An embodiment method may comprise: collecting an original fingerprint image and acquiring original fingerprint image data; judging whether background data are stored or not; if the background data are stored, performing preset operation on the background data and the original fingerprint image data to obtain fingerprint image data; and judging whether the original fingerprint image data and the fingerprint image data meet preset conditions, and if so, updating background data according to the original fingerprint image data.

Description

Fingerprint image processing method, fingerprint chip and electronic equipment
Technical Field
The present application relates to the field of fingerprint identification technologies, and in particular, to a fingerprint image processing method, a fingerprint chip, and an electronic device.
Background
The optical fingerprint identification can be used for realizing functions of unlocking, payment, authority authentication and the like, and is more and more widely applied to the fields of smart phones and other electronic equipment.
In the process of realizing the optical fingerprint identification function, background data in a fingerprint pressing image is often required to be eliminated. In the related art, a jig without a fingerprint is often used to press an optical sensor to acquire background data in advance, and the background data is prestored. After a fingerprint pressing image obtained by pressing the optical sensor by the finger is obtained, background noise in the fingerprint pressing image is eliminated by means of prestored background data, and a final fingerprint image is obtained.
In the related art, pre-stored background data is often fixed data collected in a specific application scene, and is difficult to adapt to various application scenes. When the application scene changes, the fixed background data is not matched with the new application scene, so that better background noise elimination can not be carried out, and the quality of the fingerprint image is influenced.
Disclosure of Invention
The embodiment of the application provides a fingerprint image processing method, a fingerprint chip and electronic equipment, which are used for realizing automatic updating of background data in an optical fingerprint identification process and improving the adaptability of fingerprint image analysis to application scenes.
A first aspect of an embodiment of the present application provides a fingerprint image processing method, which may include:
collecting an original fingerprint image and acquiring original fingerprint image data;
judging whether background data are stored or not;
if the background data are stored, performing preset operation on the background data and the original fingerprint image data to obtain fingerprint image data;
and judging whether the original fingerprint image data and the fingerprint image data meet preset conditions, and if so, updating background data according to the original fingerprint image data.
Optionally, as a possible implementation manner, in the present application, determining whether the original fingerprint image data and the fingerprint image data satisfy a preset condition may include:
judging whether the original fingerprint image data is real finger pressing data or not;
and judging whether image parameters corresponding to the fingerprint image data meet a preset standard or not, wherein the image parameters comprise one or more of image variance, image contrast, image consistency, image local standard deviation, image overall standard deviation, image effective area and image matching degree.
Optionally, as a possible implementation manner, in the present application, the updating the background data according to the original fingerprint image data may include:
if the background data base exists, then the base is calculated according to the formulaij=dataij*ratio+baseij(1-ratio) updating each element in background data, wherein baseijIs an element of ith row and j column in background data, dataijThe ratio is a constant between 0 and 1 for the ith row and j column elements in the fingerprint image data.
Optionally, as a possible implementation manner, in the present application, performing a preset operation on the background data and the original fingerprint image data to obtain fingerprint image data may include:
and carrying out subtraction operation on pixel values of the elements with the same row number in the background data and the original fingerprint image data to obtain fingerprint image data.
Optionally, as a possible implementation manner, in the present application, performing a preset operation on the background data and the original fingerprint image data to obtain fingerprint image data may include:
and carrying out division operation on pixel values of the elements with the same row number in the background data and the original fingerprint image data to obtain fingerprint image data.
Optionally, as a possible implementation manner, if the background data is not stored, the fingerprint image processing method of the present application may further include:
continuously carrying out mean filtering on the original fingerprint image data at least twice, and recording first image data obtained by the first mean filtering and second image data obtained by the last mean filtering;
and carrying out preset image operation on the first image data and the second image data to obtain fingerprint image data.
Optionally, as a possible implementation manner, if the background data is not stored, the fingerprint image processing method of the present application may further include:
and generating background data according to at least two original fingerprint image data combinations meeting preset conditions.
A second aspect of the embodiments of the present application provides a fingerprint chip, which may include:
the acquisition module is used for acquiring an original fingerprint image and acquiring original fingerprint image data;
the first judgment module is used for judging whether background data are stored or not;
the first calculation module is used for carrying out preset operation on the background data and the original fingerprint image data to obtain fingerprint image data if the background data are stored;
the second judgment module is used for judging whether the original fingerprint image data and the fingerprint image data meet preset conditions or not, and if the original fingerprint image data and the fingerprint image data meet the preset conditions, the second judgment module triggers the updating module;
and the updating module is used for updating background data according to the original fingerprint image data.
Optionally, as a possible implementation manner, the second determining module of the present application may include:
the first judgment unit is used for judging whether the original fingerprint image data is real finger pressing data or not;
and the second judging unit is used for judging whether the image parameters corresponding to the fingerprint image data meet a preset standard or not, wherein the image parameters comprise one or more of image variance, image contrast, image consistency, image local standard deviation, image overall standard deviation, image effective area and image matching degree.
Optionally, as a possible implementation manner, the update module of the present application may include:
an update unit for updating the base according to the formula if the background data base existsij=dataij*ratio+baseij(1-ratio) updating each element in background data, wherein baseijIs an element of ith row and j column in background data, dataijThe ratio is a constant between 0 and 1 for the ith row and j column elements in the original fingerprint image data.
Optionally, as a possible implementation manner, the first computing module of the present application may include:
and the first calculating unit is used for carrying out subtraction operation on the pixel values of the elements with the same row number in the background data and the original fingerprint image data to obtain the fingerprint image data.
Optionally, as a possible implementation manner, the first computing module of the present application may include:
and the second calculating unit is used for performing division operation on pixel values of elements with the same row number in the background data and the original fingerprint image data to obtain fingerprint image data.
Optionally, as a possible implementation manner, the fingerprint chip of the present application may further include:
the filtering module is used for continuously carrying out mean filtering on the original fingerprint image data at least twice, and recording first image data obtained by the first mean filtering and second image data obtained by the last mean filtering;
and the third calculation module is used for carrying out preset image operation on the first image data and the second image data to obtain fingerprint image data.
Optionally, as a possible implementation manner, the fingerprint chip of the present application may further include:
and the generating module is used for generating background data according to at least two original fingerprint image data combinations meeting preset conditions.
A third aspect of embodiments of the present application provides an electronic device, which includes an optical fingerprint sensor and a processor, where the optical fingerprint sensor is configured to generate raw image data, and the processor is configured to implement the steps in any one of the possible implementations of the first aspect and the first aspect when executing a computer program stored in a memory.
After acquiring the fingerprint image data corresponding to the original fingerprint image data, the fingerprint chip in the application can judge whether the original fingerprint image data and the fingerprint image data meet preset conditions, and if the original fingerprint image data and the fingerprint image data meet the preset conditions, the fingerprint chip updates the background data according to the original fingerprint image data. Compared with the related technology, the method and the device can realize automatic updating of background data in the optical fingerprint identification process, and improve the adaptability of fingerprint image analysis to application scenes.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a fingerprint image processing method in the present application;
FIG. 2 is a schematic diagram of another embodiment of a fingerprint image processing method according to the present application;
fig. 3 is a schematic diagram of an embodiment of a fingerprint image processing method according to the present application.
Detailed Description
The technical solutions of the present application will be described clearly and completely with reference to the accompanying drawings of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein are capable of operation in other sequences than described or illustrated herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For ease of understanding, a specific flow of the present application is described below, and referring to fig. 1, an embodiment of a fingerprint image processing method of the present application may include:
s101, collecting an original fingerprint image and acquiring original fingerprint image data;
after the finger presses the optical fingerprint sensor, the optical fingerprint sensor may generate raw fingerprint image data based on capturing a raw fingerprint image.
In this embodiment, the original fingerprint image data is stored in the form of an image matrix, for example, an M × N matrix with M rows and N columns, a value of each element in the matrix is a pixel value, and a range of the pixel value is determined according to the number of data bits, for example, 10-bit data is a value from 0 to 1024; 12 bits of data, i.e., a value between 0 and 4096. In other embodiments, other data representing fingerprint information may be used, and is not limited herein. The original fingerprint image data acquired at this stage has background noise, and the background noise needs to be further eliminated.
S102, judging whether background data are stored or not;
after the original fingerprint image data is acquired, the fingerprint chip needs to judge whether background data are stored or not, if the background data are stored, the next step can be directly executed, and the fingerprint image data are calculated based on the existing background data. If no background data is stored, other processes may be performed.
It should be noted that, the background data in the present application does not need to be pre-stored, but is automatically generated and continuously updated according to the original fingerprint image data acquired in the using process.
S103, performing preset operation on the background data and the original fingerprint image data to obtain fingerprint image data;
after the background data and the original fingerprint image data are acquired, a preset algorithm can be adopted to operate the acquired data so as to eliminate background noise and obtain processed fingerprint image data.
Optionally, as a possible implementation manner, in the present application, the obtaining of the fingerprint image data by the fingerprint chip performing the preset image operation on the background data and the original fingerprint image data may include: and carrying out subtraction operation on pixel values of the elements with the same row number in the background data and the original fingerprint image data to obtain the fingerprint image data. Exemplarily, the element img of the ith row and j column in the image matrixij=fliter_data1ij-fliter_data2ijOr imgij=fliter_data2ij-fliter_data1ijWherein, the fliter _ data1ijAs an element of ith row and j column in the background data, fliter _ data2ijIs the element of ith row and j column in the original fingerprint image data.
Optionally, as a possible implementation manner, in the present application, the obtaining of the fingerprint image data by the fingerprint chip performing the preset operation on the background data and the original fingerprint image data may include: and carrying out division operation on pixel values of the elements with the same row number in the background data and the original fingerprint image data to obtain fingerprint image data. Exemplarily, the element img of the ith row and j column in the image matrixij=fliter_data1ij/fliter_data2ijOr imgij=fliter_data2ij/fliter_data1ijWherein, the fliter _ data1ijAs an element of ith row and j column in the background data, fliter _ data2ijIs the element of ith row and j column in the original fingerprint image data.
S104, judging whether the original fingerprint image data and the fingerprint image data meet preset conditions or not;
in order to improve the adaptability of the fingerprint image processing chip to the application scene, the background data needs to be updated in real time. Specifically, after the fingerprint image data corresponding to the original fingerprint image data is acquired, the fingerprint chip may determine whether the original fingerprint image data and the processed fingerprint image data satisfy a preset condition, if the original fingerprint image data and the processed fingerprint image data satisfy the preset condition, it is determined that the original fingerprint image data satisfies a background update condition, and the next step is performed, in which the background data is updated according to the original fingerprint image data. And if the preset condition is not met, updating the background data.
Optionally, as a possible implementation manner, in the present application, determining whether the original fingerprint image data and the fingerprint image data satisfy a preset condition may specifically include: judging whether the original fingerprint image data is real finger pressing data or not; and judging whether the image parameters corresponding to the fingerprint image data meet a preset standard, wherein the image parameters can comprise one or more of image variance, image contrast, image consistency, image local standard deviation, image overall standard deviation, image effective area and image matching degree.
The judgment of whether the original fingerprint image data is real finger pressing data is to judge whether the data acquired by the optical fingerprint sensor is real finger pressing data so as to prevent the fingerprint identification function from being damaged by false finger attack.
For convenience of understanding, a common application scenario in which image parameters corresponding to fingerprint image data do not meet a preset standard and do not support background data update is described as an example. In practical application, the image quality parameter can be obtained through combined mapping based on image variance, image contrast and image consistency, and if the quality is less than thr _ quality (a preset quality parameter threshold), the image parameter corresponding to the fingerprint image data does not meet a preset standard, and background data updating is not supported. The effective area of the image can be calculated based on information such as image variance, image texture information and the like, if the area < thr _ area (a preset area parameter threshold), the image parameter corresponding to the fingerprint image data does not meet a preset standard, and background data updating is not supported. Whether the fingerprint image has a light leakage area can be judged based on the image local standard deviation and the image overall standard deviation, if the light leakage area exists, the image parameter corresponding to the fingerprint image data does not accord with the preset standard, and the background data updating is not supported. Based on the rotation angle, the horizontal translation amount and the vertical translation amount of the image corresponding to the latest acquired fingerprint image data and the stored fingerprint image, the image matching degree of the latest fingerprint image can be calculated, and if the image matching degree is lower than a threshold value, the image parameters corresponding to the corresponding fingerprint image data do not accord with a preset standard and do not support background data updating. If any application scene which does not support background data updating is not identified based on the image parameters corresponding to the fingerprint image data, the background data updating can be considered to be supported. It may also be configured that, when a specific scene is identified in the application scenes that do not support the background data update, the background data update may be considered not to be supported. In practical application, the preset condition may be set reasonably based on the usage scenario, which is not limited herein.
And S105, updating background data according to the original fingerprint image data.
If the fingerprint image data meets the background updating condition, the fingerprint chip can update the background data according to the original fingerprint image data.
Optionally, as a possible implementation manner, if the background data base already exists, the specific process of updating the background data may include: according to the formula baseij=dataij*ratio+baseij(1-ratio) updating each element in background data, wherein baseijIs an element of ith row and j column in background data, dataijThe ratio of the elements in the ith row and the jth column in the fingerprint image data is a constant between 0 and 1, and the ratio value can be set reasonably in a program through an experimental method. If the background data is not stored, the fingerprint chip can generate the background data according to the combination of at least two fingerprint image data meeting the preset conditions. According to the formula baseij=data1ij*ratio+data2ij(1-ratio) updating each element in background data, wherein baseijData1, an element in the ith row and j column of background dataijData2 as the element of ith row and j column in the first fingerprint image dataijThe ratio is a constant between 0 and 1 for the ith row and j column elements in the second fingerprint image data.
In the application, after the fingerprint chip acquires the fingerprint image data corresponding to the original fingerprint image data, whether the original fingerprint image data and the fingerprint image data meet the preset conditions or not can be judged, and if the original fingerprint image data and the fingerprint image data meet the preset conditions, the background data is updated according to the fingerprint image data. Compared with the related technology, the method and the device can realize automatic updating of background data in the optical fingerprint identification process, and improve the adaptability of fingerprint image analysis to application scenes.
On the basis of the above embodiment, in order to further improve the adaptability of fingerprint image analysis to an application scene, the application provides a technical scheme that background data does not need to be prestored when the electronic device leaves a factory. Referring to fig. 2, another embodiment of a fingerprint image processing method according to the present application may include:
s201, collecting an original fingerprint image and acquiring original fingerprint image data;
after the finger presses the optical fingerprint sensor, the optical fingerprint sensor may generate a raw fingerprint image based on the received photoelectric signal and acquire raw fingerprint image data based on the raw fingerprint image.
In this embodiment, the original fingerprint image data is an image matrix, such as an M × N matrix, where M is the number of image rows and N is the number of image columns. The value of each element in the matrix is a pixel value, the expression form of the pixel value is related to the data bit number, and 10-bit data is a numerical value from 0 to 1024; 12 bits of data, i.e., a value between 0 and 4096.
Background noise exists in the fingerprint pressing image acquired at the stage, and the background noise needs to be further eliminated. In other embodiments, other data representing fingerprint information may be used, and is not limited herein.
S202, judging whether background data are stored or not;
after the original fingerprint image data is acquired, the fingerprint chip needs to determine whether background data is stored, and if the background data is stored, the next step S203 may be directly executed to calculate the fingerprint image data based on the existing background data (refer to the embodiment shown in fig. 1). If no background data is stored, step S204 may be performed.
S203, performing preset operation on the background data and the original fingerprint image data to obtain fingerprint image data;
s204, continuously carrying out at least two times of mean filtering on the original fingerprint image data, and recording first image data obtained by the first mean filtering and second image data obtained by the last mean filtering;
when the background data is not detected, in order to eliminate the background noise, the fingerprint chip in the application can continuously perform at least two times of mean filtering on the original fingerprint image data, and record first image data obtained by the first mean filtering and second image data obtained by the last mean filtering.
As an example, taking two successive mean filtering operations as an example, the specific process is as follows: the original fingerprint image data is subjected to first mean filtering to obtain filtered data1 (first image data), and then data1 is subjected to mean filtering to obtain filtered data2 (second image data).
It can be understood that the more times of performing the mean filtering successively, the less detail information such as noise and texture in the image is obtained. In practical application, the number of times of the continuous mean filtering may be set according to requirements, which is not limited herein.
S205, performing preset operation on the first image data and the second image data to obtain fingerprint image data;
after the first image data and the second image data are acquired, the acquired data can be operated by adopting a preset image algorithm so as to eliminate background noise and obtain fingerprint image data.
Optionally, as a possible implementation manner, in the present application, the performing, by the fingerprint chip, a preset image operation on the first image data and the second image data to obtain fingerprint image data may include: and carrying out subtraction operation on pixel values of the elements with the same row number in the first image data and the second image data to obtain fingerprint image data.
Optionally, as a possible implementation manner, the fingerprint chip in the present application performs preset image operation on the first image data and the second image data to obtain fingerprint image data, which may include: and carrying out division operation on pixel values of the elements with the same row number in the first image data and the second image data to obtain fingerprint image data.
S206, judging whether the original fingerprint image data and the fingerprint image data obtained by preset operation meet preset conditions;
the contents described in steps S203 and S206 in this embodiment are similar to the contents described in steps S103 to S104 in the embodiment shown in fig. 1, and are not repeated here.
And S207, updating background data by adopting the fingerprint image data meeting the preset conditions.
Optionally, after step S206, if the background data is not stored, the fingerprint chip may generate the background data according to at least two fingerprint image data combinations that satisfy the preset condition. According to the formula baseij=data1ij*ratio+data2ij(1-ratio) updating each element in background data, wherein baseijData1, an element in the ith row and j column of background dataijData2 as the element of ith row and j column in the first fingerprint image dataijThe ratio is a constant between 0 and 1 for the ith row and j column elements in the second fingerprint image data.
Compared with the related art, background data does not need to be collected and stored in the embodiment, the fingerprint image analysis cost is saved, the background data in the fingerprint image analysis process can be dynamically updated, and the adaptability to the application scene is improved.
For understanding, the fingerprint image processing method in the present application will be described below with reference to specific application embodiments. Referring to fig. 3, an embodiment of a fingerprint image processing method according to the present application may include:
s1, setting the effective data quantity effcNums to 0;
in this embodiment, no background data base is pre-stored when the electronic device leaves the factory, so that effective data needs to be locally acquired, and the effective data quantity effcNums is recorded, and when the effcNums reaches the preset threshold thr, the background data base can be locally generated according to the effective data.
S2, collecting original fingerprint image and obtaining original fingerprint image data;
after the finger presses the optical fingerprint sensor, the optical fingerprint sensor may generate raw fingerprint image data based on the acquired photo-electric signals.
S3, judging whether effcNums is larger than a threshold thr;
and if the effective data quantity effcNums is less than thr, self-analyzing the original fingerprint image data. Wherein the self-resolution process is as follows: continuously carrying out at least two times of mean filtering on the original fingerprint image data, and recording first image data obtained by the first mean filtering and second image data obtained by the last mean filtering; and carrying out subtraction or division operation on pixel values of the elements with the same row number in the first image data and the second image data to obtain fingerprint image data.
If effcNums ≧ thr, S4 is executed.
S4: analyzing the original fingerprint image data by adopting background data to obtain analyzed fingerprint image data;
if effcNums is larger than or equal to thr, the effective data quantity effcNums is larger than the threshold thr after comparison, the background data base can be locally generated according to the effective data, and then the analyzed fingerprint image data is obtained based on the base data and the fingerprint image data.
S5: calculating result parameters representing the image quality according to the original fingerprint image data and the analyzed fingerprint image data;
in practical application, the preset condition may be set reasonably based on the usage scenario, which is not limited herein. And if the quality is less than thr _ quality (a preset quality parameter threshold), the image parameter corresponding to the fingerprint image data does not accord with a preset standard, and the background data is not supported to be updated. The effective area of the image can be calculated based on information such as image variance, image texture information and the like, if the area < thr _ area (a preset area parameter threshold), the image parameter corresponding to the fingerprint image data does not meet a preset standard, and background data updating is not supported. Whether the fingerprint image has a light leakage area can be judged based on the image local standard deviation and the image overall standard deviation, if the light leakage area exists, the image parameter corresponding to the fingerprint image data does not accord with the preset standard, and the background data updating is not supported. Based on the rotation angle, the horizontal translation amount and the vertical translation amount of the image corresponding to the latest acquired fingerprint image data and the stored fingerprint image, the image matching degree of the latest fingerprint image can be calculated, and if the image matching degree is lower than a threshold value, the image parameters corresponding to the corresponding fingerprint image data do not accord with a preset standard and do not support background data updating.
S6: judging whether to update the background data;
if there is no scene that does not support background data update as shown in S5, performing base data update, and performing S7;
s7: the background data is updated.
If the background data base exists, the specific process of updating the background data may include: according to the formula baseij=dataij*ratio+baseij(1-ratio) updating each element in background data, wherein baseijIs an element of ith row and j column in background data, dataijThe ratio is a constant between 0 and 1 for the ith row and j column elements in the fingerprint image data.
The embodiment of the present application further provides a fingerprint chip, which may include:
the acquisition module is used for acquiring an original fingerprint image and acquiring original fingerprint image data;
the first judgment module is used for judging whether background data are stored or not;
the first calculation module is used for carrying out preset operation on the background data and the original fingerprint image data to obtain fingerprint image data if the background data are stored;
the second judgment module is used for judging whether the original fingerprint image data and the fingerprint image data meet preset conditions or not, and if the original fingerprint image data and the fingerprint image data meet the preset conditions, the second judgment module triggers the updating module;
and the updating module is used for updating background data according to the original fingerprint image data.
Optionally, as a possible implementation manner, the second determining module of the present application may include:
the first judgment unit is used for judging whether the original fingerprint image data is real finger pressing data or not;
and the second judging unit is used for judging whether the image parameters corresponding to the fingerprint image data meet a preset standard or not, wherein the image parameters comprise one or more of image variance, image contrast, image consistency, image local standard deviation, image overall standard deviation, image effective area and image matching degree.
Optionally, as a possible implementation manner, the update module of the present application may include:
an update unit for updating the base according to the formula if the background data base existsij=dataij*ratio+baseij(1-ratio) updating each element in background data, wherein baseijIs an element of ith row and j column in background data, dataijThe ratio is a constant between 0 and 1 for the ith row and j column elements in the original fingerprint image data.
Optionally, as a possible implementation manner, the first computing module of the present application may include:
and the first calculating unit is used for carrying out subtraction operation on the pixel values of the elements with the same row number in the background data and the original fingerprint image data to obtain the fingerprint image data.
Optionally, as a possible implementation manner, the first computing module of the present application may include:
and the second calculating unit is used for performing division operation on pixel values of elements with the same row number in the background data and the original fingerprint image data to obtain fingerprint image data.
Optionally, as a possible implementation manner, the fingerprint chip of the present application may further include:
the filtering module is used for continuously carrying out mean filtering on the original fingerprint image data at least twice, and recording first image data obtained by the first mean filtering and second image data obtained by the last mean filtering;
and the third calculation module is used for carrying out preset operation on the first image data and the second image data to obtain fingerprint image data.
Optionally, as a possible implementation manner, the fingerprint chip in the present application may further include:
and the generating module is used for generating background data according to at least two original fingerprint image data combinations meeting preset conditions.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the fingerprint chip, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The application provides an electronic device containing the fingerprint chip. The electronic device 1 may be used to implement the steps in the above-described embodiment of the fingerprint image processing method shown in fig. 1 or fig. 2, such as steps 101 to 105 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of each module or unit in the above-described device embodiments.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A fingerprint image processing method, comprising:
collecting an original fingerprint image and acquiring original fingerprint image data;
judging whether background data are stored or not;
if the background data are stored, performing preset operation on the background data and the original fingerprint image data to obtain fingerprint image data;
and judging whether the original fingerprint image data and the fingerprint image data meet preset conditions, and if so, updating background data according to the original fingerprint image data.
2. The method of claim 1, wherein determining whether the original fingerprint image data and the fingerprint image data satisfy a predetermined condition comprises:
judging whether the original fingerprint image data is real finger pressing data or not;
and judging whether image parameters corresponding to the fingerprint image data meet a preset standard or not, wherein the image parameters comprise one or more of image variance, image contrast, image consistency, image local standard deviation, image overall standard deviation, image effective area and image matching degree.
3. The method of claim 2, wherein updating background data from the original fingerprint image data comprises:
if the background data base exists, then the base is calculated according to the formulaij=dataij*ratio+baseij(1-ratio) updating each element in background data, wherein baseijIs an element of ith row and j column in background data, dataijThe ratio is a constant between 0 and 1 for the ith row and j column elements in the original fingerprint image data.
4. The method of claim 3, wherein performing a predetermined operation on the background data and the original fingerprint image data to obtain fingerprint image data comprises:
and carrying out subtraction operation on pixel values of the elements with the same row number in the background data and the original fingerprint image data to obtain fingerprint image data.
5. The method of claim 3, wherein performing a predetermined operation on the background data and the original fingerprint image data to obtain fingerprint image data comprises:
and carrying out division operation on pixel values of the elements with the same row number in the background data and the original fingerprint image data to obtain fingerprint image data.
6. The method of any one of claims 1 to 5, wherein if no background data is stored, the method further comprises:
continuously carrying out mean filtering on the original fingerprint image data at least twice, and recording first image data obtained by the first mean filtering and second image data obtained by the last mean filtering;
and carrying out preset image operation on the first image data and the second image data to obtain fingerprint image data.
7. The method of any one of claims 1 to 5, wherein if no background data is stored, the method further comprises:
and generating background data according to at least two original fingerprint image data combinations meeting preset conditions.
8. A fingerprint chip, comprising:
the acquisition module is used for acquiring an original fingerprint image and acquiring original fingerprint image data;
the first judgment module is used for judging whether background data are stored or not;
the first calculation module is used for carrying out preset operation on the background data and the original fingerprint image data to obtain fingerprint image data if the background data are stored;
the second judgment module is used for judging whether the original fingerprint image data and the fingerprint image data obtained by preset operation meet preset conditions or not, and if the original fingerprint image data and the fingerprint image data meet the preset conditions, the second judgment module triggers the updating module;
and the updating module is used for updating background data according to the original fingerprint image data.
9. The fingerprint chip of claim 8, wherein the second determining module comprises:
the first judgment unit is used for judging whether the original fingerprint image data is real finger pressing data or not;
and the second judging unit is used for judging whether the image parameters corresponding to the fingerprint image data meet a preset standard or not, wherein the image parameters comprise one or more of image variance, image contrast, image consistency, image local standard deviation, image overall standard deviation, image effective area and image matching degree.
10. An electronic device, characterized in that it comprises a fingerprint chip according to any one of claims 8 to 9.
CN202180001794.1A 2021-03-12 2021-03-12 Fingerprint image processing method, fingerprint chip and electronic equipment Pending CN113272819A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/080425 WO2022188141A1 (en) 2021-03-12 2021-03-12 Fingerprint image processing method, fingerprint chip, and electronic device

Publications (1)

Publication Number Publication Date
CN113272819A true CN113272819A (en) 2021-08-17

Family

ID=77236891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202180001794.1A Pending CN113272819A (en) 2021-03-12 2021-03-12 Fingerprint image processing method, fingerprint chip and electronic equipment

Country Status (3)

Country Link
CN (1) CN113272819A (en)
TW (1) TWI779825B (en)
WO (1) WO2022188141A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114120376A (en) * 2021-11-18 2022-03-01 黑龙江大学 Multi-mode image acquisition device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106203365A (en) * 2016-07-14 2016-12-07 浙江赢视科技有限公司 The fingerprint imaging method that gain-adjusted processes
CN110147751A (en) * 2019-05-16 2019-08-20 Oppo广东移动通信有限公司 A kind of method and device of fingerprint detection
CN111126147A (en) * 2019-11-22 2020-05-08 北京迈格威科技有限公司 Image processing method, device and electronic system
CN111209898A (en) * 2020-03-12 2020-05-29 敦泰电子(深圳)有限公司 Method and device for removing optical fingerprint image background

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101253536B (en) * 2005-06-30 2010-10-13 日本电气株式会社 Fingerprint image background detecting device and detecting method
TWI460666B (en) * 2008-05-07 2014-11-11 Han Pang Huang Anti-forgery fingerprint verification system
WO2019015623A1 (en) * 2017-07-18 2019-01-24 Shenzhen GOODIX Technology Co., Ltd. Anti-spoofing sensing for rejecting fake fingerprint patterns in under-screen optical sensor module for on-screen fingerprint sensing
CN110187806B (en) * 2019-05-22 2023-04-18 Oppo广东移动通信有限公司 Fingerprint template input method and related device
CN111079626B (en) * 2019-12-11 2023-08-01 深圳市迪安杰智能识别科技有限公司 Living body fingerprint identification method, electronic equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106203365A (en) * 2016-07-14 2016-12-07 浙江赢视科技有限公司 The fingerprint imaging method that gain-adjusted processes
CN110147751A (en) * 2019-05-16 2019-08-20 Oppo广东移动通信有限公司 A kind of method and device of fingerprint detection
CN111126147A (en) * 2019-11-22 2020-05-08 北京迈格威科技有限公司 Image processing method, device and electronic system
CN111209898A (en) * 2020-03-12 2020-05-29 敦泰电子(深圳)有限公司 Method and device for removing optical fingerprint image background

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114120376A (en) * 2021-11-18 2022-03-01 黑龙江大学 Multi-mode image acquisition device and system

Also Published As

Publication number Publication date
TW202236155A (en) 2022-09-16
WO2022188141A1 (en) 2022-09-15
TWI779825B (en) 2022-10-01

Similar Documents

Publication Publication Date Title
CN106485237A (en) Fingerprint image acquisition method, system and fingerprint collecting equipment
CN110602485B (en) Fault detection method and related product
CN111291601B (en) Lane line identification method and device and electronic equipment
CN113272819A (en) Fingerprint image processing method, fingerprint chip and electronic equipment
CN113034525A (en) Image edge detection method, device and equipment
CN104463827A (en) Image acquisition module automatic detection method and corresponding electronic device
CN115496976A (en) Visual processing method, device, equipment and medium for multi-source heterogeneous data fusion
CN110782426B (en) Background extraction method and target discrimination method
CN111126147B (en) Image processing method, device and electronic system
JP2001175848A (en) Image pickup device and image pickup method
CN112507917A (en) Optical fingerprint identification method and device, electronic equipment and storage medium
CN116823795A (en) Defect detection method and device for rubber product, electronic equipment and storage medium
CN112884756A (en) Fingerprint image processing method, fingerprint chip and electronic equipment
CN114463792B (en) Multispectral identification method, multispectral identification device, multispectral identification equipment and readable storage medium
CN109304306B (en) Production line object sorting method and system and object sorting system
CN111667404A (en) Target information acquisition method, device and system, electronic equipment and storage medium
CN111274899A (en) Face matching method and device, electronic equipment and storage medium
CN104964989A (en) Method and system for visual inspection of photovoltaic module
CN110942058A (en) Instrument data reading method based on CCD machine vision recognition
CN114429588B (en) Data processing method and system applied to mine environment recovery treatment
JP6108437B2 (en) Finger direction identification system, finger direction identification method, and program thereof
CN117237617B (en) Overhead transmission line image identification method, device, equipment and storage medium
CN110766710B (en) Image target discrimination method
CN109785383B (en) Method and device for positioning and identifying test line in TVlines image and readable storage medium
CN110857602A (en) Door lock lubrication degree grade acquisition mechanism

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination