Projection screen illumination test method, device, equipment, system and medium
By performing brightness compensation and grayscale ratio calculation on the projected image, and using the center illuminance value and grayscale value to determine the illuminance value, the problem of high cost and low efficiency in DLP optical engine projection image illuminance testing is solved, achieving efficient and low-cost illuminance testing.
Patent Information
- Application Number
- CN202110694577.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-22
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-06-22
AI Technical Summary
Existing technologies suffer from high testing costs and low efficiency in testing the illuminance of DLP optical engine projection images, especially the methods of setting up illuminance meters at multiple locations or manually moving illuminance meters, which lead to high costs and low efficiency.
By acquiring the first image of the projected screen, performing brightness compensation, and then using a lux meter to measure the illuminance and grayscale values at the center position, the illuminance-grayscale ratio is calculated. Combined with the grayscale values of the test areas in the image, the illuminance values of each test area are determined, achieving efficient testing without having to move the lux meter multiple times.
It reduces testing costs, improves testing efficiency, and enables the testing of illuminance on projected images to be completed using only one illuminance meter.
Smart Images

Figure CN113554560B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of projection technology, and more specifically, to a method for testing the illumination of a projection screen, a device for testing the illumination of a projection screen, an electronic device, and a computer-readable storage medium. Background Art
[0002] Illumination testing of the images projected by DLP optical machines has become an essential testing procedure before DLP optical machines leave the factory.
[0003] At present, the means of testing the illumination of the image projected by the DLP optical machine are usually as follows: using the DLP optical machine to project and form a projection image. Setting up illuminance meters at multiple positions on the projection image, and using the illuminance meters to test the illumination values of the corresponding positions. Alternatively, using one illuminance meter, manually moving the illuminance meter to multiple positions on the projection image, so as to test the illumination values at multiple positions on the projection image.
[0004] However, the method of respectively setting illuminance meters at multiple positions on the projection screen has high testing cost, while the method of manually moving an illuminance meter to multiple positions on the projection screen has low testing efficiency. Summary of the invention
[0005] One purpose of the present application is to provide a new technical solution for testing the illumination of a projection image.
[0006] According to a first aspect of the present application, a method for measuring the illumination of a projection screen is provided, comprising:
[0007] Acquire a first image, wherein the first image includes a projection picture;
[0008] Performing brightness compensation on the first image to obtain a second image;
[0009] Acquire the illumination value of the center position of the first image and the grayscale value of the center area of the second image;
[0010] Determining an illumination grayscale ratio according to an illumination value at a center position of the first image and a grayscale value of a center area of the second image;
[0011] The illumination value of the corresponding test area is determined according to the illumination grayscale ratio and the grayscale value of the test area in the second image.
[0012] Optionally, performing brightness compensation on the first image to obtain a second projection picture includes:
[0013] Get the grayscale image of the light plate;
[0014] Calculate the grayscale value of the central area of the light plate grayscale image;
[0015] Determine the ratio between the grayscale value of the central area of the light plate grayscale image and the grayscale value of each pixel in the light plate grayscale image as the correction parameter value of the corresponding pixel;
[0016] The first image is brightness compensated using the correction parameter value of each pixel to obtain the second image.
[0017] Optionally, acquiring the light plate grayscale image includes:
[0018] Acquire at least two frames of light plate images;
[0019] Calculating the average pixel value of pixels at the same position of the at least two frames of light plate images to obtain an intermediate image;
[0020] Grayscale processing is performed on the intermediate image to obtain a light plate grayscale image.
[0021] Optionally, the method further includes:
[0022] Determining an average illumination value of the second image according to the illumination value of the test area;
[0023] An average brightness value of the projection picture is determined according to the average illumination value and the area of the second image.
[0024] Optionally, after acquiring the first image, the method further includes:
[0025] A projection picture is extracted from the first image, and the first image is updated to the projection picture.
[0026] According to a second aspect of the present application, a device for testing the illumination of a projection screen is provided, comprising:
[0027] A first acquisition module, used to acquire a first image, wherein the first image includes a projection picture;
[0028] A compensation module, used for performing brightness compensation on the first image to obtain a second image;
[0029] A second acquisition module, used to acquire the illumination value of the center position of the first image and the grayscale value of the center area of the second image;
[0030] A first determination module, configured to determine an illumination grayscale ratio according to an illumination value at a center position of the first image and a grayscale value of a center area of the second image;
[0031] The second determination module is used to determine the illumination value of the corresponding test area according to the illumination grayscale ratio and the grayscale value of the test area in the second image.
[0032] Optionally, the compensation module includes:
[0033] An acquisition unit, used for acquiring a grayscale image of the light plate;
[0034] A calculation unit, used for calculating the grayscale value of the central area of the light plate grayscale image;
[0035] a determination unit, configured to determine a ratio between a grayscale value of a central area of the light plate grayscale image and a grayscale value of each pixel in the light plate grayscale image as a correction parameter value of a corresponding pixel;
[0036] The compensation unit is used to perform brightness compensation on the first image using the correction parameter value of each pixel to obtain the second image.
[0037] According to a third aspect of the present application, an electronic device is provided, the electronic device comprising the apparatus as described in any one of the second aspects; or,
[0038] The system comprises a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of the first aspects.
[0039] According to a fourth aspect of the present application, a projection screen illumination test system is provided, comprising: an image acquisition device, an illuminance meter, and the electronic device as described in the third aspect;
[0040] Wherein, the image acquisition device is used to acquire a first image, wherein the first image includes a projection picture;
[0041] The illuminance meter is used to collect the illuminance value at the center position of the first image.
[0042] According to a fifth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of the first aspects is implemented.
[0043] In this embodiment, a method for testing the illumination of a projection screen is provided, the method comprising: obtaining a first image, the first image including the projection screen; performing brightness compensation on the first image to obtain a second image; obtaining the illumination value at the center of the first image and the grayscale value of the center area of the second image; determining the illumination grayscale ratio according to the illumination value at the center of the first image and the grayscale value of the center area of the second image; determining the illumination value of the corresponding test area according to the illumination grayscale ratio and the grayscale value of the test area in the second image. In this way, on the first hand, the illumination test of the projection screen can be achieved by using one illuminometer, which reduces the test cost. On the second hand, the illumination test of the projection screen can be achieved without manually moving the illuminometer to multiple positions of the projection screen multiple times, which improves the test efficiency.
[0044] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
[0046] Figure 1 It is a block diagram of the hardware configuration of an electronic device for implementing a method for testing the illumination of a projection screen according to an embodiment of the present application;
[0047] Figure 2 It is a flow chart of a method for implementing an illumination test of a projection screen provided in an embodiment of the present application.
[0048] Figure 3 is a schematic diagram of a first image provided in an embodiment of the present application;
[0049] Figure 4 It is a structural schematic diagram of an illumination testing device for a projection screen provided in an embodiment of the present application;
[0050] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0051] Figure 6 It is a structural schematic diagram of an illumination test system for a projection screen provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0053] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0054] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0055] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0056] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0057] <Hardware Configuration Example>
[0058] Figure 1 It is a block diagram of the hardware configuration of an electronic device for implementing a method for testing the illumination of a projection image according to an embodiment of the present application.
[0059] The electronic device 1000 may be a terminal or a server. Further, the terminal may be a portable computer, a tablet computer, a palmtop computer, etc. The server may be a cloud server, etc.
[0060] The electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, and the like. The memory 1200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, and the like. The interface device 1300 may include, for example, a USB interface, a headphone interface, and the like. The communication device 1400 may, for example, be capable of wired or wireless communication. The display device 1500 may be, for example, a liquid crystal display screen, a touch display screen, and the like. The input device 1600 may include, for example, a touch screen, a keyboard, and the like. The user may input / output voice information through the speaker 1700 and the microphone 2800.
[0061] Despite Figure 1 In the figure, multiple devices are shown for the electronic device 1000, but the present invention may only involve some of the devices, for example, the electronic device 1000 only involves the memory 1200 and the processor 1100.
[0062] Applied in the embodiment of the present application, the memory 1200 of the electronic device 1000 is used to store instructions, and the instructions are used to control the processor 1100 to execute the illumination test method of the projection screen provided in the embodiment of the present application.
[0063] In the above description, the technician can design instructions according to the scheme disclosed in this application. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.
[0064] <Method Example>
[0065] The present application embodiment provides a method for testing the illumination of a projection screen. Figure 2 As shown, the method includes the following S2100-S2500:
[0066] S2100: Acquire a first image, where the first image includes a projection picture.
[0067] In this embodiment, the projection picture is a picture projected by a projector, wherein the projector can be exemplarily a DLP (Digital Light Processing) optical machine.
[0068] It can be understood that the illumination test method of the projection screen provided in the embodiment of the present application is specifically a method for testing the illumination of the screen projected by the projector.
[0069] In this embodiment, the specific implementation of S2100 may be: using an image acquisition device to take a picture of the screen projected by the projector to obtain a first image. The image acquisition device sends the first image to a Figure 1 Electronic equipment shown.
[0070] Exemplarily, the above-mentioned image acquisition device may be an industrial camera.
[0071] S2200: Perform brightness compensation on the first image to obtain a second image.
[0072] In this embodiment, due to the lens of the image acquisition device, the brightness of the surrounding area in the first image acquired by the image acquisition device is lower than that of the central area. Therefore, in order to obtain accurate illumination of the projection screen, it is necessary to perform brightness compensation on the first image so that the brightness of each area of the compensated first image is consistent.
[0073] In this embodiment, the second image is an image with uniform brightness in each area.
[0074] S2300: Obtain the illumination value of the center position of the first image and the grayscale value of the center area of the second image.
[0075] In this embodiment, the illuminance meter is placed at the center of the first image, and the illuminance value collected by the illuminance meter is used as the illuminance value at the center of the first image.
[0076] In this embodiment, the grayscale value of the central area of the second image is: the grayscale value corresponding to a pixel at any position in the central area of the second image, or the average grayscale value of pixels contained in the central area of the second image.
[0077] In one embodiment, the size of the central area of the second image may be the same as the size of the lighting area of the above-mentioned illuminance meter, which provides a basis for the accuracy of the illuminance grayscale ratio determined in the subsequent S2300.
[0078] In one embodiment, before executing the illumination test method for the projection screen provided in the embodiment of the present application, an illuminance meter may be placed at the center of the first image. On this basis, since the center of the first image is blocked by the illuminance meter, the corresponding part of the projection screen does not exist in the center area of the second image. Therefore, Figure 3 As shown, the area adjacent to the illuminance meter may be corresponded to the area in the second image as the central area of the second image.
[0079] In another embodiment, after obtaining the second image, the illuminance meter may be placed at the center of the first image, and the illuminance meter may collect the illuminance value at the center of the first image.
[0080] S2400: Determine a grayscale-to-illuminance ratio according to the illuminance value at the center of the first image and the grayscale value of the center area of the second image.
[0081] In this embodiment, the above S2400 is specifically implemented as follows: the ratio between the illumination value at the center of the first image and the grayscale value of the second image region is used as the grayscale illumination ratio.
[0082] S2500 , determining an illumination value of a corresponding test area according to the illumination-to-grayscale ratio and the grayscale value of the test area in the second image.
[0083] In this embodiment, the test area of the second image may be a plurality of areas evenly distributed in the second image, and the illumination of the plurality of areas may represent the illumination of the projection screen. Figure 3 The small rectangular area shown.
[0084] In this embodiment, the size of the test area is generally the same as the size of the central area of the second image, and the test area may include the central area of the second image.
[0085] In this embodiment, the grayscale value of the test area in the second image may be: the grayscale value corresponding to a pixel at any position in the test area in the second image, or the average grayscale value of pixels contained in the test area in the second image.
[0086] In this embodiment, the specific implementation of the above S2500 may be: determining the product of the grayscale value of the test area in the second image and the illuminance grayscale ratio as the illuminance value of the corresponding test area.
[0087] In this embodiment, the difference in illumination at different positions of the projection screen can be determined by measuring the difference between the illumination values of the test area.
[0088] In this embodiment, a method for testing the illumination of a projection screen is provided, the method comprising: obtaining a first image, the first image including the projection screen; performing brightness compensation on the first image to obtain a second image; obtaining the illumination value at the center of the first image and the grayscale value of the center area of the second image; determining the illumination grayscale ratio according to the illumination value at the center of the first image and the grayscale value of the center area of the second image; determining the illumination value of the corresponding test area according to the illumination grayscale ratio and the grayscale value of the test area in the second image. In this way, on the first hand, the illumination test of the projection screen can be achieved by using one illuminometer, which reduces the test cost. On the second hand, the illumination test of the projection screen can be achieved without manually moving the illuminometer to multiple positions of the projection screen multiple times, which improves the test efficiency.
[0089] In one embodiment, the illumination test method of the projection screen provided by the embodiment of the present application further includes the following S2600 and S2700:
[0090] S2600: Determine an average illumination value of the second image according to the illumination value of the test area.
[0091] In this embodiment, an average value is taken for the illumination values of the test area, and the average value is used as the average illumination value of the second image.
[0092] S2700: Determine an average brightness value of the projection image according to the average illumination value and the area of the second image.
[0093] In this embodiment, the product of the average illumination value and the area of the second image is used as the average brightness value of the projection picture.
[0094] In this embodiment, the average brightness value of the projection picture can also be obtained according to the illumination value of the detection area, so that more parameter information of the projection picture can be obtained.
[0095] In one embodiment, the illumination test method of the projection screen provided in the embodiment of the present application further includes the following S2110 after the above S2100:
[0096] S2110: extract a projection picture from the first image, and update the first image to the projection picture.
[0097] In this embodiment, since the illumination detection is performed on the projection screen, the first image will inevitably contain a background screen other than the projection screen. Therefore, in order to perform an accurate illumination test on the projection screen, the background screen in the first image can be removed to obtain a pure projection screen. On this basis, the first image needs to be updated to the projection screen.
[0098] In one embodiment, after the first image is acquired, the first image may be output to an editable interface, and the tester may manually remove the background image in the first image.
[0099] It should be noted that the embodiment of the present application does not limit the method of removing the background image in the first image. Any method of removing the background image in the first image is within the scope of protection of the present application.
[0100] In one embodiment, the above S2200 may be implemented by the following S2210-S2240:
[0101] S2210, obtaining a grayscale image of the light plate.
[0102] In one embodiment, the specific implementation of the above S2210 may be: placing the light board in front of the image acquisition device, adjusting the exposure time of the image acquisition device and the brightness of the light board to ensure that the brightness of the image acquired by the image acquisition is not too low or too high (overexposure); the image acquisition device acquires an image of the light board once; and grayscale processing is performed on the image of the light board acquired by the image acquisition device to obtain a grayscale image of the light board.
[0103] It should be noted that the light plate is a uniform and stable light plate, that is, theoretically, the brightness corresponding to each position of the light plate is the same. In addition, the image of the light plate captured by the image acquisition device only includes the image corresponding to all or part of the light plate, and does not include the image corresponding to the background other than the light plate.
[0104] S2220, calculating the grayscale value of the central area of the light plate grayscale image.
[0105] In this embodiment, the grayscale value of the central area of the light plate grayscale image may be: the grayscale value corresponding to a pixel at any position in the central area of the light plate grayscale image, or the average grayscale value of pixels contained in the central area of the light plate grayscale image.
[0106] It should be noted that the size of the central area of the light plate grayscale image can be determined based on experience.
[0107] S2230: Determine the ratio between the grayscale value of the central area of the light plate grayscale image and the grayscale value of each pixel in the light plate grayscale image as the correction parameter value of the corresponding pixel.
[0108] S2240: Perform brightness compensation on the first image using the correction parameter value of each pixel to obtain a second image of the light panel.
[0109] In this embodiment, the above S2240 is specifically implemented as follows: grayscale processing is performed on the first image to obtain a grayscale image corresponding to the first image; for each pixel in the grayscale image of the first image, the grayscale value of the pixel is multiplied by the correction parameter value corresponding to the pixel at the same position of the light plate grayscale image as the grayscale value of the pixel after brightness compensation. The grayscale image whose grayscale value is composed of the grayscale values after brightness compensation is used as the second image.
[0110] It should be noted that the grayscale value of a pixel can reflect the brightness information of the pixel.
[0111] In one embodiment, the above S2210 may be specifically implemented as follows S2210-1 to S2210-3:
[0112] S2210-1. Acquire at least two frames of light board images.
[0113] In this embodiment, the specific implementation of the above S2210-1 can be: placing the light board in front of the image acquisition device, adjusting the exposure time of the image acquisition device and the brightness of the light board to ensure that the brightness of the image captured by the image acquisition is not too low or too high (overexposure); the image acquisition device captures the image of the light board multiple times to obtain at least two frames of light board images.
[0114] It should be noted that the light board is a uniform and stable light board, that is, theoretically, the brightness corresponding to each position of the light board is the same. In addition, the light board image only includes the image corresponding to all or part of the light board, and does not include the image corresponding to the background other than the light board.
[0115] S2210-2. Calculate the average pixel value of pixels at the same position of at least two frames of light board images.
[0116] In this embodiment, the above S2210-2 is specifically implemented as follows: for at least two frames of light board images, pixel values of pixels at the same position are obtained; and the obtained pixel values are averaged to obtain average pixel values of corresponding pixels.
[0117] Taking the pixel value represented by the RGB value as an example, the pixel value averaging process is specifically: averaging the R value of the R channel, averaging the G value of the G channel, and averaging the B value of the B channel.
[0118] S2210-3. Perform grayscale processing on the intermediate image to obtain a light plate grayscale image.
[0119] In this embodiment, the light plate grayscale image is obtained by obtaining at least two frames of light plate images, and noise of the image acquisition device can be eliminated, thereby obtaining a stable light plate grayscale image.
[0120] <Example>
[0121] In combination with the above content, a method for testing the illumination of a projection screen provided in an embodiment of the present application may include the following steps S4001-S4011:
[0122] S4001. Acquire a first image, where the first image includes a projection picture.
[0123] S4002: extract a projection picture from the first image, and update the first image to the projection picture.
[0124] S4003. Acquire at least two frames of light plate images.
[0125] S4004, calculating the average pixel value of pixels at the same position of at least two frames of light plate images to obtain an intermediate image.
[0126] S4005, grayscale processing is performed on the intermediate image to obtain a light plate grayscale image.
[0127] S4006, calculating the grayscale value of the central area of the light plate grayscale image.
[0128] S4007: Determine the ratio between the grayscale value of the central area of the light plate grayscale image and the grayscale value of each pixel in the light plate grayscale image as the correction parameter value of the corresponding pixel.
[0129] S4008. Perform brightness compensation on the first image using the correction parameter value of each pixel to obtain a second image.
[0130] S4009, obtaining the illumination value of the center position of the first image and the grayscale value of the center area of the second image.
[0131] S4010. Determine an illumination grayscale ratio according to an illumination value at a center position of the first image and a grayscale value of a center area of the second image.
[0132] S4011. Determine the illumination value of the corresponding test area according to the illumination-to-grayscale ratio and the grayscale value of the test area in the second image.
[0133] <Device Example>
[0134] The embodiment of the present application provides a projection screen illumination test device 400, such as Figure 4As shown, the device includes: a first acquisition module 410, a compensation module 420, a second acquisition module 430, a first determination module 440 and a second determination module 450. Among them:
[0135] The first acquisition module 410 is used to acquire a first image, where the first image includes a projection picture.
[0136] The compensation module 420 is used to perform brightness compensation on the first image to obtain a second image.
[0137] The second acquisition module 430 is used to acquire the illumination value of the center position of the first image and the grayscale value of the center area of the second image.
[0138] The first determination module 440 is used to determine the illumination grayscale ratio according to the illumination value at the center position of the first image and the grayscale value of the center area of the second image.
[0139] The second determination module 450 is used to determine the illumination value of the corresponding test area according to the illumination grayscale ratio and the grayscale value of the test area in the second image.
[0140] In one embodiment, the compensation module 420 includes: an acquisition unit, a calculation unit, a determination unit, and a compensation unit.
[0141] The acquisition unit is used to acquire the grayscale image of the light plate.
[0142] The calculation unit is used to calculate the grayscale value of the central area of the light plate grayscale image.
[0143] The determination unit is used to determine the ratio between the grayscale value of the central area of the light plate grayscale image and the grayscale value of each pixel in the light plate grayscale image as the correction parameter value of the corresponding pixel.
[0144] The compensation unit is used to perform brightness compensation on the first image using the correction parameter value of each pixel to obtain the second image.
[0145] In one embodiment, the acquisition unit is specifically used to: acquire at least two frames of light board images; calculate the average pixel value of pixels at the same position of the at least two frames of light board images to obtain an intermediate image; and perform grayscale processing on the intermediate image to obtain a light board grayscale image.
[0146] In one embodiment, the illumination test device 400 for a projection screen provided in the embodiment of the present application further includes a third determination module, wherein the third determination module is used to: determine the average illumination value of the second image according to the illumination value of the test area; and determine the average brightness value of the projection screen according to the average illumination value and the area of the second image.
[0147] In one embodiment, the projection screen illumination test device 400 provided in the embodiment of the present application further includes an updating module, wherein the updating module is used to extract the projection screen from the first image and update the first image to the projection screen.
[0148] <Equipment Embodiment>
[0149] An embodiment of the present application provides an electronic device 500, which includes any projection screen illumination testing device 400 provided in the above device embodiments.
[0150] Or, if Figure 5 As shown, it includes a memory 510 and a processor 520, the memory 510 is used to store computer instructions, and the processor 520 is used to call the computer instructions from the memory 510 to execute any method as described in any one of the above method embodiments.
[0151] <System Embodiment>
[0152] The embodiment of the present application provides a projection screen illumination test system 600, such as Figure 6 As shown, it includes: an image acquisition device 610, an illuminance meter 620 and an electronic device 500 as provided in the above device embodiment.
[0153] The image acquisition device 610 is used to acquire a first image, wherein the first image includes a projection picture;
[0154] The illuminance meter 620 is used to collect the illuminance value at the center of the first image.
[0155] <Storage Medium Embodiment>
[0156] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method according to any one of the above method embodiments is implemented.
[0157] The present application may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.
[0158] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: 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), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0159] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0160] The computer program instructions for performing the operation of the present application can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of a computer-readable program instruction to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute a computer-readable program instruction, thereby realizing various aspects of the present application.
[0161] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0162] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0163] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0164] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. 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 consecutive boxes 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 and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0165] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present application is defined by the appended claims.
Claims
1. A method for testing the illumination of a projection screen, characterized in that: include: Acquire a first image, wherein the first image includes a projection picture; Performing brightness compensation on the first image to obtain a second image; Acquire the illumination value of the center position of the first image and the grayscale value of the center area of the second image; Determining an illumination grayscale ratio according to an illumination value at a center position of the first image and a grayscale value of a center area of the second image; The illumination value of the corresponding test area is determined according to the illumination grayscale ratio and the grayscale value of the test area in the second image.
2. The method according to claim 1, characterized in that The performing brightness compensation on the first image to obtain a second projection picture includes: Get the grayscale image of the light plate; Calculate the grayscale value of the central area of the light plate grayscale image; Determine the ratio between the grayscale value of the central area of the light plate grayscale image and the grayscale value of each pixel in the light plate grayscale image as the correction parameter value of the corresponding pixel; The first image is brightness compensated using the correction parameter value of each pixel to obtain the second image.
3. The method according to claim 2, characterized in that The step of obtaining a light plate grayscale image comprises: Acquire at least two frames of light plate images; Calculating the average pixel value of pixels at the same position of the at least two frames of light plate images to obtain an intermediate image; Grayscale processing is performed on the intermediate image to obtain a light plate grayscale image.
4. The method according to claim 1, characterized in that: The method further comprises: Determining an average illumination value of the second image according to the illumination value of the test area; An average brightness value of the projection picture is determined according to the average illumination value and the area of the second image.
5. The method according to claim 1, characterized in that The method further comprises, after acquiring the first image: A projection picture is extracted from the first image, and the first image is updated to the projection picture.
6. A device for testing the illumination of a projection screen, characterized in that: include: A first acquisition module, used to acquire a first image, wherein the first image includes a projection picture; A compensation module, used for performing brightness compensation on the first image to obtain a second image; A second acquisition module, used to acquire the illumination value of the center position of the first image and the grayscale value of the center area of the second image; A first determination module, configured to determine an illumination grayscale ratio according to an illumination value at a center position of the first image and a grayscale value of a center area of the second image; The second determination module is used to determine the illumination value of the corresponding test area according to the illumination grayscale ratio and the grayscale value of the test area in the second image.
7. The device according to claim 6, characterized in that The compensation module comprises: An acquisition unit, used for acquiring a grayscale image of the light plate; A calculation unit, used for calculating the grayscale value of the central area of the light plate grayscale image; a determination unit, configured to determine a ratio between a grayscale value of a central area of the light plate grayscale image and a grayscale value of each pixel in the light plate grayscale image as a correction parameter value of a corresponding pixel; The compensation unit is used to perform brightness compensation on the first image using the correction parameter value of each pixel to obtain the second image.
8. An electronic device, characterized in that: The electronic device comprises the apparatus according to claim 6 or 7; or, The system comprises a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method according to any one of claims 1 to 5.
9. A projection screen illumination test system, characterized in that: include: An image acquisition device, an illuminometer, and an electronic device as claimed in claim 8; Wherein, the image acquisition device is used to acquire a first image, wherein the first image includes a projection picture; The illuminance meter is used to collect the illuminance value at the center position of the first image.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
