Method, device, system, medium and equipment for evaluating diffraction effect of under-screen camera

By calculating the ratio of brightness and distance in the image of the under-screen camera, the diffraction effect is evaluated, which solves the problem of poor imaging effects of the under-screen camera and provides an objective evaluation standard and improvement plan.

CN114630109BActive Publication Date: 2024-08-23GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210224589.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2024-08-23
Estimated Expiration
2042-03-07

AI Technical Summary

Technical Problem

The imaging effect of under-screen cameras is poor, mainly due to the diffraction effect produced when light passes through the screen, resulting in small light input, low brightness, and blurred images. How to effectively evaluate and improve these problems has become an important challenge.

Method used

By acquiring the image collected by the under-screen camera, determine the pixels whose brightness is greater than the threshold, calculate the distance between the pixel and the center of the image, and use this information to calculate the evaluation value of the diffraction effect to objectively evaluate the impact of the diffraction effect on imaging quality.

Benefits of technology

This method can effectively and objectively evaluate the impact of diffraction effects on the imaging quality of under-screen cameras, provide a basis for product design and performance evaluation, and help improve the imaging effects of under-screen cameras.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114630109B
    Figure CN114630109B
Patent Text Reader

Abstract

The present disclosure provides a method for evaluating the diffraction effect of an under-screen camera, an under-screen camera diffraction effect evaluation device, an under-screen camera diffraction effect evaluation system, a computer-readable storage medium and an electronic device, and relates to the field of terminal detection technology. The method for evaluating the diffraction effect of an under-screen camera includes: acquiring an image captured by the under-screen camera; determining from the image the pixel points whose brightness is greater than a brightness threshold to obtain a pixel point set; calculating the distance between each pixel point in the pixel point set and the center point of the image; using the distance between each pixel point in the pixel point set and the center point of the image and the brightness of each pixel point, calculating the evaluation value of the diffraction effect of the under-screen camera, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value. The present disclosure can effectively evaluate the diffraction effect of the under-screen camera.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal detection technology, and in particular, to a method for evaluating the diffraction effect of an under-screen camera, a device for evaluating the diffraction effect of an under-screen camera, a system for evaluating the diffraction effect of an under-screen camera, a computer-readable storage medium, and an electronic device. Background Art

[0002] Mobile phones, tablets and other terminal devices have become indispensable tools in people's lives and work due to their portability and multifunctionality. The front camera can realize many functions such as selfie, unlocking, payment, video chat, etc., and has also become a standard feature of terminal devices. However, the front camera will affect the screen-to-body ratio of the terminal device. In this case, the under-screen camera came into being.

[0003] At present, due to the influence of screen transmittance, pixel structure, circuit structure, etc., the imaging effect of the under-screen camera is relatively poor, such as small amount of light input, low brightness, blurred imaging and other problems. These are mainly caused by the diffraction effect generated when light passes through the screen to form an image. How to evaluate this diffraction effect has become an important measure to improve the performance of under-screen camera technology. Summary of the invention

[0004] The present disclosure provides a method for evaluating the diffraction effect of an under-screen camera, a device for evaluating the diffraction effect of an under-screen camera, a system for evaluating the diffraction effect of an under-screen camera, a computer-readable storage medium and an electronic device, thereby at least to a certain extent solving the problem of how to effectively evaluate the diffraction effect of an under-screen camera.

[0005] According to the first aspect of the present disclosure, a method for evaluating the diffraction effect of an under-screen camera is provided, including: acquiring an image captured by the under-screen camera; determining pixels whose brightness is greater than a brightness threshold from the image to obtain a pixel set; calculating the distance between each pixel in the pixel set and the center point of the image; and calculating an evaluation value of the diffraction effect of the under-screen camera by using the distance between each pixel in the pixel set and the center point of the image and the brightness of each pixel, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value.

[0006] According to a second aspect of the present disclosure, a device for evaluating the diffraction effect of an under-screen camera is provided, comprising: an image acquisition module, used to acquire an image captured by the under-screen camera; a pixel point screening module, used to determine pixel points whose brightness is greater than a brightness threshold from the image to obtain a pixel point set; a distance calculation module, used to calculate the distance between each pixel point in the pixel point set and the center point of the image; a diffraction effect evaluation module, used to calculate an evaluation value of the diffraction effect of the under-screen camera by using the distance between each pixel point in the pixel point set and the center point of the image and the brightness of each pixel point, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value.

[0007] According to a third aspect of the present disclosure, a system for evaluating the diffraction effect of an under-screen camera is provided, comprising: a light beam generating unit, for generating a parallel light beam; a terminal device, equipped with an under-screen camera, the terminal device being used to obtain an image captured by the under-screen camera under the parallel light beam, determine pixels whose brightness is greater than a brightness threshold from the image, obtain a pixel set, calculate a distance between each pixel in the pixel set and a center point of the image, and use the distance between each pixel in the pixel set and the center point of the image and the brightness of each pixel to calculate an evaluation value of the diffraction effect of the under-screen camera, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value.

[0008] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for evaluating the diffraction effect of the under-screen camera is implemented.

[0009] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising a processor; and a memory for storing one or more programs, wherein when the one or more programs are executed by the processor, the processor implements the above-mentioned method for evaluating the diffraction effect of the under-screen camera.

[0010] In the technical solutions provided in some embodiments of the present disclosure, pixels with brightness greater than a brightness threshold are determined from the image captured by the under-screen camera to obtain a pixel set, the distance between each pixel in the pixel set and the center point of the image is calculated, and the distance between each pixel and the center point of the image and the brightness of each pixel are used to calculate the evaluation value of the diffraction effect of the under-screen camera. The embodiments of the present disclosure analyze the pixels with brightness greater than the brightness threshold in combination with the distance factor, and calculate the evaluation value of the diffraction effect, which can effectively and objectively evaluate the impact of the diffraction effect on the imaging quality of the under-screen camera, and provide a basis for the design and selection of the product and the final performance evaluation.

[0011] 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

[0012] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0013] Figure 1 A schematic diagram showing the diffraction of point light sources of different under-screen cameras;

[0014] Figure 2 A schematic diagram of a diffraction effect evaluation system for an under-screen camera according to an embodiment of the present disclosure is shown;

[0015] Figure 3 A flowchart of a method for evaluating the diffraction effect of an under-screen camera according to an exemplary embodiment of the present disclosure is schematically shown;

[0016] Figure 4 A schematic diagram showing the calculation of the distance between a pixel point in a pixel point set and a center point of an image according to an embodiment of the present disclosure is shown;

[0017] Figure 5 A flow chart showing the entire process of evaluating the diffraction effect of the under-screen camera according to an embodiment of the present disclosure;

[0018] Figure 6 A block diagram of a device for evaluating the diffraction effect of an under-screen camera according to an exemplary embodiment of the present disclosure is schematically shown;

[0019] Figure 7 A block diagram of an electronic device according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0020] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0021] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0022] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.

[0023] One of the factors that affects the imaging effect of the under-screen camera of the terminal device is the diffraction effect of the under-screen camera. Figure 1 The diagram shows the diffraction of different point light sources. The image without diffraction corresponds to the ideal situation of the under-screen camera, and the imaging effect is the best compared to the situation with diffraction. Compared with the situation without diffraction, the imaging effect of the under-screen camera corresponding to weak diffraction decreases, while the imaging effect of the under-screen camera corresponding to strong diffraction is the worst.

[0024] In order to effectively evaluate the diffraction effect of the under-screen camera, the embodiment of the present disclosure provides a new under-screen camera diffraction effect evaluation scheme.

[0025] Figure 2 A schematic diagram of a diffraction effect evaluation system for an under-screen camera according to an embodiment of the present disclosure is shown.

[0026] refer to Figure 2 The under-screen camera diffraction effect evaluation system of the embodiment of the present disclosure may include a light beam generating unit 21 and a terminal device 22.

[0027] Specifically, the beam generating unit 21 can be used to generate a parallel beam. The terminal device 22 is equipped with an under-screen camera 221, and the terminal device 22 is used to obtain an image captured by the under-screen camera 221 under a parallel beam, determine the pixel points whose brightness is greater than the brightness threshold from the image, obtain a pixel point set, calculate the distance between each pixel point in the pixel point set and the center point of the image, and use the distance between each pixel point in the pixel point set and the center point of the image and the brightness of each pixel point to calculate the evaluation value of the diffraction effect of the under-screen camera 221, so as to evaluate the diffraction effect of the under-screen camera 221 according to the evaluation value.

[0028] The light beam generating unit 21 may include a laser 211 and a concave lens 212. The laser 211 may be used to emit monochromatic light, and the concave lens 212 may be used to convert the monochromatic light emitted by the laser 211 into a parallel light beam.

[0029] Understandably, Figure 2 The beam generating unit 21 shown is only an exemplary depiction, and there may be many variations of the beam generating unit 21 for generating a parallel beam, for example, a LED (Light-Emitting Diode) point light source may be used to replace the laser 211. The present disclosure does not limit the number and type of elements included in the beam generating unit 21.

[0030] The method for evaluating the diffraction effect of the under-screen camera of the embodiment of the present disclosure can be implemented by a terminal device, that is, each step of the method for evaluating the diffraction effect of the under-screen camera of the embodiment of the present disclosure can be performed by the terminal device. The terminal device may include but is not limited to a smart phone, a tablet computer, a smart wearable device, a personal computer, etc., and the present disclosure does not limit the type of the terminal device.

[0031] In addition, the under-screen camera diffraction effect evaluation method of the embodiment of the present disclosure can also be implemented by a server, that is, the server can execute each step of the under-screen camera diffraction effect evaluation method of the embodiment of the present disclosure. For example, the terminal device sends the image captured by the under-screen camera equipped therewith to the server, and the server analyzes the image to evaluate the diffraction effect of the under-screen camera. The server can be a single server or a server cluster composed of multiple servers.

[0032] The following is an example of a terminal device implementing the under-screen camera diffraction effect evaluation method of the embodiment of the present disclosure. In this case, the under-screen camera diffraction effect evaluation device can be configured in the terminal device.

[0033] Figure 3 The flowchart of the method for evaluating the diffraction effect of the under-screen camera according to an exemplary embodiment of the present disclosure is schematically shown. Figure 3 , the under-screen camera diffraction effect evaluation method may include the following steps:

[0034] S32. Obtain the image captured by the under-screen camera.

[0035] In order to objectively evaluate the diffraction effect of the under-screen camera, the lighting environment of the under-screen camera to be evaluated should be the same or as similar as possible.

[0036] Specifically, in the embodiment of the present disclosure, when evaluating the diffraction effect, the light environment in which the under-screen camera captures images can be a light environment of parallel light beams, and the Fraunhofer diffraction generated by the incident parallel light beams conforms to the actual situation of the far-field diffraction of the under-screen camera.

[0037] That is to say, when the ambient light is a parallel beam, the terminal device can obtain the image captured by the under-screen camera. For example, when the under-screen camera is in the ambient light, the tester can manually turn on the under-screen camera to capture images.

[0038] The parallel light beam may be a light beam generated by converting monochromatic light emitted by a point light source. For example, monochromatic light emitted by a laser may be converted into a parallel light beam through a concave lens.

[0039] S34. Determine pixel points whose brightness is greater than a brightness threshold from the image to obtain a pixel point set.

[0040] After the terminal device obtains the image captured by the under-screen camera, the pixel points whose brightness is greater than the brightness threshold can be determined from the image, and the determined pixel points are used to obtain a pixel point set. In other words, the brightness of the pixel points in the pixel point set are all greater than the brightness threshold. The brightness threshold can be a threshold set manually, and the present disclosure does not limit its specific value.

[0041] It should be understood that the pixel point set includes at least one pixel point. In order to ensure the correctness of the following calculation process, if the pixel point set includes the central pixel point of the image, the central pixel point can be removed from the pixel point set.

[0042] S36. Calculate the distance between each pixel point in the pixel point set and the center point of the image.

[0043] refer to Figure 4 , we can use the center point of the image as the origin of the coordinates, and use the horizontal and vertical coordinates of each pixel in the pixel set to calculate the distance between each pixel in the pixel set and the center point of the image. For pixel i in the pixel set, if the horizontal coordinate is marked as x i , and label the vertical coordinate as y i , then the distance

[0044] In view of the symmetry of the diffraction image, taking the center point of the image as the coordinate origin can reduce the amount of calculation.

[0045] S38. Calculate the evaluation value of the diffraction effect of the under-screen camera by using the distance between each pixel in the pixel set and the center point of the image and the brightness of each pixel, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value.

[0046] First, for each pixel in the pixel set, calculate the ratio of the brightness of the pixel to the distance from the pixel to the center of the image. For example, for pixel i, its brightness is l i , the distance between pixel i and the center point of the image is recorded as d i , then calculate l i / d i .

[0047] It should be noted that if step S34 determines that the pixel point set includes the center point of the image, the center point can be removed from the pixel point set to avoid calculation errors.

[0048] Next, the calculated ratio can be used to calculate the evaluation value of the diffraction effect of the under-screen camera.

[0049] According to some embodiments of the present disclosure, the average value of the above ratio of each pixel in the pixel set can be calculated as an evaluation value of the diffraction effect of the under-screen camera.

[0050] After calculating the evaluation value of the diffraction effect of the under-screen camera of the embodiment of the present disclosure, the diffraction effect of the under-screen camera can be evaluated according to the evaluation value. Specifically, the larger the evaluation value, the more concentrated the brightness distribution in the direction away from the center point, the smaller the diffraction effect, and the better the imaging effect of the under-screen camera. Correspondingly, the smaller the evaluation value, the greater the diffraction effect, and the worse the imaging effect of the under-screen camera.

[0051] In addition, it should be noted that, in addition to taking the average value as the final evaluation value, the median (or median) of each calculated ratio may also be taken as the final evaluation value.

[0052] The following will refer to Figure 5 The evaluation process of the diffraction effect of the under-screen camera of the embodiment of the present disclosure is described.

[0053] In step S502, the terminal device can obtain the image captured by the under-screen camera under the parallel light beam.

[0054] In step S504, the terminal device may filter out a set of pixel points having brightness greater than a brightness threshold from the image.

[0055] In step S506, the terminal device may determine the brightness set of each pixel in the set determined in step S504, which may be recorded as L = {l1, l2, ... l n}.

[0056] In step S508, the terminal device may determine a set of distances between each pixel point in the set determined in step S504 and the center point of the image, which may be recorded as D = {d1, d2, ... d n}.

[0057] In step S510, the terminal device may calculate the ratio of the brightness of each pixel in the set to the distance.

[0058] In step S512, the terminal device may calculate an average value of the ratios determined in step S510 as an evaluation value of the diffraction effect.

[0059] The disclosed embodiment performs statistical analysis on pixel points based on brightness and distance factors, and calculates an evaluation value of the diffraction effect. This can effectively and objectively evaluate the impact of the diffraction effect on the imaging quality of the under-screen camera, and provide a basis for product design selection and final performance evaluation.

[0060] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0061] Furthermore, this example embodiment also provides a device for evaluating the diffraction effect of an under-screen camera.

[0062] Figure 6 The block diagram of the under-screen camera diffraction effect evaluation device according to an exemplary embodiment of the present disclosure is schematically shown. Figure 6 According to an exemplary embodiment of the present disclosure, the under-screen camera diffraction effect evaluation device 6 may include an image acquisition module 61, a pixel point screening module 63, a distance calculation module 65 and a diffraction effect evaluation module 67.

[0063] Specifically, the image acquisition module 61 can be used to acquire images captured by the under-screen camera; the pixel point screening module 63 can be used to determine the pixels whose brightness is greater than the brightness threshold from the image to obtain a pixel point set; the distance calculation module 65 can be used to calculate the distance between each pixel point in the pixel point set and the center point of the image; the diffraction effect evaluation module 67 can be used to calculate the evaluation value of the diffraction effect of the under-screen camera using the distance between each pixel point in the pixel point set and the center point of the image and the brightness of each pixel point, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value.

[0064] According to an exemplary embodiment of the present disclosure, the process of calculating the evaluation value of the diffraction effect evaluation module 67 can be configured to perform: for each pixel in the pixel point set, calculating the ratio of the brightness of the pixel point to the distance of the pixel point from the center point of the image; using the ratio of each pixel in the pixel point set, calculating the evaluation value of the diffraction effect of the under-screen camera.

[0065] According to an exemplary embodiment of the present disclosure, the diffraction effect evaluation module 67 may also be configured to perform: calculating an average value of the ratio of each pixel point in the pixel point set as an evaluation value of the diffraction effect of the under-screen camera.

[0066] According to an exemplary embodiment of the present disclosure, the distance calculation module 65 can be configured to perform: taking the center point of the image as the coordinate origin, and using the horizontal coordinates and vertical coordinates of each pixel point in the pixel point set to calculate the distance between each pixel point in the pixel point set and the center point of the image.

[0067] According to an exemplary embodiment of the present disclosure, the image acquisition module 61 can be configured to perform: when the ambient light is a parallel light beam, acquire the image captured by the under-screen camera; wherein the parallel light beam is a light beam generated by converting monochromatic light emitted by a point light source.

[0068] Since the various functional modules of the under-screen camera diffraction effect evaluation device of the embodiment of the present disclosure are the same as those in the above-mentioned method implementation, they will not be repeated here.

[0069] Figure 7 Schematic diagram of an electronic device suitable for implementing the exemplary embodiment of the present disclosure is shown. The terminal device of the exemplary embodiment of the present disclosure may be configured as follows Figure 7 It should be noted that Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0070] The electronic device disclosed in the present invention includes at least a processor and a memory, and the memory is used to store one or more programs. When the one or more programs are executed by the processor, the processor can implement the under-screen camera diffraction effect evaluation method of the exemplary embodiment of the present invention.

[0071] Specifically, Figure 7 As shown, the electronic device 70 may include: a processor 710, an internal memory 721, an external memory interface 722, a Universal Serial Bus (USB) interface 730, a charging management module 740, a power management module 741, a battery 742, an antenna 1, an antenna 2, a mobile communication module 750, a wireless communication module 760, an audio module 770, a sensor module 780, a display screen 790, a camera module 791, an indicator 792, a motor 793, a button 794, and a Subscriber Identification Module (SIM) card interface 795, etc. The sensor module 780 may include a depth sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, and a bone conduction sensor, etc.

[0072] It is to be understood that the structure illustrated in the embodiment of the present disclosure does not constitute a specific limitation on the electronic device 70. In other embodiments of the present disclosure, the electronic device 70 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0073] The processor 710 may include one or more processing units, for example, the processor 710 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor and / or a neural network processor (NPU). Different processing units may be independent devices or integrated into one or more processors. In addition, a memory may be provided in the processor 710 for storing instructions and data.

[0074] The electronic device 70 can realize the shooting function through the ISP, the camera module 791, the video codec, the GPU, the display screen 790 and the application processor. In some embodiments, the electronic device 70 may include 1 or N camera modules 791, N is a positive integer greater than 1, and if the electronic device 70 includes N cameras, one of the N cameras is a main camera. Among them, one or more camera modules 791 include an under-screen camera. That is, the electronic device 70 of the embodiment of the present disclosure includes at least one under-screen camera.

[0075] The internal memory 721 can be used to store computer executable program codes, which include instructions. The internal memory 721 can include a program storage area and a data storage area. The external memory interface 722 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 70.

[0076] The present disclosure also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may exist independently without being assembled into the electronic device.

[0077] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0078] Computer-readable storage media can send, propagate or transmit programs for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0079] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device implements the method described in the embodiments of the present disclosure.

[0080] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0081] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0082] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0083] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0084] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0085] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing what is disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that 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 embodiments are to be considered merely as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

[0086] 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. A method for evaluating the diffraction effect of an under-screen camera, characterized in that: include: Get the image captured by the under-screen camera; Determine pixel points whose brightness is greater than a brightness threshold from the image to obtain a pixel point set; Calculating the distance between each pixel point in the pixel point set and the center point of the image; For each pixel in the pixel set, the ratio of the brightness of the pixel and the distance of the pixel from the center point of the image is calculated, and the evaluation value of the diffraction effect of the under-screen camera is calculated using the ratio of each pixel in the pixel set, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value.

2. The method for evaluating the diffraction effect of an under-screen camera according to claim 1, wherein: Calculating an evaluation value of the diffraction effect of the under-screen camera by using the ratio of each pixel in the pixel set, including: An average value of the ratio of each pixel in the pixel set is calculated as an evaluation value of the diffraction effect of the under-screen camera.

3. The method for evaluating the diffraction effect of an under-screen camera according to claim 1, wherein: Calculating the distance between each pixel point in the pixel point set and the center point of the image includes: The center point of the image is taken as the coordinate origin, and the distance between each pixel point in the pixel point set and the center point of the image is calculated using the horizontal coordinate and the vertical coordinate of each pixel point in the pixel point set.

4. The method for evaluating the diffraction effect of an under-screen camera according to claim 1, wherein: Obtaining images captured by the under-screen camera includes: When the ambient light is a parallel beam, obtain the image captured by the under-screen camera; The parallel light beam is a light beam generated by converting the monochromatic light emitted by a point light source.

5. A device for evaluating the diffraction effect of an under-screen camera, characterized in that: include: An image acquisition module, used to acquire images captured by the under-screen camera; A pixel point screening module is used to determine the pixel points whose brightness is greater than a brightness threshold from the image to obtain a pixel point set; A distance calculation module, used to calculate the distance between each pixel point in the pixel point set and the center point of the image; A diffraction effect evaluation module is used to calculate, for each pixel in the pixel point set, the ratio of the brightness of the pixel point to the distance of the pixel point from the center point of the image, and use the ratio of each pixel in the pixel point set to calculate the evaluation value of the diffraction effect of the under-screen camera, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value.

6. A diffraction effect evaluation system for an under-screen camera, characterized in that: include: A beam generating unit, used for generating a parallel beam; A terminal device is equipped with an under-screen camera, the terminal device is used to obtain an image captured by the under-screen camera under the parallel light beam, determine the pixels whose brightness is greater than a brightness threshold from the image, obtain a pixel set, calculate the distance between each pixel in the pixel set and the center point of the image, and for each pixel in the pixel set, calculate the ratio of the brightness of the pixel to the distance from the pixel to the center point of the image, and use the ratio of each pixel in the pixel set to calculate an evaluation value of the diffraction effect of the under-screen camera, so as to evaluate the diffraction effect of the under-screen camera according to the evaluation value.

7. The under-screen camera diffraction effect evaluation system according to claim 6, characterized in that: The beam generating unit comprises: Lasers, which emit monochromatic light; The concave lens is used to convert the monochromatic light emitted by the laser into the parallel light beam.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by the processor, it implements the under-screen camera diffraction effect evaluation method as described in any one of claims 1 to 4.

9. An electronic device, characterized in that: include: processor; A memory for storing one or more programs, which, when executed by the processor, enables the processor to implement the under-screen camera diffraction effect evaluation method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Image processing device, imaging device, evaluation device, image processing method, and optical system evaluation method

    CN101861599A

  • Optical information detection method, device and equipment

    CN112629828A

  • Diffraction suppression optical component design method, display screen and under-screen camera device

    CN113053235A

  • Transmissive display device

    US20120250306A1

  • A dispersive diffraction projection imaging system

    WO2014045045A1