Brightness control method and device, equipment and medium

By adjusting the brightness gain value frame by frame in virtual reality and mixed reality headsets to achieve smooth switching of the gamma meter, the problem of screen jitter during brightness switching is solved, thus improving the user experience.

CN121640951APending Publication Date: 2026-03-10QINGDAO GOERPIXELS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, DC dimming can only support 3 to 5 fixed brightness levels, resulting in significant jumps when switching brightness, which affects the user experience of virtual reality and mixed reality headsets.

Method used

By determining the gamma table of the current brightness level and the target brightness level, the target gain value of the brightness adjustment gain is calculated, and the brightness gain value is adjusted frame by frame within a set time range to achieve smooth switching of the gamma table and ensure consistent display brightness before and after the switch.

Benefits of technology

This avoids screen jitter during brightness switching, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121640951A_ABST
    Figure CN121640951A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a brightness control method and device, equipment and a medium, and is applied to display equipment, and the method comprises the steps: determining a first gamma table corresponding to a current brightness level and a second gamma table corresponding to a target brightness level in response to a brightness switching instruction; determining a target gain value of a brightness adjustment gain according to the current brightness level, the target brightness level and a gamma correction parameter of the display device; in the set time range, according to the target gain value and the set gain value, the actual gain value of the brightness adjustment gain is adjusted frame by frame, the display brightness is controlled to change frame by frame in the set time range, the first gamma table is switched to the second gamma table, and the display brightness of the two frames is the same before and after the gamma table is switched.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the technical field of display, and more particularly, to a brightness control method, device, equipment and medium. BACKGROUND

[0002] When a user uses a virtual reality (VR) or mixed reality (MR) head-mounted device, the scene seen by the user is usually provided by a display. To ensure the comfort of the user of the device, the display needs to support brightness adjustment according to the user's needs.

[0003] In the related art, direct current (DC) dimming controls the display brightness of a display by changing the driving voltage or current. Specifically, the DC dimming can include a gamma (Gamma) switching mode. For example, a plurality of, for example, 3-5, gamma tables (Gamma LUTs) can be stored in advance. The gamma table can be a brightness corresponding table. Each gamma table corresponds to a fixed brightness level. When adjusting the brightness, the corresponding gamma table is directly switched to. However, since the gamma switching mode can only support 3-5 fixed brightness levels, the brightness jumps obviously when switching, which can cause picture jitter and affect the user experience. SUMMARY

[0004] Embodiments of the present disclosure aim to provide a new technical solution for brightness control.

[0005] According to a first aspect of embodiments of the present disclosure, a brightness control method is provided, applied to a display device, and the method comprises: in response to a brightness switching instruction, determining a first gamma table corresponding to a current brightness level and a second gamma table corresponding to a target brightness level; wherein any gamma table corresponds to a fixed brightness level; determining a target gain value of a brightness adjustment gain according to the current brightness level, the target brightness level, and a gamma correction parameter of the display device; wherein the highest level in the current brightness level and the target brightness level is a high brightness level, and the lowest level is a low brightness level. The target gain value is less than a set gain value of the brightness adjustment gain. For any gray scale value, the display brightness of the gray scale value determined based on the target gain value and the high brightness level is equal to the display brightness of the gray scale value determined based on the set gain value and the low brightness level; within a set time range, controlling the display brightness to change frame by frame within the set time range by adjusting the actual gain value of the brightness adjustment gain frame by frame according to the target gain value and the set gain value, and switching the first gamma table to the second gamma table, and the display brightness of two frames before and after the gamma table switching is the same. Optionally, the set time range includes a set number of transition frames and a switching frame. When the target brightness level is a high brightness level, the switching frame is before the transition frames. Within a set time range, based on the target gain value and the set gain value, the actual gain value of the brightness adjustment gain is adjusted frame by frame to control the display brightness to change frame by frame within the set time range, and the first gamma meter is switched to the second gamma meter, including: In the switching frame, the gamma table to be called is switched from the first gamma table to the second gamma table, and the actual gain value of the brightness adjustment gain is set to the target gain value, so that the display brightness of the switching frame is the same as the display brightness of the frame before the switch. In the set number of transition frames, the display brightness is controlled to change frame by frame by increasing the actual gain value of the brightness adjustment gain from the target gain value to the set gain value. Optionally, the set time range includes a set number of transition frames and a switching frame. When the current brightness level is a high brightness level, the switching frame is after the transition frames. Within a set time range, based on the target gain value and the set gain value, the actual gain value of the brightness adjustment gain is adjusted frame by frame to control the display brightness to change frame by frame within the set time range, and the first gamma meter is switched to the second gamma meter, including: In the set number of transition frames, the display brightness of the display screen is controlled to change frame by frame within the set number of transition frames by gradually reducing the actual gain value of the brightness adjustment gain from the set gain value to the target gain value; In the switching frame, the gamma meter to be invoked is switched from the first gamma meter to the second gamma meter, and the actual gain value of the brightness adjustment gain is set to the set gain value. Optionally, the step of determining the target gain value of the brightness adjustment gain based on the current brightness level, the target brightness level, and the gamma correction parameters of the display device is described. Determined according to the following formula:

[0006] in, The gamma correction parameters for the display device. The current brightness level, The target brightness level, The lower of the current brightness level and the target brightness level. It is the higher brightness level between the current brightness level and the target brightness level.

[0007] Optionally, during the frame-by-frame change of the display brightness within the set time range, the display brightness in each frame... Determined according to the following formula:

[0008] in, The gamma correction parameters for the display device. This corresponds to the fixed brightness level of the currently invoked gamma meter. The grayscale values ​​of the input image. The actual gain value of the brightness adjustment gain is given, and N is the bit depth of the input image.

[0009] According to a second aspect of the present disclosure, a brightness control device is provided, applied to a display device, the device comprising: The first determining module is used to determine, in response to a brightness switching command, a first gamma table corresponding to the current brightness level and a second gamma table corresponding to the target brightness level; wherein, any gamma table corresponds to a fixed brightness level; The second determining module is used to determine a target gain value for brightness adjustment gain based on the current brightness level, the target brightness level, and the gamma correction parameters of the display device; wherein, the highest of the current brightness level and the target brightness level is the high brightness level, and the lowest is the low brightness level, and the target gain value is less than the set gain value of the brightness adjustment gain; for any grayscale value, the display brightness of the grayscale value determined based on the target gain value and the high brightness level is equal to the display brightness of the grayscale value determined based on the set gain value and the low brightness level; The control module is used to control the display brightness to change frame by frame within a set time range by adjusting the actual gain value of the brightness adjustment gain frame by frame according to the target gain value and the set gain value, and to switch the first gamma meter to the second gamma meter, so that the display brightness is the same in the two frames before and after the gamma meter switching.

[0010] Optionally, the set time range includes a set number of transition frames and a switching frame. When the target brightness level is a high brightness level, the switching frame is before the transition frames. The control module is specifically configured to switch the gamma table called from the first gamma table to the second gamma table in the switching frame, and set the actual gain value of the brightness adjustment gain to the target gain value, so that the display brightness of the switching frame is the same as the display brightness of the frame before the switch; and, In the set number of transition frames, the display brightness is controlled to change frame by frame by increasing the actual gain value of the brightness adjustment gain from the target gain value to the set gain value.

[0011] Optionally, the set time range includes a set number of transition frames and a switching frame. When the current brightness level is a high brightness level, the switching frame is after the transition frames. The control module is specifically configured to control the display brightness of the display screen to change frame-by-frame within the set number of transition frames by progressively reducing the actual gain value of the brightness adjustment gain from the set gain value to the target gain value within the set number of transition frames; and... In the switching frame, the gamma meter to be invoked is switched from the first gamma meter to the second gamma meter, and the actual gain value of the brightness adjustment gain is set to the set gain value.

[0012] According to a third aspect of the present disclosure, a display device is provided, comprising: a memory for storing executable computer instructions; and a processor for executing the method described in accordance with the first aspect above, under the control of the executable computer instructions.

[0013] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein computer instructions are stored thereon, which, when executed by a processor, perform the method described in the first aspect above.

[0014] This disclosure provides a display brightness control method, including: responding to a brightness switching command, determining a first gamma meter corresponding to the current brightness level and a second gamma meter corresponding to the target brightness level, each gamma meter corresponding to a fixed brightness level; determining a target gain value for brightness adjustment gain based on the current brightness level, the target brightness level, and the gamma correction parameters of the display device, wherein the highest level among the current brightness level and the target brightness level is the high brightness level, the lowest level is the low brightness level, the target gain value is less than a set gain value for brightness adjustment gain, and for any grayscale value, the display brightness of the grayscale value determined based on the target gain value and the high brightness level is equal to the display brightness of the grayscale value determined based on the set gain value and the low brightness level; and controlling the display brightness to change frame by frame within a set time range by adjusting the actual gain value of the brightness adjustment gain frame by frame according to the target gain value and the set gain value, and switching the first gamma meter to the second gamma meter, wherein the display brightness is the same in the two frames before and after the gamma meter switching. This method allows for the pre-determining of a target gain value for brightness adjustment. This ensures that, at the moment of gamma meter switching, the display brightness using a high brightness level with the target gain value is the same as the display brightness using a low brightness level with the set gain value. This guarantees that the display brightness is the same for the two frames before and after the gamma meter switching. Furthermore, by adjusting the actual gain value of the brightness adjustment gain frame by frame, the display brightness is smoothly transitioned before and after the gamma meter switching, avoiding screen jitter and improving the user experience.

[0015] Other features and advantages of this specification will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of this specification and, together with their description, serve to explain the principles of this specification.

[0017] Figure 1 This is a schematic flowchart of a brightness control method provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of the structure of a brightness control device provided in an embodiment of this disclosure; Figure 3 This is a block diagram of the hardware configuration of a display device that implements a brightness control method according to an embodiment of this disclosure. Detailed Implementation

[0018] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of the embodiments of the present disclosure.

[0019] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.

[0020] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

[0021] In all the examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.

[0022] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0023] This disclosure provides a brightness control method applied to a display device. Specifically, the display device refers to a device with a display screen, which can be a head-mounted device such as a VR device or a MR device.

[0024] like Figure 1 As shown, the brightness control method of this disclosure embodiment may include the following steps S1100 to S1300: Step S1100: In response to the brightness switching command, determine the first gamma table corresponding to the current brightness level and the second gamma table corresponding to the target brightness level.

[0025] A gamma meter, also known as a brightness correspondence table or brightness grayscale reference table, corresponds to a fixed brightness level. Typically, display devices can pre-set multiple gamma meters, such as 3 to 5. Each gamma meter reflects the correspondence between grayscale values, corresponding brightness levels, and brightness adjustment parameters. These parameters can be driving voltage or current. The gamma meter allows the identification of the driving voltage or current corresponding to each grayscale value, and outputs the driving voltage or current to control the display brightness of the device's screen.

[0026] For example, taking a fixed brightness level of 1200 nits as an example, the fixed brightness level of 1200 nits corresponds to gamma table 0 (gamma_0). A correspondence in gamma table 0 can be, for example, grayscale value 0 and driving voltage. The correspondence between them, for example, a correspondence in gamma table 0 could be grayscale value 1 and driving voltage. The correspondence between them, for example, a correspondence in gamma table 0 could be grayscale value 255 and driving voltage. The correspondence between them is established. The driving voltage corresponding to each grayscale value can be found using the gamma table, and the output driving voltage controls the display brightness of the display device.

[0027] A brightness switching command can be an instruction for a display device to switch from its current brightness level to a target brightness level. A brightness switching command typically includes a current brightness level and a target brightness level. The current brightness level is the fixed brightness level that the display device is currently operating at, corresponding to the first gamma meter, and serves as the starting reference for the brightness transition. The target brightness level is the fixed brightness level that the brightness switching command requires the display device to ultimately switch to, corresponding to the second gamma meter, and serves as the ending reference for the brightness transition.

[0028] Brightness switching commands can be initiated by the user or automatically by the system. For example, users can trigger brightness switching commands through physical buttons on the display device, voice commands, or the brightness slider in the accompanying application. Alternatively, the display device can also proactively initiate brightness switching commands when it detects a set scene, which can be preset based on experience.

[0029] Example 1: The display device receives a brightness switching command, which includes a current brightness level of 1200 nits and a target brightness level of 900 nits. In response to this command, the display device can determine that the current brightness level of 1200 nits corresponds to gamma table 0, and the target brightness level of 900 nits corresponds to gamma table 1 (gamma_1). Example 1 is used to switch from a high brightness level to a low brightness level.

[0030] Example 2: The display device receives a brightness switching command, which includes a current brightness level of 600 nits and a target brightness level of 900 nits. In response to this command, the display device can determine that the current brightness level of 600 nits corresponds to gamma table 2 (gamma_2), and the target brightness level of 900 nits corresponds to gamma table 1. This example 2 is used to switch from a low brightness level to a high brightness level.

[0031] After executing the above step S1100 in response to the brightness switching command, and determining the first gamma table corresponding to the current brightness level and the second gamma table corresponding to the target brightness level, proceed to: Step S1200: Determine the target gain value of the brightness adjustment gain based on the current brightness level, the target brightness level, and the gamma correction parameters of the display device.

[0032] The brightness adjustment gain is used to amplify or reduce the display brightness output based on the currently invoked gamma meter to achieve continuous and smooth changes in display brightness. The actual gain value of the brightness adjustment gain ranges from 0 to 1.

[0033] Here, the brightness adjustment gain is set to a gain value. This set gain value serves as the reference gain value for brightness adjustment. The maximum value within this range can be selected, meaning the set gain value can be 1.

[0034] Here, the target gain value for brightness adjustment gain is... It refers to the starting or ending gain adjusted frame by frame. For example, when switching from high to low brightness, the actual gain value of the brightness adjustment gain can decrease from the set gain value to the target gain value frame by frame. Or, when switching from low to high brightness, the actual gain value of the brightness adjustment gain can increase from the target gain value to the set gain value frame by frame, ensuring that the final brightness of the brightness transition can accurately match the target brightness level.

[0035] In this embodiment, the highest of the current brightness level and the target brightness level can be a high brightness level, and the lowest can be a low brightness level. The target gain value is usually less than the set gain value of the brightness adjustment gain. Furthermore, for any grayscale value, the display brightness of the grayscale value determined based on the target gain value and the high brightness level is equal to the display brightness of the grayscale value determined based on the set gain value and the low brightness level. The "equal to" mentioned above can be approximately equal or absolutely equal. In this embodiment, by using the same grayscale value, the two combined brightnesses are equal, which ensures that when switching the invoked gamma table, regardless of whether switching to a high brightness level or a low brightness level, the display brightness can be seamlessly connected without abrupt changes, laying the foundation for subsequent frame-by-frame transitions.

[0036] In one example, step S1200 determines the target gain value of the brightness adjustment gain based on the current brightness level and the target brightness level. The following formula (1) can be used: (1) in, The gamma correction parameters for the display device. It is usually 2.2, of course, It can also be other values. The current brightness level. For the target brightness level, It is the lower of the current brightness level and the target brightness level. This is the higher brightness level between the current brightness level and the target brightness level.

[0037] Continuing with Example 1 above, the display device can determine the target gain value of the brightness adjustment gain according to the above formula (1). That is, the target gain value of brightness adjustment gain. = =0.877424.

[0038] Continuing with Example 2 above, the display device can determine the target gain value of the brightness adjustment gain according to the above formula (1). That is, the target gain value of brightness adjustment gain. 0.831684.

[0039] After performing the above step S1200, which determines the target gain value of the brightness adjustment gain based on the current brightness level, the target brightness level, and the gamma correction parameters of the display device, the process proceeds to: Step S1300: Within a set time range, based on the target gain value and the set gain value, the actual gain value of the brightness adjustment gain is adjusted frame by frame to control the display brightness to change frame by frame within the set time range, and the first gamma meter is switched to the second gamma meter, so that the display brightness is the same in the two frames before and after the gamma meter switching.

[0040] The set time range can be the total duration of the brightness transition, and this set time range can be determined based on the number of frames.

[0041] The actual gain value of the brightness adjustment gain can be determined frame by frame based on the total number of transition frames within a set time range, the set gain value, and the target gain value, according to a preset change pattern. Typically, the preset change pattern can be a linear change.

[0042] Specifically, during the frame-by-frame change of display brightness within a set time range, the display brightness for each frame... The following formula (2) can be used: (2) in, The gamma correction parameters for the display device. It is usually 2.2. This corresponds to the fixed brightness level of the currently invoked gamma meter. The grayscale values ​​are the input image values, which typically range from 0 to 255. Here, represents the actual gain value for brightness adjustment, and N is the bit depth of the input image, representing the number of bits per color channel. This represents the maximum grayscale value at the corresponding bit depth. For example, if N is 8, the maximum grayscale value is 255; if N is 10, the maximum grayscale value is 1023. To ensure that each frame reaches the display brightness L, the display device can output the driving voltage or current corresponding to the grayscale value based on the gamma meter used. The obtained equivalent grayscale value As an index, querying the currently invoked gamma table will yield the equivalent grayscale value. The corresponding driving voltage or current is output to the display, and the display outputs the corresponding display brightness L according to the received driving voltage or current.

[0043] In this embodiment, the display device can control the display brightness to change smoothly frame by frame within a set time range by adjusting the actual gain value of the brightness adjustment gain frame by frame, while precisely controlling the switching timing of the gamma meter to ensure that there are no sudden changes in the display brightness of the screen before and after the gamma meter switching.

[0044] In one example, the set time range may include a set number of transition frames and a switching frame. When the current brightness level is high, the switching frame usually follows the transition frames. That is, the application scenario in this example is to switch from a high brightness level to a low brightness level. In this step S1300, within the set time range, based on the target gain value and the set gain value, the actual gain value of the brightness adjustment gain is adjusted frame by frame to control the display brightness to change frame by frame within the set time range, and the first gamma table is switched to the second gamma table. Specifically, this can be implemented as follows: In the set number of transition frames, the display brightness of the screen is controlled to change frame by frame within the set number of transition frames by decreasing the actual gain value of the brightness adjustment gain from the set gain value to the target gain value frame by frame; in the switching frame, the gamma table is switched from the first gamma table to the second gamma table, and the actual gain value of the brightness adjustment gain is set to the set gain value.

[0045] In this example, the actual gain value of the brightness adjustment gain in the i-th transition frame. The following formula (3) can be used: (3) in, This is the set gain value for brightness adjustment, usually 1. The target gain value for brightness adjustment is denoted as n, and n is the total number of transition frames, which is the set number.

[0046] Continuing with Example 1 above, taking the preset linear variation pattern as an example, we set the gain value. The target gain value is 1. The value is 0.877424. The total number of transition frames n is 10. When the brightness switching command is received, the display brightness is 1200 nits, and the actual gain value of the brightness adjustment gain is the set gain value of 1. To determine the actual gain value of the brightness adjustment gain in the i-th transition frame out of n transition frames... It can , Substituting 0.877424 and n=10 into the above formula (3), the above formula (3) can be simplified to Then we can obtain the actual gain values ​​of the brightness adjustment gain corresponding to these 10 transition frames: The actual gain value of the first transition frame =0.987742.

[0047] The actual gain value of the second transition frame =0.975485.

[0048] The actual gain value of the third transition frame =0.963227.

[0049] The actual gain value of the 4th transition frame =0.950970.

[0050] The actual gain value of the 5th transition frame =0.938712.

[0051] The actual gain value of the 6th transition frame =0.926455.

[0052] The actual gain value of the 7th transition frame =0.914197.

[0053] The actual gain value of the 8th transition frame =0.901939.

[0054] The actual gain value of the 9th transition frame =0.889682.

[0055] The actual gain value of the 10th transition frame The target gain value is 0.877424.

[0056] In Example 1, the display brightness is smoothly transitioned from the first transition frame to the tenth transition frame by adjusting the actual gain value of the brightness adjustment gain frame by frame. Here, N=8. , , =2.2, will , Substituting into formula (2) above, formula (2) can be simplified to The display brightness of each transition frame can specifically be: The first transition frame displays brightness.

[0057] The second transition frame displays a brightness of [value missing].

[0058] The brightness of the third transition frame is [value missing].

[0059] The fourth transition frame displays brightness.

[0060] The fifth transition frame displays brightness.

[0061] The 6th transition frame displays brightness.

[0062] The 7th transition frame displays brightness.

[0063] The 8th transition frame displays brightness.

[0064] The 9th transition frame displays brightness.

[0065] The brightness of the 10th transition frame is [value missing].

[0066] In Example 1, the switching frame after the 10th transition frame will switch the gamma table from gamma table 0 to gamma table 1, and set the actual gain value of the brightness adjustment gain to the set gain value of 1. The display brightness of the switching frame will be... .

[0067] For easy comparison, Table 1 shows the correspondence between frame count, actual gain value, gamma table used, and display brightness. Table 1 is shown below: Table 1: Data Table 1

[0068] In the above data table 1, the 0th frame in the frame count is the display frame when the switching command is received, the 1st to 10th frames are 10 transition frames, and the 11th frame is the switching frame.

[0069] This example demonstrates how to switch from a high brightness level to a low brightness level without any sudden change in brightness.

[0070] In one example, the set time range includes a set number of transition frames and a switching frame. When the target brightness level is a high brightness level, the switching frame precedes the transition frames. In step S1300, within the set time range, based on the target gain value and the set gain value, the actual gain value of the brightness adjustment gain is adjusted frame-by-frame to control the display brightness to change frame-by-frame within the set time range. Switching from the first gamma table to the second gamma table can be specifically achieved as follows: In the switching frame, the gamma table is switched from the first gamma table to the second gamma table, and the actual gain value of the brightness adjustment gain is set to the target gain value, making the display brightness of the switching frame the same as the display brightness of the frame before the switch; in the set number of transition frames, the display brightness of the display screen is controlled to change frame-by-frame within the set number of transition frames by increasing the actual gain value of the brightness adjustment gain from the target gain value to the set gain value frame-by-frame.

[0071] In this example, the actual gain value of the brightness adjustment gain per i-frame. The following formula (4) can be used: (4) in, This is the set gain value for brightness adjustment, usually 1. The target gain value for brightness adjustment is denoted as n, and n is the total number of transition frames, which is the number set above.

[0072] Continuing with Example 2 above, taking the preset linear variation pattern as an example, we set the gain value. The target gain value is 1. for The total number of transition frames n is 10. When the brightness switching command is received, the display brightness is 600 nits, and the actual gain of the brightness adjustment gain is the set gain value of 1. First, in the switching frame, the gamma meter is switched from gamma meter 2 to gamma meter 1, and the actual gain value of the brightness adjustment gain is set to the target gain value. The display brightness is calculated to be 600 nits according to formula (2). To determine the actual gain value of the brightness adjustment gain for the i-th transition frame out of 10 transition frames... It can , Substituting n=10 into the above formula (4), the above formula (4) can be simplified to Then we can obtain the actual gain values ​​corresponding to these 10 transition frames: Actual gain value of the first transition frame =0.848516.

[0073] Actual gain value of the second transition frame =0.865347.

[0074] Actual gain value of the third transition frame =0.882179.

[0075] Actual gain value of the 4th transition frame =0.899011.

[0076] Actual gain value of the 5th transition frame =0.915842.

[0077] Actual gain value of the 6th transition frame =0.932674.

[0078] Actual gain value of the 7th transition frame =0.949505.

[0079] Actual gain value of the 8th transition frame =0.966337.

[0080] Actual gain value of the 9th transition frame =0.983168.

[0081] The actual gain value of the 10th transition frame .

[0082] In Example 2, within a set number of transition frames, the actual gain value of the brightness adjustment gain is adjusted frame by frame to control the display brightness to smoothly transition from the first transition frame to the tenth transition frame. , , =2.2, N=8, , , Substituting 2.2 into formula (2) above, formula (2) can be simplified to: The display brightness of each transition frame can specifically be: The display brightness of the first transition frame is .

[0083] The display brightness of the second transition frame is .

[0084] The display brightness of the third transition frame is .

[0085] The display brightness of the 4th transition frame is .

[0086] The display brightness of the 5th transition frame is .

[0087] The display brightness of the 6th transition frame is .

[0088] The display brightness of the 7th transition frame is .

[0089] The display brightness of the 8th transition frame is .

[0090] The display brightness of the 9th transition frame is .

[0091] The display brightness of the 10th transition frame is .

[0092] For easy comparison, Table 2 shows the correspondence between frame count, actual gain value, gamma table used, and display brightness. Table 2 is shown below: Table 2: Data Table 2

[0093] In the frame count in the data table 2 above, frame 0 is the display frame when the switching command is received, frame 1 is the switching frame, and frames 2 to 11 are 10 transition frames.

[0094] This example demonstrates how to switch from a low brightness level to a high brightness level without any sudden change in brightness.

[0095] This disclosure provides a display compensation method, including, in response to a brightness switching command, determining a first gamma meter corresponding to the current brightness level and a second gamma meter corresponding to the target brightness level, each gamma meter corresponding to a fixed brightness level; determining a target gain value for brightness adjustment gain based on the current brightness level, the target brightness level, and the gamma correction parameters of the display device, wherein the highest level among the current brightness level and the target brightness level is a high brightness level, the lowest level is a low brightness level, the target gain value is less than a set gain value for brightness adjustment gain, and for any grayscale value, the display brightness of the grayscale value determined based on the target gain value and the high brightness level is equal to the display brightness of the grayscale value determined based on the set gain value and the low brightness level; and, within a set time range, controlling the display brightness to change frame by frame within the set time range by adjusting the actual gain value of the brightness adjustment gain frame by frame based on the target gain value and the set gain value, and switching the first gamma meter to the second gamma meter, wherein the display brightness is the same in the two frames before and after the gamma meter switching. This method allows for the pre-determining of a target gain value for brightness adjustment. This ensures that, at the moment of gamma meter switching, the display brightness achieved using a high-brightness gamma meter with this target gain value is the same as the display brightness achieved using a low-brightness gamma meter with the set baseline gain value for brightness adjustment. In other words, the display brightness is identical for the two frames before and after the gamma meter switch. By adjusting the actual gain value of the brightness adjustment gain frame by frame, the display brightness is smoothly transitioned before and after the gamma meter switch, avoiding screen jitter and improving the user experience.

[0096] This disclosure also provides a brightness control device for use in display devices, such as... Figure 2 As shown, the brightness control device 200 may include a first determining module 210, a second determining module 220, and a control module 230.

[0097] The first determining module 210 is used to determine, in response to a brightness switching command, a first gamma table corresponding to the current brightness level and a second gamma table corresponding to the target brightness level; wherein, any gamma table corresponds to a fixed brightness level; The second determining module 220 is used to determine a target gain value for brightness adjustment gain based on the current brightness level, the target brightness level, and the gamma correction parameters of the display device; wherein, the highest of the current brightness level and the target brightness level is the high brightness level, and the lowest is the low brightness level, and the target gain value is less than the set gain value of the brightness adjustment gain; for any grayscale value, the display brightness of the grayscale value determined based on the target gain value and the high brightness level is equal to the display brightness of the grayscale value determined based on the set gain value and the low brightness level; The control module 230 is used to control the display brightness to change frame by frame within a set time range by adjusting the actual gain value of the brightness adjustment gain frame by frame according to the target gain value and the set gain value, and to switch the first gamma meter to the second gamma meter, so that the display brightness is the same in the two frames before and after the gamma meter switching.

[0098] In one embodiment, the set time range includes a set number of transition frames and a switching frame, wherein when the target brightness level is a high brightness level, the switching frame precedes the transition frames; The control module 230 is specifically configured to switch the gamma table called in the switching frame from the first gamma table to the second gamma table, and set the actual gain value of the brightness adjustment gain to the target gain value, so that the display brightness of the switching frame is the same as the display brightness of the frame before the switch; and, In the set number of transition frames, the display brightness is controlled to change frame by frame by increasing the actual gain value of the brightness adjustment gain from the target gain value to the set gain value.

[0099] In one embodiment, the set time range includes a set number of transition frames and a switching frame, wherein when the current brightness level is a high brightness level, the switching frame is after the transition frames; The second determining module is specifically configured to control the display brightness of the display screen to change frame-by-frame within the predetermined number of transition frames by progressively reducing the actual gain value of the brightness adjustment gain from the predetermined gain value to the target gain value within the predetermined number of transition frames; and, In the switching frame, the gamma meter to be invoked is switched from the first gamma meter to the second gamma meter, and the actual gain value of the brightness adjustment gain is set to the set gain value.

[0100] In one embodiment, the step of determining the target gain value of the brightness adjustment gain based on the current brightness level, the target brightness level, and the gamma correction parameters of the display device is described. Determined according to the following formula:

[0101] in, The gamma correction parameters for the display device. The current brightness level, The target brightness level, The lower of the current brightness level and the target brightness level. It is the higher brightness level between the current brightness level and the target brightness level.

[0102] In one embodiment, as the display brightness changes frame by frame within the set time range, the display brightness in each frame... Determined according to the following formula:

[0103] in, The gamma correction parameters for the display device. The fixed brightness level corresponding to the gamma meter being invoked. The grayscale values ​​of the input image. The actual gain value of the brightness adjustment gain is given, and N is the bit depth of the input image.

[0104] This disclosure also provides a display device, such as Figure 3 As shown, the display device 300 includes a processor 310 and a memory 320.

[0105] The memory 320 can be used to store executable computer instructions.

[0106] The processor 310 can be used to execute a brightness control method according to an embodiment of the present disclosure, under the control of executable computer instructions.

[0107] The display device 300 may be, for example, a head-mounted device such as a VR device or a MR device, or a device with other hardware structures, and is not limited here.

[0108] In another embodiment, the display device 300 may include the above-mentioned brightness control device 200. In one embodiment, each module of the brightness control device 200 can be implemented by the processor 310 running computer instructions stored in the memory 320.

[0109] This disclosure also provides a computer-readable storage medium storing computer instructions thereon, which, when executed by a processor, perform the brightness control method provided in this disclosure.

[0110] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.

[0111] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0112] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0113] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0114] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0115] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0116] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It will be known to those skilled in the art that implementation in hardware, implementation in software, and implementation in a combination of software and hardware are equivalent.

[0118] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this disclosure is defined by the appended claims.

Claims

1. A brightness control method applied to a display device, the method comprising: determining a first gamma table corresponding to a current brightness level and a second gamma table corresponding to a target brightness level in response to a brightness switching instruction, wherein any gamma table corresponds to a fixed brightness level; determining a target gain value of a brightness adjustment gain according to the current brightness level, the target brightness level and a gamma correction parameter of the display device, wherein a highest level in the current brightness level and the target brightness level is a high brightness level and a lowest level is a low brightness level, the target gain value is less than a set gain value of the brightness adjustment gain, and a display brightness of any gray scale value based on the target gain value and the high brightness level is equal to a display brightness of the gray scale value based on the set gain value and the low brightness level; controlling the display brightness to change frame by frame within a set time range by adjusting an actual gain value of the brightness adjustment gain according to the target gain value and the set gain value, switching the first gamma table to the second gamma table, and making the display brightness of two frames before and after the gamma table switching the same. The set time range comprises a set number of transition frames and a switching frame, and the switching frame is before the transition frames when the target brightness level is the high brightness level. The controlling the display brightness to change frame by frame within the set time range by adjusting the actual gain value of the brightness adjustment gain according to the target gain value and the set gain value, switching the first gamma table to the second gamma table, and making the display brightness of two frames before and after the gamma table switching the same comprises: switching the gamma table to be called from the first gamma table to the second gamma table in the switching frame, setting the actual gain value of the brightness adjustment gain as the target gain value, so that the display brightness of the switching frame and the display brightness of a frame before the switching are the same; and increasing the actual gain value of the brightness adjustment gain frame by frame from the target gain value to the set gain value in the set number of transition frames, so as to control the display brightness to change frame by frame within the set number of transition frames. The set time range comprises a set number of transition frames and a switching frame, and the switching frame is after the transition frames when the current brightness level is the high brightness level.

2. The method of claim 1, wherein, The controlling the display brightness to change frame by frame within the set time range by adjusting the actual gain value of the brightness adjustment gain according to the target gain value and the set gain value, switching the first gamma table to the second gamma table, and making the display brightness of two frames before and after the gamma table switching the same comprises: switching the gamma table to be called from the first gamma table to the second gamma table in the switching frame, setting the actual gain value of the brightness adjustment gain as the set gain value; and decreasing the actual gain value of the brightness adjustment gain frame by frame from the set gain value to the target gain value in the set number of transition frames, so as to control the display brightness of the display screen to change frame by frame within the set number of transition frames. ​ ​ ​ 3. The method of claim 1, wherein, ​ ​ ​ ​ 4. The method of claim 1, wherein, determining a target gain value of a luminance adjustment gain according to the current luminance level, the target luminance level and a gamma correction parameter of the display device is determined according to the following formula: wherein, is a gamma correction parameter of the display device, is the current luminance level, is the target luminance level, is a low luminance level of the current luminance level and the target luminance level, is a high luminance level of the current luminance level and the target luminance level.

5. The method of claim 1, wherein, In the process that the display brightness changes frame by frame in the set time range, the display brightness of each frame is determined according to the following formula: wherein, is a gamma correction parameter of the display device, is a fixed luminance level corresponding to the called gamma table, is a gray scale value of the input image, is an actual gain value of the luminance adjustment gain, and N is a bit depth of the input image.

6. A brightness control apparatus applied to a display device, the apparatus comprising: a first determining module configured to determine a first gamma table corresponding to a current brightness level and a second gamma table corresponding to a target brightness level in response to a brightness switching instruction, wherein any of the gamma tables corresponds to a fixed brightness level; a second determining module configured to determine a target gain value of a brightness adjustment gain according to the current brightness level, the target brightness level and a gamma correction parameter of the display device, wherein a highest level in the current brightness level and the target brightness level is a high brightness level and a lowest level is a low brightness level, the target gain value is less than a set gain value of the brightness adjustment gain, and a display brightness of any gray scale value based on the target gain value and the high brightness level is equal to a display brightness of the gray scale value based on the set gain value and the low brightness level; a control module configured to control the display brightness to change frame by frame within a set time range and switch the first gamma table to the second gamma table by adjusting an actual gain value of the brightness adjustment gain according to the target gain value and the set gain value within the set time range, so that the display brightness of two frames before and after the gamma table switching is the same.

7. The apparatus of claim 6, wherein, The set time range comprises a set number of transition frames and a switching frame, and the switching frame is before the transition frames in a case that the target brightness level is the high brightness level. The control module is specifically configured to switch a gamma table to be invoked from the first gamma table to the second gamma table at the switching frame and set the actual gain value of the brightness adjustment gain as the target gain value, so that the display brightness of the switching frame is the same as the display brightness of a frame before the switching; and the display brightness is controlled to change frame by frame within the set number of transition frames by increasing the actual gain value of the brightness adjustment gain from the target gain value to the set gain value frame by frame.

8. The apparatus of claim 6, wherein, The set time range comprises a set number of transition frames and a switching frame, and the switching frame is after the transition frames in a case that the current brightness level is the high brightness level. The control module is specifically configured to control the display brightness of the display screen to change frame by frame within the set number of transition frames by decreasing the actual gain value of the brightness adjustment gain from the set gain value to the target gain value frame by frame in the set number of transition frames. The control module is specifically configured to switch a gamma table to be invoked from the first gamma table to the second gamma table at the switching frame and set the actual gain value of the brightness adjustment gain as the set gain value. comprise:

9. A display device, wherein, a memory configured to store executable computer instructions; a processor configured to execute the method according to any one of claims 1-7 according to control of the executable computer instructions. a computer program product having stored thereon computer instructions that, when executed by a processor, perform the method according to any one of claims 1-7.

10. A computer readable storage medium, wherein, ​