CN116092434B - Dimming method, dimming device, electronic equipment and computer readable storage medium - Google Patents
Dimming method, dimming device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN116092434B CN116092434B CN202210924065.XA CN202210924065A CN116092434B CN 116092434 B CN116092434 B CN 116092434B CN 202210924065 A CN202210924065 A CN 202210924065A CN 116092434 B CN116092434 B CN 116092434B
- Authority
- CN
- China
- Prior art keywords
- backlight
- value
- display
- partition
- brightness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 90
- 238000005192 partition Methods 0.000 claims abstract description 159
- 230000006870 function Effects 0.000 claims description 146
- 238000009792 diffusion process Methods 0.000 claims description 91
- 238000004088 simulation Methods 0.000 claims description 34
- 238000012545 processing Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 description 16
- 238000004422 calculation algorithm Methods 0.000 description 14
- 239000004973 liquid crystal related substance Substances 0.000 description 14
- 238000010586 diagram Methods 0.000 description 13
- 230000000694 effects Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 230000016776 visual perception Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000009499 grossing Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 238000000605 extraction Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- IAXXETNIOYFMLW-UHFFFAOYSA-N (4,7,7-trimethyl-3-bicyclo[2.2.1]heptanyl) 2-methylprop-2-enoate Chemical compound C1CC2(C)C(OC(=O)C(=C)C)CC1C2(C)C IAXXETNIOYFMLW-UHFFFAOYSA-N 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000002834 transmittance Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3406—Control of illumination source
- G09G3/342—Control of illumination source using several illumination sources separately controlled corresponding to different display panel areas, e.g. along one dimension such as lines
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3406—Control of illumination source
- G09G3/342—Control of illumination source using several illumination sources separately controlled corresponding to different display panel areas, e.g. along one dimension such as lines
- G09G3/3426—Control of illumination source using several illumination sources separately controlled corresponding to different display panel areas, e.g. along one dimension such as lines the different display panel areas being distributed in two dimensions, e.g. matrix
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Liquid Crystal Display Device Control (AREA)
Abstract
The invention discloses a dimming method, a dimming device, electronic equipment and a computer readable storage medium, wherein the dimming method comprises the following steps: acquiring a brightness set of a backlight module of a display to be dimmed, determining a target loss value of each backlight partition based on the brightness set, a first pixel value of an image to be displayed and a preset joint loss function, determining the target brightness value of each backlight partition according to the target loss value, performing pixel compensation on the first pixel value of the image to be displayed according to the target brightness value of each backlight partition to obtain a second pixel value, and performing dimming driving on the display to be dimmed according to the target brightness value and the second pixel value. By adopting the embodiment of the invention to adjust the light of the display, the power consumption of the backlight of the display can be reduced.
Description
Technical Field
The present invention relates to the field of backlight dimming technology of displays, and in particular, to a dimming method, a dimming device, an electronic device, and a computer readable storage medium.
Background
The contrast ratio of the traditional display is 3000-4000: 1, and the contrast ratio of the common IPS/FFS panel display is only about 1000-1500: 1. although the backlight of a conventional display may adjust brightness by PWM (Pulse Width Modulation ) or DC (Direct Current). However, the limitation of static contrast makes the conventional display unable to achieve the contrast of 10000:1 or even 400000:1 required by HDR (High-Dynamic Range). In order to solve the problem of insufficient contrast of the liquid crystal panel, a Local Dimming (Local backlight adjustment) technique has been developed.
Compared with the traditional Global Dimming (Global brightness adjustment), the Local Dimming has higher static contrast and better effect. The Local Dimming technique can be divided into 3 large blocks, partitioned backlight luminance extraction, simulated backlight diffusion, and pixel compensation. The existing Local Dimming algorithm mainly extracts the brightness of the partitioned backlight, simulates the backlight diffusion, and finally performs pixel compensation.
However, the existing Local Dimming algorithm has the following problems: it cannot be determined whether the extracted backlight is optimal. Therefore, the existing Local Dimming algorithm has poor backlight adjustment effect.
Disclosure of Invention
The embodiment of the invention aims to provide a Dimming method, a Dimming device, electronic equipment and a computer readable storage medium, so as to solve the technical problem that the backlight adjusting effect of the existing Local Dimming algorithm is poor.
In a first aspect, an embodiment of the present invention provides a dimming method, including:
acquiring a brightness set of a backlight module of a display to be dimmed; the backlight module comprises a plurality of backlight subareas, and each backlight subarea corresponds to one brightness set;
determining a target loss value of each backlight partition based on the brightness set, a first pixel value of an image to be displayed and a preset joint loss function;
Determining a target brightness value of each backlight partition according to the target loss value;
according to the target brightness value of each backlight partition, carrying out pixel compensation on a first pixel value of an image to be displayed to obtain a second pixel value;
and driving the display to be dimmed according to the target brightness value and the second pixel value.
In a second aspect, an embodiment of the present invention provides a dimming device, including:
the acquisition module is used for acquiring a brightness set of a backlight module of the display to be dimmed; the backlight module comprises a plurality of backlight subareas, and each backlight subarea corresponds to one brightness set;
the first determining module is used for determining target loss values of all backlight partitions based on the brightness set, the first pixel value of the image to be displayed and a preset joint loss function;
the second determining module is used for determining a target brightness value of each backlight partition according to the target loss value;
the pixel compensation module is used for carrying out pixel compensation on a first pixel value of an image to be displayed according to the target brightness value of each backlight partition to obtain a second pixel value;
and the driving module is used for carrying out dimming driving on the display to be dimmed according to the target brightness value and the second pixel value.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor implementing steps in any one of the dimming methods described above when executing the computer program.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium storing a computer program which, when executed by a processor, performs steps in a dimming method of any of the above.
The embodiment of the invention provides a dimming method, a dimming device, electronic equipment and a computer readable storage medium, wherein the method can determine target loss values of backlight partitions in a backlight module by acquiring a brightness set of a backlight module of a display to be dimmed and based on the brightness set, a first pixel value of an image to be displayed and a preset joint loss function, and then determine the target brightness value of each backlight partition through the target loss values, so that pixel compensation can be carried out on the first pixel value of the image to be displayed according to the target brightness value of each backlight partition to obtain a second pixel value, and finally, dimming processing of the display to be dimmed can be completed according to the target brightness value and the second pixel value. By adopting the embodiment of the invention to adjust the light of the display, the power consumption of the backlight of the display can be reduced.
Drawings
Fig. 1 is a schematic diagram of an application flow of a Local Dimming algorithm in the related art;
Fig. 2 is a schematic flow chart of a dimming method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a backlight diffusion simulation process according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a low-pass filtering template provided by an embodiment of the present invention;
fig. 5 is a schematic flow chart of another dimming method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a dimming device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of another structure of a dimming device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of another structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
In the related art, the contrast ratio of the direct type liquid crystal display is 1000 to 1500:1. in order to improve the contrast ratio of the display, a Local Dimming algorithm is generally used in the related art to perform backlight adjustment on the direct type liquid crystal display. Referring to fig. 1, fig. 1 is a schematic application flow diagram of a Local Dimming algorithm in the related art, and as shown in fig. 1, the Local Dimming algorithm is mainly applied to a theoretical domain and includes three parts: partitioned backlight brightness extraction, analog backlight diffusion, and pixel compensation. The partition backlight brightness extraction is to extract the backlight brightness suitable for the content display according to the image content; the simulation of backlight diffusion refers to the simulation of the process of simulating light rays emitted from LEDs in a backlight module and transmitted to a liquid crystal panel; the pixel compensation refers to that after the image is subjected to backlight extraction, in order to ensure that the display brightness of the image in actual display and the backlight brightness are kept as unchanged as possible, the pixel size of the displayed image needs to be adjusted to change the light transmission amount. Since the pixel compensation is performed for each pixel point by point according to the compensation curve, if the pixel compensation is performed by using the backlight information, the backlight brightness after each pixel point needs to be obtained, that is, the resolution of the backlight matrix needs to be adjusted to be the same as the resolution of the input image.
Specifically, the Local Dimming algorithm is to extract the brightness of the backlight in a partition to set the brightness voltage/current, so as to control the backlight brightness of the backlight module of the direct type liquid crystal display, simulate the backlight diffusion of the backlight brightness, and finally perform pixel compensation on the image pixel value to set the light valve, so as to display the input image on the liquid crystal panel.
However, although the Local Dimming algorithm can perform backlight adjustment on the direct type liquid crystal display, it cannot be ensured that the backlight brightness extracted during the process of extracting the partitioned backlight brightness is optimal. Moreover, since the backlight brightness and the pixel compensation are mutually influenced, it is difficult to obtain an optimal solution by determining one and then solving the other. Therefore, the existing Local Dimming algorithm cannot provide a better backlight adjustment scheme for the direct type liquid crystal display, that is, the existing Local Dimming algorithm has poor backlight adjustment effect and needs to be optimized.
In order to solve the technical problems in the related art, an embodiment of the present invention provides a dimming method, please refer to fig. 2, fig. 2 is a schematic flow chart of the dimming method provided in the embodiment of the present invention, the dimming method includes steps 201 to 205;
Step 201, a brightness set of a backlight module of a display to be dimmed is obtained.
The backlight module comprises a plurality of backlight partitions, each backlight partition corresponds to a brightness set, and the brightness set is a set formed by a plurality of different brightness values which can be sent out by each backlight partition.
In this embodiment, the number of backlight partitions in the backlight module may be preset, or may be set by a user according to a specific application scenario. In one case, one backlight partition in the backlight module may correspond to one pixel point in the display to be dimmed. In other cases, one backlight partition in the backlight module may also correspond to an area formed by a plurality of adjacent pixels in the display to be dimmed, for example, an area corresponding to a regular shape formed by a plurality of adjacent pixels, such as a triangle, a rectangle, a regular polygon, a circle, or the like, or an area corresponding to an irregular shape formed by a plurality of adjacent pixels.
Specifically, by traversing a plurality of different brightness values which can be sent out by each backlight partition in the backlight module of the display to be dimmed, different brightness sets which can be sent out by each backlight partition in the backlight module of the display to be dimmed can be obtained, namely, the brightness set of one backlight partition comprises a plurality of different brightness values.
Step 202, determining a target loss value of each backlight partition based on the brightness set, the first pixel value of the image to be displayed, and a preset joint loss function.
The image to be displayed is an image required when the display to be dimmed performs dimming processing (in this embodiment, the dimming processing is performed on the display to be dimmed according to the first pixel value of the image to be displayed), and the image to be displayed may be any image with a plurality of different pixel values. Specifically, the relationship between the image to be displayed and the display to be dimmed is one-to-one correspondence: the image to be displayed is used for the display to be dimmed to perform dimming processing, and the display to be dimmed after the dimming processing is used for displaying the image to be displayed in a low-power consumption mode with high contrast effect. Further, the first pixel value of the image to be displayed is a data value of R, G, B three channels corresponding to the pixel point in the image to be displayed. The preset joint loss function comprises a contrast loss function, an information loss function and a power consumption loss function, and the contrast loss function, the information loss function and the power consumption loss function are all related to the brightness set.
It should be noted that, the preset joint loss function provided in the embodiment of the present invention needs to at least include a contrast loss function. That is, in one case, the joint loss function may be just a contrast loss function. In another case, the joint loss function may be a loss function formed by a contrast loss function and any one of an information loss function and a power consumption loss function. In other cases, the joint loss function may also be a loss function composed of a contrast loss function and an information loss function, and a power consumption loss function.
Specifically, different joint loss functions can be set according to actual application requirements, so that different technical effects are achieved. For example, when the joint loss function is only a contrast loss function, the loss of contrast of the backlight-adjusted image can be controlled, thereby improving the contrast of the backlight-adjusted image. When the joint loss function is a loss function formed by the contrast loss function and the information loss function, the loss of the contrast of the image after backlight adjustment and the loss of the pixel information can be simultaneously controlled, so that the contrast of the image after backlight adjustment is improved, and the loss of the pixel information of the image is reduced. When the joint loss function is a loss function formed by the contrast loss function and the power consumption loss function, the loss of the contrast of the image after backlight adjustment and the loss of the power consumption of the display can be simultaneously controlled, so that the contrast of the image after backlight adjustment is improved, and the power consumption of the display is reduced. When the joint loss function is a loss function formed by the contrast loss function, the information loss function and the power consumption loss function, the loss of the contrast of the image after backlight adjustment, the loss of the pixel information and the loss of the power consumption of the display can be controlled simultaneously, so that the contrast of the image after backlight adjustment can be improved, the loss of the pixel information of the image can be reduced, and the power consumption of the display can be reduced.
In this embodiment, the step of determining the target loss value of each backlight partition based on the brightness set, the first pixel value of the image to be displayed, and the preset joint loss function includes: determining a plurality of joint loss values of each backlight partition according to the brightness set of each backlight partition, the first pixel value of the image to be displayed and a preset joint loss function; and determining the joint loss value smaller than a preset threshold value in the joint loss values of the backlight partitions as a target loss value of the backlight partitions.
As an alternative embodiment, the embodiment of the invention screens out the loss value smaller than the preset threshold value by presetting the loss threshold value, thereby obtaining the brightness of the backlight partition corresponding to the loss value meeting the requirement, realizing the purpose of obtaining the better partition backlight brightness, solving the technical problem of the Local Dimming algorithm in the related technology and effectively reducing the power consumption of the display backlight.
In some embodiments, the preset joint loss function is composed of a contrast loss function, an information loss function, and a power consumption loss function. Specifically, the preset joint loss function is: e=e contrast +E inf +E power The method comprises the steps of carrying out a first treatment on the surface of the E is a joint loss function, E contrast As contrast loss function, E inf As information loss function E power As a function of power consumption loss. The contrast loss function, the information loss function and the power consumption loss function are added to form a joint loss function, so that the loss of the contrast of the image after backlight adjustment, the loss of the pixel information and the loss of the power consumption of the display can be controlled simultaneously, the contrast of the image after backlight adjustment is improved, the loss of the pixel information of the image is reduced, and the power consumption of the display can be reduced.
The contrast loss function is:since the pixel value range of the image is typically [0, 255]The pixel value of the image may appear to exceed [0, 255 ] using the Local Dimming algorithm]For the case of more than 255, 255 will be indicated, and for the case of less than 0, 0 will be indicated. Then a truncation error occurs, i.e. pixel information is lost, so the information loss function is:since the power consumption has a direct relation with the voltage, and the control voltage of the backlight has a direct relation with the brightness of the backlight, the power consumption loss function is as follows: />Wherein c is a pixel value corresponding to each of the three channels r, g and b, x is a pixel point, and N is a dimming area formed by a plurality of pixel points Domain, B is backlight brightness, P new And carrying out pixel compensation on the image to be displayed.
Due to the compensated pixel value P new Can be calculated from the luminance sets of the respective backlight partitions and the first pixel values of the image to be displayed, so that by traversing all the luminance sets of the respective backlight partitions and then from each luminance value that the respective backlight partitions can emit and the first pixel value of the image to be displayed, the compensated pixel value (P new ) And then inputting each compensated pixel value into a preset joint loss function, and calculating to obtain the target loss value of each backlight partition. Therefore, the contrast loss function, the information loss function, and the power consumption loss function provided in the present embodiment are all related to the first pixel value of the image to be displayed. Specific P new Please refer to the method flow provided in the following embodiment.
Step 203, determining the target brightness value of each backlight partition according to the target loss value.
In this embodiment, the step of determining the target brightness value of each backlight partition according to the target loss value specifically includes: inputting the target loss value of each backlight partition into the joint loss function to obtain a brightness value corresponding to the target loss value of each backlight partition; and taking the brightness value corresponding to the target loss value of each backlight partition as the target brightness value of each backlight partition.
After determining the joint loss function and the target loss value of each backlight partition, the target loss value of each backlight partition can be substituted into the joint loss function, so that a better luminance value, namely a target luminance value, of each backlight partition can be determined.
Step 204, performing pixel compensation on the first pixel value of the image to be displayed according to the target brightness value of each backlight partition, so as to obtain a second pixel value.
In this embodiment, according to the target brightness value of each backlight partition, the step of performing pixel compensation on the first pixel value of the image to be displayed to obtain the second pixel value specifically includes: according to the target brightness value of each backlight partition and the backlight diffusion function of the display to be dimmed, determining the display brightness value of each display partition in the display panel of the display to be dimmed, which is subjected to backlight diffusion; and carrying out pixel compensation on the first pixel value of the image to be displayed according to the display brightness value based on the pixel compensation function to obtain a second pixel value of the image to be displayed after the pixel compensation.
The display brightness value is a brightness value displayed by a display partition after the target brightness value sent by the backlight partition is diffused by the backlight of the display to be dimmed, the display partition corresponds to the backlight partition, and the pixel compensation formula is as follows: P new To compensate the second pixel value, P ori F (B) is a display brightness value, and gamma is a constant, which is a first pixel value of an image to be displayed.
Specifically, since the backlight diffusion function of the display to be dimmed is determined, the present embodiment may determine different luminance values corresponding to the display partition according to different luminance values that may be emitted by the backlight partition. Thus, according to the pixel compensation formula provided in the present embodiment, the brightness values of the backlight partition and the first pixel value (P ori ) Determining the pixel value (P new )。
It should be noted that the backlight diffusion function of the display to be dimmed is obtained in advance, and the backlight diffusion functions of different displays are different. Therefore, before the step of determining the display luminance value of each display partition of the display panel of the display to be dimmed, which is diffused by the backlight, according to the target luminance value of each backlight partition and the backlight diffusion function of the display to be dimmed, the dimming method further comprises: and carrying out backlight diffusion simulation processing on the display to be dimmed to obtain a backlight diffusion function of the display to be dimmed in the backlight diffusion simulation process.
In some embodiments, the backlight diffusion simulation process is essentially a simulation of the process of simulating the emission of light from the LEDs within the backlight module and then transmitting the light to the display panel. Therefore, the backlight diffusion simulation process adopted in the present embodiment is to actually smooth the backlight to simulate the light intensity distribution after light diffusion. Specifically, the backlight diffusion simulation process includes smoothing the backlight using a light diffusion function (light spread function, LSF), smoothing the backlight using a blur-diffusion (blurmask approach, BMA) method, and smoothing the backlight using a modified blur-diffusion (improvedblurmask approach, IBMA) method.
Referring to fig. 3, fig. 3 is a schematic flow chart of a backlight diffusion simulation process provided by the embodiment of the invention, and as shown in fig. 3, fig. 3 shows a backlight diffusion simulation process of an 8x8 image to be processed, wherein a smooth 1920x1080 backlight distribution image can be finally obtained by continuously performing low-pass filtering and linear amplification on the image to be processed.
As an alternative embodiment, the backlight diffusion simulation process includes a blur-diffusion process, and the backlight diffusion simulation process is performed on the display to be dimmed, so as to obtain a backlight diffusion function of the display to be dimmed in the backlight diffusion simulation process, including: traversing and testing all brightness values of each backlight partition to obtain actual brightness values corresponding to each display partition; and carrying out fuzzy-diffusion treatment on all brightness values of each backlight partition by adopting a fuzzy-diffusion method, and taking the actual brightness value corresponding to each display partition as a result after the fuzzy-diffusion treatment is carried out on each backlight partition to obtain a backlight diffusion function of the display to be dimmed in the backlight diffusion simulation process.
In this embodiment, since the backlight diffusion simulation process provided in this embodiment uses a fuzzy-diffusion method to perform the smoothing process, and the fuzzy-diffusion method performs the matrix operation according to the low-pass filtering template and the backlight signal, so as to obtain the backlight signal with good effect. The low-pass filtering templates are generally represented by templates of (2n+1) × (2n+1) different sizes. The larger the template size, the better the smoothing effect, but the larger the calculation, the longer the processing time required. Referring to fig. 4, fig. 4 is a schematic diagram of a low-pass filtering template provided in the embodiment of the invention, in which the size of the low-pass filtering template is assumed to be 3×3, and the filtering template (a) in fig. 4 can be simplified to the filtering template (b) in fig. 4 due to the symmetry of the backlight partition. Wherein a in the filtering template is at the center position and represents the residual light energy coefficient after center diffusion; b. c and d are distributed around the filtering template and respectively represent the diffusion capacity coefficient of the light diffusion center to the periphery. To ensure conservation of energy in light propagation, a, b, c and d satisfy the identity: a+2b+2c+4d=1.
Optionally, the method for acquiring each parameter in the low-pass filtering template provided in this embodiment specifically includes: firstly, under the condition of setting different brightness values of each backlight subarea, testing the actual brightness value of the center of each backlight subarea on the liquid crystal display panel; then, calculating theoretical brightness value expressions after fuzzy diffusion of the center of each backlight partition after fuzzy diffusion N times, wherein N in the embodiment can be 5 times, 6 times, 7 times and the like; and finally, simultaneously establishing equations between the theoretical brightness value expression of the center of each backlight partition and the corresponding actual brightness value obtained by testing, so as to obtain each parameter in the low-pass filtering template, thereby obtaining the low-pass filtering template. In this embodiment, after the low-pass filtering template is obtained, the low-pass filtering template is used as a backlight diffusion function of the display to be dimmed currently.
By using the low-pass filtering template provided by the embodiment as the backlight diffusion function of the display to be dimmed, the backlight brightness value extracted by the backlight can be directly subjected to backlight diffusion simulation by adopting a fuzzy-diffusion method, so that the brightness value of the simulated image to be displayed when the image to be displayed is actually displayed is obtained, namely, the display brightness value of each display partition in the display panel of the display to be dimmed, which is subjected to backlight diffusion, is determined.
In other embodiments, after obtaining the backlight diffusion function of the display to be dimmed, in order to ensure the display quality of the image after dimming when the backlight brightness is reduced, the embodiment further needs to compensate the pixel value of the image correspondingly. Since the human visual system is a very complex information analysis processing system. For the area dynamic dimming technology, the human eye experiences more changes to the brightness change process in the display effect and the brightness contrast of the picture. Therefore, the visual perception of the brightness of the display by human eyes needs to be studied, so the embodiment adopts the liquid crystal displayThe gamma effect value of the screen represents the perception result of the human visual system on the physical brightness, thereby obtaining a visual perception brightness formula:wherein Yu is the visual perception luminance, yp is the physical luminance, γ is a constant, and specifically, γ in this embodiment is 2.2.
Since the original visual perception brightness of the image to be displayed needs to be consistent with the visual perception brightness of the image to be displayed when the image to be displayed is actually displayed on the display panel, and according to the visual perception brightness formula provided by the embodiment, a pixel compensation formula for performing pixel compensation on the image to be displayed can be obtained: Wherein P is new B is a second pixel value after pixel compensation for the image to be displayed t For the display brightness value, P, displayed by the display partition after backlight diffusion simulation ori For the original first pixel value of the image to be displayed, B ori Is the original luminance value of the image to be displayed. It should be noted that, since f is the backlight diffusion function of the display to be dimmed, and B is the luminance value emitted by the backlight partition, i.e. any luminance value in the luminance set without performing backlight diffusion simulation, B is therefore t =f (B). Further, due to the original brightness value B of the image to be displayed ori 1 (normalized value). From this, the pixel compensation formula can be derived as: />
Step 205, dimming driving is performed on the display to be dimmed according to the target brightness value and the second pixel value.
In the present embodiment, since the backlight brightness B is proportional to the backlight module control signal,is proportional to the light transmittance of the LCD panel, so that the brightness value B and the second brightness value B of each backlight partition can be determinedTwo pixel value P new And obtaining control signals corresponding to the backlight module and the liquid crystal display panel. And then the direct type backlight liquid crystal display can be controlled to display a picture with high contrast ratio by the obtained control signal.
In order to solve the same technical problem, please refer to fig. 5, fig. 5 is another flow chart of the dimming method provided by the embodiment of the present invention, and as shown in fig. 5, the dimming method provided by the embodiment of the present invention includes steps 301 to 309;
step 301, traversing and testing all brightness values of each backlight partition in the backlight module of the display to be dimmed, to obtain actual brightness values corresponding to each display partition in the display panel of the display to be dimmed.
Step 302, performing fuzzy-diffusion processing on all brightness values of each backlight partition by adopting a fuzzy-diffusion method, and taking an actual brightness value corresponding to each display partition as a result of performing fuzzy-diffusion processing on each backlight partition to obtain a backlight diffusion function of the display to be dimmed in a backlight diffusion simulation process.
Since the backlight diffusion functions of different lcds are different, the backlight diffusion simulation of the lcd to be dimmed needs to be completed through steps 301 and 302 provided in this embodiment, so as to obtain the corresponding backlight diffusion function of the lcd to be dimmed.
Step 303, traversing all brightness values in the brightness set of each backlight partition in the backlight module of the display to be dimmed.
Step 304, determining a plurality of joint loss values of each backlight partition according to the brightness set obtained by traversing each backlight partition, the first pixel value of the image to be displayed and a preset joint loss function.
In the present embodiment, the joint loss function is composed of a contrast loss function, an information loss function, and a power loss function, and the information loss function contains a first control parameter lambda 1 The power loss function contains a second control parameter lambda 2 The method comprises the steps of carrying out a first treatment on the surface of the Thus, the joint loss function is: e=e contrast +λ 1 E inf +λ 2 E power 。
The first control parameter λ 1 For controlling the magnitude of the information loss, a second control parameter lambda 2 For controlling the size of the power loss. For example, when the pixel information loss of the image to be controlled is smaller, the first control parameter lambda can be used for controlling the image 1 Size adjustment; when it is desired to reduce the power consumption of the display, the second control parameter lambda can be used 2 And (5) enlarging. Thus, the method provided by the embodiment of the invention adjusts the first control parameter lambda 1 And a second control parameter lambda 2 The direct type backlight liquid crystal display can be controlled to display a high-contrast picture, meanwhile, the pixel information loss of an image is reduced, and the power consumption of the display is reduced.
In step 305, a minimum joint loss value among a plurality of joint loss values of each backlight partition is determined as a target loss value of each backlight partition.
In this embodiment, in order to ensure that the optimal backlight luminance is extracted during the process of extracting the backlight luminance, the present embodiment determines the minimum joint loss value from the multiple joint loss values and uses the minimum joint loss value as the target loss value of each backlight partition, so that the corresponding optimal backlight luminance of each backlight partition can be determined according to the target loss value of each backlight partition, that is, the optimal target luminance value on each backlight partition is determined.
Step 306, determining a luminance value corresponding to the target loss value of each backlight partition based on the joint loss function, and taking the luminance value corresponding to the target loss value of each backlight partition as the target luminance value of each backlight partition.
Step 307, determining the display brightness value of each display partition in the display panel of the display to be dimmed through backlight diffusion according to the target brightness value of each backlight partition and the backlight diffusion function of the display to be dimmed.
Since the backlight partition corresponds to the display partition. Therefore, after the backlight diffusion function of the display to be dimmed and the optimal target brightness value of the image to be displayed on each backlight partition are determined, the optimal target brightness value on each backlight partition can be subjected to backlight diffusion simulation, so that the display brightness value of the image to be displayed on each display partition can be obtained after the backlight diffusion.
Step 308, performing pixel compensation on the first pixel value of the image to be displayed according to the display brightness value based on the pixel compensation function, to obtain a second pixel value of the image to be displayed after pixel compensation.
Step 309, dimming driving the display to be dimmed according to the target brightness value and the second pixel value.
Specifically, the step of dimming driving the display to be dimmed according to the target brightness value and the second pixel value includes: and determining control signals corresponding to the backlight module and the display panel of the display to be dimmed according to the target brightness value and the second pixel value of each backlight partition, and performing dimming driving on the display to be dimmed according to the control signals.
In summary, by adopting the dimming method provided by the embodiment of the invention, the brightness set in the backlight module of the display to be dimmed is obtained, the target loss value of each backlight partition is determined based on the brightness set, the first pixel value of the image to be displayed and the preset joint loss function, the target brightness value of each backlight partition is determined according to the target loss value, the first pixel value of the image to be displayed is subjected to pixel compensation according to the target brightness value of each backlight partition, the second pixel value is obtained, and the display to be dimmed is subjected to dimming driving according to the target brightness value and the second pixel value. By adopting the embodiment of the invention to adjust the light of the display, the power consumption of the backlight of the display can be reduced.
According to the method described in the above embodiments, the present embodiment will be further described from the perspective of a dimming device, which may be implemented as a separate entity, or may be implemented as an integrated electronic device, such as a terminal, where the terminal may include a mobile phone, a tablet computer, and so on.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a dimming device according to an embodiment of the present invention, and as shown in fig. 6, a dimming device 400 according to an embodiment of the present invention includes:
an obtaining module 401, configured to obtain a brightness set of a backlight module of a display to be dimmed; the backlight module comprises a plurality of backlight subareas, and each backlight subarea corresponds to one brightness set.
A first determining module 402, configured to determine a target loss value of each backlight partition based on the brightness set, the first pixel value of the image to be displayed, and a preset joint loss function.
The preset joint loss function comprises a contrast loss function, an information loss function and a power consumption loss function.
In this embodiment, the first determining module 402 is specifically configured to: determining a plurality of joint loss values of each backlight partition according to the brightness set of each backlight partition, the first pixel value of the image to be displayed and a preset joint loss function; determining a joint loss value smaller than a preset threshold value among a plurality of joint loss values of each backlight partition as a target loss value of each backlight partition; or, determining the minimum joint loss value among the joint loss values of the backlight partitions as the target loss value of the backlight partitions.
The preset joint loss function is as follows: e=e contrast +E inf +E power The method comprises the steps of carrying out a first treatment on the surface of the E is a joint loss function, E contrast As contrast loss function, E inf As information loss function E power As a function of power consumption loss.
The contrast loss function is:the information loss function is: />The power loss function is:
wherein c is a pixel value corresponding to each of the three channels r, g and B, x is a pixel point, N is a dimming area formed by a plurality of pixel points, and B is backlight brightness.
As an alternative embodiment, the information loss function comprises a firstControl parameter lambda 1 The power loss function contains a second control parameter lambda 2 The method comprises the steps of carrying out a first treatment on the surface of the The joint loss function may also be: e=e contrast +λ 1 E inf +λ 2 E power 。
Wherein the first control parameter lambda 1 For controlling the magnitude of the information loss, a second control parameter lambda 2 For controlling the size of the power loss.
The second determining module 403 is configured to determine a target brightness value of each backlight partition according to the target loss value.
In this embodiment, the second determining module 403 is specifically configured to: inputting the target loss value of each backlight partition into the joint loss function to obtain a brightness value corresponding to the target loss value of each backlight partition; and taking the brightness value corresponding to the target loss value of each backlight partition as the target brightness value of each backlight partition.
The pixel compensation module 404 is configured to perform pixel compensation on the first pixel value of the image to be displayed according to the target brightness value of each backlight partition, so as to obtain a second pixel value.
In this embodiment, the pixel compensation module 404 is specifically configured to: according to the target brightness value of each backlight partition and the backlight diffusion function of the display to be dimmed, determining the display brightness value of each display partition passing through backlight diffusion in the display panel of the display to be dimmed, wherein the display partition corresponds to the backlight partition; and carrying out pixel compensation on the first pixel value of the image to be displayed according to the display brightness value based on the pixel compensation function to obtain a second pixel value of the image to be displayed after the pixel compensation.
The pixel compensation formula is as follows:P new for the second pixel value, P ori For the first pixel value, f (B) is the display luminance value, γ is a constant, and γ is 2.2 in this embodiment.
And the driving module 405 is configured to perform dimming driving on the display to be dimmed according to the target brightness value and the second pixel value.
Referring to fig. 7, fig. 7 is another schematic structural diagram of a dimming device provided in an embodiment of the present invention, and as shown in fig. 7, a dimming device 400 provided in an embodiment of the present invention further includes:
the simulation module 406 is configured to perform a backlight diffusion simulation process on the display to be dimmed, so as to obtain a backlight diffusion function of the display to be dimmed in a backlight diffusion simulation process.
In this embodiment, the backlight diffusion simulation process includes a blur-diffusion process, and the simulation module 406 is specifically configured to: traversing and testing all brightness values of each backlight partition to obtain actual brightness values corresponding to each display partition; and carrying out fuzzy-diffusion treatment on all brightness values of each backlight partition by adopting a fuzzy-diffusion method, and taking the actual brightness value corresponding to each display partition as a result after the fuzzy-diffusion treatment is carried out on each backlight partition to obtain a backlight diffusion function of the display to be dimmed in the backlight diffusion simulation process.
In the implementation, each module and/or unit may be implemented as an independent entity, or may be combined arbitrarily and implemented as the same entity or a plurality of entities, where the implementation of each module and/or unit may refer to the foregoing method embodiment, and the specific beneficial effects that may be achieved may refer to the beneficial effects in the foregoing method embodiment, which are not described herein again.
In addition, referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device may be a mobile terminal, such as a smart phone, a tablet computer, or the like. As shown in fig. 8, the electronic device 600 includes a processor 601, a memory 602. The processor 601 is electrically connected to the memory 602.
The processor 601 is a control center of the electronic device 600, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device 600 and processes data by running or loading application programs stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the electronic device 600.
In this embodiment, the processor 601 in the electronic device 600 loads instructions corresponding to the processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 executes the application programs stored in the memory 602, thereby implementing various functions.
The electronic device 600 may implement the steps in any embodiment of the dimming method provided by the embodiment of the present invention, so that the beneficial effects that any one of the dimming methods provided by the embodiment of the present invention can implement are detailed in the previous embodiments, and are not described herein.
Referring to fig. 9, fig. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present invention, and fig. 9 is a specific structural block diagram of the electronic device according to the embodiment of the present invention, where the electronic device may be used to implement the dimming method provided in the above embodiment. The electronic device 700 may be a mobile terminal such as a smart phone or a notebook computer.
The RF circuit 710 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the electrical signals, thereby communicating with a communication network or other devices. RF circuitry 710 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 710 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The wireless network may use various communication standards, protocols, and technologies including, but not limited to, global system for mobile communications (Global System forMobile Communication, GSM), enhanced mobile communications technology (Enhanced Data GSM Environment, EDGE), wideband Code Division multiple access technology (Wideband Code Division Multiple Access, WCDMA), code Division multiple access technology (Code DivisionAccess, CDMA), time Division multiple access technology (Time Division MultipleAccess, TDMA), wireless fidelity technology (Wireless Fidelity, wi-Fi) (e.g., institute of electrical and electronics engineers standards IEEE 802.11a,IEEE 802.11b,IEEE802.11g and/or IEEE802.11 n), internet telephony (Voice over Internet Protocol, voIP), worldwide interoperability for microwave access (Worldwide Interoperability forMicrowaveAccess, wi-Max), other protocols for mail, instant messaging, and short messaging, as well as any other suitable communication protocols, even those not currently developed.
The memory 720 may be used to store software programs and modules, such as program instructions/modules corresponding to the dimming methods in the above embodiments, and the processor 780 executes the software programs and modules stored in the memory 720 to perform various functional applications and dimming.
Memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 720 may further include memory located remotely from processor 780, which may be connected to electronic device 700 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 730 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 730 may include a touch-sensitive surface 731 and other input devices 732. The touch-sensitive surface 731, also referred to as a touch display screen or touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on or thereabout the touch-sensitive surface 731 using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection device according to a pre-set program. Alternatively, touch-sensitive surface 731 may comprise two parts, a touch-detecting device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 780, and can receive commands from the processor 780 and execute them. In addition, the touch sensitive surface 731 may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 731, the input unit 730 may also include other input devices 732. In particular, the other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 740 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of the electronic device 700, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 740 may include a display panel 741, and alternatively, the display panel 741 may be configured in the form of an LCD (Liquid Crystal Display ), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 731 may overlay the display panel 741, and upon detection of a touch operation thereon or thereabout by the touch-sensitive surface 731, the touch-sensitive surface 731 is passed to the processor 780 for determining the type of touch event, and the processor 780 then provides a corresponding visual output on the display panel 741 based on the type of touch event. Although in the figures the touch-sensitive surface 731 and the display panel 741 are implemented as two separate components, in some embodiments the touch-sensitive surface 731 and the display panel 741 may be integrated to implement the input and output functions.
The electronic device 700 may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the electronic device 700 are not described in detail herein.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and electronic device 700. The audio circuit 760 may transmit the received electrical signal converted from audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 to be output; on the other hand, microphone 762 converts the collected sound signals into electrical signals, which are received by audio circuit 760 and converted into audio data, which are processed by audio data output processor 780 for transmission to, for example, another terminal via RF circuit 710, or which are output to memory 720 for further processing. Audio circuitry 760 may also include an ear bud jack to provide communication between a peripheral ear bud and electronic device 700.
The electronic device 700 may facilitate user reception of requests, transmission of information, etc. via a transmission module 770 (e.g., wi-Fi module), which provides wireless broadband internet access to the user. Although the transmission module 770 is shown in the drawings, it is understood that it does not belong to the essential constitution of the electronic device 700, and can be omitted entirely as required within the scope not changing the essence of the invention.
The processor 780 is a control center of the electronic device 700, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the electronic device 700 and processes data by running or executing software programs and/or modules stored in the memory 720 and invoking data stored in the memory 720, thereby performing overall monitoring of the electronic device. Optionally, the processor 780 may include one or more processing cores; in some embodiments, the processor 780 may integrate an application processor that primarily processes operating systems, user interfaces, applications, and the like, with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 780.
The electronic device 700 also includes a power supply 790 (e.g., a battery) that provides power to the various components, and in some embodiments, may be logically coupled to the processor 780 through a power management system to perform functions such as managing charging, discharging, and power consumption by the power management system. Power supply 790 may also include one or more of any components, such as a dc or ac power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device 700 further includes a camera (e.g., front camera, rear camera), a bluetooth module, etc., which will not be described in detail herein. In particular, in this embodiment, the display unit of the electronic device is a touch screen display, and the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, where the one or more programs include instructions for performing operations.
In the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or several entities, and the implementation of each module may be referred to the foregoing method embodiment, which is not described herein again.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention provides a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any one of the embodiments of the dimming method provided by the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, randomAccess Memory), magnetic disk or optical disk, and the like.
The steps in any embodiment of the dimming method provided by the embodiment of the present invention can be executed by the instructions stored in the storage medium, so that the beneficial effects that any dimming method provided by the embodiment of the present invention can achieve can be achieved, and detailed descriptions of the foregoing embodiments are omitted herein.
The foregoing describes in detail a dimming method, a dimming device, an electronic device, and a computer readable storage medium provided in the embodiments of the present application, and specific examples are applied to illustrate the principles and implementations of the present application, where the foregoing description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above. Moreover, it will be apparent to those skilled in the art that various modifications and variations can be made without departing from the principles of the present invention, and such modifications and variations are also considered to be within the scope of the invention.
Claims (10)
1. A method of dimming comprising:
acquiring a brightness set of a backlight module of a display to be dimmed; the backlight module comprises a plurality of backlight partitions, and each backlight partition corresponds to one brightness set;
determining a target loss value of each backlight partition based on the brightness set, a first pixel value of an image to be displayed and a preset joint loss function;
determining a target brightness value of each backlight partition according to the target loss value;
according to the target brightness value of each backlight partition, carrying out pixel compensation on the first pixel value of the image to be displayed to obtain a second pixel value;
dimming driving is carried out on the display to be dimmed according to the target brightness value and the second pixel value;
the determining the target loss value of each backlight partition based on the brightness set, the first pixel value of the image to be displayed and the preset joint loss function comprises the following steps:
determining a plurality of joint loss values of each backlight partition according to the brightness set of each backlight partition, the first pixel value of the image to be displayed and a preset joint loss function;
determining a joint loss value smaller than a preset threshold value among a plurality of joint loss values of each backlight partition as a target loss value of each backlight partition; or alternatively, the first and second heat exchangers may be,
The minimum joint loss value of the plurality of joint loss values of each backlight partition is determined as the target loss value of each backlight partition.
2. The method of claim 1, wherein performing pixel compensation on the first pixel value of the image to be displayed according to the target brightness value of each backlight partition to obtain a second pixel value comprises:
according to the target brightness value of each backlight partition and the backlight diffusion function of the display to be dimmed, determining the display brightness value of each display partition subjected to backlight diffusion in the display panel of the display to be dimmed, wherein the display partition corresponds to the backlight partition;
and carrying out pixel compensation on the first pixel value of the image to be displayed according to the display brightness value based on a pixel compensation function to obtain a second pixel value of the image to be displayed after the pixel compensation.
3. The method of claim 2, wherein prior to determining the display luminance values for each display partition of the display panel of the display to be dimmed that is backlight-diffused based on the target luminance values for each backlight partition and the backlight diffusion function of the display to be dimmed, the method further comprises:
And carrying out backlight diffusion simulation processing on the display to be dimmed to obtain a backlight diffusion function of the display to be dimmed in the backlight diffusion simulation process.
4. A method as claimed in claim 3, wherein the backlight diffusion simulation process comprises a blur-diffusion process, and wherein the performing the backlight diffusion simulation process on the display to be dimmed, to obtain a backlight diffusion function of the display to be dimmed during the backlight diffusion simulation process, comprises:
traversing and testing all brightness values of each backlight partition to obtain actual brightness values corresponding to each display partition;
and carrying out fuzzy-diffusion treatment on all brightness values of each backlight partition by adopting a fuzzy-diffusion method, and taking the actual brightness value corresponding to each display partition as a result after the fuzzy-diffusion treatment is carried out on each backlight partition to obtain a backlight diffusion function of the display to be dimmed in the backlight diffusion simulation process.
5. The method of claim 1, wherein the predetermined joint loss function consists of a contrast loss function, an information loss function, and a power loss function.
6. The method of claim 5, wherein determining a target luminance value for each backlight partition based on the target loss value comprises:
Inputting the target loss value of each backlight partition into the joint loss function to obtain a brightness value corresponding to the target loss value of each backlight partition;
and taking the brightness value corresponding to the target loss value of each backlight partition as the target brightness value of each backlight partition.
7. The method of claim 5, wherein the information loss function contains a first control parameter and the power loss function contains a second control parameter;
the first control parameter is used for controlling the size of the information loss, and the second control parameter is used for controlling the size of the power consumption loss.
8. A dimming device, comprising:
the acquisition module is used for acquiring a brightness set of a backlight module of the display to be dimmed; the backlight module comprises a plurality of backlight partitions, and each backlight partition corresponds to one brightness set;
the first determining module is used for determining target loss values of all backlight partitions based on the brightness set, the first pixel value of the image to be displayed and a preset joint loss function;
the second determining module is used for determining a target brightness value of each backlight partition according to the target loss value;
the pixel compensation module is used for carrying out pixel compensation on the first pixel value of the image to be displayed according to the target brightness value of each backlight partition to obtain a second pixel value;
The driving module is used for performing dimming driving on the display to be dimmed according to the target brightness value and the second pixel value;
the first determining module is specifically configured to: determining a plurality of joint loss values of each backlight partition according to the brightness set of each backlight partition, the first pixel value of the image to be displayed and a preset joint loss function; determining a joint loss value smaller than a preset threshold value among a plurality of joint loss values of each backlight partition as a target loss value of each backlight partition; or, determining the minimum joint loss value among the joint loss values of the backlight partitions as the target loss value of the backlight partitions.
9. An electronic device comprising a processor, a memory and a computer program stored in the memory and executable on the processor, the processor implementing the steps in the dimming method according to any of claims 1 to 7 when the computer program is executed by the processor.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the steps in the dimming method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210924065.XA CN116092434B (en) | 2022-08-02 | 2022-08-02 | Dimming method, dimming device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210924065.XA CN116092434B (en) | 2022-08-02 | 2022-08-02 | Dimming method, dimming device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116092434A CN116092434A (en) | 2023-05-09 |
CN116092434B true CN116092434B (en) | 2023-12-26 |
Family
ID=86199703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210924065.XA Active CN116092434B (en) | 2022-08-02 | 2022-08-02 | Dimming method, dimming device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116092434B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107316615A (en) * | 2017-08-18 | 2017-11-03 | 深圳创维-Rgb电子有限公司 | A kind of multi partition backlight illumination uniformity control method, device and storage medium |
CN108648700A (en) * | 2018-05-18 | 2018-10-12 | 京东方科技集团股份有限公司 | A kind of the dynamic light adjustment display control method and device of backlight |
CN110189714A (en) * | 2019-06-25 | 2019-08-30 | 京东方科技集团股份有限公司 | The display methods and device, electronic equipment, medium of backlight are adjusted with region |
CN110728637A (en) * | 2019-09-21 | 2020-01-24 | 天津大学 | Dynamic dimming backlight diffusion method for image processing based on deep learning |
WO2021218410A1 (en) * | 2020-04-30 | 2021-11-04 | 京东方科技集团股份有限公司 | Dynamic local dimming display control method and apparatus, and display apparatus |
-
2022
- 2022-08-02 CN CN202210924065.XA patent/CN116092434B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107316615A (en) * | 2017-08-18 | 2017-11-03 | 深圳创维-Rgb电子有限公司 | A kind of multi partition backlight illumination uniformity control method, device and storage medium |
CN108648700A (en) * | 2018-05-18 | 2018-10-12 | 京东方科技集团股份有限公司 | A kind of the dynamic light adjustment display control method and device of backlight |
CN110189714A (en) * | 2019-06-25 | 2019-08-30 | 京东方科技集团股份有限公司 | The display methods and device, electronic equipment, medium of backlight are adjusted with region |
CN110728637A (en) * | 2019-09-21 | 2020-01-24 | 天津大学 | Dynamic dimming backlight diffusion method for image processing based on deep learning |
WO2021218410A1 (en) * | 2020-04-30 | 2021-11-04 | 京东方科技集团股份有限公司 | Dynamic local dimming display control method and apparatus, and display apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN116092434A (en) | 2023-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107256555B (en) | Image processing method, device and storage medium | |
JP6374970B2 (en) | Image processing method and apparatus, and computer device | |
CN112308806B (en) | Image processing method, device, electronic equipment and readable storage medium | |
TWI546775B (en) | Image processing method and device | |
US12112686B2 (en) | Driving method, driving device, and display terminal of display panel | |
WO2019128634A1 (en) | Display method, display device, electronic apparatus and computer-readable storage medium | |
CN113676716B (en) | White balance control method, device, terminal equipment and storage medium | |
CN107895352A (en) | A kind of image processing method and mobile terminal | |
CN111182236A (en) | Image synthesis method and device, storage medium and terminal equipment | |
WO2020134789A1 (en) | Mobile terminal and method for controlling on and off of screen, and computer storage medium | |
CN112532958B (en) | Image processing method, device, electronic equipment and readable storage medium | |
US11955098B2 (en) | Determining compensation value | |
CN113018856B (en) | Image processing method, device, electronic equipment and storage medium | |
CN109343811B (en) | Display adjustment method and terminal equipment | |
CN112330564B (en) | Image processing method, device, electronic equipment and readable storage medium | |
CN116092434B (en) | Dimming method, dimming device, electronic equipment and computer readable storage medium | |
WO2020168964A1 (en) | Image processing method, terminal device, and system | |
CN111368238A (en) | Status bar adjusting method and device, mobile terminal and storage medium | |
CN105184750A (en) | Method and device of denoising real-time video images on mobile terminal | |
CN109729280A (en) | A kind of image processing method and mobile terminal | |
CN110995324B (en) | Bluetooth communication method, device, storage medium and terminal equipment | |
CN111091777B (en) | Charging time debugging method and device | |
CN111026488B (en) | Communication data saving method, device, terminal equipment and storage medium | |
CN107102791A (en) | Control colour changing method and device | |
CN116521106A (en) | Screen matching method, screen configuration method and screen matching device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20231205 Address after: 516000 TCL technology building, No.17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province Applicant after: TCL Technology Group Co.,Ltd. Address before: 430000 8 / F, future science and technology building, 999 Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province Applicant before: Wuhan TCL Group Industrial Research Institute Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |