TWI788952B - Fingerprint image processing method, fingerprint chip, and electronic device - Google Patents
Fingerprint image processing method, fingerprint chip, and electronic device Download PDFInfo
- Publication number
- TWI788952B TWI788952B TW110130034A TW110130034A TWI788952B TW I788952 B TWI788952 B TW I788952B TW 110130034 A TW110130034 A TW 110130034A TW 110130034 A TW110130034 A TW 110130034A TW I788952 B TWI788952 B TW I788952B
- Authority
- TW
- Taiwan
- Prior art keywords
- image data
- fingerprint
- fingerprint image
- processing
- filtering
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/40—Image enhancement or restoration using histogram techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Collating Specific Patterns (AREA)
- Image Input (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
Description
本申請涉及指紋識別技術領域,尤其涉及一種指紋圖像處理方法、指紋晶片及電子設備。The present application relates to the technical field of fingerprint identification, in particular to a fingerprint image processing method, a fingerprint chip and electronic equipment.
光學指紋識別可以用來實現解鎖、支付、權限認證等功能,在智慧型手機或者電子設備領域應用越來越廣泛。Optical fingerprint recognition can be used to realize unlocking, payment, authority authentication and other functions, and it is more and more widely used in the field of smart phones or electronic devices.
在實現光學指紋識別功能過程中,往往需要消除指紋按壓圖像中的背景噪聲。如圖1所示,相關技術中,往往會預先採用沒有指紋的制具按壓光學感測器採集到背景數據(如圖1左側圖像所示),並預存該背景數據。在獲取手指按壓光學感測器得到的指紋按壓圖像(如圖1中間圖像所示)之後,依賴預存的背景數據消除指紋按壓圖像中的背景噪聲,得到最終的指紋圖像(如圖1右側圖像所示)。In the process of realizing the optical fingerprint identification function, it is often necessary to eliminate the background noise in the fingerprint pressing image. As shown in FIG. 1 , in related technologies, a tool without fingerprints is often used to press the optical sensor to collect background data (as shown in the left image of FIG. 1 ) in advance, and the background data is pre-stored. After obtaining the fingerprint pressing image obtained by pressing the optical sensor with the finger (as shown in the middle image in Figure 1), the background noise in the fingerprint pressing image is eliminated by relying on the pre-stored background data to obtain the final fingerprint image (as shown in Figure 1 1 shown in the image on the right).
相關技術中,需要預先採集並存儲背景數據,費時費力。而且預存的背景數據往往是在特定的應用場景下採集的,難以適應多種應用場景。當應用場景發生變化時,預存背景數據與新的應用場景不匹配,無法進行較好的背景噪聲消除,影響指紋圖像的品質。In related technologies, background data needs to be collected and stored in advance, which is time-consuming and labor-intensive. Moreover, the pre-stored background data is often collected in a specific application scenario, and it is difficult to adapt to multiple application scenarios. When the application scene changes, the pre-stored background data does not match the new application scene, and background noise cannot be eliminated better, which affects the quality of the fingerprint image.
本申請實施例提供了一種指紋圖像處理方法、指紋晶片及電子設備,用於降低指紋圖像解析成本,提高指紋圖像解析對應用場景的適應性。Embodiments of the present application provide a fingerprint image processing method, a fingerprint chip and electronic equipment, which are used to reduce the cost of fingerprint image analysis and improve the adaptability of fingerprint image analysis to application scenarios.
本申請實施例第一方面提供了一種指紋圖像處理方法,可包括:The first aspect of the embodiment of the present application provides a fingerprint image processing method, which may include:
採集原始指紋圖像,並獲取原始指紋圖像數據;Collect the original fingerprint image and obtain the original fingerprint image data;
對所述原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據;Continuously performing at least two average value filters on the original fingerprint image data, recording the first image data obtained by the first average value filter and the second image data obtained by the last average value filter;
對所述第一圖像數據和所述第二圖像數據進行預設運算得到指紋圖像數據;performing a preset operation on the first image data and the second image data to obtain fingerprint image data;
基於最終運算得到的指紋圖像數據,生成可用於匹配及識別的指紋圖像。Based on the fingerprint image data obtained by the final calculation, a fingerprint image that can be used for matching and identification is generated.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,對所述第一圖像數據和所述第二圖像數據進行預設運算得到指紋圖像數據,可包括:In some embodiments, as a possible implementation manner, in the embodiment of the present application, performing preset operations on the first image data and the second image data to obtain fingerprint image data may include:
對所述第一圖像數據和所述第二圖像數據中行列數相同元素的像素值進行减法運算得到指紋圖像數據。Performing a subtraction operation on the pixel values of elements with the same number of rows and columns in the first image data and the second image data to obtain fingerprint image data.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,對所述第一圖像數據和所述第二圖像數據進行預設運算得到指紋圖像數據,包括:In some embodiments, as a possible implementation manner, in the embodiment of the present application, the fingerprint image data is obtained by performing preset operations on the first image data and the second image data, including:
對所述第一圖像數據和所述第二圖像數據中行列數相同元素的像素值進行除法運算得到指紋圖像數據。Performing a division operation on the pixel values of elements with the same number of rows and columns in the first image data and the second image data to obtain fingerprint image data.
在一些實施例中,作為一種可能的實施方式,本申請實施例中的指紋圖像處理方法,還可以包括:In some embodiments, as a possible implementation manner, the fingerprint image processing method in the embodiment of the present application may also include:
對所述指紋圖像數據進行量化處理,和/或進行增強處理;所述量化處理包括線性量化處理、直方圖均衡化處理中的一種或多種;所述增強處理包括高斯濾波處理、紋理濾波處理、gabor濾波處理中的一種或多種。Perform quantization processing on the fingerprint image data, and/or perform enhancement processing; the quantization processing includes one or more of linear quantization processing, histogram equalization processing; the enhancement processing includes Gaussian filtering processing, texture filtering processing , one or more of gabor filter processing.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,對所述原始指紋圖像數據連續進行至少兩次均值濾波為:In some embodiments, as a possible implementation manner, in the embodiment of the present application, performing mean value filtering on the original fingerprint image data at least twice continuously is as follows:
對所述原始指紋圖像數據連續進行兩次均值濾波。The mean value filtering is performed twice continuously on the original fingerprint image data.
本申請實施例第二方面提供了一種指紋晶片,可包括:The second aspect of the embodiment of the present application provides a fingerprint chip, which may include:
採集模組,用於採用光學指紋感測器採集原始指紋圖像,並獲取原始指紋圖像數據;The collection module is used to collect the original fingerprint image by using the optical fingerprint sensor, and obtain the original fingerprint image data;
濾波模組,用於對所述原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據;A filtering module, configured to continuously perform at least two mean value filters on the original fingerprint image data, and record the first image data obtained by the first mean value filter and the second image data obtained by the last mean value filter;
運算模組,用於對第一圖像數據和第二圖像數據進行預設運算得到可用於匹配及識別的指紋圖像數據,並根據最終運算得到的指紋圖像數據,生成可用於匹配及識別的指紋圖像。The calculation module is used to perform preset calculations on the first image data and the second image data to obtain fingerprint image data that can be used for matching and identification, and generate fingerprint image data that can be used for matching and identification according to the fingerprint image data obtained through the final calculation. Recognized fingerprint image.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,運算模組可以包括:In some embodiments, as a possible implementation manner, in the embodiment of the present application, the computing module may include:
第一運算單元,用於對第一圖像數據和第二圖像數據中行列數相同元素的像素值進行减法運算得到指紋圖像數據。The first operation unit is used for subtracting the pixel values of elements with the same number of rows and columns in the first image data and the second image data to obtain fingerprint image data.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,運算模組可以包括:In some embodiments, as a possible implementation manner, in the embodiment of the present application, the computing module may include:
第二運算單元,用於對第一圖像數據和第二圖像數據中行列數相同元素的像素值進行除法運算得到指紋圖像數據。The second operation unit is used for performing division operation on the pixel values of elements with the same number of rows and columns in the first image data and the second image data to obtain fingerprint image data.
在一些實施例中,作為一種可能的實施方式,本申請實施例中的指紋晶片,還可以包括:In some embodiments, as a possible implementation manner, the fingerprint chip in the embodiment of the present application may also include:
補充運算模組,用於對指紋圖像數據進行量化處理,和/或進行增強處理;量化處理包括線性量化處理、直方圖均衡化處理中的一種或多種;增強處理包括高斯濾波處理、紋理濾波處理、Gabor濾波處理中的一種或多種。Supplementary computing module, used to perform quantization processing and/or enhancement processing on fingerprint image data; quantization processing includes one or more of linear quantization processing and histogram equalization processing; enhancement processing includes Gaussian filtering processing, texture filtering One or more of processing and Gabor filtering processing.
本申請實施例第三方面提供了一種電子設備,所述電子設備包括光學指紋感測器及處理器,所述光學指紋感測器用於生成指紋按壓原始指紋圖像數據,所述處理器用於執行存儲器中存儲的電腦程式時實現如第一方面及第一方面中任意一種可能的實施方式中的步驟。The third aspect of the embodiment of the present application provides an electronic device, the electronic device includes an optical fingerprint sensor and a processor, the optical fingerprint sensor is used to generate fingerprint pressing original fingerprint image data, and the processor is used to execute The computer program stored in the memory implements the steps in the first aspect and any possible implementation manner of the first aspect.
從以上技術方案可以看出,本申請實施例具有以下優點:It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
本申請實施例中,指紋芯片在獲取到原始指紋圖像數據之後,可以對原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據,最後對第一圖像數據和第二圖像數據進行預設運算得到可直接用於指紋匹配和識別的指紋圖像。相對於相關技術,本申請無需採集和存儲背景數據,節約了指紋圖像解析成本,而且無需依賴固定的背景數據消除背景噪聲,提高了對應用場景的適應性。In the embodiment of the present application, after the fingerprint chip acquires the original fingerprint image data, it can continuously perform mean value filtering on the original fingerprint image data at least twice, and record the first image data obtained by the first mean value filtering and the last mean value The second image data obtained by filtering, and finally the preset operation is performed on the first image data and the second image data to obtain a fingerprint image that can be directly used for fingerprint matching and identification. Compared with related technologies, this application does not need to collect and store background data, which saves the cost of fingerprint image analysis, and does not need to rely on fixed background data to eliminate background noise, which improves the adaptability to application scenarios.
本申請實施例提供了一種指紋圖像處理方法、指紋晶片及電子設備,用於降低指紋圖像解析成本,提高指紋圖像解析對應用場景的適應性。Embodiments of the present application provide a fingerprint image processing method, a fingerprint chip and electronic equipment, which are used to reduce the cost of fingerprint image analysis and improve the adaptability of fingerprint image analysis to application scenarios.
為了使本技術領域的人員更好地理解本申請方案,下面將結合本申請實施例中的圖式,對本申請實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本申請一部分的實施例,而不是全部的實施例。基於本申請中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本申請保護的範圍。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
本申請的說明書和申請專利範圍及上述圖式中的術語“第一”、“第二”、“第三”、“第四”等是用於區別類似的對象,而不必用於描述特定的順序或先後次序。應該理解這樣使用的術語在適當情况下可以互換,以便這裏描述的實施例能夠以除了在這裏圖示或描述的內容以外的順序實施。此外,術語“包括”和“具有”以及他們的任何變形,意圖在於覆蓋不排他的包含,例如,包含了一系列步驟或單元的過程、方法、系統、產品或設備不必限於清楚地列出的那些步驟或單元,而是可包括沒有清楚地列出的或對於這些過程、方法、產品或設備固有的其它步驟或單元。The terms "first", "second", "third", "fourth" and the like in the specification and patent scope of this application and the above drawings are used to distinguish similar objects, but not necessarily to describe specific sequence or sequence. 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 sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
為了便於理解,下面對本申請實施例中的具體流程進行描述,請參閱圖2,本申請中一種指紋圖像處理方法的一個實施例可包括:For ease of understanding, the specific process in the embodiment of the present application is described below. Please refer to FIG. 2. An embodiment of a fingerprint image processing method in the present application may include:
步驟S201:採集原始指紋圖像,並獲取原始指紋圖像數據;Step S201: collect the original fingerprint image, and obtain the original fingerprint image data;
在手指按壓光學指紋感測器之後,光學指紋感測器可以基於接收到的光電信號生成原始指紋圖像,並基於原始指紋圖像獲取原始指紋圖像數據。本實施例中,原始指紋圖像數據為圖像矩陣,例如M*N矩陣,M為圖像行數,N為圖像列數。矩陣中的每一個元素的值為像素值,像素值的表現形式和數據位數有關係,10位數據,就是0到1024的數值;12位數據,就是0到4096之間的數值。其中,該階段獲取到的指紋按壓圖像中存在背景噪聲,需要進一步消除背景噪聲。After the finger presses the optical fingerprint sensor, the optical fingerprint sensor can generate an original fingerprint image based on the received photoelectric signal, and acquire original fingerprint image data based on the original 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, and the expression form of the pixel value is related to the number of data bits. 10-bit data is a value from 0 to 1024; 12-bit data is a value from 0 to 4096. Wherein, there is background noise in the fingerprint pressing image acquired at this stage, and the background noise needs to be further eliminated.
在其它實施例中,也可採用其它表徵指紋信息的數據,此處不做限定。手指按壓觸摸後,由於指紋紋路谷脊差異,模擬訊號電壓會有差異,經由模擬訊號轉換為數位訊息,得到像素矩陣,像素矩陣表徵為手指的基本紋路訊息。In other embodiments, other data representing fingerprint information may also be used, which is not limited here. After the finger presses the touch, due to the difference in the valleys and ridges of the fingerprint lines, the voltage of the analog signal will be different. After the analog signal is converted into digital information, a pixel matrix is obtained. The pixel matrix represents the basic line information of the finger.
步驟S202:對原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據;Step S202: Continuously perform at least two average value filtering on the original fingerprint image data, and record the first image data obtained by the first average value filter and the second image data obtained by the last average value filter;
在本實施例中,為了消除背景噪聲,本申請實施例中的指紋晶片可以對步驟S201獲得的原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據。In this embodiment, in order to eliminate background noise, the fingerprint chip in the embodiment of the present application can continuously perform at least two average value filters on the original fingerprint image data obtained in step S201, and record the first image obtained by the first average value filter data and the second image data obtained by the last mean filtering.
在一些實施例中,以連續進行兩次均值濾波為例,具體過程為:對原始圖像數據進行第一次均值濾波,得到濾波後的數據fliter_data1(第一圖像數據),然後對fliter_data1進行均值濾波,得到濾波後的數據fliter_data2(第二圖像數據)。In some embodiments, taking two consecutive mean filtering as an example, the specific process is: performing the first mean filtering on the original image data to obtain the filtered data fliter_data1 (the first image data), and then performing filtering on the fliter_data1 mean filtering to obtain filtered data fliter_data2 (second image data).
可以理解的是,連續進行均值濾波的次數越多,得到圖像中噪聲及紋理等細節訊息越少。實際應用中,可以根據需求設置連續均值濾波的次數,此處不做限定。It can be understood that the more times of continuous mean filtering, the less detailed information such as noise and texture in the image can be obtained. In practical applications, the number of continuous average filtering can be set according to requirements, which is not limited here.
步驟S203:對第一圖像數據和第二圖像數據進行預設運算得到指紋圖像數據;Step S203: performing preset operations on the first image data and the second image data to obtain fingerprint image data;
步驟S204:基於最終運算得到的指紋圖像數據生成可用於匹配及識別的指紋圖像。Step S204: Generate a fingerprint image that can be used for matching and identification based on the fingerprint image data obtained through the final calculation.
本實施例中,在獲取到第一圖像數據和第二圖像數據之後,可以採用預設算法對獲取到的數據進行運算,以消除背景噪聲,並進一步依據步驟S203運算後的數據在步驟S204中生成高品質的指紋圖像數據,基於該指紋圖像數據生成用於後續指紋匹配及識別的指紋圖像。In this embodiment, after the first image data and the second image data are acquired, a preset algorithm can be used to perform calculations on the acquired data to eliminate background noise, and further according to the calculated data in step S203 in step S203 In S204, high-quality fingerprint image data is generated, and a fingerprint image for subsequent fingerprint matching and identification is generated based on the fingerprint image data.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,指紋晶片對第一圖像數據和第二圖像數據進行預設運算得到指紋圖像數據,可以包括:對第一圖像數據和第二圖像數據中行列數相同元素的像素值進行减法運算得到指紋圖像數據。在一些實施例中,圖像矩陣中的第i行j列的元素img ij= fliter_data1 ij- fliter_data2 ij或img ij= fliter_data2 ij- fliter_data1 ij,其中,fliter_data1 ij為第一圖像數據中第i行j列的元素,fliter_data2 ij為第二圖像數據中第i行j列的元素。 In some embodiments, as a possible implementation, in the embodiment of the present application, the fingerprint chip performs preset operations on the first image data and the second image data to obtain the fingerprint image data, which may include: The fingerprint image data is obtained by subtracting the pixel values of elements with the same number of rows and columns in the image data and the second image data. In some embodiments, the element img ij = fliter_data1 ij - fliter_data2 ij or img ij = fliter_data2 ij - fliter_data1 ij in the i-th row j column in the image matrix, wherein, fliter_data1 ij is the i-th row in the first image data The element in column j, fliter_data2 ij is the element in column j of row i in the second image data.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,指紋晶片對第一圖像數據和第二圖像數據進行預設運算得到指紋圖像數據,可以包括:對第一圖像數據和第二圖像數據中行列數相同元素的像素值進行除法運算得到指紋圖像數據。在一些實施例中,圖像矩陣中的第i行j列的元素img ij= fliter_data1 ij/ fliter_data2 ij或img ij= fliter_data2 ij/ fliter_data1 ij,其中,fliter_data1 ij為第一圖像數據中第i行j列的元素值,fliter_data2 ij為第二圖像數據中第i行j列的元素值。 In some embodiments, as a possible implementation, in the embodiment of the present application, the fingerprint chip performs preset operations on the first image data and the second image data to obtain the fingerprint image data, which may include: The pixel values of elements with the same number of rows and columns in the image data and the second image data are subjected to a division operation to obtain fingerprint image data. In some embodiments, the element img ij = fliter_data1 ij / fliter_data2 ij or img ij = fliter_data2 ij / fliter_data1 ij in the i-th row j column in the image matrix, wherein, fliter_data1 ij is the i-th row in the first image data The element value of column j, and fliter_data2 ij is the element value of column j in row i in the second image data.
本申請實施例中,指紋晶片在獲取原始指紋圖像數據之後,可以對原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據,最後對第一圖像數據和第二圖像數據進行預設運算得到指紋圖像數據。In the embodiment of the present application, after the fingerprint chip acquires the original fingerprint image data, it can continuously perform at least two average value filtering on the original fingerprint image data, and record the first image data obtained by the first average value filtering and the last average value filtering For the obtained second image data, a preset operation is finally performed on the first image data and the second image data to obtain fingerprint image data.
為了進一步提高指紋圖像的品質,還可以對預設運算得到指紋圖像數據再進行量化處理和/或增強處理。In order to further improve the quality of the fingerprint image, quantization processing and/or enhancement processing can also be performed on the fingerprint image data obtained through the preset calculation.
量化處理和/或增強處理後的數據作為最終運算得到的圖像數據,基於此生成可用於匹配及識別的指紋圖像。The data after the quantization processing and/or enhancement processing is used as the image data obtained by the final calculation, and based on this, a fingerprint image that can be used for matching and identification is generated.
相對於相關技術,本申請無需採集和存儲背景數據,節約了指紋圖像解析成本,而且無需依賴固定的背景數據消除背景噪聲,提高了對應用場景的適應性。Compared with related technologies, this application does not need to collect and store background data, which saves the cost of fingerprint image analysis, and does not need to rely on fixed background data to eliminate background noise, which improves the adaptability to application scenarios.
請參閱圖3,本申請實施例中一種指紋圖像處理方法的另一個實施例可包括:Referring to Fig. 3, another embodiment of a fingerprint image processing method in the embodiment of the present application may include:
步驟S301:採集原始指紋圖像,並獲取原始指紋圖像數據;Step S301: collect the original fingerprint image, and obtain the original fingerprint image data;
步驟S302:對原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據;Step S302: Continuously perform at least two average value filters on the original fingerprint image data, and record the first image data obtained by the first average value filter and the second image data obtained by the last average value filter;
步驟S303:對第一圖像數據和第二圖像數據進行預設運算得到指紋圖像數據;Step S303: performing preset operations on the first image data and the second image data to obtain fingerprint image data;
步驟S304:基於最終運算得到的指紋圖像數據,生成可用於匹配及識別的指紋圖像;Step S304: Generate a fingerprint image that can be used for matching and identification based on the fingerprint image data obtained through the final calculation;
本實施例中的步驟S301至步驟S304中描述的內容與上述圖2所示的實施例中給的步驟S201至步驟S204中描述的內容類似,此處不做贅述。The content described in step S301 to step S304 in this embodiment is similar to the content described in step S201 to step S204 in the above embodiment shown in FIG. 2 , and will not be repeated here.
步驟S305:對指紋圖像數據進行量化處理,和/或進行增強處理。Step S305: Perform quantization processing and/or enhancement processing on the fingerprint image data.
在一些實施例中,為了進一步提高指紋圖像的品質,還可以對上述實施例中步驟S303後,針對運算後的數據再進行量化處理和/或增強處理。其中量化處理包括線性量化處理、直方圖均衡化處理中的一種或多種;增強處理包括高斯濾波處理、紋理濾波處理、gabor濾波處理中的一種或多種。In some embodiments, in order to further improve the quality of the fingerprint image, quantization processing and/or enhancement processing may be performed on the calculated data after step S303 in the above embodiment. The quantization processing includes one or more of linear quantization processing and histogram equalization processing; the enhancement processing includes one or more of Gaussian filtering processing, texture filtering processing, and gabor filtering processing.
本申請實施例還提供了一種指紋晶片,包括:The embodiment of the present application also provides a fingerprint chip, including:
採集模組,用於採用光學指紋感測器採集原始指紋圖像,並獲取原始指紋圖像數據;The collection module is used to collect the original fingerprint image by using the optical fingerprint sensor, and obtain the original fingerprint image data;
濾波模組,用於對所述原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據;A filtering module, configured to continuously perform at least two mean value filters on the original fingerprint image data, and record the first image data obtained by the first mean value filter and the second image data obtained by the last mean value filter;
運算模組,用於對第一圖像數據和第二圖像數據進行預設運算得到可用於匹配及識別的指紋圖像數據,並根據最終運算得到的指紋圖像數據,生成可用於匹配及識別的指紋圖像。The calculation module is used to perform preset calculations on the first image data and the second image data to obtain fingerprint image data that can be used for matching and identification, and generate fingerprint image data that can be used for matching and identification according to the fingerprint image data obtained through the final calculation. Recognized fingerprint image.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,運算模組可以包括:In some embodiments, as a possible implementation manner, in the embodiment of the present application, the computing module may include:
第一運算單元,用於對第一圖像數據和第二圖像數據中行列數相同元素的像素值進行减法運算得到指紋圖像數據。The first operation unit is used for subtracting the pixel values of elements with the same number of rows and columns in the first image data and the second image data to obtain fingerprint image data.
在一些實施例中,作為一種可能的實施方式,本申請實施例中,運算模組可以包括:In some embodiments, as a possible implementation manner, in the embodiment of the present application, the computing module may include:
第二運算單元,用於對第一圖像數據和第二圖像數據中行列數相同元素的像素值進行除法運算得到指紋圖像數據。The second operation unit is used for performing division operation on the pixel values of elements with the same number of rows and columns in the first image data and the second image data to obtain fingerprint image data.
在一些實施例中,作為一種可能的實施方式,本申請實施例中的指紋晶片,還可以包括:In some embodiments, as a possible implementation manner, the fingerprint chip in the embodiment of the present application may also include:
補充運算模組,用於對指紋圖像數據進行量化處理,和/或進行增強處理;量化處理包括線性量化處理、直方圖均衡化處理中的一種或多種;增強處理包括高斯濾波處理、紋理濾波處理、Gabor濾波處理中的一種或多種。Supplementary computing module, used to perform quantization processing and/or enhancement processing on fingerprint image data; quantization processing includes one or more of linear quantization processing and histogram equalization processing; enhancement processing includes Gaussian filtering processing, texture filtering One or more of processing and Gabor filtering processing.
運算模組處理後的數據由補充運算模組進行運算處理,補充運算處理後的指紋數據將作為指紋生成模組的數據依據。The data processed by the operation module is processed by the supplementary operation module, and the fingerprint data after the supplementary operation processing will be used as the data basis of the fingerprint generation module.
本申請提供了包含上述指紋晶片的電子設備。該電子設備可以用於實現上述圖2或圖3所示的指紋圖像處理方法實施例中的步驟,例如圖2所示的步驟S201至步驟S204。或者,處理器執行電腦程式時實現上述各裝置實施例中各模組或單元的功能。所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的指紋晶片,裝置和單元的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。The present application provides an electronic device including the above-mentioned fingerprint chip. The electronic device can be used to implement the steps in the embodiment of the fingerprint image processing method shown in FIG. 2 or FIG. 3 , for example, steps S201 to S204 shown in FIG. 2 . Alternatively, when the processor executes the computer program, the functions of the modules or units in the above-mentioned device embodiments are realized. Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described fingerprint chip, device and unit can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.
以上所述,以上實施例僅用以說明本申請的技術方案,而非對其限制;儘管參照前述實施例對本申請進行了詳細的說明,本領域的普通技術人員應當理解:其依然可以對前述各實施例所記載的技術方案進行修改,或者對其中部分技術特徵進行等同替換;而這些修改或者替換,並不使相應技術方案的本質脫離本申請各實施例技術方案的精神和範圍。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions described in each embodiment are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application.
S201:採集原始指紋圖像,並獲取原始指紋圖像數據。 S202:對原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據。 S203:對第一圖像數據和第二圖像數據進行預設運算得到指紋圖像數據。 S204:基於最終運算得到的指紋圖像數據生成可用於匹配及識別的指紋圖像。 S301:採集原始指紋圖像,並獲取原始指紋圖像數據。 S302:對原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據。 S303:對第一圖像數據和第二圖像數據進行預設運算得到指紋圖像數據。 S304:基於最終運算得到的指紋圖像數據,生成可用於匹配及識別的指紋圖像。 S305:對指紋圖像數據進行量化處理,和/或進行增強處理。 S201: Collect an original fingerprint image, and acquire original fingerprint image data. S202: Continuously perform at least two mean value filtering on the original fingerprint image data, and record the first image data obtained by the first mean value filtering and the second image data obtained by the last mean value filter. S203: Perform preset operations on the first image data and the second image data to obtain fingerprint image data. S204: Generate a fingerprint image that can be used for matching and identification based on the fingerprint image data obtained through the final calculation. S301: Collect an original fingerprint image, and acquire original fingerprint image data. S302: Continuously perform at least two mean value filtering on the original fingerprint image data, and record the first image data obtained by the first mean value filtering and the second image data obtained by the last mean value filter. S303: Perform preset operations on the first image data and the second image data to obtain fingerprint image data. S304: Generate a fingerprint image that can be used for matching and identification based on the fingerprint image data obtained through the final calculation. S305: Perform quantization processing and/or enhancement processing on the fingerprint image data.
[圖1]為相關技術中指紋圖像處理的效果示意圖。 [圖2]為本申請實施例中一種指紋圖像處理方法的一個實施例示意圖。 [圖3]為本申請實施例中一種指紋圖像處理方法的另一個實施例示意圖。 [ Fig. 1 ] is a schematic diagram of the effect of fingerprint image processing in the related art. [ Fig. 2 ] is a schematic diagram of an embodiment of a fingerprint image processing method in the embodiment of the present application. [ Fig. 3 ] is a schematic diagram of another embodiment of a fingerprint image processing method in the embodiment of the present application.
S201:採集原始指紋圖像,並獲取原始指紋圖像數據 S201: collect the original fingerprint image, and obtain the original fingerprint image data
S202:對原始指紋圖像數據連續進行至少兩次均值濾波,記錄第一次均值濾波得到的第一圖像數據和最後一次均值濾波得到的第二圖像數據 S202: Continuously perform at least two average value filtering on the original fingerprint image data, record the first image data obtained by the first average value filter and the second image data obtained by the last average value filter
S203:對第一圖像數據和第二圖像數據進行預設運算得到指紋圖像數據 S203: Perform preset calculations on the first image data and the second image data to obtain fingerprint image data
S204:基於最終運算得到的指紋圖像數據生成可用於匹配及識別的指紋圖像 S204: Generate a fingerprint image that can be used for matching and identification based on the fingerprint image data obtained by the final calculation
Claims (12)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110268842.5A CN112884756A (en) | 2021-03-12 | 2021-03-12 | Fingerprint image processing method, fingerprint chip and electronic equipment |
| CN202110268842.5 | 2021-03-12 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202236154A TW202236154A (en) | 2022-09-16 |
| TWI788952B true TWI788952B (en) | 2023-01-01 |
Family
ID=76041198
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110130034A TWI788952B (en) | 2021-03-12 | 2021-08-13 | Fingerprint image processing method, fingerprint chip, and electronic device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112884756A (en) |
| TW (1) | TWI788952B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007107050A1 (en) * | 2006-03-23 | 2007-09-27 | Zksoftware Beijing Inc. | Fingerprint identification method and system |
| WO2016029346A1 (en) * | 2014-08-25 | 2016-03-03 | 华为技术有限公司 | Fingerprint extraction method and apparatus |
| TWI619080B (en) * | 2015-02-13 | 2018-03-21 | 比亞迪股份有限公司 | Method for calculating fingerprint overlapping region and electronic device |
| TWI684902B (en) * | 2019-01-16 | 2020-02-11 | 大陸商北京集創北方科技股份有限公司 | Optical fingerprint sensing device and information processing device |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102270297B (en) * | 2011-07-21 | 2012-12-19 | 中国人民解放军国防科学技术大学 | Fingerprint image enhancement method |
| CN106156726B (en) * | 2016-06-20 | 2017-07-04 | 比亚迪股份有限公司 | The Enhancement Method and device of fingerprint image |
| CN110008796B (en) * | 2018-01-04 | 2021-06-01 | 金佶科技股份有限公司 | Biological characteristic image processing method and electronic device thereof |
| CN111695386B (en) * | 2019-03-15 | 2024-04-26 | 虹软科技股份有限公司 | Fingerprint image enhancement, fingerprint identification and application program starting method |
| CN110334694B (en) * | 2019-07-18 | 2023-05-09 | 上海菲戈恩微电子科技有限公司 | Under-screen optical fingerprint anti-attack method based on polarized light |
| CN111209898B (en) * | 2020-03-12 | 2023-05-23 | 敦泰电子(深圳)有限公司 | Method and device for removing optical fingerprint image background |
| CN111709879B (en) * | 2020-06-17 | 2023-05-26 | Oppo广东移动通信有限公司 | Image processing method, image processing device and terminal equipment |
| CN112258448A (en) * | 2020-09-15 | 2021-01-22 | 郑州金惠计算机系统工程有限公司 | Fine scratch detection method, fine scratch detection device, electronic equipment and computer-readable storage medium |
-
2021
- 2021-03-12 CN CN202110268842.5A patent/CN112884756A/en active Pending
- 2021-08-13 TW TW110130034A patent/TWI788952B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007107050A1 (en) * | 2006-03-23 | 2007-09-27 | Zksoftware Beijing Inc. | Fingerprint identification method and system |
| WO2016029346A1 (en) * | 2014-08-25 | 2016-03-03 | 华为技术有限公司 | Fingerprint extraction method and apparatus |
| TWI619080B (en) * | 2015-02-13 | 2018-03-21 | 比亞迪股份有限公司 | Method for calculating fingerprint overlapping region and electronic device |
| TWI684902B (en) * | 2019-01-16 | 2020-02-11 | 大陸商北京集創北方科技股份有限公司 | Optical fingerprint sensing device and information processing device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112884756A (en) | 2021-06-01 |
| TW202236154A (en) | 2022-09-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114022383B (en) | Method and device for removing mole patterns of text and image and electronic equipment | |
| CN106156726B (en) | The Enhancement Method and device of fingerprint image | |
| Ahmed et al. | Comparative analysis of a deep convolutional neural network for source camera identification | |
| CN106203326A (en) | A kind of image processing method, device and mobile terminal | |
| CN114549892B (en) | Image processing method and device and computer equipment | |
| WO2025054982A1 (en) | Lens surface defect detection method and apparatus, and device and readable storage medium | |
| TWI788952B (en) | Fingerprint image processing method, fingerprint chip, and electronic device | |
| CN116883913A (en) | Ship identification method and system based on video stream adjacent frames | |
| CN109711308B (en) | Fingerprint assembly, electronic equipment and fingerprint signal processing method thereof | |
| US8694687B2 (en) | Computing-system identifier using software extraction of manufacturing variability | |
| TWI779825B (en) | Method for processing fingerprint image, fingerprint chip and electronic device | |
| Vidhya et al. | Fingerprint image enhancement using wavelet over Gabor filters | |
| CN113313653A (en) | Image denoising method and device based on generative countermeasure network | |
| CN112906613B (en) | Method and device for collecting identity information | |
| CN116189050A (en) | Extraction method and device of upper gastrointestinal endoscope video tumor diagnosis key frame | |
| CN111797736A (en) | Feature wave extraction method, device, device and storage medium | |
| CN114758265B (en) | Escalator operation status identification method, device, electronic equipment and storage medium | |
| Tan | Research on Efficient Image Feature Extraction based on Low-Rank Representation for Intelligent Reading Systems | |
| TWI785335B (en) | Fingerprint collection and processing method, fingerprint collection and processing system and information processing device utilizing same | |
| Singh et al. | A hybrid data fusion approach with twin CNN architecture for enhancing image source identification in IoT environment | |
| CN110874845B (en) | Image smoothing detection method and device | |
| Lambat et al. | Real and Spoofed Faces Classification using Machine Learning Adopting Efficient Processing and Quality Descriptors | |
| Gupta et al. | Using Still Images | |
| Enesi et al. | A Fingerprint Enhancement Algorithm in Spatial and Wavelet Domain | |
| KR20240080335A (en) | Method for extracting PPG signal based on smartphone camera video |