Projector intelligent energy saving method, device and projector
By analyzing the grayscale histogram of the projected image and dividing the grayscale set, adjusting the backlight brightness and parameters of the projector, the problems of high energy saving costs and affected image effects in the prior art are solved, and a low-cost projector is realized Energy consumption reduction and picture effect compensation.
Patent Information
- Application Number
- CN202411572010.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-11-06
AI Technical Summary
The existing energy-saving methods of projectors are costly and affect the picture effect, making it difficult to effectively reduce projector energy consumption.
By obtaining the original grayscale histogram of the projected image, dividing the grayscale set, and determining the backlight brightness value according to the pixel proportion of each grayscale set, adjusting the backlight brightness and other parameters of the projector to achieve energy saving effects.
It realizes a low-cost projector energy consumption reduction, reduces the degree to which the picture effect is affected by backlight adjustment, and achieves the purpose of smart energy saving.
Smart Images

Figure CN119068839B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of projector energy saving, and in particular to a method, device and projector for intelligent energy saving of a projector. Background Art
[0002] The current energy-saving method for projectors is mainly to modify the structure of the projector itself, or adjust the backlight brightness according to the projection environment brightness or projection background brightness to reduce projection energy consumption, which can achieve a certain energy-saving effect.
[0003] However, modifying the structure of the projector itself requires certain modification costs, which has the problem of high costs; adjusting the backlight brightness according to the projection environment brightness or the projection background brightness will affect the projection picture effect. Summary of the invention
[0004] The purpose of the present invention is to provide a method, device and projector for intelligent energy saving of a projector, aiming to reduce the use cost, reduce the degree to which the projection picture effect is affected by backlight adjustment, and achieve the purpose of intelligent energy saving of the projector.
[0005] In order to achieve the above-mentioned purpose, a first aspect of an embodiment of the present disclosure provides a method, device and projector for intelligent energy saving of a projector, the method comprising: in response to turning on the intelligent energy saving function of the projector, obtaining an original grayscale histogram of an image projected by the projector, and determining a first proportion of each grayscale pixel in the projected image according to the number of pixels of each grayscale in the original grayscale histogram;
[0006] According to the size of the grayscale, all the pixels of the grayscale are equally divided into a preset number of grayscale sets according to the grayscale size, and according to the first proportion of the pixels of each grayscale in the projected image, a second proportion of the pixels in each grayscale set in the projected image is determined;
[0007] According to the second proportion of the pixel points in each grayscale set in the projected image, from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, determine in sequence whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the preset backlight value of the preset threshold value corresponding to the target grayscale as the backlight brightness value of the projector, wherein each grayscale set is preset with the preset threshold value, and the preset threshold value is inversely proportional to the grayscale size corresponding to the grayscale set, and each preset threshold value is correspondingly preset with the preset backlight value, and the preset backlight value is inversely proportional to the preset threshold value;
[0008] The preset compensation value corresponding to the preset threshold value corresponding to the target grayscale is used as a parameter compensation value, and the backlight brightness of the projector is adjusted according to the backlight brightness value, and the projector parameters of the projector are adjusted according to the parameter compensation value.
[0009] In a possible implementation, according to the second proportion of the pixel points in each grayscale set in the projected image, from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, determining in sequence whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than a preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale is greater than or equal to the preset threshold value corresponding to the grayscale set, and using the preset backlight value of the preset threshold value corresponding to the target grayscale as the backlight brightness value of the projector, including:
[0010] Determine whether a second proportion of the grayscale set with the largest grayscale level is greater than or equal to a preset threshold value corresponding to the grayscale set with the largest grayscale level;
[0011] If the second proportion of the grayscale set with the largest grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector;
[0012] If the second proportion of the grayscale set with the largest grayscale level is less than the preset threshold value corresponding to the grayscale set with the largest grayscale level, then determine the sum of the second proportion of the grayscale set with the second largest grayscale level and the second proportion of the grayscale set with the largest grayscale level, and determine whether the sum of the proportions is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, wherein the preset threshold value corresponding to the grayscale set with the largest grayscale level is greater than the preset threshold value corresponding to the grayscale set with the largest grayscale level;
[0013] If the percentage and value is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector;
[0014] Check in turn whether the sum of the second proportion of the grayscale set of each grayscale level and the second proportion of the grayscale set with a grayscale level greater than that is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the preset backlight value of the preset threshold value corresponding to the target grayscale level as the backlight brightness value of the projector.
[0015] In a possible implementation, the method further includes:
[0016] When the proportions and values corresponding to all the grayscale sets are smaller than the preset threshold value corresponding to the grayscale set, the preset backlight value of the preset threshold value corresponding to the grayscale set with the smallest grayscale level is used as the backlight brightness value of the projector, or the preset minimum backlight value is used as the backlight brightness value of the projector, wherein the preset minimum backlight value is smaller than the preset backlight value corresponding to the grayscale set with the smallest grayscale level.
[0017] In a possible implementation, dividing all the grayscale pixels into a preset number of grayscale level sets according to the grayscale size includes:
[0018] Determining a grayscale range included in each grayscale level set according to the number of the preset number of representations;
[0019] According to the grayscale range corresponding to each grayscale set and according to the size of the grayscale, all the grayscale pixels are evenly divided into each grayscale set according to the grayscale size.
[0020] In a possible implementation, determining a second proportion of pixels in each grayscale set in the projected image according to a first proportion of pixels of each grayscale in the projected image includes:
[0021] Constructing a grayscale set histogram according to the number of the preset number of representations, wherein each grayscale set corresponds to a horizontal coordinate in the grayscale set histogram;
[0022] Determining the grayscale corresponding to the grayscale set according to the grayscale range corresponding to each grayscale set;
[0023] Determine the value of the vertical coordinate of each grayscale set combined with the grayscale set histogram according to a first proportion of grayscale pixels corresponding to the grayscale set in the projection image;
[0024] In the grayscale set histogram, histogram bars are generated according to the values to determine a second proportion of pixels in each grayscale set in the projection image.
[0025] In a possible implementation, determining a first proportion of each grayscale pixel in the projected image according to the number of grayscale pixel in the original grayscale histogram includes:
[0026] Obtaining a resolution of the projected image, and determining a total number of pixels in the projected image according to the resolution;
[0027] According to the percentage of the number of pixels of each gray scale in the original grayscale histogram to the total number of pixels, a first proportion of the pixels of each gray scale in the projected image is determined.
[0028] In a possible implementation, the projector parameter includes: at least one of brightness, contrast, saturation, and clarity;
[0029] The preset compensation value of brightness in the preset compensation value corresponding to the preset threshold value is inversely proportional to the preset threshold value, the preset compensation value of contrast in the preset compensation value corresponding to the preset threshold value is inversely proportional to the preset threshold value, the preset compensation value of saturation in the preset compensation value corresponding to the preset threshold value is directly proportional to the preset threshold value, and the preset compensation value of clarity in the preset compensation value corresponding to the preset threshold value is directly proportional to the preset threshold value.
[0030] According to a second aspect of the embodiments of the present disclosure, a device for intelligent energy saving of a projector is provided, the device comprising:
[0031] A first proportion determination module is configured to obtain an original grayscale histogram of the image projected by the projector in response to turning on the smart energy-saving function of the projector, and determine a first proportion of each grayscale pixel in the projected image according to the number of pixels of each grayscale in the original grayscale histogram;
[0032] A second proportion determination module is configured to divide all the grayscale pixels into a preset number of grayscale sets according to the grayscale size, and determine a second proportion of the pixels in each grayscale set in the projected image according to the first proportion of the pixels in each grayscale set in the projected image;
[0033] A backlight determination module is configured to determine, in sequence from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than a preset threshold value corresponding to the grayscale set, according to the second proportion of the pixel points in each grayscale set in the projected image, until the sum of the proportions corresponding to the grayscale set of any target grayscale is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the preset backlight value of the preset threshold value corresponding to the target grayscale as the backlight brightness value of the projector, wherein each grayscale set is preset with the preset threshold value, and the preset threshold value is inversely proportional to the grayscale size corresponding to the grayscale set, and each preset threshold value is correspondingly preset with the preset backlight value, and the preset backlight value is inversely proportional to the preset threshold value;
[0034] The adjustment module is configured to use the preset compensation value corresponding to the preset threshold value corresponding to the target grayscale as a parameter compensation value, and adjust the backlight brightness of the projector according to the backlight brightness value and adjust the projector parameters of the projector according to the parameter compensation value.
[0035] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods described in the first aspect are implemented.
[0036] According to a fourth aspect of the embodiments of the present disclosure, a projector is provided, including:
[0037] a memory having a computer program stored thereon;
[0038] A processor is used to execute the computer program in the memory to implement the steps of any one of the methods in the first aspect.
[0039] The present invention provides a method, device and projector for intelligent energy saving of a projector. Compared with the prior art, it has the following beneficial effects:
[0040] In response to turning on the intelligent energy-saving function of the projector, an original grayscale histogram of the image projected by the projector is obtained, and according to the number of pixels of each grayscale in the original grayscale histogram, a first proportion of each pixel of the grayscale in the projected image is determined; according to the size of the grayscale, all the pixels of the grayscale are evenly divided into a preset number of grayscale sets according to the grayscale size, and according to the first proportion of each pixel of the grayscale in the projected image, a second proportion of the pixels in each grayscale set in the projected image is determined; according to the second proportion of the pixels in each grayscale set in the projected image, from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the grayscale set are determined in sequence. Whether it is greater than the preset threshold value corresponding to the grayscale set, until the proportion and value corresponding to the grayscale set of any of the target grayscale is greater than or equal to the preset threshold value corresponding to the grayscale set, and the preset backlight value of the preset threshold value corresponding to the target grayscale is used as the backlight brightness value of the projector, wherein each of the grayscale sets is preset with the preset threshold value, and the preset threshold value is inversely proportional to the grayscale size corresponding to the grayscale set, and each of the preset threshold values is correspondingly preset with the preset backlight value, and the preset backlight value is inversely proportional to the preset threshold value; the preset compensation value corresponding to the preset threshold value corresponding to the target grayscale is used as the parameter compensation value, and the backlight brightness of the projector is adjusted according to the backlight brightness value, and the projector parameters of the projector are adjusted according to the parameter compensation value. The backlight brightness of the projector is adjusted by determining the backlight value according to the proportion of grayscale pixel points in the projected image. There is no need to modify the projector, and the energy consumption of the projector can be reduced at a low cost to achieve the purpose of energy saving. The preset compensation value corresponding to the preset threshold value corresponding to the target grayscale is used as the parameter compensation value. The projector parameters of the projector are adjusted according to the parameter compensation value to compensate for the projection picture effect and reduce the degree to which the projection picture effect is affected by the backlight adjustment.
[0041] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0043] Figure 1It is a flowchart of a method for intelligent energy saving of a projector according to an embodiment of the specification.
[0044] Figure 2 It is a grayscale set histogram of a projector intelligent energy saving method shown in an embodiment of the specification.
[0045] Figure 3 A block diagram of a device for intelligent energy saving of a projector is shown according to an embodiment of the specification.
[0046] Figure 4 It is a block diagram of another projector intelligent energy-saving device shown in an embodiment of the specification. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] This application provides a method for intelligent energy saving of a projector. Figure 1 The following is a flow chart of a method for intelligent energy saving of a projector according to an embodiment. The method includes:
[0049] In step S11, in response to turning on the smart energy-saving function of the projector, an original grayscale histogram of the image projected by the projector is obtained, and according to the number of pixels of each grayscale in the original grayscale histogram, a first proportion of each pixel of the grayscale in the projected image is determined;
[0050] The values of the horizontal axis of the original grayscale histogram are grayscales, and the values of the vertical axis are the number of pixels of each grayscale. The first proportion is the percentage of the pixels of each grayscale to the total pixels of the projected image.
[0051] In the disclosed embodiment, in response to turning on the intelligent energy-saving function of the projector, an original grayscale histogram of the image projected by the projector is obtained from the system, and based on the value of the vertical coordinate in the original grayscale histogram, that is, the number of pixels of each grayscale, the percentage of the number of pixels of each grayscale to the total number of pixels of the projected image is calculated to determine the first proportion of the pixel points of each grayscale in the projected image.
[0052] In step S12, according to the size of the grayscale, all the pixels of the grayscale are equally divided into a preset number of grayscale sets according to the grayscale size, and according to the first proportion of the pixels of each grayscale in the projected image, the second proportion of the pixels in each grayscale set in the projected image is determined;
[0053] The preset number may be 16. The second proportion is the sum of the first proportions of all grayscale pixels in each grayscale set in the projection image.
[0054] In the disclosed embodiment, according to the size of the grayscale, all the pixels of the grayscale are evenly divided into 16 grayscale sets according to the grayscale size, that is, the pixels of grayscale 0-15 are divided into the first grayscale set, the pixels of grayscale 16-31 are divided into the second grayscale set, and so on, the pixels of grayscale 240-255 are divided into the sixteenth grayscale set, thereby obtaining 16 grayscale sets. And according to the first proportion of each pixel of the grayscale in the projected image, by calculating the sum of the first proportions of all the pixels of the grayscale in each grayscale set in the projected image, the second proportion of the pixels in each grayscale set in the projected image is determined.
[0055] For example, see Figure 2 As shown, the first proportion of the pixels of order 0-15 in the projected image is added together to obtain: Figure 2 The pixels in the first grayscale set account for 8.54% of the second in the projected image.
[0056] Similarly, the second proportion of the pixels in the second grayscale set to the sixteenth grayscale set in the projected image is calculated, which will not be described in detail here.
[0057] In step S13, according to the second proportion of the pixel points in each grayscale set in the projected image, from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, it is determined in sequence whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale is greater than or equal to the preset threshold value corresponding to the grayscale set, and the preset backlight value of the preset threshold value corresponding to the target grayscale is used as the backlight brightness value of the projector, wherein each grayscale set is preset with the preset threshold value, and the preset threshold value is inversely proportional to the grayscale size corresponding to the grayscale set, and each preset threshold value is correspondingly preset with the preset backlight value, and the preset backlight value is inversely proportional to the preset threshold value;
[0058] In the embodiment of the present disclosure, according to the second proportion of the pixels in each of the grayscale levels in the projected image, it is determined whether the second proportion of the grayscale level set with the largest grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale level set with the largest grayscale level;
[0059] For example, in the above embodiment, the grayscale set with the largest grayscale level is the sixteenth grayscale set, therefore, it is calculated whether the second proportion of the sixteenth grayscale set is greater than or equal to the preset threshold value corresponding to the sixteenth grayscale set.
[0060] If the second proportion of the grayscale set with the largest grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector;
[0061] For example, referring to Table 1, if the second proportion of the sixteenth grayscale level set is greater than or equal to the preset threshold value 5% corresponding to the sixteenth grayscale level set, the preset backlight value 1 of the preset threshold value 5% corresponding to the sixteenth grayscale level set is used as the backlight brightness value of the projector.
[0062] If the second proportion of the grayscale set with the largest grayscale level is less than the preset threshold value corresponding to the grayscale set with the largest grayscale level, then determine the sum of the second proportion of the grayscale set with the second largest grayscale level and the second proportion of the grayscale set with the largest grayscale level, and determine whether the sum of the proportions is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, wherein the preset threshold value corresponding to the grayscale set with the largest grayscale level is greater than the preset threshold value corresponding to the grayscale set with the largest grayscale level;
[0063] For example, in the aforementioned embodiment, the grayscale set with the largest grayscale level is the fifteenth grayscale set. Therefore, referring to Table 1, if the second proportion of the sixteenth grayscale set is less than the preset threshold value of 5% corresponding to the sixteenth grayscale set, then the sum of the second proportion of the fifteenth grayscale set and the second proportion of the sixteenth grayscale set is determined, and it is determined whether the sum of the proportions is greater than or equal to the preset threshold value of 6% corresponding to the fifteenth grayscale set.
[0064] If the percentage and value is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector;
[0065] For example, if the percentage and value is greater than or equal to the preset threshold value 6% corresponding to the fifteenth grayscale set, the preset backlight value 0.95 of the preset threshold value 6% corresponding to the fifteenth grayscale set is used as the backlight brightness value of the projector.
[0066]
[0067] Table 1
[0068] Check in turn whether the sum of the second proportion of the grayscale set of each grayscale level and the second proportion of the grayscale set with a grayscale level greater than that is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the preset backlight value of the preset threshold value corresponding to the target grayscale level as the backlight brightness value of the projector.
[0069] In step S14, the preset compensation value corresponding to the preset threshold value corresponding to the target grayscale is used as a parameter compensation value, and the backlight brightness of the projector is adjusted according to the backlight brightness value, and the projector parameters of the projector are adjusted according to the parameter compensation value;
[0070] The parameter compensation value is a picture quality parameter compensation value for compensating for the picture quality effect of the projected image after adjusting the backlight brightness of the projector.
[0071] In the disclosed embodiment, according to the preset backlight value, a table is looked up to obtain a preset compensation value corresponding to the preset backlight value, the preset compensation value is used as a parameter compensation value, and the backlight brightness of the projector is adjusted according to the backlight brightness value, and the projector parameters of the projector are adjusted according to the parameter compensation value.
[0072] The method in the above technical solution obtains the original grayscale histogram of the image projected by the projector in response to turning on the intelligent energy-saving function of the projector, and determines the first proportion of each grayscale pixel in the projected image according to the number of grayscale pixels in the original grayscale histogram; according to the size of the grayscale, all the grayscale pixels are evenly divided into a preset number of grayscale sets according to the grayscale size, and according to the first proportion of each grayscale pixel in the projected image, the second proportion of the pixels in each grayscale set in the projected image is determined; according to the second proportion of the pixels in each grayscale set in the projected image, the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the grayscale set are determined in sequence from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale. Whether the sum of the proportions of the ratios is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any of the target grayscales is greater than or equal to the preset threshold value corresponding to the grayscale set, and the preset backlight value of the preset threshold value corresponding to the target grayscale is used as the backlight brightness value of the projector, wherein each of the grayscale sets is preset with the preset threshold value, and the preset threshold value is inversely proportional to the grayscale size corresponding to the grayscale set, and each of the preset threshold values is correspondingly preset with the preset backlight value, and the preset backlight value is inversely proportional to the preset threshold value; the preset compensation value corresponding to the preset threshold value corresponding to the target grayscale is used as the parameter compensation value, and the backlight brightness of the projector is adjusted according to the backlight brightness value, and the projector parameters of the projector are adjusted according to the parameter compensation value. The backlight value for adjusting the backlight brightness of the projector is determined according to the proportion of the number of grayscale pixels in the projected image, which is low-cost; and the image quality effect of the projected image is compensated according to the parameter compensation value corresponding to the preset backlight value, thereby reducing the influence of the image quality effect on the decrease in backlight brightness, thereby achieving the effect of intelligent energy saving.
[0073] In a possible implementation, in step S13, according to the second proportion of the pixel points in each grayscale set in the projected image, from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, it is determined in sequence whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than a preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale is greater than or equal to the preset threshold value corresponding to the grayscale set, and the preset backlight value of the preset threshold value corresponding to the target grayscale is used as the backlight brightness value of the projector, including:
[0074] Determine whether a second proportion of the grayscale set with the largest grayscale level is greater than or equal to a preset threshold value corresponding to the grayscale set with the largest grayscale level;
[0075] If the second proportion of the grayscale set with the largest grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector;
[0076] If the second proportion of the grayscale set with the largest grayscale level is less than the preset threshold value corresponding to the grayscale set with the largest grayscale level, then determine the sum of the second proportion of the grayscale set with the second largest grayscale level and the second proportion of the grayscale set with the largest grayscale level, and determine whether the sum of the proportions is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, wherein the preset threshold value corresponding to the grayscale set with the largest grayscale level is greater than the preset threshold value corresponding to the grayscale set with the largest grayscale level;
[0077] If the percentage and value is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector;
[0078] Check in turn whether the sum of the second proportion of the grayscale set of each grayscale level and the second proportion of the grayscale set with a grayscale level greater than that is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the preset backlight value of the preset threshold value corresponding to the target grayscale level as the backlight brightness value of the projector.
[0079] The second proportion of the grayscale set of the grayscale level can be Yx, the second proportion of the grayscale set with the largest grayscale level can be Y15, and the sum of the second proportion of the grayscale set of each grayscale level and the second proportion of the grayscale set with a grayscale level greater than it can be SumYx, SumYx = Y15+Y14+…+ Yx, for example, SumY12 = Y15+Y14+Y13+Y12 。
[0080] In the embodiment of the present disclosure, the code implementation for determining the preset backlight value may be:
[0081] adjustment_backlight_by_ Histogram(){
[0082] IF SumY15>TH1:
[0083] Value_backlight = VA1 backlight value is 1
[0084] Else IF SumY14>TH2:
[0085] Value_backlight = VA2
[0086] Else IF SumY13>TH3:
[0087] Value_backlight = VA3
[0088] Else IF SumY12>TH4:
[0089] Value_backlight = VA4
[0090] Else IF SumY11>TH5:
[0091] Value_backlight = VA5
[0092] …
[0093] Else:
[0094] Value_backlight = VAX
[0095] }
[0096] The corresponding relationship between the preset threshold value corresponding to the grayscale level set and the preset backlight value of the preset threshold value can be referred to as shown in Table 1 in the above embodiment.
[0097] The method of the above technical solution can accurately determine the corresponding preset backlight value, and accurately adjust the backlight brightness of the projector according to the preset backlight value, thereby achieving energy-saving effect.
[0098] In a possible implementation, the method further includes:
[0099] When the proportions and values corresponding to all the grayscale sets are smaller than the preset threshold value corresponding to the grayscale set, the preset backlight value of the preset threshold value corresponding to the grayscale set with the smallest grayscale level is used as the backlight brightness value of the projector, or the preset minimum backlight value is used as the backlight brightness value of the projector, wherein the preset minimum backlight value is smaller than the preset backlight value corresponding to the grayscale set with the smallest grayscale level.
[0100] In the embodiments of the present disclosure, for example, in the aforementioned embodiments, the grayscale set with the smallest grayscale level is the first grayscale set, and when it is determined that the proportions and values corresponding to all the grayscale sets are smaller than the preset threshold value corresponding to the grayscale set, the preset backlight value 0.7 of the preset threshold value corresponding to the first grayscale set is used as the backlight brightness value of the projector, or the preset minimum backlight value is used as the backlight brightness value of the projector.
[0101] The method of the above technical solution can ensure that even when the proportions and values corresponding to all the grayscale sets are smaller than the preset threshold values corresponding to the grayscale sets, the backlight brightness of the projector can be fully adjusted according to the preset backlight value.
[0102] In a possible implementation, in step S121, all the grayscale pixels are divided into a preset number of grayscale level sets according to the grayscale size, including:
[0103] Determining a grayscale range included in each grayscale level set according to the number of the preset number of representations;
[0104] According to the grayscale range corresponding to each grayscale set and according to the size of the grayscale, all the grayscale pixels are evenly divided into each grayscale set according to the grayscale size.
[0105] The number of the preset number of representations may be 16. The grayscales may be arranged from small to large in a range of 0-255.
[0106] In the embodiment of the present disclosure, the grayscale range included in each grayscale set is determined according to the number 16 of the preset number of representations. For example, the grayscale range included in the first grayscale set is 0-15, the grayscale range included in the second grayscale set is 16-31, and so on.
[0107] According to the grayscale range 0-15 corresponding to the first grayscale set, the pixel points of grayscale 0-15 are divided into the first grayscale set; according to the grayscale range 15-31 corresponding to the second grayscale set, the pixel points of grayscale 15-31 are divided into the second grayscale set; and so on, until the pixel points of the grayscale ranges corresponding to all grayscale sets are divided into each of the grayscale sets.
[0108] The method of the above technical solution divides the grayscale range by grayscale sets, and replaces the majority of grayscales with a few grayscale sets, thereby reducing the amount of data to be processed and simplifying data processing.
[0109] In a possible implementation, in step S122, determining a second proportion of pixels in each grayscale set in the projected image according to a first proportion of pixels in each grayscale in the projected image includes:
[0110] Constructing a grayscale set histogram according to the number of the preset number of representations, wherein each grayscale set corresponds to a horizontal coordinate in the grayscale set histogram;
[0111] Determining the grayscale corresponding to the grayscale set according to the grayscale range corresponding to each grayscale set;
[0112] Determine the value of the vertical coordinate of each grayscale set combined with the grayscale set histogram according to a first proportion of grayscale pixels corresponding to the grayscale set in the projection image;
[0113] In the grayscale set histogram, histogram bars are generated according to the values to determine a second proportion of pixels in each grayscale set in the projection image.
[0114] The number of the preset number of representations may be 16. The value of the ordinate is the sum of the first proportions of the grayscale pixels corresponding to the grayscale level set in the projection image.
[0115] In the embodiments of the present disclosure, see Figure 2 As shown, according to the number 16 of the preset number of representations, 16 grayscale set histograms are constructed, wherein each grayscale set is combined with a corresponding horizontal coordinate in the grayscale set histogram;
[0116] According to the grayscale range corresponding to each grayscale set, for example, the grayscale range included in the first grayscale set is 0-15, the grayscale range included in the second grayscale set is 16-31, and so on, the grayscale corresponding to the grayscale set is determined;
[0117] According to the first proportion of the grayscale pixels corresponding to the grayscale set in the projected image, by calculating the sum of the first proportions of the grayscale pixels corresponding to the grayscale set in the projected image, the value of the ordinate of each grayscale set in the grayscale set histogram is determined. For example, the sum of the first proportions of the grayscale pixels of 0-15 corresponding to the first grayscale set in the projected image is calculated, so as to determine that the value of the ordinate of the first grayscale set in the grayscale set histogram is 8.54%;
[0118] In the grayscale set histogram, 16 histogram bars are generated according to the values to determine a second proportion of the pixel points in each grayscale set in the projection image.
[0119] The method of the above technical solution converts the original grayscale histogram into a grayscale set histogram, which reduces the amount of data that needs to be processed, can increase the calculation rate, and thus improve the user experience.
[0120] In a possible implementation, in step S112, determining a first proportion of each grayscale pixel in the projected image according to the number of grayscale pixels in the original grayscale histogram includes:
[0121] Obtaining a resolution of the projected image, and determining a total number of pixels in the projected image according to the resolution;
[0122] According to the percentage of the number of pixels of each gray scale in the original grayscale histogram to the total number of pixels, a first proportion of the pixels of each gray scale in the projected image is determined.
[0123] The resolution is composed of horizontal resolution and vertical resolution. The horizontal resolution refers to the number of pixels that can be displayed horizontally, and the vertical resolution refers to the number of pixels that can be displayed vertically.
[0124] In the embodiment of the present disclosure, the resolution of the projected image is obtained, and the total number of pixels in the projected image is determined by calculating the product of the horizontal resolution and the vertical resolution according to the horizontal resolution and the vertical resolution of the resolution;
[0125] According to the percentage of the number of pixels of each gray scale in the original grayscale histogram to the total number of pixels, a first proportion of the pixels of each gray scale in the projected image is determined.
[0126] The method of the above technical solution reduces the difference between the number of pixels of each gray scale by converting the number of pixels of the gray scale into the first proportion, thereby facilitating the comparison of subsequent data.
[0127] In a possible implementation, the projector parameter includes: at least one of brightness, contrast, saturation, and clarity;
[0128] The preset compensation value of brightness in the preset compensation value corresponding to the preset threshold value is inversely proportional to the preset threshold value, the preset compensation value of contrast in the preset compensation value corresponding to the preset threshold value is inversely proportional to the preset threshold value, the preset compensation value of saturation in the preset compensation value corresponding to the preset threshold value is directly proportional to the preset threshold value, and the preset compensation value of clarity in the preset compensation value corresponding to the preset threshold value is directly proportional to the preset threshold value.
[0129] In the embodiment of the present disclosure, the corresponding relationship between the preset compensation value of brightness in the preset compensation value corresponding to the preset threshold value and the preset threshold value, the corresponding relationship between the preset compensation value of contrast in the preset compensation value corresponding to the preset threshold value and the preset threshold value, the corresponding relationship between the preset compensation value of saturation in the preset compensation value corresponding to the preset threshold value and the preset threshold value, and the corresponding relationship between the preset compensation value of clarity in the preset compensation value corresponding to the preset threshold value and the preset threshold value can be shown in Table 2.
[0130]
[0131] Table 2
[0132] In one embodiment, Figure 3 As shown, a device for intelligent energy saving of a projector is provided, comprising:
[0133] The first proportion determination module 210 is configured to obtain an original grayscale histogram of the image projected by the projector in response to turning on the smart energy-saving function of the projector, and determine a first proportion of each grayscale pixel in the projected image according to the number of pixels of each grayscale in the original grayscale histogram;
[0134] The second proportion determination module 220 is configured to divide all the pixels of the grayscale into a preset number of grayscale sets according to the grayscale size, and determine a second proportion of the pixels of each grayscale set in the projected image according to the first proportion of the pixels of each grayscale in the projected image;
[0135] The backlight determination module 230 is configured to determine, in sequence from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than a preset threshold value corresponding to the grayscale set, according to the second proportion of the pixel points in each grayscale set in the projected image, until the sum of the proportions corresponding to the grayscale set of any target grayscale is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the preset backlight value of the preset threshold value corresponding to the target grayscale as the backlight brightness value of the projector, wherein each grayscale set is preset with the preset threshold value, and the preset threshold value is inversely proportional to the grayscale size corresponding to the grayscale set, and each preset threshold value is correspondingly preset with the preset backlight value, and the preset backlight value is inversely proportional to the preset threshold value;
[0136] The adjustment module 240 is configured to use the preset compensation value corresponding to the preset threshold value corresponding to the target grayscale as a parameter compensation value, and adjust the backlight brightness of the projector according to the backlight brightness value and adjust the projector parameters of the projector according to the parameter compensation value.
[0137] In a possible implementation, the backlight determination module 230 is configured to:
[0138] Determine whether a second proportion of the grayscale set with the largest grayscale level is greater than or equal to a preset threshold value corresponding to the grayscale set with the largest grayscale level;
[0139] If the second proportion of the grayscale set with the largest grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector;
[0140] If the second proportion of the grayscale set with the largest grayscale level is less than the preset threshold value corresponding to the grayscale set with the largest grayscale level, then determine the sum of the second proportion of the grayscale set with the second largest grayscale level and the second proportion of the grayscale set with the largest grayscale level, and determine whether the sum of the proportions is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, wherein the preset threshold value corresponding to the grayscale set with the largest grayscale level is greater than the preset threshold value corresponding to the grayscale set with the largest grayscale level;
[0141] If the percentage and value is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector;
[0142] Check in turn whether the sum of the second proportion of the grayscale set of each grayscale level and the second proportion of the grayscale set with a grayscale level greater than that is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the preset backlight value of the preset threshold value corresponding to the target grayscale level as the backlight brightness value of the projector.
[0143] In a possible implementation, the backlight determination module 230 is configured to:
[0144] When the proportions and values corresponding to all the grayscale sets are smaller than the preset threshold value corresponding to the grayscale set, the preset backlight value of the preset threshold value corresponding to the grayscale set with the smallest grayscale level is used as the backlight brightness value of the projector, or the preset minimum backlight value is used as the backlight brightness value of the projector, wherein the preset minimum backlight value is smaller than the preset backlight value corresponding to the grayscale set with the smallest grayscale level.
[0145] In a possible implementation, the second proportion determining module 220 is configured to:
[0146] Determining a grayscale range included in each grayscale level set according to the number of the preset number of representations;
[0147] According to the grayscale range corresponding to each grayscale set and according to the size of the grayscale, all the grayscale pixels are evenly divided into each grayscale set according to the grayscale size.
[0148] In a possible implementation, the second proportion determining module 220 is configured to:
[0149] Constructing a grayscale set histogram according to the number of the preset number of representations, wherein each grayscale set corresponds to a horizontal coordinate in the grayscale set histogram;
[0150] Determining the grayscale corresponding to the grayscale set according to the grayscale range corresponding to each grayscale set;
[0151] Determine the value of the vertical coordinate of each grayscale set combined with the grayscale set histogram according to a first proportion of grayscale pixels corresponding to the grayscale set in the projection image;
[0152] In the grayscale set histogram, histogram bars are generated according to the values to determine a second proportion of pixels in each grayscale set in the projection image.
[0153] In a possible implementation, the first proportion determining module 210 is configured to:
[0154] Obtaining a resolution of the projected image, and determining a total number of pixels in the projected image according to the resolution;
[0155] According to the percentage of the number of pixels of each gray scale in the original grayscale histogram to the total number of pixels, a first proportion of the pixels of each gray scale in the projected image is determined.
[0156] For the specific definition of a device for intelligent energy saving of a projector, please refer to the definition of a method for intelligent energy saving of a projector mentioned above, which will not be repeated here. Each module in the above-mentioned device for intelligent energy saving of a projector can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0157] The present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method described in any one of the aforementioned embodiments are implemented.
[0158] The present disclosure also provides a projector, including:
[0159] a memory having a computer program stored thereon;
[0160] A processor is used to execute the computer program in the memory to implement the steps of the method in any one of the aforementioned embodiments.
[0161] Figure 4 The device 100 for intelligent energy saving of a projector shown includes: a processor 1001 and a memory 1003. The processor 1001 and the memory 1003 are connected, such as through a bus 1002. Optionally, the device 100 for intelligent energy saving of a projector may also include a communication component, which may be used for data interaction between the device 100 and other devices, such as data transmission or data reception. It should be noted that the communication component is not limited to one in actual scheduling, and the structure of the device 100 for intelligent energy saving of a projector does not constitute a limitation on the embodiments of the present application.
[0162] Processor 1001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 1001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0163] The bus 1002 may include a path to transmit information between the above components. The bus 1002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 1002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0164] The memory 1003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium, other magnetic storage devices, or any other medium that can be used to carry or store program code and can be read by a computer, without limitation herein.
[0165] The memory 1003 is used to store program codes for executing the embodiments of the present disclosure, and the execution is controlled by the processor 1001. The processor 1001 is used to execute the program codes stored in the memory 1003 to implement the steps shown in the embodiment of the above-mentioned method for intelligent energy saving of a projector.
[0166] The embodiment of the present disclosure also provides a computer-readable storage medium having program code stored thereon. When the program code is executed by a processor, the steps and corresponding contents of the aforementioned embodiment of the method for intelligent energy saving of a projector can be implemented.
[0167] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments; within the technical concept of the present disclosure, various changes, modifications, substitutions and variations may be made to these embodiments, and these changes, modifications, substitutions and variations all fall within the protection scope of the present disclosure.
[0168] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any appropriate manner without contradiction, and they should also be regarded as the contents disclosed in this disclosure. In order to avoid unnecessary repetition, this disclosure will not further describe various possible combinations. The technical scope of this application is not limited to the contents in the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. A method for intelligent energy saving of a projector, characterized in that: The method comprises: In response to turning on the smart energy-saving function of the projector, an original grayscale histogram of the image projected by the projector is obtained, and according to the number of pixels of each grayscale in the original grayscale histogram, a first proportion of the pixel points of each grayscale in the projected image is determined; According to the size of the grayscale, all the pixels of the grayscale are equally divided into a preset number of grayscale sets according to the grayscale size, and according to the first proportion of the pixels of each grayscale in the projected image, a second proportion of the pixels in each grayscale set in the projected image is determined; According to the second proportion of the pixel points in each grayscale set in the projected image, from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, determine in sequence whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the grayscale corresponding to the grayscale set as the target grayscale, and use the preset backlight value of the preset threshold value corresponding to the target grayscale as the backlight brightness value of the projector, wherein each grayscale set is preset with the preset threshold value, and the preset threshold value is inversely proportional to the grayscale size corresponding to the grayscale set, and each preset threshold value is correspondingly preset with the preset backlight value, and the preset backlight value is inversely proportional to the preset threshold value; The preset compensation value corresponding to the preset threshold value corresponding to the target grayscale is used as a parameter compensation value, and the backlight brightness of the projector is adjusted according to the backlight brightness value, and the projector parameters of the projector are adjusted according to the parameter compensation value.
2. The method according to claim 1, characterized in that: The method of determining, in sequence from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than a preset threshold value corresponding to the grayscale set according to the second proportion of the pixel points in each grayscale set in the projected image, until the sum of the proportions corresponding to the grayscale set of any target grayscale is greater than or equal to the preset threshold value corresponding to the grayscale set, and using the preset backlight value of the preset threshold value corresponding to the target grayscale as the backlight brightness value of the projector, comprises: Determine whether a second proportion of the grayscale set with the largest grayscale level is greater than or equal to a preset threshold value corresponding to the grayscale set with the largest grayscale level; If the second proportion of the grayscale set with the largest grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector; If the second proportion of the grayscale set with the largest grayscale level is less than the preset threshold value corresponding to the grayscale set with the largest grayscale level, then determine the sum of the second proportion of the grayscale set with the second largest grayscale level and the second proportion of the grayscale set with the largest grayscale level, and determine whether the sum of the proportions is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, wherein the preset threshold value corresponding to the grayscale set with the largest grayscale level is greater than the preset threshold value corresponding to the grayscale set with the largest grayscale level; If the percentage and value is greater than or equal to the preset threshold value corresponding to the grayscale set with the largest grayscale level, the preset backlight value of the preset threshold value corresponding to the grayscale set with the largest grayscale level is used as the backlight brightness value of the projector; Check in turn whether the sum of the second proportion of the grayscale set of each grayscale level and the second proportion of the grayscale set with a grayscale level greater than that is greater than the preset threshold value corresponding to the grayscale set, until the sum of the proportions corresponding to the grayscale set of any target grayscale level is greater than or equal to the preset threshold value corresponding to the grayscale set, and use the preset backlight value of the preset threshold value corresponding to the target grayscale level as the backlight brightness value of the projector.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: When the proportions and values corresponding to all the grayscale sets are smaller than the preset threshold value corresponding to the grayscale set, the preset backlight value of the preset threshold value corresponding to the grayscale set with the smallest grayscale level is used as the backlight brightness value of the projector, or the preset minimum backlight value is used as the backlight brightness value of the projector, wherein the preset minimum backlight value is smaller than the preset backlight value corresponding to the grayscale set with the smallest grayscale level.
4. The method according to claim 1, characterized in that: According to the size of the grayscale, all the grayscale pixels are equally divided into a preset number of grayscale level sets according to the grayscale size, including: Determining a grayscale range included in each grayscale level set according to the number of the preset number of representations; According to the grayscale range corresponding to each grayscale set and according to the size of the grayscale, all the grayscale pixels are evenly divided into each grayscale set according to the grayscale size.
5. The method according to claim 4, characterized in that: The determining, according to the first proportion of the pixels of each grayscale in the projected image, a second proportion of the pixels of each grayscale set in the projected image comprises: According to the number of the preset number of representations, a grayscale set histogram is constructed, wherein each grayscale level set corresponds to a horizontal coordinate in the grayscale set histogram; Determining the grayscale corresponding to the grayscale set according to the grayscale range corresponding to each grayscale set; Determining a value of a vertical coordinate of each grayscale set in the grayscale set histogram according to a first proportion of grayscale pixels corresponding to the grayscale set in the projection image; In the grayscale set histogram, histogram bars are generated according to the values to determine a second proportion of pixels in each grayscale set in the projection image.
6. The method according to claim 1, characterized in that: The determining, according to the number of pixels of each grayscale in the original grayscale histogram, a first proportion of pixels of each grayscale in the projected image comprises: Obtaining a resolution of the projected image, and determining a total number of pixels in the projected image according to the resolution; According to the percentage of the number of pixels of each gray scale in the original grayscale histogram to the total number of pixels, a first proportion of the pixels of each gray scale in the projected image is determined.
7. The method according to claim 1, characterized in that: The projector parameters include: at least one of brightness, contrast, saturation, and clarity; The preset compensation value of brightness in the preset compensation value corresponding to the preset threshold value is inversely proportional to the preset threshold value, the preset compensation value of contrast in the preset compensation value corresponding to the preset threshold value is inversely proportional to the preset threshold value, the preset compensation value of saturation in the preset compensation value corresponding to the preset threshold value is directly proportional to the preset threshold value, and the preset compensation value of clarity in the preset compensation value corresponding to the preset threshold value is directly proportional to the preset threshold value.
8. A device for intelligent energy saving of a projector, characterized in that: The device comprises: A first proportion determination module is configured to obtain an original grayscale histogram of the image projected by the projector in response to turning on the smart energy-saving function of the projector, and determine a first proportion of each grayscale pixel in the projected image according to the number of pixels of each grayscale in the original grayscale histogram; A second proportion determination module is configured to divide all the grayscale pixels into a preset number of grayscale sets according to the grayscale size, and determine a second proportion of the pixels in each grayscale set in the projected image according to the first proportion of the pixels in each grayscale set in the projected image; A backlight determination module is configured to determine, in sequence from the grayscale set with the largest grayscale to the grayscale set with the smallest grayscale, whether the sum of the second proportion of the grayscale set and the second proportion of the grayscale set with a grayscale greater than the second proportion is greater than a preset threshold value corresponding to the grayscale set, according to the second proportion of the pixel points in each grayscale set in the projected image, until the sum of the proportions corresponding to the grayscale set is greater than or equal to the preset threshold value corresponding to the grayscale set, and the grayscale corresponding to the grayscale set is used as the target grayscale, and the preset backlight value of the preset threshold value corresponding to the target grayscale is used as the backlight brightness value of the projector, wherein each grayscale set is preset with the preset threshold value, and the preset threshold value is inversely proportional to the grayscale size corresponding to the grayscale set, and each preset threshold value is correspondingly preset with the preset backlight value, and the preset backlight value is inversely proportional to the preset threshold value; The adjustment module is configured to use the preset compensation value corresponding to the preset threshold value corresponding to the target grayscale as a parameter compensation value, and adjust the backlight brightness of the projector according to the backlight brightness value and adjust the projector parameters of the projector according to the parameter compensation value.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.
10. A projector, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Backlight brightness compensation method and display device
CN105448245A
Projection light source brightness output method and projection image display method
CN106791742A