Detection method and device

CN120345239APending Publication Date: 2025-07-18YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380087038.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The prior art is inefficient and low in accuracy when detecting the image sharpness of the projection device, and relies on manual visual inspection or camera detection, which has subjectivity and systematic errors.

Method used

The energy detector detects the energy values ​​of pixel points in different color areas in the image to be detected, and calculates the sharpness parameters of the image, such as CTF or MTF, and then quantitatively evaluates the projection quality of the projection device.

Benefits of technology

Accurate detection of image clarity of projection equipment is achieved, detection efficiency and accuracy are improved, and cost and error are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120345239A_ABST
    Figure CN120345239A_ABST
Patent Text Reader

Abstract

The invention discloses a detection method and device, relates to the technical field of projection equipment, and can simply and efficiently obtain a more accurate definition value of a projected to-be-detected image so as to quantitatively obtain a projection quality value of the projection equipment. According to the method, an energy detector detects pixel point energy values of different color areas of an image to be detected, a first parameter of the image to be detected is obtained through calculation according to the energy values, and the first parameter can represent the definition of the image to be detected. The projection quality of the projection device can be determined according to the first parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Detection method and device Technical Field

[0001] The present invention relates to the technical field of projection equipment, and in particular to a detection method and device. Background Art

[0002] Projection equipment primarily consists of an electromechanical control unit and an optical system. During the production process, key optical components in the optical system must be adjusted to ensure that the projected image meets standard clarity and ensures continued use.

[0003] In the related art, manual visual inspection or camera-based image acquisition are usually used to determine the clarity of the projected image, thereby determining the resolution of the projection device. However, these two detection methods are inefficient and have relatively low accuracy.

[0004] Summary of the Invention

[0005] The present application provides a detection method and device, which can simply and efficiently obtain a more accurate clarity value of the projected image to be detected, and further can quantitatively obtain the projection quality value of the projection device.

[0006] In order to achieve the above objectives, the embodiments of the present application provide the following technical solutions:

[0007] In the first aspect, the present application provides a detection method, which includes: obtaining a first energy value of a first area and a second energy value of a second area of ​​an image to be detected; the first area is a single-pixel projection area of ​​a first color; the second area is a single-pixel projection area of ​​a second color adjacent to the first area; the image to be detected includes at least one first area and at least one second area; the first energy value and the second energy value are used to calculate a first parameter of the image to be detected, and the first parameter is used to represent the clarity of the image to be detected.

[0008] That is, the energy detector can detect the first energy value of the first area and the second energy value of the second area in the image to be detected. For example, as shown in Figure 4, the first energy value Ew1 of the first area 401 is 250, the second energy value Ed1 of the second area 402 is 16, the second energy value Ed2 of the second area 403 is 16, the second energy value Ed3 of the second area 404 is 14, and the second energy value Ed4 of the second area 405 is 20. The first energy value and the second energy value can be used to calculate the first parameter of the image to be detected. The first parameter can be CTF or MTF, which is used to represent the clarity of the image to be detected. In this way, a more accurate clarity value of the projected image to be detected can be obtained simply and efficiently, and then the projection quality value of the projection device can be quantitatively obtained.

[0009] In a possible implementation, the method further includes: acquiring a third energy value; the third energy value is the background light energy value in the detection environment; and the first energy value, the second energy value, and the third energy value are used to calculate a first parameter of the image to be detected.

[0010] Optionally, the first energy value and the second energy value include the effect of background light. In this embodiment of the present application, the difference between the first energy value and the third energy value, and the difference between the second energy value and the third energy value, can be calculated to remove the effect of background light. For example, the third energy value Ebk can be 2.

[0011] In this way, by removing the influence of background light, a more accurate clarity value of the image to be detected can be obtained, and then the projection quality value of the projection device can be quantitatively obtained.

[0012] In a possible implementation, the image to be detected includes a plurality of first regions, and the plurality of first regions are arranged continuously in a horizontal direction.

[0013] Optionally, at least one side of a first region is adjacent to another first region. For example, as shown in FIG5 , multiple first regions are arranged horizontally in a row. In this way, the effect of a first region on the vertical energy value of an adjacent second region in the image to be detected can be detected, thereby determining the clarity of the image to be detected.

[0014] In one possible implementation, the image to be inspected includes multiple first regions, which are arranged vertically in a continuous pattern. Optionally, at least one side of a first region is adjacent to another first region. For example, as shown in FIG6 , the multiple first regions are arranged vertically in a continuous pattern. In this way, the effect of a first region on the horizontal energy value of an adjacent second region in the image to be inspected can be measured, thereby determining the clarity of the image to be inspected.

[0015] In one possible implementation, the image to be detected includes multiple first regions arranged in a cross shape. Optionally, at least one side of a first region is adjacent to another first region. Exemplarily, as shown in FIG7 , the multiple first regions are arranged in a cross shape. In this way, the impact of a first region on the energy value of an adjacent second region in the image to be detected can be detected in the vertical and horizontal directions, thereby determining the clarity of the image to be detected.

[0016] In one possible implementation, the first energy value and the second energy value are used to calculate a first parameter of the image to be detected, including: The second parameter and the second energy value are used to calculate the first parameter of the image to be detected; the second parameter includes at least one of an average, a weighted average, and a median of multiple first energy values. In this way, an error in the second parameter is reduced, and the accuracy of the calculation result is improved.

[0017] In one possible implementation, the first, second, and third energy values ​​are used to calculate a first parameter of the image to be detected, including: the second parameter, the second, and third energy values ​​are used to calculate the first parameter of the image to be detected; the second parameter includes at least one of an average, a weighted average, and a median of the plurality of first energy values. In this manner, errors in the second parameter are reduced, the influence of background light is eliminated, and the accuracy of the calculation result is improved.

[0018] In one possible implementation, the first energy value and the second energy value are used to calculate a first parameter of the image to be detected. The first energy value and a third parameter are used to calculate the first parameter of the image to be detected; the third parameter includes at least one of an average, a weighted average, and a median of multiple second energy values. In this way, an error in the third parameter is reduced, and the accuracy of the calculation result is improved.

[0019] In one possible implementation, the first energy value, the second energy value, and the third energy value are used to calculate a first parameter of the image to be detected, including: the first energy value, the third parameter, and the third energy value are used to calculate the first parameter of the image to be detected; the third parameter includes at least one of an average, a weighted average, and a median of multiple second energy values. In this way, the error of the third parameter is reduced, the influence of background light is eliminated, and the accuracy of the calculation result is improved.

[0020] In a possible implementation, the first parameter includes an optical modulation transfer function MTF or a contrast transfer function CTF.

[0021] In one possible implementation, the first energy value and the second energy value are used to calculate a first parameter of the image to be detected, including: the first parameter includes a first horizontal parameter and a first vertical parameter; the first horizontal parameter is calculated from the second horizontal parameter and the third horizontal parameter; the second horizontal parameter includes the second parameter of multiple first regions arranged continuously in the horizontal direction; the third horizontal parameter includes the third parameter of multiple second regions arranged continuously in the horizontal direction; the first horizontal parameter is calculated from the second vertical parameter and the third vertical parameter; the second vertical parameter includes the second parameter of multiple first regions arranged continuously in the vertical direction; the third vertical parameter includes the third parameter of multiple second regions arranged continuously in the vertical direction. In this way, the horizontal and vertical clarity of the image to be detected can be calculated, further improving the accuracy of the calculation results.

[0022] In one possible implementation, the first energy value, the second energy value, and the third energy value are used to calculate the first parameter of the image to be detected, including: the first parameter includes a first horizontal parameter and a first vertical parameter; the first horizontal parameter is calculated from the second horizontal parameter, the third horizontal parameter, and the third energy value; the second horizontal parameter includes the second parameter of multiple first areas arranged continuously in the horizontal direction; the third horizontal parameter includes the third parameter of multiple second areas arranged continuously in the horizontal direction; the first horizontal and vertical parameters are calculated from the second vertical parameter, the third vertical parameter, and the third energy value; the second vertical parameter includes the second parameter of multiple first areas arranged continuously in the vertical direction; the third vertical parameter includes the third parameter of multiple second areas arranged continuously in the vertical direction. In this way, the horizontal and vertical clarity of the image to be detected can be calculated, and the influence of background light is eliminated, further improving the accuracy of the calculation results.

[0023] In a possible implementation, the method further includes: the first color is white and the second color is black, wherein the white first area has the most obvious influence on the energy value of the black second area, the calculated result is more representative, and the calculation process is simpler.

[0024] In the second aspect, the present application provides a detection device for detecting the resolution of a projection device, including a receiving screen and an energy detector, wherein the projection device is used to project an image to be detected, and the image to be detected includes at least one first area and at least one second area; the first area is a single-pixel projection area of ​​a first color; the second area is a single-pixel projection area of ​​a second color adjacent to the first area; the receiving screen is used to receive and display the image to be detected; the energy detector is used to obtain a first energy value of the first area and a second energy value of the second area in the image to be detected; the first energy value and the second energy value are used to calculate a first parameter of the image to be detected, and the first parameter is used to represent the clarity of the image to be detected.

[0025] In a possible implementation, the energy detector is further used to obtain a third energy value, which is the background light energy value in the detection environment; the first energy value, the second energy value and the third energy value are used to calculate the first parameter of the image to be detected.

[0026] In a possible implementation, the energy detector includes at least one of an illuminance meter and an optical power meter.

[0027] Optionally, the energy detector may also be other devices that can detect the energy value of a pixel point, and the embodiments of the present application do not impose any specific limitation on this.

[0028] In one possible implementation, the energy detector is used to obtain a first energy value of a first area and a second energy value of a second area of ​​the image to be detected, including: the energy detector includes a light hole, the light hole is used to detect the first energy value of the first area and the second energy value of the second area of ​​the image to be detected; the area of ​​the light hole is smaller than or equal to the display area of ​​a single pixel point in the image to be detected projected onto the receiving screen.

[0029] For example, as shown in FIG8(a), the display area of ​​a single pixel in the image to be detected projected onto the receiving screen may be area 801, and the area of ​​the light hole may be area 802, where area 802 is smaller than area 801. Alternatively, as shown in FIG8(b), the display area of ​​a single pixel in the image to be detected projected onto the receiving screen may be area 803, and the area of ​​the light hole may be area 804, where area 802 overlaps with area 801. In this way, the energy detector can detect the energy value of a pixel through the light hole.

[0030] In one possible implementation, the apparatus further includes a translation stage, wherein the translation stage is used to secure the projection device or the energy detector. The translation stage includes at least a first axis and a second axis, and the first and second axes are coplanar and non-parallel. In this manner, the translation stage can control the projection device or the energy detector to move along the first and second axes to detect energy values ​​at multiple pixels.

[0031] In a possible implementation, the first axis and the second axis are perpendicular to each other. In this way, the translation stage can control the projection device or the energy detector to move in the horizontal and vertical directions to detect the energy values ​​of multiple pixels.

[0032] In one possible implementation, the translation stage also includes a third axis perpendicular to the plane of the first and second axes. This allows the translation stage to control the forward and backward movement of the projection device or energy detector to determine the appropriate position for detection. The energy detector's light aperture plane can be moved parallel to the receiving screen plane. Alternatively, the area of ​​a single pixel in the image to be detected can be controlled to be smaller than the area of ​​the energy detector's light aperture.

[0033] In one possible implementation, the apparatus further includes a terminal device, wherein the terminal device is used to connect to and control the translation stage to move in the first axis direction or the second axis direction; the terminal device is also used to connect to an energy detector to receive a first energy value, a second energy value, and a third energy value obtained from the energy detector; and calculate a first parameter of the image to be detected based on the first energy value, the second energy value, and the third energy value.

[0034] In a possible implementation, the terminal device is further configured to connect to a projection device and control the projection device to project the image to be detected.

[0035] In a third aspect, the present application provides an energy detector, comprising: an energy detector used to obtain a first energy value of a first area of ​​an image to be detected and a second energy value of a second area; the first area is a single-pixel projection area of ​​a first color; the second area is a single-pixel projection area of ​​a second color adjacent to the first area; the image to be detected includes at least one first area and at least one second area; the first energy value and the second energy value are used to calculate a first parameter of the image to be detected, and the first parameter is used to represent the clarity of the image to be detected.

[0036] In a possible implementation, the energy detector is further used to obtain a third energy value; the third energy value is the background light energy value in the detection environment; the first energy value, the second energy value and the third energy value are used to calculate the first parameter of the image to be detected.

[0037] In a fourth aspect, the present application provides a terminal device, including: obtaining a first energy value and a second energy value; the first energy value includes the energy value of a first area in the image to be detected; the second energy value includes the energy value of a second area in the image to be detected; the first area is a single-pixel projection area of ​​a first color; the second area is a single-pixel projection area of ​​a second color adjacent to the first area; the image to be detected includes at least one first area and at least one second area; calculating a first parameter of the image to be detected based on the first energy value and the second energy value, the first parameter being used to represent the clarity of the image to be detected.

[0038] In a possible implementation, the method further includes: obtaining a third energy value, where the third energy value is the background light energy value in the detection environment; and calculating a first parameter of the image to be detected based on the first energy value, the second energy value, and the third energy value.

[0039] In a fifth aspect, the present application provides a computer-readable storage medium, which includes a computer program or instructions. When the computer program or instructions are run on a business processing device, the business processing device executes the method described in the first aspect.

[0040] In the sixth aspect, the present application provides a chip system comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes a method as described in any one of the above-mentioned first aspects.

[0041] In a seventh aspect, the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method as described in any one of the first aspects.

[0042] In an eighth aspect, an embodiment of the present application provides a circuit system, the circuit system including a processing circuit, and the processing circuit is configured to execute the method of the first aspect or any one of the implementation methods of the first aspect.

[0043] In the ninth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code, the computer program code comprising computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method of the first aspect or any one of the implementation methods of the first aspect.

[0044] The technical effects corresponding to the third to ninth aspects and any one of the implementation methods of the third to ninth aspects can be referred to the technical effects corresponding to the above-mentioned first to second aspects and any one of the implementation methods of the first to second aspects, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] FIG1 is a schematic structural diagram of a detection system provided in an embodiment of the present application.

[0046] FIG2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

[0047] FIG3 is a flow chart of a detection method provided in an embodiment of the present application.

[0048] FIG4 is a schematic diagram of a pixel arrangement provided in an embodiment of the present application.

[0049] FIG5 is a schematic diagram of another pixel arrangement provided in an embodiment of the present application.

[0050] FIG6 is a schematic diagram of another pixel arrangement provided in an embodiment of the present application.

[0051] FIG. 7 is a schematic diagram of another pixel arrangement provided in an embodiment of the present application.

[0052] FIG8 is a schematic diagram of the size of pixel points and light-entry hole areas provided in an embodiment of the present application.

[0053] FIG9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

[0054] FIG10 is a schematic structural diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The terms "including," "having," and any variations thereof mentioned in the description of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.

[0056] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0057] In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more. "And / or" in this document is merely a description of the association relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone.

[0058] During the production process of projection equipment, it is necessary to test the resolution of the produced projection equipment, adjust the key optical components of the projection equipment, and improve the resolution of the projection equipment so that the image clarity of the projection equipment meets the requirements.

[0059] In some scenarios, after projecting an image, production personnel visually inspect the image's clarity and adjust key optical components to improve it. However, this approach relies on the production staff's experience, increasing labor costs. Furthermore, the human eye's judgment of image clarity is highly subjective, making it difficult to accurately determine the image's clarity, resulting in inaccurate inspection results.

[0060] Alternatively, a camera can be used to monitor the image projected by the projection device to determine its clarity. For example, in patent CN110261069A, an image of the lens under test imaged against a target plate is captured. The resulting detection area on the image consists of multiple black and white line pairs with the same frequency. The clarity of the detection area is then calculated. However, this method can only monitor optical imaging lenses and requires the use of optical imaging equipment such as cameras, which introduces systematic errors and is computationally complex.

[0061] For example, in patent CN110864880A, a camera is first used to obtain a reference value by laminating an opaque film. The film is then removed, and the camera uses a projector to project a black image to obtain a detection value. A correction value is calculated using a normalization formula to obtain the projector's clarity. However, this measurement method is complex, costly, and space-consuming. Furthermore, it requires a camera to capture images, making it susceptible to environmental influences.

[0062] To address the above technical issues, an embodiment of the present application provides a detection method in which an energy detector can detect the energy values ​​of pixels in different color regions of an image to be detected and calculate a first parameter of the image to be detected. The first parameter can represent the clarity of the image to be detected.

[0063] In this way, the clarity of the projected image to be tested can be obtained more accurately, making it convenient for production personnel to adjust the key optical components of the projection equipment according to the clarity of the image to be tested, thereby obtaining a clearer image to be tested.

[0064] The pixel energy value indicates the energy value of each pixel in the image to be detected, and may represent the brightness, saturation, or color intensity of the pixel.

[0065] As shown in FIG1 , it is a schematic diagram of the structure of a detection system according to an embodiment of the present application, which includes a projection device 301 , a receiving screen 302 , and an energy detector 303 . Optionally, the system may further include a terminal device 304 and a translation stage 305 .

[0066] Optionally, the projection device 301 is used to project the image to be detected onto the receiving screen 302; the projection device 301 is also used to be fixed on the translation stage 305. Optionally, the projection device 301 can be, but is not limited to, a projector, and can also be a projection TV, a camera capable of projection, etc.

[0067] Receiving screen 302 is used to receive and display the image to be detected from projection device 301. In some examples, receiving screen 302 can be a hardware-implemented screen. In some examples, projection device 301 can project light onto a surface to form a projected image. For example, projection onto a smooth wall can form a projected image. In this example, the wall can be considered receiving screen 302. This embodiment of the present application is not limited to this.

[0068] The energy detector 303 is used to detect the energy value of the pixel points in the image to be detected; the energy detector 303 is also used to detect the background light energy value; the energy detector 303 is also used to send the detected pixel point energy value and background light energy value in the image to be detected to the terminal device 304; the energy detector 303 is also used to be fixed on the translation stage 305.

[0069] The terminal device 304 is used to receive the pixel energy values ​​and background light energy values ​​in the image to be detected from the energy detector 303 and send them to the terminal device 304, and calculate the first parameter of the image to be detected based on the pixel energy values ​​and background light energy values ​​in the image to be detected. The first parameter can represent the clarity of the image to be detected; the terminal device 304 is also used to connect and control the movement of the translation stage 305.

[0070] Optionally, the terminal device 304 in the embodiment of the present application can be a personal computer (PC), a mobile phone, a tablet computer (Pad), a laptop computer, a desktop computer, a laptop computer with a transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a gateway in smart home, an access point device, a home appliance, a wearable device, a vehicle-mounted device, and the like. The embodiment of the present application does not impose any special restrictions on the specific form of the terminal device.

[0071] The translation stage 305 is used to fix the projection device 301 or the energy detector 303 .

[0072] Figure 2 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. The electronic device includes at least one processor 201, a communication circuit 202, a memory 203, and at least one communication interface 204. The memory 203 may also be included in the processor 201.

[0073] The processor 201 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0074] The communication link 202 may include a pathway for transmitting information between the aforementioned components.

[0075] Communication interface 204 is used to communicate with other devices. In embodiments of the present application, the communication interface can be a module, circuit, bus, interface, transceiver, or other device capable of implementing communication functions, used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be an independently provided transmitter that can be used to send information to other devices, or the transceiver can be an independently provided receiver that is used to receive information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information. Embodiments of the present application do not limit the specific implementation of the transceiver.

[0076] The memory 203 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM may be used, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM), or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be independent and connected to the processor 201 via the communication line 202. The memory 203 may also be integrated with the processor 201.

[0077] The memory 203 is used to store computer-executable instructions for implementing the solution of the present application, and the execution is controlled by the processor 201. The processor 201 is used to execute the computer-executable instructions stored in the memory 203, thereby implementing the detection method provided in the following embodiments of the present application.

[0078] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer programs or other names, which are not specifically limited in the embodiments of the present application.

[0079] In a specific implementation, as an embodiment, the processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 2 .

[0080] In a specific implementation, as an embodiment, an electronic device may include multiple processors, such as processor 201 and processor 205 in Figure 2. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0081] The above-mentioned electronic device can be a general device or a dedicated device, and the embodiment of the present application does not limit the type of the electronic device.

[0082] It should be understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the first electronic device. In other embodiments of this application, the first electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0083] As shown in FIG3 , a detection method is provided in an embodiment of the present application, and the detection method includes steps S101 - S102 .

[0084] S101 : An energy detection apparatus obtains a first energy value of a first area and a second energy value of a second area of ​​an image to be detected.

[0085] The image to be detected includes at least one first area and at least one second area, wherein the first area is a single-pixel projection area of ​​a first color, and the second area is a single-pixel projection area of ​​a second color adjacent to the first area.

[0086] Optionally, the first color may be white and the second color may be black. Alternatively, the first color may be black and the second color may be white. Alternatively, the first color and the second color may be other different colors, which is not specifically limited in the present embodiment.

[0087] Optionally, the embodiment of the present application is introduced by taking the first color being white and the second color being black as an example.

[0088] Optionally, the clarity of the image to be detected can be determined by the influence of the energy value of the white pixel on the energy value of the adjacent black pixel, thereby determining the projection quality of the projection device.

[0089] As shown in Figure 4, the first area is a white single-pixel projection area 401, and the second area is a single-pixel projection area 402 of a second color adjacent to the first area, or a single-pixel projection area 403, or a single-pixel projection area 404, or a single-pixel projection area 405.

[0090] Optionally, the image to be detected may include multiple first regions, and the multiple first regions are arranged continuously in the horizontal direction. Optionally, at least one side of a first region is adjacent to another first region.

[0091] For example, as shown in FIG5 , the image to be detected includes four white first regions that are arranged continuously in the horizontal direction, and the second region may be the six black second regions in the solid line frame 501 .

[0092] Optionally, the image to be detected may include multiple first regions, and the multiple first regions are arranged vertically and continuously. Optionally, at least one side of a first region is adjacent to another first region.

[0093] For example, as shown in FIG6 , the image to be detected includes four white first regions that are vertically arranged continuously, and the second region may be the six black second regions in the solid line frame 601 .

[0094] Optionally, the image to be detected may include multiple first areas, and the multiple first areas are arranged in a cross shape. Optionally, at least one side of a first area is adjacent to another first area.

[0095] For example, as shown in FIG7 , the image to be detected includes 13 white first regions arranged in a cross shape, and the second region may be the 20 black second regions in the solid line frame 701 .

[0096] Optionally, the image to be detected may include multiple first areas, and the multiple first areas may be arranged in other ways, which is not specifically limited in the embodiment of the present application.

[0097] Optionally, the pixel points of the image to be detected may be in a square shape, or in a triangle, hexagon, or other shape, and this embodiment of the present application does not impose any specific limitation on this.

[0098] Optionally, the energy detection device can be a device such as an illuminance meter, an optical power meter, etc. that can detect the energy value of a pixel point, including a light well. The energy detection device can detect the energy value of a pixel point through the light well. The embodiment of the present application does not limit the specific type of energy detector.

[0099] Optionally, the energy detector may be fixed on a translation stage, the translation stage including a first axis and a second axis, the first axis and the second axis being coplanar and non-parallel.

[0100] Optionally, when the projection device is fixed, the translation stage may be controlled to move in the first axis direction or the second axis direction to control the movement of the energy detector to detect the energy values ​​of the pixels in the first area and the second area.

[0101] Optionally, the first axis can be perpendicular to the second axis, so that when the energy detector moves in the direction of the first axis, the energy detector can detect the energy value of the pixel point in the direction of the first axis; when the energy detector moves in the direction of the second axis, the energy detector can detect the energy value of the pixel point in the direction of the second axis.

[0102] Exemplarily, the first axis can be a horizontal direction, and the second axis can be a vertical direction. When the energy detector moves in the direction of the first axis, the energy detector can detect the horizontal energy value of the pixel point in the horizontal direction; when the energy detector moves in the direction of the second axis, the energy detector can detect the vertical energy value of the pixel point in the vertical direction.

[0103] Optionally, the translation stage may further include a third axis perpendicular to the plane of the first and second axes. In this way, the translation stage can move back and forth to control the light hole plane of the energy detector to move to a position parallel to the plane of the receiving screen.

[0104] Optionally, the projection device may be fixed on a translation stage. When the energy detector is fixed, the translation stage may be controlled to move along the first axis or the second axis to control the movement of the projection device, and the energy detector detects the pixels in the first area and the second area.

[0105] Optionally, the translation stage can also control the projection device's forward and backward movement via a third axis, moving it to an appropriate position to project the image to be detected of an appropriate size. For example, the area of ​​a single pixel in the image to be detected can be controlled to be smaller than the area of ​​the energy detector's light aperture.

[0106] Optionally, the mobile station may also be connected to a terminal device, and the terminal device may precisely control the moving distance of the mobile station to ensure that the mobile station moves one pixel at a time.

[0107] Optionally, the terminal device may further control the movement of the mobile station so that the light entrance hole of the energy detector is located at the center of the pixel to be measured.

[0108] Optionally, the energy detection device may obtain a first energy value of a first area and a second energy value of a second area of ​​the image to be detected through the light hole.

[0109] The projection device projects the image to be detected onto the light hole of the energy detector. The light hole can receive the light of the pixel points projected by the projection device, and then analyze and obtain the energy value of the corresponding pixel points.

[0110] Optionally, the light entrance hole of the energy detector is placed in a plane parallel to the receiving screen, and the energy detector is moved to detect a first energy value of a first area and a second energy value of a second area of ​​the image to be detected.

[0111] Wherein, the area of ​​the light hole is smaller than or equal to the display area of ​​the receiving screen projected by a single pixel in the image to be detected. Exemplarily, as shown in FIG8 (a), the display area of ​​the receiving screen projected by a single pixel in the image to be detected may be area 801, and the area of ​​the light hole may be area 802, where area 802 is smaller than area 801. Alternatively, as shown in FIG8 (b), the display area of ​​the receiving screen projected by a single pixel in the image to be detected may be area 803, and the area of ​​the light hole may be area 804, where area 802 overlaps with area 801.

[0112] For example, as shown in FIG4 , the first energy value Ew1 of the first area 401 in the image to be detected is 250. The second energy value Ed1 of the second area 402 is 16, the second energy value Ed2 of the second area 403 is 16, the second energy value Ed3 of the second area 404 is 14, and the second energy value Ed4 of the second area 405 is 20. The first energy value of the first area 401 can be a first horizontal energy value (i.e., the energy value when at least one first area is arranged horizontally) or a first vertical energy value (i.e., the energy value when at least one first area is arranged vertically). The second energy value of the second area 402 and the second energy value of the second area 404 can be second horizontal energy values; the second energy value of the second area 403 and the second energy value of the second area 405 can be second vertical energy values.

[0113] Optionally, the energy detector may also detect the energy values ​​of a plurality of first regions and a plurality of second regions as shown in Figures 5 to 7. The embodiments of the present application will not be described in detail.

[0114] Optionally, the first energy value and the second energy can be used to calculate a first parameter of the image to be detected, and the first parameter is used to represent the clarity of the image to be detected.

[0115] Optionally, the energy detector may send the first energy value and the second energy value to the terminal device, and the terminal device calculates the first parameter of the image to be detected according to the first energy value and the second energy value.

[0116] In one embodiment, the first parameter may be a contrast transfer function (CTF), which may represent the clarity of the image to be detected, wherein a higher CTF indicates a higher clarity of the image to be detected.

[0117] Optionally, the first parameter may include a first horizontal parameter and a first vertical parameter, wherein the first horizontal parameter may be a horizontal CTF, and the first vertical parameter may be a vertical CTF.

[0118] Optionally, the horizontal CTF may be calculated using the second level parameter Ewx and the third level parameter Edx.

[0119] Optionally, the second horizontal parameter Ewx includes second parameters of multiple first regions arranged continuously in a horizontal direction; wherein the second parameter includes at least one of an average, a weighted average, and a median of the multiple first energy values. Optionally, this embodiment of the application uses the example of the second parameter being the average of the multiple first energy values.

[0120] Optionally, the third horizontal parameter Edx includes third parameters of multiple second regions arranged consecutively in a vertical direction; wherein the third parameter includes at least one of an average, a weighted average, and a median of the multiple second energy values. Optionally, this embodiment of the application uses the example where the third parameter is the average of the multiple second energy values.

[0121] Exemplarily, as shown in FIG. 4 , the image to be detected includes a horizontal first area 401 and two horizontal second areas 402 and 404 .

[0122] Among them, the second horizontal parameter Ewx can be the average value of the first energy values ​​of multiple first areas arranged continuously in the horizontal direction. Exemplarily, the second horizontal parameter Ewx can be the average value of the first energy value of the first area 401, which is 250. The third horizontal parameter Edx can be the average value of the second energy values ​​of multiple second areas arranged continuously in the vertical direction. Exemplarily, the third horizontal parameter Edx can be the average value of the first energy value of the second area 402, which is 16. As another example, the third horizontal parameter Edx can be the average value of the first energy value of the second area 404, which is 14. As another example, the third horizontal parameter Edx can be the average value of the first energy values ​​of the second areas 402 and 404, which is (16+14) / 2=15. The embodiment of the present application is introduced by taking the third horizontal parameter Edx as 15 as an example.

[0123] Optionally, the horizontal CTF may be (Ewx-Edx) / (Ewx+Edx)=(250-15) / (250+15)=0.89.

[0124] Optionally, the vertical CTF may also be calculated using the above method. Specifically, the vertical CTF may be calculated using the second vertical parameter Ewy and the third vertical parameter Edy.

[0125] Exemplarily, as shown in FIG4 , the image to be detected includes a vertical first area 401, and two vertical second areas 403 and 405. The second vertical parameter Ewy can be the average value of the first energy values ​​of multiple first areas arranged continuously in the horizontal direction. Exemplarily, the second vertical parameter Ewy can be the average value of the first energy value of the first area 401, which is 250. The third vertical parameter Edy can be the average value of the second energy values ​​of multiple second areas arranged continuously in the vertical direction. Exemplarily, the third vertical parameter Edy can be the average value of the first energy value of the second area 403, which is 16. Exemplarily, the third vertical parameter Edy can be the average value of the first energy value of the second area 405, which is 20. Further exemplarily, the third vertical parameter Edy can be the average value of the first energy values ​​of the second areas 403 and 405, which is (16+20) / 2=18. The embodiment of the present application is introduced by taking the third horizontal parameter Edy as 18 as an example.

[0126] The vertical CTF may be (Ewy-Edy) / (Ewy+Edy)=(250-18) / (250+18)=0.87.

[0127] That is, the first parameter may be a first horizontal parameter of 0.89 and a first vertical parameter of 0.87. The clarity of the image to be detected at this position in the horizontal direction is greater than the clarity in the vertical direction.

[0128] Alternatively, the first and second regions shown in FIG4 may be located at the center of the image to be detected, so that the clarity of the central region of the image to be detected can be detected. The first and second regions may also be located at other locations of the image to be detected (such as an edge region), so that the clarity of other regions of the image to be detected can be detected. Thus, the clarity of all regions of the image to be detected can be obtained.

[0129] In another embodiment, the first parameter may also be an optical modulation transfer function (MTF), which may indicate the clarity of the image to be detected, wherein a higher MTF indicates a higher clarity of the image to be detected.

[0130] Optionally, the first parameter may include a first horizontal parameter and a first vertical parameter, wherein the first horizontal parameter may be a horizontal MTF, and the first vertical parameter may be a vertical MTF.

[0131] Optionally, the terminal device can calculate the MTF based on the CTF. Specifically, horizontal MTF ≈ pi / 4*horizontal CTF = 3.14 / 4*0.89 = 0.7, and vertical MTF ≈ pi / 4*vertical CTF = 3.14 / 4*0.87 = 0.68.

[0132] That is, the first parameter may be a first horizontal parameter of 0.7 and a first vertical parameter of 0.68, wherein the clarity of the image to be detected at this position in the horizontal direction is greater than the clarity in the vertical direction.

[0133] Optionally, the terminal device may also calculate the CTF or MTF of the image to be detected as shown in FIG5-FIG7 , thereby obtaining the clarity of the corresponding position of the image to be detected, which will not be described in detail in the embodiments of the present application.

[0134] In this way, the clarity value of the image to be detected can be obtained simply and efficiently, and then the projection quality value of the projection device can be quantitatively obtained, with simple operation, low cost and small error.

[0135] In one embodiment, the embodiment of the present application may include step S102.

[0136] S102: The energy detector obtains a third energy value. The first energy value, the second energy value, and the third energy value are used to calculate a first parameter of the image to be detected.

[0137] The third energy value is the background light energy value in the detection environment. Specifically, the energy value Ebk of the background light in the detection environment can be measured using an energy detector in a darkroom detection environment. Optionally, the energy value of the background light can also be detected in other detection environments, and this embodiment of the present application does not impose any specific limitation on this.

[0138] Optionally, the energy detector may send the first energy value, the second energy value, and the third energy value to the terminal device, and the terminal device calculates the first parameter of the image to be detected according to the first energy value, the second energy value, and the third energy value.

[0139] In one embodiment, the first parameter may be a contrast transfer function (CTF), which may represent the clarity of the image to be detected, wherein a higher CTF indicates a higher clarity of the image to be detected.

[0140] Optionally, the first parameter may include a first horizontal parameter and a first vertical parameter, wherein the first horizontal parameter may be a horizontal CTF, and the first vertical parameter may be a vertical CTF.

[0141] Optionally, the horizontal CTF may be calculated using the second horizontal parameter Ewx, the third horizontal parameter Edx, and the third energy value Ebk.

[0142] Optionally, the second level parameter Ewx and the third level parameter Edx include the effect of background light, and the difference between the second level parameter Edx, the third level parameter Edx and the third energy value Ebk can be calculated to remove the effect of background light.

[0143] Specifically, the second level parameter for removing the influence of background light is Ewx′=Ewx−Ebk=250−2=248; and the third level parameter for removing the influence of background light is Edx′=Edx−Ebk=15−2=13.

[0144] Optionally, the horizontal CTF may be (Ewx′−Edx′) / (Ewx′+Edx′)=(248−13) / (248+13)=0.9.

[0145] Optionally, the vertical CTF may also be calculated using the above method. Specifically, the vertical CTF may be calculated using the second vertical parameter Ewy, the third vertical parameter Edy, and the third energy value Ebk.

[0146] Exemplarily, as shown in FIG4 , the image to be detected includes a vertical first area 401, and two vertical second areas 403 and 405. The second vertical parameter Ewy can be the average value of the first energy values ​​of multiple first areas arranged continuously in the horizontal direction. Exemplarily, the second vertical parameter Ewy can be the average value of the first energy value of the first area 401, which is 250. The third vertical parameter Edy can be the average value of the second energy values ​​of multiple second areas arranged continuously in the vertical direction. Exemplarily, the third vertical parameter Edy can be the average value of the first energy value of the second area 403, which is 16. Exemplarily, the third vertical parameter Edy can be the average value of the first energy value of the second area 405, which is 20. Further exemplarily, the third vertical parameter Edy can be the average value of the first energy values ​​of the second areas 403 and 405, which is (16+20) / 2=18. The embodiment of the present application is introduced by taking the third horizontal parameter Edy as 18 as an example.

[0147] The second vertical parameter Ewy' after removing the background light effect is Ewy - Ebk = 250 - 2 = 248, and the third vertical parameter Edy' after removing the background light effect is Edy - Ebk = 18 - 2 = 16. Therefore, the vertical CTF can be (Ewy' - Edy') / (Ewy' + Edy') = (248 - 16) / (248 + 16) = 0.88.

[0148] That is, the first parameter may be a first horizontal parameter of 0.9 and a first vertical parameter of 0.88. The clarity of the image to be detected at this position in the horizontal direction is greater than the clarity in the vertical direction.

[0149] Alternatively, the first and second regions shown in FIG4 may be located at the center of the image to be detected, so that the clarity of the central region of the image to be detected can be detected. The first and second regions may also be located at other locations of the image to be detected (such as an edge region), so that the clarity of other regions of the image to be detected can be detected. Thus, the clarity of all regions of the image to be detected can be obtained.

[0150] In another embodiment, the first parameter may also be an optical modulation transfer function (MTF), which may indicate the clarity of the image to be detected, wherein a higher MTF indicates a higher clarity of the image to be detected.

[0151] Optionally, the first parameter may include a first horizontal parameter and a first vertical parameter, wherein the first horizontal parameter may be a horizontal MTF, and the first vertical parameter may be a vertical MTF.

[0152] Optionally, the terminal device can calculate the MTF based on the CTF. Specifically, horizontal MTF ≈ pi / 4*horizontal CTF = 3.14 / 4*0.9 = 0.71, and vertical MTF ≈ pi / 4*vertical CTF = 3.14 / 4*0.88 = 0.69.

[0153] That is, the first parameter may be a first horizontal parameter of 0.71 and a first vertical parameter of 0.69, wherein the clarity of the image to be detected at this position in the horizontal direction is greater than the clarity in the vertical direction.

[0154] Optionally, the terminal device may also calculate the CTF or MTF of the image to be detected as shown in FIG5-FIG7 , thereby obtaining the clarity of the corresponding position of the image to be detected, which will not be described in detail in the embodiments of the present application.

[0155] In this way, by removing the influence of background light, a more accurate clarity value of the image to be detected can be obtained, and then the projection quality value of the projection device can be quantitatively obtained.

[0156] It should be understood that some operations in the processes of the above-mentioned method embodiments are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a limitation on the execution order between the steps. There may also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. Those of ordinary skill in the art will think of many ways to reorder the operations described herein. In addition, it should be noted that the process details involved in a certain embodiment of this invention are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.

[0157] Furthermore, some steps in the method embodiments may be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiments.

[0158] Furthermore, the above method embodiments may be implemented separately or in combination.

[0159] Some other embodiments of the present application provide a device, which may be the above-mentioned electronic device or a component in the electronic device (such as a chip system).

[0160] The device may include a display screen, a memory, and one or more processors. The display screen, memory, and processors are coupled. The memory is configured to store computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device may perform the functions or steps performed by the mobile phone in the above-described method embodiments.

[0161] The core structure of the electronic device can be represented as the structure shown in FIG. 9 . The electronic device includes: a processing module 151 , a storage module 152 , a display module 153 and a communication module 154 .

[0162] The processing module 151 may include at least one of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processing module 151 may perform operations or data processing related to the control and / or communication of at least one of the other components of the user electronic device. Optionally, the processing module 151 is configured to support the electronic device in calculating a first parameter of the image to be detected based on the first energy value, the second energy value, and the third energy value.

[0163] The storage module 152 may include volatile memory and / or non-volatile memory. The storage module is used to store at least one instruction or data related to other modules of the user terminal device. Optionally, the storage module 152 is used by the electronic device 10 to store the first energy value, the second energy value, the third energy value, and the first parameter.

[0164] The display module 153 may include, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a micro-electromechanical system (MEMS) display, or an electronic paper display. It is used to display user-viewable content (e.g., text, images, videos, icons, symbols, etc.). Optionally, the display module 153 is used to display calculation results of the electronic device, such as the first parameter.

[0165] The communication module 154 is used to support the personal terminal to communicate with other personal terminals (via a communication network). For example, the communication module can be connected to a network via wireless communication or wired communication to communicate with other personal terminals or a network server. The wireless communication can adopt at least one of cellular communication protocols, such as Long Term Evolution (LTE), Long Term Evolution-Advanced (LTE-A), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Universal Mobile Telecommunications System (UMTS), Wireless Broadband (WiBro), or Global System for Mobile Communications (GSM). The wireless communication can include, for example, short-range communication. Short-range communication can include at least one of Wireless Fidelity (Wi-Fi), Bluetooth, Near Field Communication (NFC), Magnetic Stripe Transmission (MST), or GNSS. Optionally, the communication module 154 is used to support the electronic device to communicate with the projection electronic device and / or the energy detector and / or the displacement stage.

[0166] The device shown in FIG. 9 may also include more or fewer components, or split some components, or have other ways of arranging components, which is not limited in the embodiments of the present application.

[0167] An embodiment of the present application also provides a chip system, as shown in Figure 10, which includes at least one processor 161 and at least one interface circuit 162. The processor 161 and the interface circuit 162 can be interconnected via lines. For example, the interface circuit 162 can be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit 162 can be used to send signals to other devices (such as the processor 161). Exemplarily, the interface circuit 162 can read instructions stored in the memory and send the instructions to the processor 161. When the instructions are executed by the processor 161, the electronic device can perform the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.

[0168] An embodiment of the present application further provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes the various functions or steps executed by the mobile phone in the above-mentioned method embodiment.

[0169] The embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute the functions or steps executed by the mobile phone in the above method embodiment.

[0170] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described systems, devices, and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0171] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0172] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0173] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0174] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0175] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A detection method, characterized in that: include: Acquire a first energy value of a first area and a second energy value of a second area of ​​the image to be detected; The first area is a single-pixel projection area of ​​a first color; The second area is a single-pixel projection area of ​​a second color adjacent to the first area; the image to be detected includes at least one first area and at least one second area; The first energy value and the second energy value are used to calculate a first parameter of the image to be detected, and the first parameter is used to represent the clarity of the image to be detected.

2. The method according to claim 1, characterized in that The method further comprises: Acquire a third energy value; the third energy value is a background light energy value in the detection environment; The first energy value, the second energy value, and the third energy value are used to calculate a first parameter of the image to be detected.

3. The method according to claim 1 or 2, characterized in that: The image to be detected includes a plurality of the first regions, and the plurality of the first regions are arranged continuously in a horizontal direction.

4. The method according to any one of claims 1 to 3, characterized in that: The image to be detected includes a plurality of the first regions, and the plurality of the first regions are arranged vertically and continuously.

5. The method according to any one of claims 1 to 4, characterized in that: The image to be detected includes a plurality of the first regions, and the plurality of the first regions are arranged in a cross shape.

6. The method according to any one of claims 2 to 5, characterized in that: The first energy value, the second energy value, and the third energy value are used to calculate a first parameter of the image to be detected, including: The second parameter, the second energy value and the third energy value are used to calculate the first parameter of the image to be detected; the second parameter includes at least one of an average value, a weighted average value and a median of the multiple first energy values.

7. The method according to any one of claims 2 to 6, characterized in that: The first energy value, the second energy value, and the third energy value are used to calculate a first parameter of the image to be detected, including: The first energy value, the third parameter and the third energy value are used to calculate the first parameter of the image to be detected; the third parameter includes at least one of the average value, the weighted average value and the median of the multiple second energy values.

8. The method according to any one of claims 1 to 6, characterized in that: The first parameter includes an optical modulation transfer function MTF or a contrast transfer function CTF.

9. The method according to claim 7 or 8, characterized in that: The first energy value, the second energy value, and the third energy value are used to calculate a first parameter of the image to be detected, including: The first parameters include a first horizontal parameter and a first vertical parameter; The first horizontal parameter is calculated by the second horizontal parameter, the third horizontal parameter and the third energy value; the second horizontal parameter includes the second parameters of a plurality of first regions arranged continuously in the horizontal direction; the third horizontal parameter includes the third parameters of the plurality of second regions arranged continuously in the horizontal direction; The first horizontal vertical is calculated by the second vertical parameter, the third vertical parameter and the third energy value; the second vertical parameter includes the second parameters of multiple first areas arranged continuously in the vertical direction; the third vertical parameter includes the third parameters of the multiple second areas arranged continuously in the vertical direction.

10. The method according to any one of claims 1 to 9, characterized in that: The method also includes: the first color is white, and the second color is black.

11. A detection device for detecting the resolution of a projection device, characterized in that: It includes a receiving screen and an energy detector, wherein: The projection device is used to project an image to be detected, wherein the image to be detected includes at least one first area and at least one second area; the first area is a single-pixel projection area of ​​a first color; the second area is a single-pixel projection area of ​​a second color adjacent to the first area; The receiving screen is used to receive and display the image to be detected; The energy detector is used to obtain a first energy value of the first area and a second energy value of the second area in the image to be detected; The first energy value and the second energy value are used to calculate a first parameter of the image to be detected, and the first parameter is used to represent the clarity of the image to be detected.

12. The device according to claim 11, characterized in that The energy detector is further used to obtain a third energy value, where the third energy value is a background light energy value in a detection environment; the first energy value, the second energy value and the third energy value are used to calculate a first parameter of the image to be detected.

13. The device according to claim 11 or 12, characterized in that The energy detector includes at least one of an illuminance meter and an optical power meter.

14. The device according to any one of claims 11 to 13, characterized in that: The energy detector is used to obtain a first energy value of a first area and a second energy value of a second area of ​​an image to be detected, including: The energy detector includes a light well, which is used to detect a first energy value of a first area and a second energy value of a second area of ​​the image to be detected; the area of ​​the light well is smaller than or equal to the display area of ​​a single pixel in the image to be detected projected onto the receiving screen.

15. The device according to any one of claims 11 to 14, characterized in that: The device also includes a translation stage, wherein The translation stage is used to fix the projection device, or the translation stage is used to fix the energy detector; the translation stage includes at least a first axis and a second axis; the first axis and the second axis are coplanar and non-parallel.

16. The device according to claim 15, characterized in that The first axis and the second axis are perpendicular.

17. The device according to claim 15 or 16, characterized in that The translation stage further includes a third axis, which is perpendicular to the plane where the first axis and the second axis are located.

18. The device according to any one of claims 12 to 17, characterized in that: The apparatus further includes a terminal device, wherein: The terminal device is used to connect to and control the translation stage to move in the first axis direction or the second axis direction; The terminal device is also used to connect to the energy detector, receive the first energy value, the second energy value and the third energy value obtained from the energy detector; and calculate the first parameter of the image to be detected according to the first energy value, the second energy value and the third energy value.

19. The device according to claim 18, characterized in that The terminal device is also used to connect to the projection device and control the projection device to project the image to be detected.

20. An energy detector, characterized in that: include: The energy detector is used to obtain a first energy value of a first area and a second energy value of a second area of ​​the image to be detected; The first area is a single-pixel projection area of ​​a first color; The second area is a single-pixel projection area of ​​a second color adjacent to the first area; the image to be detected includes at least one first area and at least one second area; the first energy value and the second energy value are used to calculate a first parameter of the image to be detected, and the first parameter is used to represent the clarity of the image to be detected.

21. The energy detector according to claim 20, characterized in that The energy detector is also used to obtain a third energy value; the third energy value is the background light energy value in the detection environment; the first energy value, the second energy value and the third energy value are used to calculate the first parameter of the image to be detected.

22. A terminal device, characterized in that: include: Acquire a first energy value and a second energy value; the first energy value includes the energy value of a first area in the image to be detected; the second energy value includes the energy value of a second area in the image to be detected; the first area is a single-pixel projection area of ​​a first color; the second area is a single-pixel projection area of ​​a second color adjacent to the first area; the image to be detected includes at least one first area and at least one second area; A first parameter of the image to be detected is calculated according to the first energy value and the second energy value, where the first parameter is used to represent the clarity of the image to be detected.

23. The terminal device according to claim 22, characterized in that: Also includes: Acquire a third energy value, where the third energy value is a background light energy value in the detection environment; A first parameter of the image to be detected is calculated according to the first energy value, the second energy value, and the third energy value.

24. A computer storage medium, characterized in that The method comprises computer instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 10.

25. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method as described in any one of claims 1-10.