Drawings
FIG. 1 is a schematic diagram of a fingerprint sensing module according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a fingerprint sensing method of an embodiment of the invention;
FIG. 3 is a schematic diagram of an electronic device according to an embodiment of the invention;
FIG. 4 is a flow diagram of image processing according to an embodiment of the invention;
FIG. 5A is a schematic diagram of a first image of an embodiment of the invention;
FIG. 5B is a diagram illustrating a first image after image enhancement according to an embodiment of the invention;
FIG. 6A is a schematic diagram of a second image in accordance with one embodiment of the present invention;
FIG. 6B is a schematic diagram of a mask image according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a fingerprint image according to an embodiment of the present invention.
Description of the reference numerals
100: a fingerprint sensing module;
110, a processing module;
120, fingerprint sensor;
130, a light source;
140 a storage module;
300, an electronic device;
310: a display panel;
320, fingerprint sensing area;
510. 520, a first image;
511. 521, 611, 621, 711 fingerprint image area;
512. 522, 612, 622, 712 non-fingerprint image areas;
610, a second image;
masking the image 620;
710 fingerprint image;
D1-D3 is direction;
S210-S230, S410-430.
Detailed Description
Reference will now be made in detail to exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings and the description to refer to the same or like parts.
Fig. 1 is a schematic diagram of a fingerprint sensing module according to an embodiment of the present invention. Referring to fig. 1, the fingerprint sensing module 100 includes a processing module 110, a fingerprint sensor 120, a light source 130, and a storage module 140. The processing module 110 is coupled to the fingerprint sensor 120, the light source 130 and the storage module 140. In the embodiment, the processing module 110 may be a processing chip dedicated to driving the Fingerprint sensor, or an integrated chip, such as a Fingerprint touch driver integrated chip (FTDDI). In the present embodiment, the fingerprint sensing module 100 may be an optical fingerprint sensing module, and the light source 130 is a display panel or an external light source. Alternatively, the fingerprint sensing module 100 may be an off-screen fingerprint sensing module or an in-cell fingerprint sensing module, and the light source 130 is a display panel. The processing module 110 can control the light-emitting state of the display panel (displaying a specific illumination pattern) for generating the first image and the second image as described in the following embodiments.
In the present embodiment, the fingerprint sensor 120 may be an optical fingerprint sensor, and the light source 130 is a visible light source or an infrared light source. In the embodiment, the light source 130 may be a plurality of display pixels in a pixel array of a display panel, and the fingerprint sensor 120 may be a plurality of sensing pixels integrated in the pixel array of the display panel to realize full-screen fingerprint sensing, but the invention is not limited thereto. In one embodiment, the fingerprint sensor 120 may be an in-screen optical fingerprint sensor disposed below the display panel, and the Light source 130 may be a Light-emitting diode (LED) Light source disposed below the display panel. In addition, the Display panel may be, for example, a Light Emitting Diode (led) Display panel, an Organic Light Emitting Diode (OLED) Display panel, a Liquid Crystal Display (LCD), or the like, and the invention is not limited thereto.
Fig. 2 is a flow chart of a fingerprint sensing method according to an embodiment of the present invention. Fig. 3 is a schematic diagram of an electronic device according to an embodiment of the invention. Referring to fig. 1 to 3, the fingerprint sensing module 100 can perform steps S210 to S230 for fingerprint sensing, and the following description will be given by taking the electronic device 300 of fig. 3 as an example. The electronic device 300 may be provided with the fingerprint sensor module 100 as shown in fig. 1 and may provide an on-screen fingerprint sensing function. The display surface of the display panel 310 may be, for example, parallel to a plane extending along the direction D1 and the direction D2, and provide a display screen towards the direction D3, wherein the directions D1-D3 are perpendicular to each other, but the invention is not limited thereto. In the present embodiment, when a finger presses the fingerprint sensing area 320 of the display panel 310 of the electronic device 300, the display panel 310 may display an illumination pattern (pattern) at the position of the fingerprint sensing area 320 first. Accordingly, in step S210, the fingerprint sensing module 100 may sense the finger illuminated by the light source 130 through the fingerprint sensor 120 to obtain a first image (e.g., fig. 5A). Notably, the first image may include a fingerprint image (finger-pressed area image) and a non-fingerprint image (non-fingerprint-pressed area image) surrounding the fingerprint image area because there is an effect that the finger may not completely cover the fingerprint sensing module 100.
Then, the display panel 310 can be switched to display a black pattern at the position of the fingerprint sensing area 320. In this regard, the display panel 310 may be unlit by operating a plurality of pixel units corresponding to the fingerprint sensing area 320, for example, to display the black pattern. Alternatively, the plurality of pixel units corresponding to the fingerprint sensing area 320 are operated to display the lowest brightness. Therefore, in step S220, the fingerprint sensing module 100 may sense the finger without being illuminated by the light source 130 through the fingerprint sensor 120 to obtain a second image (e.g., fig. 6A). It is noted that steps S210 and S220 refer to two sensing operations performed by the fingerprint sensor 120 during one fingerprint sensing operation performed by the finger continuously pressing on the fingerprint sensing area 320 of the display panel 310 (the finger is not separated and moved). The present invention does not limit the order of acquiring the first image and the second image. In one embodiment, the fingerprint sensing module 100 may first acquire the second image and then acquire the first image.
Next, in step S230, the processing module 110 determines the fingerprint image area according to the first image and the second image to generate a fingerprint image. In detail, during the process of acquiring the first image by the fingerprint sensor 120, since the light source 130 illuminates (e.g., the fingerprint sensing area 320 of the display panel 310 is turned on) the finger pressing the fingerprint sensing area 320, the fingerprint image area of the first image acquired by the fingerprint sensor 110 may present an image with obvious fingerprint texture, for example. Moreover, since the fingerprint sensor 120 can also receive the ambient light (or the background light) from the portion of the fingerprint sensing area 320 not pressed by the finger, the first image obtained by the fingerprint sensor 110 has a fingerprint image area and a non-fingerprint image area which are difficult to distinguish. However, in the process of acquiring the second image by the fingerprint sensor 120, since the light source 130 does not illuminate the finger pressed on the fingerprint sensing area 320 (for example, the fingerprint sensing area 320 of the display panel 310 is not illuminated), the brightness of the finger without illumination is lower for the fingerprint sensor 110, and the finger is tightly pressed on a portion of the fingerprint sensor 110, so that the fingerprint image area of the second image acquired by the fingerprint sensor 110 may present an image without fingerprint texture or an image with fingerprint texture that is not obvious or blurred, for example, with darker overall brightness or lower overall gray level. Although the light source 130 does not illuminate the fingerprint sensing area 320 (e.g., the fingerprint sensing area 320 of the display panel 310 is not illuminated), the fingerprint sensor 120 can still receive the ambient light (or the background light) from the portion of the fingerprint sensing area 320 that is not pressed by the finger, so that the second image obtained by the fingerprint sensor 110 has a brighter or higher gray-scale non-fingerprint image area image (which may be an ambient image or a background image). In this regard, the processing module 110 may obtain a fingerprint image (foreground image) having only fingerprint information by analyzing and comparing the first image and the second image to remove the non-fingerprint image of the first image. The detailed manner of acquiring the fingerprint image will be further described in the following embodiments.
FIG. 4 is a flow diagram of image processing according to an embodiment of the invention. Referring to fig. 1 and 4, after the fingerprint sensor module 100 obtains the first image 510 shown in fig. 5A and the second image 610 shown in fig. 6A, the processing module 110 may perform the following steps S410 to S430 to generate a fingerprint image. In step S410, the processing module 110 may first perform image enhancement on the first image 510 to obtain the image-enhanced first image 520 as shown in fig. 5B. In this embodiment, the processing module 110 may remove image noise through image processing operations such as low-pass, high-pass or band-pass filters, or find and enhance the features of the fingerprint image by image processing operations such as image area comparison, edge detection, thinning, and the like. In this regard, the first image 510 of fig. 5A may include fingerprint information in a fingerprint image area 511 and image information in a non-fingerprint image area 512. After the processing module 110 performs image enhancement on the first image 510, the fingerprint information in the fingerprint image area 511 and the image details or features in the non-fingerprint image area 512 may be enhanced. Therefore, compared to fig. 5A, the fingerprint image area 521 and the non-fingerprint image area 522 of the image-enhanced first image 520 of fig. 5B may respectively include fingerprint information and non-fingerprint image content with more obvious or clear image details or features.
Next, in step S420, the processing module 110 may perform binarization processing on the second image 610. In the embodiment, the processing module 110 can generate the mask image 620 as shown in fig. 6B according to the binarization result of the second image 610. In detail, the processing module 110 may set the parameter values of the corresponding pixels in the mask image 620 to a first value (e.g., a value 0) according to a portion of the Analog-to-Digital Converter output code (ADC code) of the pixels in the second image 610 being greater than a threshold value (e.g., an ADC code _ threshold _ 100(full ADC code) and the processing module 110 may set the parameter values of the corresponding pixels in the mask image 620 to a second value (e.g., a value 1) according to a portion of the Analog-to-Digital Converter output code of the other pixels in the second image 610 being less than or equal to the threshold value.
Furthermore, since the finger is not illuminated, the fingerprint sensor 120 only senses the ambient light around the user's body, and the sensing surface of the fingerprint sensor 120 corresponding to the portion covered by the finger cannot receive light (or a very small amount) due to the finger pressing tightly, the non-fingerprint image area 612 of the second image 610 may display an ambient image, but the fingerprint image area 611 will show a darker gray-scale image, for example. Therefore, the processing module 110 can set the parameter values of the pixels in the non-fingerprint image area 622 of the mask image 620 corresponding to the non-fingerprint image area 612 having image information and brightness (ADC code ≧ 100) in the second image 610 to 0 (e.g., the gray-level filled area in fig. 6B) by the above determination method, and the processing module 110 can set the parameter values of the other pixels in the fingerprint image area 621 of the mask image 620 corresponding to the fingerprint image area 611 having no fingerprint image information and brightness (ADC code <100) in the second image 610 to 1 (e.g., the blank area in fig. 6B) by the above determination method.
Then, in step S430, the processing module 110 may generate a fingerprint image according to the image-enhanced first image 520 (or the image-enhanced first image 510) and the mask image 620. in this embodiment, the processing module 110 may multiply a pixel value of each pixel in the image-enhanced first image 520 (or the image-enhanced first image 510) with a parameter value of each pixel in the corresponding mask image 620 to generate the fingerprint image 710 as shown in fig. 7. for example, the image is represented by A3 × 3 mathematical matrix, where the parameters a 11-a 33 of the following matrix (1) are pixel values corresponding to each pixel in the image-enhanced first image 520, and the matrix (2) is a parameter value corresponding to each pixel in the mask image 620. the processing module 110 may multiply parameters at positions corresponding to the matrix (1) and the matrix (2), thus, a matrix (3) is obtained. It is noted that the only remaining parameters of the matrix (3) are the parameters a12, a13, a22, a23 corresponding to the parameter values of 1 in the matrix (2). That is, the fingerprint image 710 will retain the fingerprint information in the fingerprint image area 711, and the non-fingerprint image information in the non-fingerprint image area 712 of the fingerprint image 710 can be effectively removed to obtain a highly recognizable fingerprint image.
In this embodiment, the processing module 110 may further store the fingerprint image 710 to the storage module 140 and as the registration data. However, the present invention is not limited thereto, and in one embodiment, the fingerprint image 710 may also be used for fingerprint verification or other fingerprint applications.
It is noted that in other embodiments of the present invention, when the finger completely presses the fingerprint sensing area 320 as shown in fig. 3, the first image and the second image acquired by the fingerprint sensor 120 may not have the non-fingerprint image area (i.e. the area of the non-fingerprint image area is 0). In contrast, the fingerprint sensing module and the fingerprint sensing method of the present invention can still obtain a fingerprint image with high identifiability (a fingerprint image with only fingerprint information) according to the related image analysis operations and processes explained in the above embodiments.
In summary, the fingerprint sensing module and the fingerprint sensing method of the present invention can sequentially sense two sensing images of a finger respectively illuminated by a light source and not illuminated by the light source in the same fingerprint sensing operation by the fingerprint sensor. In contrast, the fingerprint sensing module and the fingerprint sensing method of the present invention can perform image analysis, processing and comparison according to the two sensing images to remove the non-fingerprint image in the sensing images, and can obtain the fingerprint image only containing the fingerprint information. Therefore, the fingerprint image obtained by the fingerprint sensing module and the fingerprint sensing method of the invention can effectively eliminate unnecessary image information (environmental information), so the fingerprint image of the invention can be used for the back-end processing circuit to carry out rapid and correct fingerprint identification, registration or comparison operation.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.