Image acquisition method, device, electronic device and storage medium

By detecting and adjusting light spot parameters, the problem of image noise caused by gain changes of the optical fingerprint sensor is solved, ensuring high-quality collection of fingerprint images, and improving the security and accuracy of fingerprint unlocking.

CN115706751BActive Publication Date: 2024-08-13BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110910441.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-09
Publication Date
2024-08-13
Estimated Expiration
2041-08-09

AI Technical Summary

Technical Problem

During the fingerprint unlocking process, the dynamic change of the gain of the optical fingerprint sensor causes the amplification of the image noise signal, which affects the quality of the fingerprint image. It is also difficult for the existing technology to effectively stabilize the light spot parameters, affecting the image collection effect.

Method used

By acquiring and detecting the light spot parameters in the under-screen sensing system, if the specified conditions are not met, the light spot parameters are adjusted to meet the conditions, and then the gain of the under-screen sensing system is adjusted to zero, thereby avoiding the amplification of image noise signals. Will affect image quality.

Benefits of technology

Ensure the quality of image acquisition, avoid noise signal amplification caused by gain, which will affect image quality, and improve the accuracy and security of fingerprint unlocking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115706751B_ABST
    Figure CN115706751B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an image acquisition method, device, electronic device and storage medium, wherein the image acquisition method comprises: obtaining detection spot parameters detected when the electronic device fills light for an image to be acquired through a screen; if the detection spot parameters do not meet specified conditions, adjusting the actual spot parameters of the electronic device filling light for the image to be acquired through the screen, so that when the detected detection spot parameters meet the specified conditions, the image to be acquired is acquired through the under-screen sensing system. The present disclosure can ensure that the acquired image has good image quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of liquid crystal display, and in particular to an image acquisition method, device, electronic equipment and storage medium. Background Art

[0002] In the related technology, the under-screen sensing system can light up the light spot on the screen of the electronic device so that the light spot illuminates the finger fingerprint, and then the optical fingerprint sensor of the under-screen sensing system collects the light reflected back by the finger fingerprint to form a fingerprint image.

[0003] During the fingerprint image acquisition process, the optical fingerprint sensor can adjust its own gain value for the image to ensure a fixed amount of incident light per unit area. For example, when the light source is not bright enough, the gain will be increased, and when the brightness is too high, the gain will be reduced to meet the fingerprint image acquisition requirements. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides an image acquisition method, device, electronic device and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an under-screen sensing system applied to an electronic device. In the process of collecting images, the under-screen sensing system fills the image to be collected through the screen, and the under-screen sensing system adjusts the gain according to the fill-light parameter. The image collection method includes:

[0006] Acquire detection spot parameters detected when the electronic device fills the image to be collected through the screen;

[0007] If the detection spot parameters do not meet the specified conditions, the actual spot parameters of the electronic device used to fill in the image to be collected through the screen are adjusted, so that when the detected detection spot parameters meet the specified conditions, the image to be collected is collected through the under-screen sensing system.

[0008] Optionally, the detection spot parameter includes a brightness parameter, and the method further includes:

[0009] If the brightness parameter is not within the specified brightness range, it is determined that the detection spot parameter does not meet the specified condition; and / or,

[0010] The detection spot parameters include a brightness uniformity value, and the method further includes:

[0011] If the brightness uniformity value is not within the specified uniformity value range, it is determined that the detection spot parameter does not meet the specified conditions; and / or,

[0012] The detection spot parameters include the optical three primary color pixel ratios, and the method further includes:

[0013] If the optical three primary color pixel ratio is not within the specified ratio range, it is determined that the detection spot parameters do not meet the specified conditions.

[0014] Optionally, the brightness parameter includes a minimum brightness value, and the method further includes: if the minimum brightness value is lower than a brightness threshold, determining that the brightness parameter is not within a specified brightness range.

[0015] Optionally, the actual light spot parameters include an actual brightness uniformity value, an actual brightness parameter, and an actual optical three primary color pixel ratio. If the detected light spot parameters do not meet the specified conditions, the actual light spot parameters of the electronic device for supplementing the image to be collected through the screen are adjusted, including:

[0016] If the brightness parameter in the detection spot parameter does not meet the specified conditions, at least one parameter of the actual brightness uniformity value, the actual brightness parameter, and the actual optical three primary color pixel ratio of the electronic device for supplementing the image to be collected through the screen is adjusted.

[0017] Optionally, the method further includes:

[0018] If the detection spot parameters meet the specified conditions, it is determined whether the gain of the under-screen sensing system is zero;

[0019] When the gain of the under-screen sensor system is not zero, adjust the fill light parameters of the under-screen sensor system so that the gain of the under-screen sensor system is zero;

[0020] The image to be collected is collected through the under-screen sensor system.

[0021] According to a second aspect of an embodiment of the present disclosure, there is provided an electronic device, including an under-screen sensing system and a light spot parameter detection system;

[0022] The light spot parameter detection system is used to detect the light spot of the fill light when the electronic device fills the image to be collected through the screen, and obtain the detection light spot parameters;

[0023] The under-screen sensing system is used to execute the image acquisition method provided in the first aspect.

[0024] Optionally, the spot parameter detection system includes a spot parameter detector; the spot parameter detector is arranged at the edge of an under-screen sensor for capturing images in the under-screen sensing system.

[0025] Optionally, there are multiple spot parameter detectors, and the multiple spot parameter detectors are centrally symmetric about the center of the under-screen sensor.

[0026] According to a third aspect of an embodiment of the present disclosure, an image acquisition device is provided, which is applied to an under-screen sensing system in an electronic device. When the under-screen sensing system is acquiring an image, the electronic device fills the image to be acquired with light through the screen, and the under-screen sensing system adjusts the gain according to the fill-light parameter. The image acquisition device includes:

[0027] A detection light spot parameter acquisition module is configured to acquire detection light spot parameters detected when the electronic device performs fill light on the image to be collected through the screen;

[0028] The acquisition module is configured to adjust the actual spot parameters of the electronic device for fill-in lighting the image to be acquired through the screen when the detection spot parameters do not meet the specified conditions, so as to acquire the image to be acquired through the under-screen sensor system when the detected detection spot parameters meet the specified conditions.

[0029] Optionally, the detection spot parameters include brightness parameters, brightness uniformity value and optical three primary color pixel ratios, and the image acquisition device further includes:

[0030] The first condition determination module is configured to determine that the detection spot parameter does not meet the specified condition when the brightness parameter is not within the specified brightness range.

[0031] A second condition determination module is configured to determine that the detection spot parameter does not meet the specified condition when the brightness uniformity value is not within the specified uniformity value range;

[0032] A third condition determination module is configured to determine that the detection spot parameter does not meet the specified condition when the ratio of the optical three primary color pixels is not within the specified ratio range;

[0033] Optionally, the brightness parameter includes a minimum brightness value, and the first condition determination module is configured to: when the minimum brightness value is lower than a brightness threshold, determine that the brightness parameter is not within a specified brightness range.

[0034] Optionally, the actual light spot parameters include an actual brightness uniformity value, an actual brightness parameter, and an actual optical three primary color pixel ratio. The acquisition module includes:

[0035] The adjustment submodule is configured to adjust at least one parameter of the actual brightness uniform value, actual brightness parameter, and actual optical three primary color pixel ratio of the electronic device through the screen to fill in the collected image if the brightness parameter in the detection spot parameter does not meet the specified conditions.

[0036] Optionally, the acquisition module includes:

[0037] A gain determination submodule, configured to determine whether the gain of the under-screen sensing system is zero when the detection spot parameter meets a specified condition;

[0038] The fill light parameter adjustment submodule is configured to adjust the fill light parameter of the under-screen sensor system so that the gain of the under-screen sensor system is zero when the gain of the under-screen sensor system is not zero;

[0039] The acquisition submodule is configured to acquire the image to be acquired through the under-screen sensor system.

[0040] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the image acquisition method provided in the first aspect of the present disclosure are implemented.

[0041] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by acquiring the detection spot parameters detected when the electronic device fills the light of the image to be collected through the screen, and when the detection spot parameters do not meet the specified conditions, adjusting the actual spot parameters of the electronic device filling the light of the image to be collected through the screen, so that when the detected detection spot parameters meet the specified conditions, the image to be collected is collected through the under-screen sensor system. Since when the detection spot parameters meet the specified conditions, it indicates that the detection spot parameters have stably met the image collection requirements of the under-screen sensor system, when the image to be collected is collected through the under-screen sensor system after adjustment, it is no longer necessary to gain the image, thereby avoiding the under-screen sensor system gaining while also gaining the image noise, affecting the image quality, thereby ensuring that the collected image has good image quality.

[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0044] Figure 1 The figure is a schematic diagram of an application environment of an image acquisition method according to an exemplary embodiment.

[0045] Figure 2 is a schematic structural diagram of an under-screen sensing system according to an exemplary embodiment.

[0046] Figure 3 is a schematic diagram showing the distribution of a spot parameter detector according to an exemplary embodiment.

[0047] Figure 4 The figure is a flow chart of an image acquisition method according to an exemplary embodiment.

[0048] Figure 5is a flow chart of an image acquisition method according to another exemplary embodiment.

[0049] Figure 6 The figure is a block diagram of an image acquisition device according to an exemplary embodiment.

[0050] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0052] With the continuous development of fingerprint verification technology, more and more electronic devices can be unlocked by fingerprint. Usually, the under-screen sensor system configured in electronic devices can collect the user's fingerprint and then verify the user's fingerprint. After the verification is passed, the unlocking is completed, allowing the user to operate the electronic device, thereby preventing the electronic device from being operated by strangers and ensuring the safety of the electronic device. Therefore, fingerprint unlocking technology is deeply loved by users because of its good convenience and security.

[0053] In the fingerprint unlocking process, the step of the optical fingerprint sensor collecting fingerprint images is extremely important. The quality of the fingerprint image directly determines whether the fingerprint unlocking can be performed normally.

[0054] In related technologies, the under-screen sensing system of an electronic device can illuminate the fingerprint by lighting up the light spot on the screen, and then collect the light reflected by the fingerprint through the optical fingerprint sensor of the under-screen sensing system to form a fingerprint image. When collecting fingerprint images, the optical fingerprint sensor can automatically perform gain control, that is, when the brightness of the light source is insufficient, the optical fingerprint sensor will increase the brightness gain to make up for the brightness, and when the brightness is too high, it will reduce the brightness gain to keep the light sensitivity per unit area within a certain range to prevent overexposure or underexposure, which affects the quality of the fingerprint image.

[0055] However, in actual applications, the detection spot parameters (such as brightness) of the detected light spot will change due to factors such as screen wear and ambient light, causing the gain of the optical fingerprint sensor to change dynamically. When the optical fingerprint sensor increases the gain, the noise signal of the image will also be amplified, thereby affecting the quality of the fingerprint image.

[0056] In view of this, the present disclosure provides an image acquisition method, device, electronic device and storage medium, which can eliminate the need to gain the image to be captured during the image acquisition process through an under-screen sensor system, thereby avoiding the situation where the noise signal of the image is also amplified due to the image gain, thereby improving the quality of the captured image.

[0057] The following is an introduction to the application environment of an image acquisition method provided by the present disclosure. Figure 1 As shown, the image acquisition method can be applied to an electronic device 100, and specifically, the electronic device 100 can be a smart phone. For example, taking the electronic device 100 as a smart phone and the image to be acquired as a fingerprint image as an example, the electronic device 110 can include an under-screen sensing system 110 and a light spot parameter detection system ( Figure 1 ). In the process of collecting images, the under-screen sensing system 110 can fill in the light of the image to be collected through the screen, and the under-screen sensing system adjusts the gain according to the fill-in light parameters. Optionally, the under-screen sensing system can include hardware such as an under-screen sensor and related algorithms, for example, including a fingerprint sensor, a processor (such as an IC chip), and some logic algorithms in the IC chip, or when the logic algorithm is in the fingerprint sensor, the under-screen sensing system only includes the fingerprint sensor, wherein the fingerprint sensor is an optical fingerprint sensor.

[0058] For example, Figure 2 As shown, the under-screen sensing system 110 may specifically include: a light source device 113, an optical fingerprint sensor 114, a CG glass 111, an OLED screen 112, and a fingerprint module reinforcement steel sheet 115; the light spot parameter detection system may include a light spot parameter detector 130. Among them, the CG glass 111 can be arranged on the upper layer of the OLED screen 112, and the CG glass 111 is used to contact the user's finger. The light source device 113 can be built into the OLED screen 112, and the light source device 113 is configured to form a light spot on the screen of the electronic device to illuminate the finger that contacts the screen. The optical fingerprint sensor 114 can be arranged on the fingerprint module reinforcement steel sheet 115, and the optical fingerprint sensor 114 is used to receive the light reflected back from the finger to form a fingerprint image. The fingerprint module reinforcement steel sheet 115 can be fixed on the whole machine middle frame 120 of the electronic device. The light spot parameter detector 130 can also be set on the fingerprint module reinforcement steel sheet 115 and located at the edge of the optical fingerprint sensor 114. The light spot parameter detector 130 can be used to detect the light spot parameters of the light spot. Optionally, the light spot parameters include but are not limited to: brightness parameters, brightness uniformity, optical three primary color pixel ratio, etc.

[0059] Optionally, there may be multiple light spot parameter detectors 130, and the multiple light spot parameter detectors 130 may be evenly distributed at the edge of the optical fingerprint sensor 114 to better detect the brightness uniformity of the light spot. Figure 3 As shown, when the number of the spot parameter detectors 130 is two, the two spot parameter detectors 130 can be disposed on the fingerprint module reinforcement steel sheet 115, and the two spot parameter detectors 130 can be centrally symmetrical about the optical fingerprint sensor 114. The spot parameter detector 130 can be a photodetector (photosensitive PD).

[0060] Among them, the area of ​​the screen of the electronic device 100 corresponding to the under-screen sensing system 110 can be used as a fingerprint collection area.

[0061] Figure 4 is a flow chart of an image acquisition method according to an exemplary embodiment. Figure 4 As shown, the image acquisition method is used as Figure 1 In the under-screen sensing system 110 shown, the method may include the following steps:

[0062] In step S101, detection spot parameters detected when the electronic device fills the image to be collected through the screen are obtained.

[0063] For example, taking the user performing fingerprint unlocking on an electronic device as an example, when the electronic device detects that the user's finger presses the fingerprint collection area, it can be determined that the user needs to perform fingerprint unlocking, and thus the fingerprint image collection process can be entered. During the fingerprint image collection process, the electronic device can fill in the light of the image to be collected through the screen. Specifically, the under-screen sensing system in the electronic device can control the light source device to emit light, and the light source device forms a light spot on the screen of the electronic device. The light of the light spot is irradiated on the user's finger, thereby filling in the light of the fingerprint image on the user's finger. After filling in the light, the under-screen sensing system can receive the detection light spot parameters detected by the light spot parameter detection system, thereby obtaining the detection light spot parameters.

[0064] In step S102, if the detection spot parameters do not meet the specified conditions, the actual spot parameters of the electronic device used to fill in the image to be captured through the screen are adjusted so that when the detected detection spot parameters meet the specified conditions, the image to be captured is captured through the under-screen sensing system.

[0065] The specified conditions are used to determine whether the detection light spot parameters meet the requirements of the optical fingerprint sensor in the under-screen sensor system when collecting fingerprint images. For example, when the optical fingerprint sensor collects fingerprint images, the amount of light entering per unit area must be kept within a certain range.

[0066] The image to be collected can be understood as the assembly of images formed by the user's fingers continuously pressing on the screen, and should not be understood as an image at the same time as the previous image to be collected.

[0067] In some embodiments, the under-screen sensing system may compare the detected spot parameters detected by the spot parameter detection system with the specified spot parameter range. If the spot parameters are within the specified spot parameter range, it indicates that the currently acquired spot parameters meet the requirements of the optical fingerprint sensor when acquiring fingerprint images, and it can be determined that the spot parameters meet the specified conditions. If the spot parameters are not within the specified spot parameter range, it indicates that the currently acquired spot parameters do not meet the requirements of the optical fingerprint sensor when acquiring fingerprint images, and it can be determined that the spot parameters do not meet the specified conditions.

[0068] When the detection spot parameters do not meet the specified conditions, the under-screen sensing system can adjust the actual spot parameters of the electronic device through the screen to fill in the image to be collected. Specifically, the under-screen sensing system can adjust the actual spot parameters of the light spot by adjusting the working parameters of the light source device. For example, the electronic device can increase the working power of the light source device to increase the actual brightness parameters of the light spot, thereby adjusting the actual spot parameters. After the actual spot parameters are adjusted, if the detected detection spot parameters meet the specified conditions, the image to be collected is collected by the under-screen sensing system.

[0069] It can be understood that the actual light spot parameters refer to the parameters of the light spot itself, which are parameters that are not affected by the external environment, while the detection light spot parameters may be the light spot parameters affected by the external environment (such as ambient light, obstruction of a worn screen, etc.). Therefore, the actual light spot parameters and the detection light spot parameters may be different, but when the actual light spot parameters change, the detection light spot parameters will also change accordingly.

[0070] Optionally, the specified spot parameter range can be pre-stored in the local memory of the electronic device, or stored in a cloud server that has established a communication link with the electronic device. When the electronic device needs it, the specified spot parameter range can be called from the cloud server.

[0071] In this embodiment, the detection spot parameters detected when the electronic device fills the image to be collected through the screen are obtained, and when the detection spot parameters do not meet the specified conditions, the actual spot parameters of the electronic device for filling the image to be collected through the screen are adjusted, so that when the detected detection spot parameters meet the specified conditions, the image to be collected is collected through the under-screen sensor system. Since when the detection spot parameters meet the specified conditions, it indicates that the detection spot parameters have stably met the image acquisition requirements of the under-screen sensor system, when the image to be collected is collected through the under-screen sensor system after adjustment, it is no longer necessary to gain the image, thereby avoiding the under-screen sensor system gaining while also gaining the image noise, thereby affecting the image quality, thereby ensuring that the collected image has good image quality.

[0072] It can be understood that the image acquisition method in this embodiment is not limited to the field of fingerprint image acquisition, that is, it is not limited to the field of optical fingerprint sensors, but can also be applied to other fields of devices that require screen fill light and gain variation.

[0073] Figure 5 is a flow chart of an image acquisition method according to another exemplary embodiment. Figure 5 As shown, the image acquisition method is used as Figure 1 In the under-screen sensing system 110 shown, the method may include the following steps:

[0074] In step S201, the detection spot parameters detected when the electronic device performs fill light on the image to be collected through the screen are obtained.

[0075] The specific implementation of step S201 may refer to step S101, so it will not be described here in detail.

[0076] In step S202, it is determined whether the detection spot parameters meet the specified conditions.

[0077] In some embodiments, the detection spot parameters include brightness parameters, the detection spot parameters include brightness uniformity value, and the ratio of optical three primary colors pixels. The specific implementation of step S202 may include: if the brightness parameter is not within the specified brightness range, it is determined that the detection spot parameter does not meet the specified conditions; and / or, if the brightness uniformity value is not within the specified uniformity value range, it is determined that the detection spot parameter does not meet the specified conditions; and / or, if the optical three primary colors pixel ratio is not within the specified ratio range, it is determined that the detection spot parameter does not meet the specified conditions.

[0078] As an example, for example, the specified brightness range is greater than or equal to brightness parameter a1 and less than or equal to brightness parameter a2. When the under-screen sensing system detects that the currently collected brightness parameter a is greater than brightness value a, it can be determined that the detection spot parameter does not meet the specified condition.

[0079] As an approach, the brightness parameter may include a minimum brightness value, and if the minimum brightness value is lower than a brightness threshold, it is determined that the brightness parameter is not within a specified brightness range.

[0080] For example, different areas of the light spot have different brightness parameters. The under-screen sensing system can compare the minimum brightness value detected in different areas of the light spot with the brightness threshold, where the brightness threshold is a preset lower limit of the brightness parameter, for example, the lower limit of the brightness parameter is a1, and the minimum brightness value is a min , if a min If the brightness parameter is lower than a1, it can be directly determined that the brightness parameter is not within the specified brightness range, so that it can be quickly and effectively determined whether the brightness parameter is within the specified brightness range.

[0081] Optionally, the under-screen sensor system can compare the maximum brightness value detected in different areas of the light spot with the upper limit of the brightness parameter. For example, if the upper limit of the brightness parameter is a2 and the minimum brightness value is a max , if a max If the value is greater than a2, it can be directly determined that the brightness parameter is not within the specified brightness range, thereby being able to quickly and effectively determine whether the brightness parameter is within the specified brightness range.

[0082] As another way, the brightness parameter may include a brightness average, which is the mean of the brightness parameters corresponding to different areas of the light spot. If the under-screen sensing system detects that the brightness average is not within the specified brightness average range, it is determined that the brightness parameter is not within the specified brightness range.

[0083] For example, if the under-screen sensing system detects that the average brightness value is within the specified average brightness range, and the maximum brightness value is less than or equal to the upper limit of the brightness parameter, and the minimum brightness value is greater than or equal to the lower limit of the brightness parameter, then it can be determined that the brightness parameter is within the specified brightness range, thereby ensuring that the brightness parameters of the light spot meet the requirements of the optical fingerprint sensor as a whole.

[0084] As another example, specifying a spot parameter range also includes specifying a uniform value range, wherein the brightness uniformity value represents the uniformity of brightness.

[0085] For example, when the under-screen sensing system detects that the brightness uniformity value is not within the specified uniformity value range, it indicates that the uniformity of the light spot is poor and does not meet the image acquisition requirements of the optical fingerprint sensor, so it can be determined that the detection light spot parameters do not meet the specified conditions.

[0086] As another example, the specified light spot parameter range also includes a specified ratio range, wherein the ratio of optical three primary color pixels is also called RGB pixel color parameter, specifically refers to the ratio of red, green, and blue (R, G, B) color pixels, which can reflect the color of the image. Different superposition ratios of the three RGB color pixels will produce different colors.

[0087] Exemplarily, when the under-screen sensing system detects that the ratio of the optical three primary colors pixels is not within the specified ratio range, it indicates that the color of the light spot does not meet the image acquisition requirements of the optical fingerprint sensor, and thus it can be determined that the detection light spot parameters do not meet the specified conditions.

[0088] In some embodiments, when the under-screen sensing system detects that one or more of the three parameters of brightness parameter, brightness uniformity value, and optical three-primary color pixel ratio meet corresponding conditions, it can be determined that the detection light spot parameters meet the specified conditions. The specific parameters selected for conditional judgment can be set according to actual needs and are not limited here. As an example, for example, when the under-screen sensing system detects that the brightness parameter of the light spot is within the specified brightness range, the brightness uniformity value is within the specified uniformity value range, and the optical three-primary color pixel ratio is within the specified ratio range, it can be determined that the detection light spot parameters of the light spot meet the specified conditions, thereby ensuring that the light spot that meets the specified conditions meets the requirements of the optical fingerprint sensor in terms of brightness, brightness uniformity and color, thereby ensuring that the fingerprint image collected by the optical fingerprint sensor under the light spot has good image quality.

[0089] In step S203, if the detection spot parameters do not meet the specified conditions, the actual spot parameters of the electronic device used to fill in the image to be captured through the screen are adjusted so that when the detected detection spot parameters meet the specified conditions, the image to be captured is captured through the under-screen sensing system.

[0090] In some embodiments, a specific implementation of step S203 may include: if the brightness parameter in the detected light spot parameter does not meet the specified conditions, adjusting at least one parameter of the actual brightness uniform value, the actual brightness parameter, and the actual optical three primary color pixel ratio of the electronic device through the screen to fill in the captured image.

[0091] Exemplarily, if the brightness parameter in the detection spot parameter does not meet the specified conditions, for example, the detection spot parameter is lower than the brightness parameter threshold, the detection spot parameter can be adjusted by increasing the actual brightness parameter. The brightness parameter in the detection spot parameter can also be made to meet the specified conditions by matching the actual brightness uniform value and the actual optical three-primary color pixel ratio. In some scenarios, for example, even if the actual brightness parameter is adjusted to the maximum, the brightness parameter in the detection spot parameter still does not meet the specified conditions. The brightness parameter in the detection spot can be improved by adjusting the actual optical three-primary color pixel ratio, thereby making the brightness parameter in the detection spot parameter meet the specified conditions.

[0092] Similarly, if the actual brightness uniformity value or the actual optical three primary color pixels in the detected light spot parameters do not meet the specified conditions, at least one of the actual brightness uniformity value, actual brightness parameters, and actual optical three primary color pixel ratios used by the electronic device to fill in the captured image through the screen can be adjusted, thereby improving the flexibility of adjustment.

[0093] In step S204, if the detection spot parameters meet the specified conditions, it is determined whether the gain of the under-screen sensing system is zero.

[0094] Among them, the gain of the under-screen sensing system may refer to the image gain value of the optical fingerprint sensor.

[0095] Exemplarily, when the under-screen sensing system detects that the detection spot parameters meet the specified conditions, it can further detect whether the image gain value of the optical fingerprint sensor is zero. Since the detection spot parameters meet the specified conditions, it indicates that the detection spot parameters have met the requirements of the optical fingerprint sensor and no further gain is required. At this time, if the fingerprint image is gained by the image gain value of the optical fingerprint sensor, it will affect the image quality. For example, when the detection spot parameters meet the specified conditions, if the image gain value of the optical fingerprint sensor (such as the brightness gain value) is greater than zero, the fingerprint image collected by the optical fingerprint sensor will be overexposed. If the image gain value of the optical fingerprint sensor (such as the brightness gain value) is less than zero, the fingerprint image collected by the optical fingerprint sensor will be underexposed.

[0096] In step S205, when the gain of the under-screen sensor system is not zero, the fill light parameters of the under-screen sensor system are adjusted so that the gain of the under-screen sensor system is zero.

[0097] Exemplarily, if the under-screen sensing system detects that the image gain value of the optical fingerprint sensor is greater than zero, the image gain value of the optical fingerprint sensor may be reduced to adjust the image gain value of the optical fingerprint sensor to zero. If the under-screen sensing system detects that the image gain value of the optical fingerprint sensor is less than zero, the image gain value of the optical fingerprint sensor may be increased to adjust the image gain value of the optical fingerprint sensor to zero.

[0098] Optionally, the under-screen sensing system can adjust the image gain value of the optical fingerprint sensor according to the fingerprint image already collected by the optical fingerprint sensor and the detection spot parameters currently collected. For example, if the brightness parameter of the already collected detection fingerprint image is b1, and the brightness parameter of the currently collected detection spot parameters is b2, if b2-b1=x, and x is greater than 0, then the brightness gain value in the image gain value of the optical fingerprint sensor can be increased by x. If b2-b1=x, and x is less than 0, then the brightness gain value in the image gain value of the optical fingerprint sensor can be reduced by x. If b2-b1=x, and x is equal to 0, then the image gain value of the optical fingerprint sensor is maintained.

[0099] It is understandable that after the optical fingerprint sensor sets the image gain value, it will automatically gain the collected fingerprint image according to the set image gain value while collecting the fingerprint image. That is to say, the fingerprint image collected by the optical fingerprint sensor is the fingerprint image obtained after the gain.

[0100] In step S206, the image to be captured is captured by the under-screen sensor system.

[0101] In this embodiment, if the detection spot parameter meets the specified conditions, it is determined whether the gain of the under-screen sensor system is zero, and if the gain of the under-screen sensor system is not zero, the fill light parameter of the under-screen sensor system is adjusted to make the gain of the under-screen sensor system zero, and finally the image to be collected is collected by the under-screen sensor system. In this way, it can be ensured that the under-screen sensor system obtains the image to be collected without gaining the image, avoiding the situation of amplifying the noise signal of the image to be collected, and ensuring good image quality.

[0102] In addition, when the detection spot parameters meet the preset conditions, the under-screen sensing system can directly determine whether the fingerprint image collected by the optical fingerprint sensor is overexposed or underexposed by whether the image gain value of the optical fingerprint sensor is greater than zero or less than zero. Compared with the related art, when judging the exposure degree of the fingerprint image, it is necessary to collect multiple fingerprint images, and determine the exposure degree by comparing the grayscale, brightness, and adjacent front and back pictures of the multiple fingerprint images. It not only avoids the need to continuously collect pictures within a certain period of time, adding unnecessary time; it also avoids the consumption of CPU hardware resources and increased system power consumption by comparing picture data; it also avoids the continuous pictures collected within a specified time, and the abnormal exposure cannot be judged by comparing the differences between pictures. Thereby improving the detection efficiency and accuracy of the picture exposure.

[0103] In some embodiments, the under-screen sensing system may start timing when the detection light spot parameters meet the specified conditions. If the detection light spot parameters continue to meet the specified conditions within a specified time period, the optical fingerprint sensor may be controlled to collect the fingerprint image under the light spot. If the detection light spot parameters fluctuate and do not continue to meet the specified conditions within the specified time period, the optical fingerprint sensor will not be turned on.

[0104] In this embodiment, the optical fingerprint sensor is controlled to collect fingerprint images under the light spot only after detecting that the light spot parameters have met the specified conditions for a specified period of time. This ensures that the optical fingerprint sensor collects fingerprint images when the light spot has good stability, further improving the quality of the collected fingerprint images.

[0105] In some embodiments, if the electronic device is in the process of fingerprint unlocking, the fingerprint image collected by the optical fingerprint sensor can be fingerprint verified. For example, the collected fingerprint image is compared with a preset fingerprint image pre-stored in the electronic device. If the collected fingerprint image matches the preset fingerprint image (such as the similarity is greater than a similarity threshold), the fingerprint verification is successful and the electronic device can be unlocked.

[0106] Figure 6 FIG. 1 is a block diagram of an image acquisition device according to an exemplary embodiment. Figure 1 The under-screen sensing system 110 in the electronic device shown in the figure, in the process of collecting images, the electronic device uses the screen to fill in the image to be collected, and the under-screen sensing system adjusts the gain according to the fill-in light parameter. Figure 6 , the image acquisition device 300 comprises:

[0107] The detection spot parameter acquisition module 310 is configured to acquire the detection spot parameters detected when the electronic device performs fill light on the image to be collected through the screen.

[0108] The acquisition module 320 is configured to adjust the actual spot parameters of the electronic device for fill-in lighting the image to be acquired through the screen when the detected spot parameters do not meet the specified conditions, so as to acquire the image to be acquired through the under-screen sensor system when the detected spot parameters meet the specified conditions.

[0109] Optionally, the detection spot parameters include brightness parameters, brightness uniformity value and optical three primary color pixel ratios, and the image acquisition device 300 further includes:

[0110] The first condition determination module is configured to determine that the detection spot parameter does not meet the specified condition when the brightness parameter is not within the specified brightness range.

[0111] The second condition determination module is configured to determine that the detection spot parameter does not meet the specified condition when the brightness uniformity value is not within the specified uniformity value range.

[0112] The third condition determination module is configured to determine that the detection spot parameter does not meet the specified condition when the ratio of the optical three primary color pixels is not within the specified ratio range.

[0113] Optionally, the brightness parameter includes a minimum brightness value, and the first condition determination module is configured to: when the minimum brightness value is lower than a brightness threshold, determine that the brightness parameter is not within a specified brightness range.

[0114] Optionally, the actual light spot parameters include an actual brightness uniformity value, an actual brightness parameter, and an actual optical three primary color pixel ratio. The acquisition module 320 includes:

[0115] The adjustment submodule is configured to adjust at least one parameter of the actual brightness uniform value, actual brightness parameter, and actual optical three primary color pixel ratio of the electronic device through the screen to fill in the collected image if the brightness parameter in the detection spot parameter does not meet the specified conditions.

[0116] Optionally, the acquisition module 320 includes:

[0117] The gain determination submodule is configured to determine whether the gain of the under-screen sensing system is zero when the detection spot parameters meet specified conditions.

[0118] The fill light parameter adjustment submodule is configured to adjust the fill light parameters of the under-screen sensor system when the gain of the under-screen sensor system is not zero, so that the gain of the under-screen sensor system is zero.

[0119] The acquisition submodule is configured to acquire the image to be acquired through the under-screen sensor system.

[0120] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0121] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the image acquisition method provided by the present disclosure.

[0122] In an exemplary embodiment, an electronic device is also provided. The electronic device may include an under-screen sensing system and a light spot parameter detection system.

[0123] Wherein: the light spot parameter detection system is used to detect the light spot of the fill light when the electronic device fills the image to be collected through the screen, and obtain the detection light spot parameters.

[0124] The under-screen sensing system is used to execute the image acquisition method provided in any of the above-mentioned embodiments.

[0125] In some embodiments, the light spot parameter detection system includes a light spot parameter detector; the light spot parameter detector is disposed at an edge of an under-screen sensor for capturing images in the under-screen sensing system.

[0126] In some embodiments, there are multiple spot parameter detectors, and the multiple spot parameter detectors are centrally symmetric about the center of the under-screen sensor.

[0127] Figure 7 8 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a smart door lock, a tablet device, a smart wearable device, etc.

[0128] Reference Figure 7 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0129] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, data processing, data communication, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802. The electronic device may also include the under-screen sensing system and the light spot parameter detection system in the above-mentioned embodiment. The processor 820 may be integrated in the under-screen sensing system. The light spot parameter detection system is used to detect the light spot of the fill light when the electronic device fills the image to be collected through the screen, and obtain the detection light spot parameter.

[0130] The memory 804 is configured to store various types of data to support the operation of the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, data such as a specified spot parameter range, a specified brightness range, a brightness threshold, a specified uniform value range, a specified ratio range, a specified duration, a preset fingerprint image, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.

[0131] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0132] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0133] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0134] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0135] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor. Optionally, the sensor assembly 814 also includes at least one optical fingerprint sensor and at least one distance sensor array, wherein the optical fingerprint sensor is used to collect the user's fingerprint image, and the distance sensor array is used to collect the distance between the user's finger and the screen.

[0136] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0137] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0138] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0139] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above fingerprint unlocking method when executed by the programmable device.

[0140] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0141] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An image acquisition method, characterized in that: An under-screen sensing system applied to an electronic device, wherein during the process of collecting images, the electronic device uses a screen to fill in the image to be collected, and the under-screen sensing system adjusts the gain according to the fill-in light parameter; the image collection method comprises: Acquiring, by means of a light spot parameter detection system in the electronic device, detection light spot parameters detected when the electronic device fills light for an image to be collected through a screen, wherein the detection light spot parameters are light spot parameters affected by an external environment, wherein the external environment includes at least one of ambient light and occlusion of a worn screen, and the detection light spot parameters include at least one of a brightness parameter, a brightness uniformity value, and a ratio of optical three primary color pixels; If the detection spot parameters do not meet the specified conditions, the actual spot parameters of the electronic device used to fill in the image to be collected through the screen are adjusted, so that when the detected detection spot parameters meet the specified conditions, the image to be collected is collected through the under-screen sensing system. The specified conditions are used to determine whether the detection spot parameters meet the requirements of the optical fingerprint sensor in the under-screen sensing system for collecting fingerprint images. The actual spot parameters are parameters of the spot itself that are not affected by the external environment.

2. The method according to claim 1, characterized in that The method further comprises: If the brightness parameter is not within the specified brightness range, it is determined that the detection spot parameter does not meet the specified condition; and / or, If the brightness uniformity value is not within the specified uniformity value range, it is determined that the detection spot parameter does not meet the specified condition; and / or, If the optical three primary color pixel ratio is not within the specified ratio range, it is determined that the detection spot parameter does not meet the specified condition.

3. The method according to claim 2, characterized in that The brightness parameter includes a minimum brightness value, and the method further includes: if the minimum brightness value is lower than a brightness threshold, determining that the brightness parameter is not within a specified brightness range.

4. The method according to claim 2, characterized in that: The actual light spot parameters include an actual brightness uniformity value, an actual brightness parameter, and an actual optical three-primary color pixel ratio. If the detected light spot parameters do not meet the specified conditions, the actual light spot parameters of the electronic device for supplementing the image to be collected through the screen are adjusted, including: If the brightness parameter in the detection spot parameter does not meet the specified conditions, at least one parameter of the actual brightness uniform value, the actual brightness parameter, and the actual optical three primary color pixel ratio used by the electronic device to fill in the light of the captured image through the screen is adjusted.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: If the detection spot parameter meets the specified condition, determining whether the gain of the under-screen sensing system is zero; When the gain of the under-screen sensor system is not zero, adjusting a fill light parameter of the under-screen sensor system so that the gain of the under-screen sensor system is zero; The image to be collected is collected by the under-screen sensing system.

6. An electronic device, characterized in that: Including under-screen sensing system and light spot parameter detection system; The light spot parameter detection system is used to detect the light spot of the fill light when the electronic device fills the image to be collected through the screen, so as to obtain the detection light spot parameter; The under-screen sensing system is used to execute the image acquisition method described in any one of claims 1-5.

7. The electronic device according to claim 6, characterized in that: The light spot parameter detection system comprises a light spot parameter detector; The light spot parameter detector is arranged at the edge of the under-screen sensor for collecting images in the under-screen sensing system.

8. The electronic device according to claim 7, characterized in that: There are multiple light spot parameter detectors, and the multiple light spot parameter detectors are centrally symmetric about the center of the under-screen sensor.

9. An image acquisition device, characterized in that: An under-screen sensing system applied to an electronic device, wherein during the process of collecting images, the electronic device uses a screen to fill in the image to be collected, and the under-screen sensing system adjusts the gain according to the fill-in light parameter; the image collection device comprises: a detection spot parameter acquisition module, configured to acquire, through a spot parameter detection system in the electronic device, detection spot parameters detected when the electronic device fills light through a screen for an image to be collected, wherein the detection spot parameters are spot parameters affected by an external environment, wherein the external environment includes at least one of ambient light and occlusion of a worn screen, and the detection spot parameters include at least one of a brightness parameter, a brightness uniformity value, and a ratio of optical three primary color pixels; The acquisition module is configured to adjust the actual spot parameters of the electronic device for fill-in lighting the image to be acquired through the screen when the detection spot parameters do not meet the specified conditions, so that when the detected detection spot parameters meet the specified conditions, the image to be acquired is acquired through the under-screen sensing system. The specified conditions are used to determine whether the detection spot parameters meet the requirements of the optical fingerprint sensor in the under-screen sensing system for acquiring fingerprint images, and the actual spot parameters are parameters of the spot itself that are not affected by the external environment.

10. The image acquisition device according to claim 9, characterized in that: The detection spot parameters include brightness parameters, brightness uniformity value and optical three primary color pixel ratios, and the image acquisition device also includes: A first condition determination module is configured to determine that the detection spot parameter does not meet a specified condition when the brightness parameter is not within a specified brightness range; A second condition determination module is configured to determine that the detection spot parameter does not meet a specified condition when the brightness uniform value is not within a specified uniform value range; The third condition determination module is configured to determine that the detection spot parameter does not meet the specified condition when the ratio of the optical three primary color pixels is not within a specified ratio range.

11. The image acquisition device according to claim 10, characterized in that: The brightness parameter includes a minimum brightness value, and the first condition determination module is configured to: when the minimum brightness value is lower than a brightness threshold, determine that the brightness parameter is not within a specified brightness range.

12. The image acquisition device according to claim 10, characterized in that: The actual light spot parameters include an actual brightness uniformity value, an actual brightness parameter, and an actual optical three primary color pixel ratio. The acquisition module includes: The adjustment submodule is configured to adjust at least one parameter of the actual brightness uniform value, the actual brightness parameter, and the actual optical three primary color pixel ratio of the electronic device for fill-in light for the captured image through the screen if the brightness parameter in the detection spot parameter does not meet the specified conditions.

13. The image acquisition device according to any one of claims 9 to 12, characterized in that: The acquisition module comprises: a gain determination submodule, configured to determine whether the gain of the under-screen sensing system is zero when the detection spot parameter meets a specified condition; a fill light parameter adjustment submodule, configured to adjust the fill light parameter of the under-screen sensor system so that the gain of the under-screen sensor system is zero when the gain of the under-screen sensor system is not zero; The acquisition submodule is configured to acquire the image to be acquired through the under-screen sensor system.

14. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Display control method and terminal

    CN110059627A

  • Display method and electronic equipment

    CN110826438A

  • Fingerprint identification method and device, electronic equipment and storage medium

    CN111400686A