Picture brightness adjusting method, head-mounted display device, medium and computer product
Patent Information
- Application Number
- CN202510475247.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2026-10-23
AI Technical Summary
[0005]本申请的主要目的在于提供一种画面亮度调节方法、头戴显示设备、存储介质及计算机程序产品,旨在解决相关技术中VR设备内的实时显示画面容易受到环境光干扰的技术问题
[0038]如此,本申请解决了相关技术中VR设备内的实时显示画面容易受到环境光干扰的技术问题,即,本申请通过由头戴显示设备根据环境光参数和用户的头部位姿参数推算得到漏光区域内的目标像素点受环境光影响程度,同时,头戴显示设备检测显示屏上亮部画面区域和暗部画面区域的画面分布特征,进而基于目标像素点所对应的漏光影响参数和画面分布特征推算得到亮度调节参数,从而按照亮度调节参数对目标像素点的初始像素亮度进行修改,进而在无需对头戴显示设备的硬件结构设计进行修改的情况下,也能在环境光在射入头戴显示设备内部的情况下对实时显示画面内的画面亮度进行调节,从而达到了令头戴显示设备内实时显示画面的整体亮度不受环境光影响的技术效果。
Smart Images

Figure CN122967556A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of head-mounted display technology, and in particular to a method for adjusting screen brightness, a head-mounted display device, a storage medium, and a computer program product. Background Technology
[0002] With the continuous development of VR (Virtual Reality) technology, VR devices have become an important medium for users to pursue immersive experiences.
[0003] In related technologies, technicians often improve the fit between the VR device and the user's face by modifying the shape of the nose pad or by adding cushioning materials inside the VR device, in order to reduce light leakage in VR devices.
[0004] However, the static light-blocking structure on VR devices often cannot adapt to the diversity of user face shapes. As a result, when the user's head moves, a gap will still be generated between the VR device and the user's face, which will lead to unstable light leakage suppression effect of the VR device and cause the real-time display to be interfered with by ambient light. Summary of the Invention
[0005] The main purpose of this application is to provide a method for adjusting screen brightness, a head-mounted display device, a storage medium, and a computer program product, in order to solve the technical problem that the real-time display screen in VR devices is easily affected by ambient light interference in the related art.
[0006] To achieve the above objectives, this application proposes a screen brightness adjustment method, which is applied to a head-mounted display device including a display screen, the method comprising:
[0007] Real-time ambient light parameters and real-time head pose parameters are detected, and light leakage impact parameters corresponding to target pixels in the display screen are determined based on the real-time ambient light parameters and the real-time head pose parameters.
[0008] Determine the real-time screen distribution characteristics corresponding to the display screen, and determine the first target brightness adjustment parameter corresponding to the target pixel based on the light leakage influence parameter and the real-time screen distribution characteristics;
[0009] The first target pixel brightness is calculated based on the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and the initial pixel brightness is adjusted to the first target pixel brightness.
[0010] In one embodiment, the step of determining the light leakage influence parameters corresponding to the target pixel in the display screen based on the real-time ambient light parameters and the real-time head pose parameters includes:
[0011] Determine the ambient light-leakage influence mapping relationship corresponding to the real-time head pose parameters;
[0012] Based on the real-time ambient light parameters, the ambient light-leakage influence mapping relationship is queried to determine the leakage influence parameters corresponding to the target pixel.
[0013] In one embodiment, the step of determining the real-time screen distribution characteristics corresponding to the display screen includes:
[0014] Determine the initial pixel brightness parameters corresponding to each pixel on the display screen, and obtain the preset pixel brightness threshold;
[0015] Each initial pixel brightness parameter is compared with the pixel brightness threshold to obtain multiple comparison results;
[0016] The bright and dark areas of the display screen are determined based on multiple comparison results.
[0017] The real-time image distribution characteristics of the display screen are determined based on the bright and dark image areas.
[0018] In one embodiment, the step of determining the first target brightness adjustment parameter corresponding to the target pixel based on the light leakage effect parameter and the real-time image distribution characteristics includes:
[0019] Based on the real-time image distribution characteristics, the adjustment reference value corresponding to the target pixel is determined, and the preset bright area reduction coefficient and dark area enhancement coefficient are obtained.
[0020] The adjustment reference value is processed based on the real-time image distribution characteristics, the brightness reduction coefficient, and the light leakage effect parameter to determine the first target brightness adjustment parameter corresponding to the target pixel.
[0021] In one embodiment, the step of determining the adjustment reference value corresponding to the target pixel based on the real-time image distribution features includes:
[0022] Determine multiple preset screen distribution features, and determine the preset adjustment reference value corresponding to each of the multiple preset screen distribution features;
[0023] Among the multiple preset screen distribution features, a target preset screen distribution feature that is consistent with the real-time screen distribution feature is determined;
[0024] The preset adjustment reference value corresponding to the target preset image distribution characteristics is determined as the adjustment reference value corresponding to the target pixel.
[0025] In one embodiment, after determining the light leakage effect parameters corresponding to the target pixel in the display screen based on the real-time ambient light parameters and the real-time head pose parameters, the method further includes:
[0026] The real-time playback mode of the head-mounted display device is detected, and the mapping relationship between light leakage effect and adjustment parameters corresponding to the real-time playback mode is determined.
[0027] Based on the light leakage effect-adjustment parameter mapping relationship, determine the second target brightness adjustment parameter corresponding to the light leakage effect parameter;
[0028] The second target pixel brightness is calculated based on the second target brightness adjustment parameters, and the initial pixel brightness is adjusted to the second target pixel brightness.
[0029] In one embodiment, the step of determining the second target brightness adjustment parameter corresponding to the light leakage influence parameter based on the light leakage influence-adjustment parameter mapping relationship includes:
[0030] Determine multiple preset light leakage effect parameters included in the light leakage effect-adjustment parameter mapping relationship, and preset brightness adjustment parameters that match each of the multiple preset light leakage effect parameters;
[0031] Based on the light leakage influence parameters, a target light leakage influence parameter is determined from among a plurality of preset light leakage influence parameters;
[0032] The preset brightness adjustment parameter corresponding to the target light leakage influence parameter is determined as the second target brightness adjustment parameter corresponding to the light leakage influence parameter.
[0033] In addition, to achieve the above objectives, this application also proposes a head-mounted display device, the device comprising: a display screen, a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the screen brightness adjustment method described above.
[0034] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the screen brightness adjustment method described above.
[0035] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the screen brightness adjustment method described above.
[0036] The screen brightness adjustment method provided in this application embodiment is applied to a head-mounted display device including a display screen. It detects real-time ambient light parameters and real-time head posture parameters, and determines light leakage impact parameters corresponding to a target pixel within the display screen based on the real-time ambient light parameters and the real-time head posture parameters; determines real-time screen distribution characteristics corresponding to the display screen, and determines a first target brightness adjustment parameter corresponding to the target pixel based on the light leakage impact parameters and the real-time screen distribution characteristics; calculates a first target pixel brightness based on the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and adjusts the initial pixel brightness to the first target pixel brightness.
[0037] In this embodiment, when the head-mounted display device is running, it first detects the real-time ambient light parameters in its environment and the real-time head posture parameters generated when the user's head moves. The head-mounted display device then determines the light leakage effect parameter corresponding to the target pixel in the display screen, which can characterize the degree of ambient light interference of the target pixel, based on the real-time ambient light parameters and the real-time head posture parameters. After that, the head-mounted display device detects the display screen it is configured with to determine the real-time image distribution characteristics of the display screen, and determines the first target brightness adjustment parameter corresponding to the target pixel based on the real-time image distribution characteristics and the light leakage effect parameter. Finally, the head-mounted display device calculates the first target pixel brightness according to the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and adjusts the target pixel brightness from the initial pixel brightness to the target pixel brightness that matches the light leakage effect parameter.
[0038] Thus, this application solves the technical problem in related technologies where the real-time display in VR devices is easily affected by ambient light interference. Specifically, this application calculates the degree of influence of ambient light on target pixels within the light leakage area by the head-mounted display device based on ambient light parameters and the user's head posture parameters. Simultaneously, the head-mounted display device detects the image distribution characteristics of bright and dark areas on the display screen, and then calculates brightness adjustment parameters based on the light leakage influence parameters and image distribution characteristics corresponding to the target pixels. The initial pixel brightness of the target pixels is then modified according to the brightness adjustment parameters. Therefore, without modifying the hardware structure design of the head-mounted display device, the brightness of the real-time display can be adjusted even when ambient light enters the head-mounted display device, thereby achieving the technical effect that the overall brightness of the real-time display within the head-mounted display device is not affected by ambient light. Attached Figure Description
[0039] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0040] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a flowchart illustrating an embodiment of the screen brightness adjustment method of this application.
[0042] Figure 2 This is a flowchart illustrating Embodiment 2 of the screen brightness adjustment method of this application;
[0043] Figure 3 This is a schematic diagram of the module structure of the screen brightness adjustment device in an embodiment of this application;
[0044] Figure 4 This is a schematic diagram of the device structure of the hardware operating environment involved in the screen brightness adjustment method in the embodiments of this application.
[0045] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0046] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0047] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0048] It should be noted that, for ease of description, the following description will focus on head-mounted display devices equipped with cameras, ambient light sensors, and IMUs, or mobile terminals, data storage control terminals, PCs, and other terminals connected to electronic control units associated with head-mounted display devices. It is understood that these head-mounted display devices include, but are not limited to, Augmented Reality (AR) devices (e.g., AR glasses or AR helmets), Mixed Reality (MR) devices (e.g., MR glasses or MR helmets), Virtual Reality (VR) devices (e.g., VR glasses or VR helmets), Extended Reality (XR) devices, or some combination thereof.
[0049] Based on the aforementioned head-mounted display device, the overall concept of the screen brightness adjustment method of this application is proposed.
[0050] With the continuous development of VR (Virtual Reality) technology, VR devices have become an important medium for users seeking immersive experiences. In related technologies, engineers typically improve the fit between the VR device and the user's face by modifying the nose pad shape or incorporating cushioning materials within the VR device, thereby reducing light leakage. However, the static light-blocking structure on VR devices often cannot adapt to the diversity of user face shapes. Therefore, when the user's head moves, gaps still exist between the VR device and the user's face, leading to unstable light leakage suppression and causing real-time display images to be affected by ambient light.
[0051] To address the above issues, this application provides a screen brightness adjustment method applied to a head-mounted display device including a display screen. The method includes detecting real-time ambient light parameters and real-time head posture parameters, and determining light leakage impact parameters corresponding to a target pixel within the display screen based on the real-time ambient light parameters and the real-time head posture parameters; determining real-time screen distribution characteristics corresponding to the display screen, and determining a first target brightness adjustment parameter corresponding to the target pixel based on the light leakage impact parameters and the real-time screen distribution characteristics; calculating a first target pixel brightness based on the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and adjusting the initial pixel brightness to the first target pixel brightness.
[0052] Thus, this application solves the technical problem in related technologies where the real-time display in VR devices is easily affected by ambient light interference. Specifically, this application calculates the degree of influence of ambient light on target pixels within the light leakage area by the head-mounted display device based on ambient light parameters and the user's head posture parameters. Simultaneously, the head-mounted display device detects the image distribution characteristics of bright and dark areas on the display screen, and then calculates brightness adjustment parameters based on the light leakage influence parameters and image distribution characteristics corresponding to the target pixels. The initial pixel brightness of the target pixels is then modified according to the brightness adjustment parameters. Therefore, without modifying the hardware structure design of the head-mounted display device, the brightness of the real-time display can be adjusted even when ambient light enters the head-mounted display device, thereby achieving the technical effect that the overall brightness of the real-time display within the head-mounted display device is not affected by ambient light.
[0053] Based on the overall concept of the screen brightness adjustment method of this application, this application provides a screen brightness adjustment method. Please refer to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the screen brightness adjustment method of this application. In this embodiment, the screen brightness adjustment method is applied to a head-mounted display device, such as... Figure 1As shown, the screen brightness adjustment method includes steps S10 to S30:
[0054] Step S10: Detect real-time ambient light parameters and real-time head position pose parameters, and determine the light leakage influence parameters corresponding to the target pixel in the display screen based on the real-time ambient light parameters and real-time head position pose parameters;
[0055] It should be noted that this ambient light parameter P leak This refers to external light source information detected by the head-mounted display device via an ambient light sensor or camera, including the direction of light penetration and light intensity. Additionally, this includes the head pose parameter I. head This refers to real-time head motion data acquired by the head-mounted display device via an inertial detection unit, including but not limited to: head rotation angle, head spatial position offset, etc. Additionally, the light leakage influence parameter L... ext (x,y) represents the degree to which the target pixel (x,y) on the display screen is affected by ambient light when external ambient light is transmitted to the display screen through the gap in the light shield of the head-mounted display device.
[0056] In this embodiment, during operation, the head-mounted display device first calls its own ambient light sensor to collect real-time ambient light parameters corresponding to its environment. At the same time, the head-mounted display device calls its own inertial detection unit to detect the user's head to determine the real-time head position and posture parameters generated during the user's head movement. The head-mounted display device then determines the light leakage effect parameters corresponding to the target pixel point that needs to be adjusted on the display screen based on the real-time ambient light parameters and the real-time head position and posture parameters.
[0057] For example, during operation, the VR device first uses its configured ALS sensor to detect the incident direction and intensity of external light sources in its environment to obtain the real-time ambient light parameter P. leak Simultaneously, the VR device utilizes its own configured IMU to detect real-time head pose parameters (Io) generated as the user's head moves. head VR devices then rely on head posture parameters I head and ambient light parameter P leak Determine the light leakage effect parameter L, which characterizes the degree of influence of ambient light on the target pixel (x,y) on the display screen. ext (x,y):
[0058] L ext (x,y)=f(I head ,P leak ).
[0059] It is understandable that the light leakage effect parameter L was calculated. ext During the process of (x,y), f represents the real-time head pose parameter I.head Real-time ambient light parameter P leak And the light leakage effect parameter L ext The mapping relationship between (x, y).
[0060] In this way, the head-mounted display device can combine the user's head movements and changes in ambient light to locate its own light leakage areas in real time, and map the ambient light parameters and head posture parameters to the actual degree of interference of the target pixels on the screen.
[0061] In one feasible implementation, the step of "determining the light leakage influence parameters corresponding to the target pixel in the display screen based on the real-time ambient light parameters and the real-time head pose parameters" in step S10 above may specifically include steps S101 to S102:
[0062] Step S101: Determine the ambient light-leakage influence mapping relationship corresponding to the real-time head pose parameters;
[0063] Step S102: Based on the real-time ambient light parameters, query the ambient light-leakage influence mapping relationship to determine the leakage influence parameters corresponding to the target pixel.
[0064] In this embodiment, after determining the ambient light parameters and head pose parameters, the head-mounted display device first filters and obtains a matching ambient light-leakage influence mapping relationship based on the head pose parameters. Then, the head-mounted display device queries the ambient light-leakage influence mapping relationship based on the real-time ambient light parameters to determine the target preset ambient light parameters that match the real-time ambient light parameters in the ambient light-leakage influence mapping relationship. The preset leakage influence parameter corresponding to the target preset ambient light parameters in the ambient light-leakage influence mapping relationship is determined as the leakage influence parameter corresponding to the target pixel.
[0065] For example, when a VR device collects ambient light parameter P leak and head position pose parameters I head Next, based on the head position pose parameter I head Multiple preset ambient light-leakage influence mapping relationships are filtered to determine the head position pose parameter I. head The corresponding ambient light-leakage effect mapping relationship is then established. The VR device reads multiple preset ambient light parameters and their corresponding preset leakage effect parameters from this mapping relationship. Based on the real-time ambient light parameters, the VR device determines the target preset ambient light parameter from among these preset parameters and sets the preset leakage effect parameter corresponding to the target preset ambient light parameter as the leakage effect parameter L corresponding to the target pixel (x, y) on the display screen. ext (x,y).
[0066] In this way, head-mounted display devices can combine user head movements and changes in ambient light to locate their own light leakage areas in real time, and map ambient light parameters to the actual degree of interference of target pixels on the screen.
[0067] Step S20: Determine the real-time screen distribution characteristics corresponding to the display screen, and determine the first target brightness adjustment parameter corresponding to the target pixel based on the light leakage influence parameter and the real-time screen distribution characteristics;
[0068] It should be noted that this brightness adjustment parameter L comp (x,y) represents the final generated brightness compensation value, which is used to dynamically adjust the actual pixel brightness of the target pixel.
[0069] In this embodiment, after determining the light leakage effect parameters corresponding to the target pixel, the head-mounted display device further detects its own configured display screen to determine the bright and dark areas contained on the display screen, and determines the real-time image distribution characteristics of the display screen based on the bright and dark areas, and then determines the first target brightness adjustment parameter corresponding to the target pixel based on the real-time image distribution characteristics and the aforementioned light leakage effect parameters.
[0070] For example, the VR device acquires the light leakage effect parameter L corresponding to the target pixel. ext After (x, y), the VR device detects its own display screen to determine the real-time display image on the screen and extracts the pixel brightness parameters corresponding to each pixel in the real-time display image. The VR device then obtains a preset pixel brightness threshold and, based on the pixel brightness threshold and the pixel brightness parameters, divides the pixels in the real-time display image to obtain bright and dark image regions. The VR device then determines the real-time image distribution characteristics I of the display screen based on the bright and dark image regions. VR VR devices based on real-time image distribution characteristics I VR And the light leakage effect parameter L ext (x,y), determine the first target brightness adjustment parameter L corresponding to the target pixel (x,y). comp1 (x,y).
[0071] In this way, the head-mounted display device can spatially cluster the pixels on the screen to distinguish between bright and dark areas, thereby determining the screen's image distribution characteristics, and calculating the brightness adjustment parameters corresponding to the target pixel based on the image distribution characteristics and light leakage effect parameters.
[0072] In one feasible implementation, the step of "determining the real-time screen distribution characteristics corresponding to the display screen" in step S20 above may specifically include steps S201 to S204:
[0073] Step S201: Determine the initial pixel brightness parameters corresponding to each pixel on the display screen, and obtain the preset pixel brightness threshold;
[0074] Step S202: Compare each initial pixel brightness parameter with the pixel brightness threshold to obtain multiple comparison results;
[0075] Step S203: Determine the bright and dark areas of the display screen based on the multiple comparison results;
[0076] Step S204: Determine the real-time image distribution characteristics of the display screen based on the bright image area and the dark image area.
[0077] In this embodiment, after determining the light leakage effect parameters corresponding to the target pixel, the head-mounted display device first reads the initial pixel brightness parameters corresponding to the target pixel. Simultaneously, the head-mounted display device reads the aforementioned storage module to obtain a preset pixel brightness threshold. Then, the head-mounted display device compares the initial pixel brightness parameters with the pixel brightness threshold to obtain multiple comparison results. Subsequently, if the head-mounted display device determines that the initial pixel brightness parameters have reached the pixel brightness threshold, it determines that the area where the pixel is located is a bright area of the screen. Similarly, if the head-mounted display device determines that the initial pixel brightness parameters have not reached the pixel brightness threshold, it determines that the area where the pixel is located is a dark area of the screen. Finally, the head-mounted display device determines the real-time screen distribution characteristics corresponding to the display screen based on the bright and dark areas of the screen.
[0078] For example, after detecting a real-time display, the VR device first reads the initial pixel brightness parameters corresponding to the target pixels in the real-time display. Simultaneously, the VR device reads the aforementioned storage module to obtain a preset pixel brightness threshold. Then, the VR device compares the initial pixel brightness parameters with the pixel brightness threshold to obtain a comparison result. The VR device reads the comparison result, and if it determines that the initial pixel brightness parameters have reached the pixel brightness threshold, the VR device determines that the pixel is in a bright area of the image. Similarly, if it determines that the initial pixel brightness parameters have not reached the pixel brightness threshold, the VR device determines that the target pixel is in a dark area of the image. Finally, the VR device extracts the first brightness distribution feature and the average brightness of the bright area, and extracts the second brightness distribution feature and the average brightness of the dark area. Then, based on the first brightness distribution feature, the second brightness distribution feature, the average brightness of the bright area, and the average brightness of the dark area, it determines the real-time image distribution feature I corresponding to the display screen. VR .
[0079] Understandably, after determining the bright and dark areas of the image, the VR device calculates the real-time image distribution characteristics I. VR There are many ways to do this, and this application does not limit it.
[0080] In this way, head-mounted display devices can spatially cluster the pixels on the screen to distinguish between bright and dark areas of the image, thereby determining the image distribution characteristics of the display screen.
[0081] In one feasible implementation, the step of "determining the first target brightness adjustment parameter corresponding to the target pixel based on the light leakage effect parameter and the real-time image distribution characteristics" in step S20 above may specifically include steps S205 to S206:
[0082] Step S205: Determine the adjustment reference value corresponding to the target pixel based on the real-time image distribution characteristics, and obtain the preset bright area reduction coefficient and dark area enhancement coefficient;
[0083] Step S206: Process the adjustment reference value according to the real-time image distribution characteristics, the brightness reduction coefficient and the light leakage effect parameter to determine the first target brightness adjustment parameter corresponding to the target pixel.
[0084] It should be noted that the brightness reduction coefficient K L This is a preset coefficient for attenuating bright areas of the image, used to reduce the brightness of these areas and minimize ambient light interference. It can be understood that this brightness attenuation coefficient K... L There are many ways to obtain it, and this application does not limit this; in addition, the dark area enhancement coefficient K D This is a preset coefficient for enhancing dark areas of the image, used to increase the brightness of these areas and reduce the interference of ambient light. It can be understood that this dark enhancement coefficient K... D There are many ways to obtain [the data], and this application does not impose any restrictions on this. Furthermore, the brightness reduction coefficient K... L and shadow enhancement factor K D The sum of is 1.
[0085] In this embodiment, after determining the real-time image distribution characteristics, the head-mounted display device can first process the real-time image distribution characteristics to determine the adjustment reference value that matches the real-time image distribution characteristics. At the same time, the head-mounted display device reads the aforementioned storage module to obtain the preset brightness reduction coefficient and dark enhancement coefficient. Finally, the head-mounted display device calculates the adjustment reference value based on the brightness reduction coefficient, dark enhancement coefficient, and light leakage effect parameter to obtain the first target brightness adjustment parameter corresponding to the target pixel.
[0086] For example, a VR device determines the real-time image distribution characteristics I VR After that, we can first analyze the real-time image distribution characteristics I VR Processing is performed to determine the real-time image distribution characteristics I through a preset mapping function g. VR Matching adjustment reference value L screen (x,y):
[0087] L screen (x,y)=g(I VR );
[0088] Simultaneously, the VR device reads the aforementioned storage module to obtain the preset brightness reduction coefficient K. L and shadow enhancement factor K D The screen's dark areas are then measured to determine the average brightness L in those dark areas. dark (x,y), then, the VR device is based on the brightness attenuation coefficient K. L Dark area enhancement factor K D Average brightness of dark areas (L) dark (x,y) and the light leakage effect parameter L ext (x,y) adjusts the reference value L screen (x, y) are calculated to obtain the first target brightness adjustment parameter L corresponding to the target pixel. comp1 (x,y):
[0089] L comp1 (x,y)=L screen (x,y)*(1-K L *L ext (x,y))+K D *L dark (x,y).
[0090] In this way, the head-mounted display device can determine whether the target pixel is in the bright or dark part of the screen area based on the light leakage effect parameters and the screen distribution characteristics. Then, by using the bright reduction coefficient and the dark enhancement coefficient, the brightness of the target pixel in the bright part of the screen area is reduced, and the brightness of the target pixel in the dark part of the screen area is reduced, so as to reduce the impact of ambient light on the real-time display screen.
[0091] In one feasible implementation, the step of "determining the adjustment reference value corresponding to the target pixel based on the real-time image distribution characteristics" in step S205 above may specifically include steps S2051 to S2053:
[0092] Step S2051: Determine multiple preset screen distribution features, and determine the preset adjustment reference value corresponding to each of the multiple preset screen distribution features;
[0093] Step S2052: Determine a target preset screen distribution feature that is consistent with the real-time screen distribution feature from among the multiple preset screen distribution features;
[0094] Step S2053: Determine the preset adjustment reference value corresponding to the target preset image distribution features as the adjustment reference value corresponding to the target pixel.
[0095] In this embodiment, after determining the real-time image distribution characteristics, the head-mounted display device can first read and determine multiple preset image distribution characteristics and the preset reference adjustment values corresponding to each of the multiple preset image distribution characteristics. Then, the head-mounted display device filters the multiple preset image distribution characteristics based on the real-time image distribution characteristics to determine the target preset image distribution characteristics that are consistent with the real-time image distribution characteristics. Finally, the head-mounted display device determines the preset adjustment reference value corresponding to the target preset image distribution characteristics as the adjustment reference value that matches the real-time image distribution characteristics.
[0096] For example, a VR device determines the real-time image distribution characteristics I VR Afterwards, in addition to determining the real-time image distribution characteristics I through the preset mapping function g, VR Matching adjustment reference value L screen In addition to (x,y), a screen distribution-adjustment mapping table containing multiple preset screen distribution features and preset adjustment reference values corresponding to each preset screen distribution feature can be read first. Then, the VR device can adjust the screen distribution based on the real-time screen distribution feature I. VR Query the screen distribution-adjustment mapping table and set the real-time screen distribution feature I. VR The data is compared with multiple preset image distribution features to determine the real-time image distribution feature I. VR Consistent target preset screen distribution characteristics; finally, the VR device determines the preset adjustment benchmark value corresponding to the target preset screen distribution characteristics as the same as the real-time screen distribution characteristics I. VR Matching adjustment reference value L screen (x,y).
[0097] In this way, the head-mounted display device can calculate the brightness adjustment parameters corresponding to the target pixel based on the image distribution characteristics and light leakage effect parameters.
[0098] Step S30: Calculate the first target pixel brightness based on the first target brightness adjustment parameters and the initial pixel brightness of the target pixel, and adjust the initial pixel brightness to the first target pixel brightness;
[0099] In this embodiment, after determining the first target brightness adjustment parameter, the head-mounted display device further calculates the first target pixel brightness based on the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and adjusts the target pixel from the initial pixel brightness to the first target pixel brightness.
[0100] For example, when determining the first target brightness adjustment parameter L, the VR device... comp1 After (x,y), the initial pixel brightness of the target pixel is further read, and the parameter L is adjusted based on the first target brightness. comp1 The first target pixel brightness is calculated from (x,y) and the initial pixel brightness. The VR device then calls its own configured GPU to adjust the target pixel to adjust the target pixel brightness from the initial pixel brightness to the first target pixel brightness.
[0101] In this embodiment, during operation, the head-mounted display device first calls its own ambient light sensor to collect real-time ambient light parameters corresponding to its environment. Simultaneously, the head-mounted display device calls its own inertial detection unit to detect the user's head to determine real-time head posture parameters generated during head movement. The head-mounted display device then determines the light leakage effect parameters corresponding to the target pixel on the display screen that needs adjustment based on the real-time ambient light parameters and real-time head posture parameters. Next, the head-mounted display device detects its own display screen to determine the bright and dark areas contained on the screen, and determines the real-time image distribution characteristics of the display screen based on the bright and dark areas. Then, based on the real-time image distribution characteristics and the aforementioned light leakage effect parameters, it determines the first target brightness adjustment parameter corresponding to the target pixel. Finally, the head-mounted display device calculates the first target pixel brightness based on the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and adjusts the target pixel from the initial pixel brightness to the first target pixel brightness.
[0102] Thus, this application solves the technical problem in related technologies where the real-time display in VR devices is easily affected by ambient light interference. Specifically, this application calculates the degree of influence of ambient light on target pixels within the light leakage area by the head-mounted display device based on ambient light parameters and the user's head posture parameters. Simultaneously, the head-mounted display device detects the image distribution characteristics of bright and dark areas on the display screen, and then calculates brightness adjustment parameters based on the light leakage influence parameters and image distribution characteristics corresponding to the target pixels. The initial pixel brightness of the target pixels is then modified according to the brightness adjustment parameters. Therefore, without modifying the hardware structure design of the head-mounted display device, the brightness of the real-time display can be adjusted even when ambient light enters the head-mounted display device, thereby achieving the technical effect that the overall brightness of the real-time display within the head-mounted display device is not affected by ambient light.
[0103] Based on the first embodiment of this application, a second embodiment of this application is proposed herein. In this second embodiment, content that is the same as or similar to the embodiments described above can be referred to the above description and will not be repeated hereafter. Based on this, please refer to... Figure 2 , Figure 2 This is a flowchart illustrating Embodiment 2 of the screen brightness adjustment method of this application, as shown below. Figure 2 As shown, after step S10 above, the screen brightness adjustment method of this application may further include steps A10 to A30:
[0104] Step A10: Detect the real-time playback mode of the head-mounted display device and determine the mapping relationship between light leakage impact and adjustment parameters corresponding to the real-time playback mode;
[0105] Step A20: Determine the second target brightness adjustment parameter corresponding to the light leakage effect parameter based on the mapping relationship between light leakage effect and adjustment parameter;
[0106] Step A30: Calculate the brightness of the second target pixel based on the second target brightness adjustment parameters, and adjust the initial pixel brightness to the brightness of the second target pixel.
[0107] In this embodiment, after determining the light leakage impact parameters corresponding to the target pixel, the head-mounted display device can first detect its own real-time playback mode and determine the light leakage impact-adjustment parameter mapping relationship that matches the real-time playback mode. Then, the head-mounted display device queries the light leakage impact-adjustment parameter mapping relationship based on the acquired light leakage impact parameters to determine the second target brightness adjustment parameter that matches the light leakage impact parameters. Finally, the head-mounted display device calculates the second target pixel brightness based on the second target brightness adjustment parameter and the initial pixel brightness of the target pixel, and adjusts the target pixel from the initial pixel brightness to the second target pixel brightness.
[0108] For example, a VR device determines the light leakage effect parameter L corresponding to a target pixel. ext After (x,y), the VR device can first detect its own operating system to determine the current playback mode. Then, it acquires multiple light leak impact-adjustment parameter mapping relationships matching different playback modes, and determines the light leak impact-adjustment parameter mapping relationship matching the real-time playback mode. Finally, the VR device uses the acquired light leak impact parameter L... ext The mapping relationship between light leakage effect and adjustment parameter (x, y) is used to determine the light leakage effect parameter L. ext The second target brightness adjustment parameter L corresponding to (x,y) comp2 (x,y), finally, the VR device is based on the second target brightness L comp2 The second target pixel brightness is calculated by adjusting the (x,y) parameters and the initial pixel brightness of the target pixel. The VR device then calls its own configured GPU to adjust the target pixel to adjust the target pixel brightness from the initial pixel brightness to the second target pixel brightness.
[0109] In this way, head-mounted display devices can select appropriate brightness adjustment parameters according to the playback scenario, thereby further enhancing the immersive experience for users when wearing head-mounted display devices.
[0110] In one feasible implementation, step A20 above may specifically include steps A201 to A203:
[0111] Step A201: Determine the multiple preset light leakage effect parameters included in the light leakage effect-adjustment parameter mapping relationship, and the preset brightness adjustment parameters that match each of the multiple preset light leakage effect parameters;
[0112] Step A202: Determine the target light leakage influence parameter from among the preset light leakage influence parameters based on the light leakage influence parameters;
[0113] Step A203: Determine the preset brightness adjustment parameter corresponding to the target light leakage influence parameter as the second target brightness adjustment parameter corresponding to the light leakage influence parameter.
[0114] In this embodiment, after determining the light leakage effect-adjustment parameter mapping relationship corresponding to the real-time playback mode, the head-mounted display device first reads multiple preset light leakage effect parameters and preset brightness adjustment parameters corresponding to each preset light leakage effect parameter contained in the light leakage effect-adjustment parameter mapping relationship. Then, the head-mounted display device queries the light leakage effect-adjustment parameter mapping relationship based on the acquired current light leakage effect parameter to determine the target light leakage effect parameter that is consistent with the current light leakage effect parameter among the multiple preset light leakage effect parameters. Finally, the head-mounted display device determines the preset brightness adjustment parameter corresponding to the target light leakage effect parameter as the second target brightness adjustment parameter to be used.
[0115] For example, after determining the light leakage effect-adjustment parameter mapping relationship that matches the real-time playback mode, the VR device first reads multiple preset light leakage effect parameters contained in the light leakage effect-adjustment parameter mapping relationship, and the preset brightness adjustment parameters corresponding to each of the multiple preset light leakage effect parameters. Then, the VR device compares the obtained current light leakage effect parameter with the multiple preset light leakage effect parameters respectively, thereby determining the target light leakage effect parameter that is consistent with the current light leakage effect parameter among the multiple preset light leakage effect parameters. Finally, the VR device determines the preset brightness adjustment parameter corresponding to the target light leakage effect parameter in the light leakage effect-adjustment parameter mapping relationship as the second target brightness adjustment parameter.
[0116] In this way, head-mounted display devices can select appropriate brightness adjustment parameters according to the playback scenario, thereby further enhancing the immersive experience for users when wearing head-mounted display devices.
[0117] This application also provides a screen brightness adjustment device, please refer to... Figure 3 The screen brightness adjustment device is applied to a head-mounted display device including a display screen, and the device includes:
[0118] The light leakage calculation unit 10 is used to detect real-time ambient light parameters and real-time head pose parameters, and determine the light leakage influence parameters corresponding to the target pixel in the display screen based on the real-time ambient light parameters and the real-time head pose parameters.
[0119] The screen differentiation unit 20 is used to determine the real-time screen distribution characteristics corresponding to the display screen, and to determine the first target brightness adjustment parameter corresponding to the target pixel based on the light leakage influence parameter and the real-time screen distribution characteristics.
[0120] The brightness adjustment unit 30 is used to calculate the first target pixel brightness based on the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and adjust the initial pixel brightness to the first target pixel brightness.
[0121] In one feasible implementation, the aforementioned light leakage calculation unit 10 is further configured to:
[0122] Determine the ambient light-leakage influence mapping relationship corresponding to the real-time head pose parameters;
[0123] Based on the real-time ambient light parameters, the ambient light-leakage influence mapping relationship is queried to determine the leakage influence parameters corresponding to the target pixel.
[0124] In one feasible implementation, the aforementioned screen differentiation unit 20 is further configured to:
[0125] Determine the initial pixel brightness parameters corresponding to each pixel on the display screen, and obtain the preset pixel brightness threshold;
[0126] Each initial pixel brightness parameter is compared with the pixel brightness threshold to obtain multiple comparison results;
[0127] The bright and dark areas of the display screen are determined based on multiple comparison results.
[0128] The real-time image distribution characteristics of the display screen are determined based on the bright and dark image areas.
[0129] In one feasible implementation, the aforementioned screen differentiation unit 20 is further configured to:
[0130] Based on the real-time image distribution characteristics, the adjustment reference value corresponding to the target pixel is determined, and the preset bright area reduction coefficient and dark area enhancement coefficient are obtained.
[0131] The adjustment reference value is processed based on the real-time image distribution characteristics, the brightness reduction coefficient, and the light leakage effect parameter to determine the first target brightness adjustment parameter corresponding to the target pixel.
[0132] In one feasible implementation, the aforementioned screen differentiation unit 20 is further configured to:
[0133] Determine multiple preset screen distribution features, and determine the preset adjustment reference value corresponding to each of the multiple preset screen distribution features;
[0134] Among the multiple preset screen distribution features, a target preset screen distribution feature that is consistent with the real-time screen distribution feature is determined;
[0135] The preset adjustment reference value corresponding to the target preset image distribution characteristics is determined as the adjustment reference value corresponding to the target pixel.
[0136] In one feasible implementation, the brightness adjustment unit 30 is further configured to:
[0137] The real-time playback mode of the head-mounted display device is detected, and the mapping relationship between light leakage effect and adjustment parameters corresponding to the real-time playback mode is determined.
[0138] Based on the light leakage effect-adjustment parameter mapping relationship, determine the second target brightness adjustment parameter corresponding to the light leakage effect parameter;
[0139] The second target pixel brightness is calculated based on the second target brightness adjustment parameters, and the initial pixel brightness is adjusted to the second target pixel brightness.
[0140] In one feasible implementation, the brightness adjustment unit 30 is further configured to:
[0141] Determine multiple preset light leakage effect parameters included in the light leakage effect-adjustment parameter mapping relationship, and preset brightness adjustment parameters that match each of the multiple preset light leakage effect parameters;
[0142] Based on the light leakage influence parameters, a target light leakage influence parameter is determined from among a plurality of preset light leakage influence parameters;
[0143] The preset brightness adjustment parameter corresponding to the target light leakage influence parameter is determined as the second target brightness adjustment parameter corresponding to the light leakage influence parameter.
[0144] The screen brightness adjustment device provided in this application, employing the screen brightness adjustment method in the above embodiments, can solve the technical problem in related technologies where the real-time display screen in VR devices is easily affected by ambient light interference. Compared with the prior art, the beneficial effects of the screen brightness adjustment device provided in this application are the same as those of the screen brightness adjustment method provided in the above embodiments, and other technical features in the screen brightness adjustment device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0145] This application provides a head-mounted display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the screen brightness adjustment method in Embodiment 1 above.
[0146] The following is for reference. Figure 4 The diagram illustrates a structural schematic suitable for implementing the head-mounted display device of the embodiments of this application. The head-mounted display device in the embodiments of this application may include, but is not limited to, a head-mounted display device equipped with a camera, ambient light sensor, and IMU, or a mobile terminal, data storage control terminal, PC, or other terminal connected to an electronic control unit associated with the head-mounted display device. Figure 4The head-mounted display device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.
[0147] like Figure 4 As shown, the head-mounted display device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 1002 or a program loaded from a storage device 1003 into a random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the head-mounted display device. The processing unit 1001, the read-only memory 1002, and the random access memory 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the head-mounted display device to communicate wirelessly or wiredly with other devices to exchange data. Although head-mounted display devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0148] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0149] The head-mounted display device provided in this application, employing the screen brightness adjustment method in the above embodiments, can solve the technical problem in related technologies where the real-time display screen in VR devices is easily interfered with by ambient light. Compared with the prior art, the beneficial effects of the head-mounted display device provided in this application are the same as those of the screen brightness adjustment method provided in the above embodiments, and other technical features of this head-mounted display device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0150] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0151] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0152] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the screen brightness adjustment method in the above embodiments.
[0153] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0154] The aforementioned computer-readable storage medium may be included in the head-mounted display device; or it may exist independently and not assembled into the head-mounted display device.
[0155] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a head-mounted display device, cause the head-mounted display device to: detect real-time ambient light parameters and real-time head pose parameters, and determine light leakage impact parameters corresponding to a target pixel in the display screen based on the real-time ambient light parameters and the real-time head pose parameters; determine real-time image distribution characteristics corresponding to the display screen, and determine a first target brightness adjustment parameter corresponding to the target pixel based on the light leakage impact parameters and the real-time image distribution characteristics; calculate a first target pixel brightness based on the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and adjust the initial pixel brightness to the first target pixel brightness.
[0156] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed 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 remote computers, the remote computer can 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 can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0157] 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 this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated 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 operation, or using a combination of dedicated hardware and computer instructions.
[0158] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0159] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described screen brightness adjustment method, which can solve the technical problem in related technologies that the real-time display screen in VR devices is easily affected by ambient light interference. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the screen brightness adjustment method provided in the above embodiments, and will not be repeated here.
[0160] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the screen brightness adjustment method described above.
[0161] The computer program product provided in this application can solve the technical problem in related technologies that the real-time display screen in VR devices is easily interfered with by ambient light. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the screen brightness adjustment method provided in the above embodiments, and will not be repeated here.
[0162] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for adjusting screen brightness, characterized in that, The screen brightness adjustment method is applied to a head-mounted display device including a display screen, and the method includes: Real-time ambient light parameters and real-time head pose parameters are detected, and light leakage impact parameters corresponding to target pixels in the display screen are determined based on the real-time ambient light parameters and real-time head pose parameters. Determine the real-time screen distribution characteristics corresponding to the display screen, and determine the first target brightness adjustment parameter corresponding to the target pixel based on the light leakage influence parameter and the real-time screen distribution characteristics; The first target pixel brightness is calculated based on the first target brightness adjustment parameter and the initial pixel brightness of the target pixel, and the initial pixel brightness is adjusted to the first target pixel brightness.
2. The screen brightness adjustment method as described in claim 1, characterized in that, The step of determining the light leakage effect parameters corresponding to the target pixel in the display screen based on the real-time ambient light parameters and the real-time head pose parameters includes: Determine the ambient light-leakage influence mapping relationship corresponding to the real-time head pose parameters; Based on the real-time ambient light parameters, the ambient light-leakage influence mapping relationship is queried to determine the leakage influence parameters corresponding to the target pixel.
3. The screen brightness adjustment method as described in claim 1, characterized in that, The step of determining the real-time image distribution characteristics corresponding to the display screen includes: Determine the initial pixel brightness parameters corresponding to each pixel on the display screen, and obtain the preset pixel brightness threshold; Each initial pixel brightness parameter is compared with the pixel brightness threshold to obtain multiple comparison results; The bright and dark areas of the display screen are determined based on multiple comparison results. The real-time image distribution characteristics of the display screen are determined based on the bright and dark image areas.
4. The screen brightness adjustment method as described in claim 1, characterized in that, The step of determining the first target brightness adjustment parameter corresponding to the target pixel based on the light leakage effect parameter and the real-time image distribution characteristics includes: Based on the real-time image distribution characteristics, the adjustment reference value corresponding to the target pixel is determined, and the preset bright area reduction coefficient and dark area enhancement coefficient are obtained. The adjustment reference value is processed based on the real-time image distribution characteristics, the brightness reduction coefficient, and the light leakage effect parameter to determine the first target brightness adjustment parameter corresponding to the target pixel.
5. The screen brightness adjustment method as described in claim 4, characterized in that, The step of determining the adjustment reference value corresponding to the target pixel based on the real-time image distribution features includes: Determine multiple preset screen distribution features, and determine the preset adjustment reference value corresponding to each of the multiple preset screen distribution features; Among the multiple preset screen distribution features, a target preset screen distribution feature that is consistent with the real-time screen distribution feature is determined; The preset adjustment reference value corresponding to the target preset image distribution characteristics is determined as the adjustment reference value corresponding to the target pixel.
6. The screen brightness adjustment method according to any one of claims 1 to 5, characterized in that, After the step of determining the light leakage effect parameters corresponding to the target pixel in the display screen based on the real-time ambient light parameters and the real-time head pose parameters, the method further includes: The real-time playback mode of the head-mounted display device is detected, and the mapping relationship between light leakage effect and adjustment parameters corresponding to the real-time playback mode is determined. Based on the light leakage effect-adjustment parameter mapping relationship, determine the second target brightness adjustment parameter corresponding to the light leakage effect parameter; The second target pixel brightness is calculated based on the second target brightness adjustment parameters, and the initial pixel brightness is adjusted to the second target pixel brightness.
7. The screen brightness adjustment method as described in claim 6, characterized in that, The step of determining the second target brightness adjustment parameter corresponding to the light leakage influence parameter based on the light leakage influence-adjustment parameter mapping relationship includes: Determine multiple preset light leakage effect parameters included in the light leakage effect-adjustment parameter mapping relationship, and preset brightness adjustment parameters that match each of the multiple preset light leakage effect parameters; Based on the light leakage influence parameters, a target light leakage influence parameter is determined from among a plurality of preset light leakage influence parameters; The preset brightness adjustment parameter corresponding to the target light leakage influence parameter is determined as the second target brightness adjustment parameter corresponding to the light leakage influence parameter.
8. A head-mounted display device, characterized in that, The device includes: a display screen, a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the screen brightness adjustment method as described in any one of claims 1 to 7.
9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the screen brightness adjustment method as described in any one of claims 1 to 7.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the screen brightness adjustment method as described in any one of claims 1 to 7.