Method, device, storage medium and electronic equipment for adjusting viewing angle of display screen
By adjusting the viewing angle and image pixel parameters of the display screen, the problem of inconsistent display effects at different viewing angles was solved, achieving a consistent viewing effect for users in different positions and improving the overall display effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN TCL DIGITAL TECH CO LTD
- Filing Date
- 2021-12-06
- Publication Date
- 2026-06-16
AI Technical Summary
The display effect is inconsistent under different viewing angles, resulting in a poor viewing experience for users. In particular, some display areas show pale or washed-out colors, which reduces the user experience.
By locating the target user's position, the system determines their viewing angle for each display area and adjusts parameters such as the RGB values and brightness of image pixels based on this viewing angle to optimize the display effect and ensure a consistent viewing experience across all display areas.
It improves the viewing experience for users from different angles, ensures consistent display effects across each display area, and enhances the overall display quality and user experience.
Smart Images

Figure CN116225207B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display screen technology, and specifically to a method, apparatus, storage medium, and electronic device for adjusting the viewing angle of a display screen. Background Technology
[0002] Currently, displays are widely used in various electronic devices, and their ability to display images is trending towards higher resolution, higher color fidelity, and higher display speed.
[0003] However, the display effect was not considered in relation to the actual viewing experience for users, resulting in a poor viewing experience for users. The specific manifestations are as follows:
[0004] When users view the images displayed on the screen from different angles, the different display areas of the screen reflect or refract light differently, causing some of the display areas that the user sees to appear faded or washed out, resulting in poor local color rendering. This leads to a poor viewing experience for the user. Summary of the Invention
[0005] This application provides a method, apparatus, storage medium, and electronic device for adjusting the viewing angle of a display screen, which can improve the viewing effect of the display screen for users from different viewing angles.
[0006] In a first aspect, embodiments of this application provide a method for adjusting the viewing angle of a display screen, the method comprising:
[0007] Identify the target users and pinpoint their primary location;
[0008] Based on the first position, determine the target user's viewing angle for each display area on the screen;
[0009] Determine the adjustment parameters for each line of sight angle;
[0010] Adjust the image pixels of the image to be displayed in the display area corresponding to each viewing angle according to the adjustment parameters.
[0011] Secondly, embodiments of this application also provide a device for adjusting the viewing angle of a display screen, comprising:
[0012] The target user detection module is used to identify target users and locate their initial position.
[0013] An angle calculation module is used to determine the target user's viewing angle for each display area on the screen based on the first position;
[0014] The parameter determination module is used to determine the adjustment parameters for each line of sight angle;
[0015] The pixel adjustment module is used to adjust the image pixels of the image to be displayed in the display area corresponding to each viewing angle according to the adjustment parameters.
[0016] Thirdly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, which, when run on a computer, causes the computer to perform a method for adjusting the viewing angle of a display screen as provided in any embodiment of this application.
[0017] Fourthly, embodiments of this application also provide an electronic device, including a processor and a memory, the memory having a computer program, and the processor executing a method for adjusting the viewing angle of a display screen as provided in any embodiment of this application by calling the computer program.
[0018] The technical solution provided in this application locates the first position of the target user and obtains the viewing angle of the target user for each display area on the screen based on the first position. This determines the viewing effect of the target user for each display area based on the viewing angle. Then, based on the viewing angle of each display area, adjustment parameters are obtained for each display area. Each adjustment parameter is used to adjust the image pixels of the image to be displayed in the corresponding display area. This ensures that when the image to be displayed is displayed in each display area, the display effect of the image pixels adjusted by the adjustment parameters is enhanced to varying degrees according to the viewing angle. This makes the viewing effect of the target user consistent across each display area, avoiding the defect of poor viewing effect for some display areas in the prior art, thereby improving the user's viewing experience. Furthermore, the display effect of each display area can be dynamically adjusted according to the target user's position, allowing the viewing angle adjustment of each display area to adapt to the target user's position and meet the target user's viewing needs at different positions, thereby improving the overall display effect of the screen. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic flowchart of a first method for adjusting the viewing angle of a display screen, provided in an embodiment of this application.
[0021] Figure 2 This is a schematic diagram illustrating the calculation of the target user's viewing angle relative to the display area, provided in an embodiment of this application.
[0022] Figure 3This is a schematic diagram of a display screen divided with the second position as the axis, provided as an embodiment of this application.
[0023] Figure 4 This is a second flowchart illustrating a method for adjusting the viewing angle of a display screen provided in an embodiment of this application.
[0024] Figure 5 This is a schematic diagram of the sample extraction region provided in an embodiment of this application.
[0025] Figure 6 This is a schematic diagram illustrating how the viewing angle of a non-sample area is obtained based on the viewing angle of a reference area, as provided in an embodiment of this application.
[0026] Figure 7 This is a schematic diagram of a third method for adjusting the viewing angle of a display screen provided in an embodiment of this application.
[0027] Figure 8 This is a schematic diagram of the structure of the device for adjusting the viewing angle of a display screen provided in an embodiment of this application.
[0028] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the protection scope of this application.
[0030] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0031] This application provides a method for adjusting the viewing angle of a display screen. The subject executing this method can be the device for adjusting the viewing angle of the display screen provided in this application, or an electronic device integrating the device. The device for adjusting the viewing angle of the display screen can be implemented in hardware or software, and the electronic device can be a device with a display, such as a television, movie projector, conference machine, projector, tablet, or computer.
[0032] Please see Figure 1 , Figure 1 This is a schematic flowchart of a first method for adjusting the viewing angle of a display screen provided in an embodiment of this application. The specific flow of the method for adjusting the viewing angle of a display screen provided in an embodiment of this application can be as follows:
[0033] 101. Identify the target users and pinpoint their primary position.
[0034] In this embodiment, the number of users viewing the display screen can vary in different scenarios. Therefore, it is necessary to identify the target user and obtain the viewing angle of the target user for each display area on the display screen based on the first position of the target user. This allows adjustment parameters to be determined based on the viewing angle to adjust the image to be displayed in the display area.
[0035] There are several ways to determine the target user. For example, if only one user is identified, that user is considered the target user. If multiple users are identified, one of them is selected as the target user. Alternatively, multiple users can be selected as the target user. When multiple target users are selected, the central position can be determined by combining the positions of the multiple target users, and this central position is considered the first position.
[0036] The methods for selecting target users include any one of the first or second methods below, or a combination of at least one of the first and second methods. For example, the first method is selection based on distance, which can select the user closest to the screen as the target user, the user farthest from the screen as the target user, or the user in the most remote location as the target user, etc. The second method is other types, which can select the user located in the center of the display area as the target user, the user who first enters the display area as the target user, or the user who watches the screen for a long time as the target user, etc. Since there are multiple options, they are not listed one by one here. As long as it can achieve the goal of selecting the target user from multiple users, it is acceptable.
[0037] Once the target user is identified, their location can be dynamically tracked. The following methods can be used to locate the target user's position:
[0038] For example, a camera can be used to capture images of the target user, and by analyzing the captured images, the target user's viewing position in the current state, i.e., the first position, can be obtained. It should be noted that a single camera, a dual-lens camera, or more cameras can be used for positioning, making the positioning of the target user's first position more accurate and faster.
[0039] For example, microphones can be used for sound field localization to obtain the target user's first position. That is, the user's voice is collected by the microphone and the collected sound is analyzed to obtain the target user's viewing position in the current state. Similarly, the number of microphones is not limited here.
[0040] For example, radar or lasers can be used for positioning to determine the viewing position of the target user in the current state. Similarly, the number of radars or lasers is not limited here.
[0041] Based on this, in the embodiments of this application, various devices such as cameras, microphones, radars and lasers can be used to locate the viewing position of the target user in the current state in real time. The specific positioning device used is not limited here, and one or a combination of the above-mentioned devices can be used to achieve the positioning purpose.
[0042] For example, the positioning devices such as cameras, microphones, radars, and lasers in this embodiment can be integrated into electronic devices or used as external devices. There is no limitation here, as long as the current location of the target user can be obtained.
[0043] Based on the above methods of locating target users, the methods for determining target users can also be extended to the following:
[0044] For example, when using camera-based positioning, facial information can be recognized and the user's identity determined based on that information. This allows for the selection of target users based on factors such as user privileges, frequent users of the electronic device, or age. It can also recognize user posture and select a user whose posture meets certain requirements (sitting, standing, etc.) as the target user.
[0045] For example, when using microphone positioning, the user who is speaking can be taken as the target user. Furthermore, the user's voice can be identified based on the collected sound, thereby determining the user's identity, and the target user can be selected based on the user's identity in the manner described above.
[0046] For example, when using laser or radar positioning, the location changes of multiple users can be located, and users whose locations remain basically unchanged can be identified as target users.
[0047] In this embodiment, by determining the target user, it is possible to select the target user when there are multiple users, and calculate the viewing angle of the target user for each display area on the display screen to adjust the display effect of the display screen, so that the display effect of the display screen meets the viewing needs of the target user.
[0048] 102. Based on the first position, determine the target user's viewing angle for each display area on the screen.
[0049] Here, the first position represents the spatial coordinates of the target user obtained from the perspective of the display screen. Once the first position is obtained, the distance between the target user and the display screen can be determined. Each display area on the display screen is identified by coordinates, and its position is known. Based on the distance between the target user and the display screen, as well as the position of each display area, the line of sight between each display area and the target user can be obtained.
[0050] Regarding the display area of the screen, since the display area is fixed, and a target user views a certain position on the screen, the remaining positions will appear visually different to the target user. Therefore, in this embodiment, the display area is divided into multiple display areas, and the area of each display area is based on the smallest size that the human eye can perceive, that is, the display area is divided by screen pixels, and one display area is one screen pixel. Of course, to reduce the amount of computation, multiple screen pixels can also be regarded as one display area, and the specific division can be determined according to actual needs.
[0051] 103. Determine the adjustment parameters for each line of sight angle.
[0052] The adjustment parameters refer to pixel data, including RGB values, brightness values, white balance, etc. The adjustment parameters may include one or more values in the pixel data. For example, the adjustment parameters may only refer to adjusting the RGB values, or only to adjusting the brightness values, or may include adjusting both the RGB values and the brightness values at the same time. The specific implementation method can be determined according to actual needs and is not limited here.
[0053] Therefore, different viewing angles require different adjustment parameters.
[0054] 104. Adjust the image pixels of the image to be displayed in the display area corresponding to each viewing angle according to the adjustment parameters.
[0055] Once the adjustment parameters for each viewing angle are obtained, the image pixels of the image to be displayed in the corresponding display area are adjusted according to each adjustment parameter. For example, if there are 4 image pixels of the image to be displayed in a certain display area, the adjustment parameters of the display area are used to adjust the pixel data of the 4 image pixels, thereby adjusting the display effect of the display area.
[0056] For example, once the adjustment parameters for each display area are determined, the image pixels of each display area can be adjusted using the original adjustment parameters regardless of whether the image to be displayed changes. That is, based on the fact that the adjustment parameters of the display area remain unchanged, the image pixels of different images are adjusted using the same adjustment parameters when displaying different images.
[0057] Of course, when the target user's position remains unchanged, the adjustment parameters of each display area remain unchanged. However, when the target user's position changes, it is necessary to redetermine the adjustment parameters of each display area and adjust the image pixels in the corresponding display area based on the redetermined adjustment parameters.
[0058] By individually adjusting the image pixels of the image to be displayed in each display area, the display effect of the image pixels after adjustment is enhanced to varying degrees according to the viewing angle when the image is displayed in each display area. This ensures that the target user has a consistent viewing experience in each display area, avoiding the defect of poor viewing experience in some display areas in the prior art, thereby improving the user's viewing experience. Furthermore, ensuring the consistency of each display area on the screen from a visual perspective can also enhance the overall picture quality of the display screen and improve the user's viewing experience.
[0059] In practice, this application is not limited by the execution order of the described steps. Without causing conflicts, some steps may be performed in other orders or simultaneously.
[0060] The method for adjusting the viewing angle of the display screen in this embodiment can select a target user based on actual needs and locate the target user's position when at least one user is viewing the display screen. Then, the viewing angle of the target user relative to each display area on the display screen is calculated based on the target user's current position. After obtaining the viewing angle, the adjustment parameters of each display area are obtained. Based on the adjustment parameters, the image pixels of the image to be displayed in each display area can be adjusted, thereby improving the display effect of the display screen. When the target user's position remains unchanged, the image pixels displayed in each display area can be continuously adjusted according to the adjustment parameters, thereby saving processing load and improving adjustment efficiency. Furthermore, when the target user's position changes, the viewing angle of the target user relative to each display area can be re-determined, thereby obtaining the adjustment parameters of each display area. The image pixels displayed in each display area can be adjusted according to the re-determined adjustment parameters. This enables the display screen to adaptively adjust the display effect according to the target user's position, thereby improving the viewing effect of the user in different positions. In addition, in terms of the overall display effect, it can also avoid the defects of inconsistent display effects in the prior art, thereby ensuring the overall picture quality of the display screen and improving the user's viewing experience.
[0061] Based on the methods described in the preceding embodiments, the following examples will provide further detailed explanations.
[0062] In some embodiments, determining a target user and locating a first location of the target user includes:
[0063] When at least one user is detected, obtain the display screen's viewing angle adjustment mode;
[0064] Based on the perspective adjustment mode, identify the target user from at least one user and locate the target user's first position.
[0065] This application further provides a method for selecting target users.
[0066] In this embodiment, a target user that meets the criteria can be selected from multiple users by choosing a perspective adjustment mode. Of course, when there is only one user, that user can be directly regarded as the target user.
[0067] The viewing angle adjustment mode is compatible with the camera positioning, sound field positioning, laser positioning, radar positioning and other methods mentioned in the above embodiments. When one of the viewing angle adjustment modes, i.e. a positioning method, is selected, the conditions for determining the target user corresponding to the viewing angle adjustment mode can be used directly to select the target user from multiple users.
[0068] For example, when the viewing angle adjustment mode is set to select the user who is speaking through sound field positioning, the microphone can be used to collect the location of the sound source, and then the location of the sound source can be regarded as the location of the target user.
[0069] For example, when the viewing angle adjustment mode is set to capture the user closest to the display screen via the camera, the camera can be called to capture images, and then the user closest to the display screen can be identified from the images and regarded as the target user. Alternatively, user identification can be performed on the images to determine user permissions. The specific methods are as described in the above embodiments, and will not be repeated here.
[0070] Therefore, in this embodiment, by first selecting the viewing angle adjustment mode and then selecting the target user from multiple users according to the conditions for determining the target user set in the viewing angle adjustment mode, this method is conducive to flexibly switching the viewing angle adjustment mode of the display screen in different scenarios to adapt to the needs of different users in different scenarios, thus achieving the effect of convenient and quick adjustment of the display screen viewing angle.
[0071] In some embodiments, determining the target user's viewing angle for each display area on the display screen based on the first position includes:
[0072] Determine the mapping of the first position to the second position on the display screen;
[0073] Based on the first and second positions, calculate the target user's viewing angle for each display area on the screen.
[0074] This application embodiment further provides a first method for calculating the viewing angle of the target user for each display area.
[0075] Please see Figure 2 , Figure 2 This is a schematic diagram illustrating the calculation of the viewing angle of a target user relative to a display area, provided in an embodiment of this application. The target user's first position is denoted as point A, and the second position mapped onto the display screen is denoted as point B. A certain display area on the display screen is denoted as point C. The distance L between points A and B (i.e., the distance between the display screen and the target user) is known, and the distance M between points C and B can be calculated based on the coordinates of points C and B. Therefore, the angle value ∠Q can be obtained using the tangent function formula. This angle value represents the viewing angle between the target user (point A) and the display area (point C).
[0076] Similarly, when calculating the viewing angle between any display area and the target user, it can be calculated based on the distance L between the target user and the display screen, and the projection point B of the target user on the display screen. After obtaining the distance F between any display area and point B, the viewing angle between any display area and point A of the target user can be obtained based on L and F.
[0077] In some embodiments, determining the target user's viewing angle for each display area on the display screen based on the first position includes:
[0078] Obtain historical data;
[0079] Match the target data from historical data based on the first position;
[0080] Based on the target data, determine the target user's viewing angle for each display area on the screen.
[0081] This application embodiment further provides a second method for calculating the viewing angle of the target user for each display area.
[0082] In this embodiment, the spatial coordinates of the user obtained each time, and the viewing angle calculated based on the user's spatial coordinates, can be stored as historical data. When it is necessary to determine the viewing angle of the target user for each display area based on the target user's first position, the historical data can be called first, and then data with the same spatial coordinates can be matched from the historical data based on the first position. When there are spatial coordinates that are the same as the first position, the viewing angle corresponding to the spatial coordinates is used as the target data.
[0083] When the target data can be matched, the target data can be directly called, and the viewing angle of the target user and each display area can be analyzed from the target data. When the viewing angle of each display area is obtained from the viewing angle in the target data, the viewing angle of each display area can be set by matching the coordinates of the display area corresponding to each viewing angle in the target data.
[0084] When the target data cannot be matched, the first calculation method mentioned in the above embodiments can be used to calculate the viewing angle between the target user and each display area one by one.
[0085] In this embodiment, target data is matched by pre-acquiring historical data. When the match is successful, it is possible to avoid calculating the viewing angle between the display area and the target user one by one, thereby reducing the amount of calculation and improving the efficiency of adjusting the display screen viewing angle.
[0086] In some embodiments, determining the target user's viewing angle for each display area on the display screen based on the first position includes:
[0087] Determine the mapping of the first position to the second position on the display screen;
[0088] Using the second position as the axis, the display area of the screen is divided into a first symmetrical part, a second symmetrical part, and an asymmetrical part, wherein the first symmetrical part and the second symmetrical part are symmetrically distributed based on the axis;
[0089] Based on the first position and the second position, calculate the target user's viewing angle for each display area in the first symmetrical part;
[0090] Based on the viewing angle of each display area in the first symmetrical part, determine the viewing angle of each display area in the second symmetrical part;
[0091] Based on the first and second positions, calculate the target user's viewing angle for each display area in the asymmetrical part.
[0092] This application embodiment further provides a third method for calculating the viewing angle of the target user for each display area.
[0093] Please see Figure 3 , Figure 3 This is a schematic diagram of a display screen divided with the second position as the axis, provided as an embodiment of this application.
[0094] In the diagram, with point B at the second position as the axis, when dividing the display area vertically, the two parts with this axis as the axis of symmetry are called the first symmetrical part and the second symmetrical part, respectively, while the display area other than the first symmetrical part and the second symmetrical part is called the asymmetrical part.
[0095] When calculating the viewing angle of the target user for each display area, only the viewing angle of the target user for each display area in the first symmetrical part and the asymmetrical part can be calculated. For the second symmetrical part, since the second symmetrical part is symmetrical with the first part, the viewing angle of each display area in the first symmetrical part can be directly mirrored to the corresponding display area in the second symmetrical part to obtain the viewing angle of each display area in the second symmetrical part.
[0096] Of course, the positions of the first symmetrical part and the second part are relative. As long as the viewing angle of each display area in any part is calculated, the viewing angle of each display area in the other part can be obtained.
[0097] This embodiment is based on symmetry to reduce the amount of calculation for any symmetrical part. Therefore, the method of dividing the axis based on the second position can be determined according to the size of the display screen. When the length of the display screen is greater than the width, the display area can be divided by a horizontal axis, and when the width of the display screen is greater than the length, the display area can be divided by a vertical axis. Since there are many ways to divide the area, they are not listed here. It can be understood that any division method that can reduce the amount of calculation can be used in this embodiment.
[0098] Furthermore, it should be noted that this embodiment is based on the division of symmetrical and asymmetrical parts according to symmetry. When the axis is located at the center line of the display screen, there is no asymmetrical part. Therefore, it is not necessary to calculate the viewing angle of each display area in the asymmetrical part.
[0099] In some embodiments, determining the adjustment parameters for each line-of-sight angle includes:
[0100] The adjustment parameters for each viewing angle are matched from multiple preset adjustment parameters.
[0101] This application further provides a method for determining adjustment parameters.
[0102] For example, the correspondence between the viewing angle and the adjustment parameters can be preset. After obtaining the viewing angle of each display area, the adjustment parameters corresponding to the viewing angle can be obtained based on the correspondence.
[0103] In some embodiments, determining the adjustment parameters for each line-of-sight angle includes:
[0104] Obtain the preset angle and preset parameters;
[0105] Calculate the difference between each line of sight angle and the preset angle;
[0106] Based on preset parameters and differences, determine the adjustment parameters for each line of sight angle.
[0107] This application provides another method for determining adjustment parameters.
[0108] A preset angle can be set, and the preset parameters of the preset angle can be determined. When calculating the adjustment parameters of each line of sight angle, the difference between each line of sight angle and the preset angle can be obtained first, and the difference can be summed with the preset parameters one by one to obtain the adjustment parameters of each line of sight angle.
[0109] Considering that some electronic devices experience delays when adjusting the display screen viewing angle using the method provided in this application embodiment, the viewing angle of the target user for each display area is not calculated in real time. Instead, the viewing angle of the target user for each display area is stored, and can be retrieved directly from the storage location when needed. This method avoids repeatedly calculating the viewing angle and saves computational load.
[0110] Furthermore, considering the need to reuse the viewing angle of each display area, saving the viewing angle of each display area can prevent data loss and avoid the drawback of constantly calculating the viewing angle. However, since the operating speed of electronic devices is greatly limited by storage space, and the display area on the screen can be divided into thousands of areas, storing the viewing angle of all display areas would result in excessive storage space usage, thus hindering the operating space of electronic devices and causing them to operate slowly.
[0111] Therefore, in order to save storage space and improve the operating speed of electronic devices, this application also proposes a way to improve the operating performance of electronic devices by reducing the storage amount of the viewing angle. In the following embodiments, two embodiments are provided for description. It can be understood that the solutions described in the following two embodiments can directly or indirectly borrow the solution provided in the first embodiment. Therefore, repeated solutions will not be described in detail.
[0112] Please see Figure 4 , Figure 4 A second flowchart illustrating a method for adjusting the viewing angle of a display screen provided in an embodiment of this application. The specific process can be as follows:
[0113] 201. Identify the target users and pinpoint their primary location.
[0114] 202. Based on the first position, determine the target user's viewing angle for each display area on the screen.
[0115] 203. Extract a sample area from the display area and store the viewing angle of the sample area in a preset position.
[0116] The preset location can be a storage device, a designated folder, or a cloud server, etc. Since the storage location can be selected by those skilled in the art based on actual needs, it will not be described in detail here.
[0117] After the sample area is extracted, it is identified by its coordinates. The number of sample areas extracted from the line of sight angle can be determined according to the specific situation. After the line of sight angle is obtained by extracting the sample area, the line of sight angle of the sample area can be compressed. When it is needed, it can be decompressed.
[0118] By storing the viewing angle of the sample area in a preset location, it is possible to ensure that the viewing angle of the sample area is not easily lost. Whenever the viewing angle of the sample area is needed, it can be retrieved from the preset location, avoiding the need to recalculate the viewing angle each time, and realizing the reuse of the already calculated viewing angle.
[0119] Furthermore, by sampling the display area to obtain a sample area and storing the viewing angle of the sample area, the storage space occupied by the electronic device can be greatly reduced, providing sufficient operating space for the electronic device to improve its operating speed, enabling faster processing of image pixels, and thus improving the display speed of the screen.
[0120] 204. When the display screen needs to display an image to be displayed, obtain the viewing angle of the sample area from the preset position, and obtain the viewing angle of each display area based on the viewing angle of the sample area.
[0121] When an electronic device detects a video stream, it indicates that an image needs to be displayed on the screen. Before displaying the image, the viewing angle of a sample area is obtained from a preset position, and the viewing angle of each display area is restored one by one based on the viewing angle of the sample area.
[0122] 205. Determine the adjustment parameters for each line of sight angle.
[0123] 206. Adjust the image pixels of the image to be displayed in the corresponding display area according to each adjustment parameter.
[0124] In this system, whenever the viewing angle of a display area is restored, the adjustment parameters for that display area can be determined. The image pixels of the image to be displayed in that display area can be adjusted in real time using these parameters. This achieves dynamic adjustment of each image pixel, thus avoiding the delay that occurs when all viewing angles are restored before adjusting the image pixels of each display area. This greatly improves the processing speed of image pixels by electronic devices and ensures the smoothness of image display.
[0125] In some embodiments, extracting a sample area from the display area and storing the viewing angle of the sample area at a preset position includes:
[0126] Based on a preset direction, a sample area is extracted from the display area at a preset sampling rate, and the viewing angle of the sample area is stored in a preset position.
[0127] This application further provides a method for extracting sample regions.
[0128] Please see Figure 5 , Figure 5 This is a schematic diagram of the sample area provided in the embodiment of this application. In the figure, sampling can be performed from the horizontal axis and the vertical axis respectively, and the preset sampling rate can be set to 3. Each grid represents a display area, and the sample area is marked with a circle. Areas not marked with a circle are non-sample areas.
[0129] It should be noted that because a display screen divides the display area based on pixels, the display area can be divided into many parts. Figure 5 This is limited to a partial schematic description of the display screen, and the preset sampling rate of 3 is only for reference. Figure 5 To explain, in actual sampling, the preset sampling rate can be set according to the screen size.
[0130] It is understood that different sampling results can be obtained by setting the preset direction and the preset sampling rate. Therefore, the preset direction and the preset sampling rate can be set according to actual needs, and are not considered as limitations on the embodiments of this application.
[0131] In some embodiments, obtaining the viewing angle of a sample area from a preset location, and obtaining the viewing angle of each display area based on the viewing angle of the sample area, includes:
[0132] Obtain the line-of-sight angle of the sample area from a preset location;
[0133] Either of two adjacent sample regions is used as the reference region;
[0134] Based on the viewing angle of the reference area, the viewing angle of the non-sample area between two adjacent sample areas is calculated to obtain the viewing angle of each display area. The display areas other than the sample areas are non-sample areas.
[0135] This application embodiment further provides a method for restoring the viewing angle of each display area based on the viewing angle of the sample area.
[0136] Among them, the viewing angles of two adjacent sample areas are on the same axis, that is, their horizontal coordinates are the same or their vertical coordinates are the same. Therefore, when calculating the viewing angles of non-sample areas, only the values of the horizontal or vertical coordinates need to be considered.
[0137] For example, when either of two adjacent sample regions is used as the reference region, since the preset sampling rate is known, the number of non-sample regions between the two sample regions can be determined. Then, the position coordinates of each non-sample region can be obtained based on the position coordinates of the two sample regions. Once the position coordinates of each non-sample region are obtained, the viewing angle of the reference region is known, and the viewing angle of each non-sample region can be directly calculated.
[0138] Please see Figure 6 , Figure 6 This is a schematic diagram illustrating how the viewing angle of a non-sample region is obtained from a reference region according to an embodiment of this application. In the diagram, the position coordinates of the reference region are represented by C1(X0, Y1), the viewing angle is represented by a1, and the position coordinates of a non-sample region are represented by C2(X0, Y2). The position coordinates of the sample region C1 are known. When the position coordinates of another sample region adjacent to the reference region are C4(X0, Y4), and the preset sampling rate is 3, the position coordinates C2(X0, Y2) of the first non-sample region can be calculated.
[0139] For example, the first location A of the target user can be obtained based on C1 and a1, and can be represented as A(X). L Based on the first position A and C2(X0, Y2), the line-of-sight angle between the first position A and the position coordinates C2 of the first non-sample area can be obtained.
[0140] Alternatively, the slope can be used to represent the viewing angle of non-sample areas, thus transforming the above... Figure 6 The location point is represented by the following formula for calculating the slope:
[0141]
[0142] Based on this, the viewing angle of the non-sample area between two adjacent sample areas can be obtained by using the viewing angle of each pair of adjacent sample areas. By analogy, the viewing angle of all display areas can be calculated.
[0143] Please see Figure 7 , Figure 7 This is a third flowchart illustrating a method for adjusting the viewing angle of a display screen provided in an embodiment of this application. The specific process can be as follows:
[0144] 301. Identify the target users and pinpoint their primary location;
[0145] 302. Divide the display area on the screen into sample area and non-sample area.
[0146] 303. Determine the mapping of the first position to the second position on the display screen.
[0147] 304. Based on the first position and the second position, calculate the target user's gaze angle for each sample area, and store the gaze angle of each sample area in a preset position.
[0148] 305. When the display screen needs to display the image to be displayed, obtain the viewing angle of each sample area from the preset position.
[0149] 306. Based on the viewing angle of the sample area, calculate the viewing angle of the non-sample area on the display screen.
[0150] 307. Determine the adjustment parameters for each line of sight angle.
[0151] 308. Adjust the image pixels of the image to be displayed in the corresponding display area according to each adjustment parameter.
[0152] In this embodiment, a sample area can be extracted first, and the sampling method can refer to the method provided in the above embodiment. Figure 5 After sampling, the viewing angle of the target user for each sample area can be calculated directly, without having to calculate the viewing angle of each display area before sampling. This reduces the amount of calculation required for viewing angles and improves the processing speed of electronic devices.
[0153] The calculation of the line-of-sight angle, sampling method, and determination of adjustment parameters in this embodiment can be referred to the content mentioned in the above embodiments, and will not be repeated here.
[0154] In some embodiments, a sample area is extracted from a display area on the display screen, the display area including a sample area and a non-sample area, including:
[0155] Based on a preset direction, a sample region is extracted from the display area at a preset sampling rate. The display area includes both sample and non-sample regions.
[0156] Referring to the embodiments mentioned above Figure 5 It can sample from both the horizontal and vertical axes, and the preset sampling rate can be set according to actual needs. After sampling, the area marked with a circle is the sample area, and the rest is the non-sample area.
[0157] After obtaining each sample area, the target user's viewing angle for each sample area can be calculated by referring to the method provided in the above embodiment for calculating the target user's viewing angle for each display area, and then the calculated viewing angle can be stored in a preset position.
[0158] In some embodiments, the viewing angle of the non-sample area on the display screen is calculated based on the viewing angle of the sample area, including:
[0159] Either of two adjacent sample regions is used as the reference region;
[0160] Based on the viewing angle of the reference area, the viewing angle of the non-sample area between two adjacent sample areas is calculated to obtain the viewing angle of each display area.
[0161] For the method of restoring the viewing angle of the remaining display areas based on the viewing angle of the sample area, the solution provided in the second embodiment above can be referred to, and will not be repeated here.
[0162] Of course, the sampling schemes in the second and third embodiments described above can also be implemented by calculating the viewing angle, determining the adjustment parameters corresponding to the viewing angle, and then sampling. In this case, the stored data includes the position coordinates, viewing angle, and adjustment parameters. Thus, when the viewing angle of each display area is restored, the adjustment parameters of each display area can be restored, and the image pixels of the image to be displayed in the corresponding display area can be directly adjusted according to the adjustment parameters.
[0163] As can be seen from the above, the method for adjusting the viewing angle of the display screen proposed in this embodiment of the invention can dynamically adjust the image pixels of the display area according to the adjustment parameters corresponding to each display area, so that the display effect of each display area when displaying image pixels is consistent. From the user's perspective, it improves the user's viewing effect, and from the perspective of the display screen, it improves the display effect of the display screen. Moreover, different display areas can be adjusted separately, which improves the flexibility of adjusting the display screen. Furthermore, by storing data in a sampling manner, it is also possible to avoid the delay of the display screen displaying images and improve the image display rate.
[0164] In one embodiment, a device 400 for adjusting the viewing angle of a display screen is also provided. See also... Figure 8 , Figure 8 This is a schematic diagram of the structure of a device 400 for adjusting the viewing angle of a display screen provided in an embodiment of this application. The device 400 is applied to an electronic device and includes a target user detection module 401, an angle calculation module 402, a parameter determination module 403, and a pixel adjustment module 404, as follows:
[0165] The target user detection module 401 is used to identify the target user and locate the first position of the target user;
[0166] Angle calculation module 402 is used to determine the viewing angle of the target user for each display area on the display screen based on the first position;
[0167] The parameter determination module 403 is used to determine the adjustment parameters for each line of sight angle;
[0168] The pixel adjustment module 404 is used to adjust the image pixels of the image to be displayed in the display area corresponding to each viewing angle according to the adjustment parameters.
[0169] In some embodiments, the target user detection module 401 is further configured to:
[0170] When at least one user is detected, obtain the display screen's viewing angle adjustment mode;
[0171] Based on the perspective adjustment mode, identify the target user from at least one user and locate the target user's first position.
[0172] In some embodiments, the angle calculation module 402 is further configured to:
[0173] Determine the mapping of the first position to the second position on the display screen;
[0174] Based on the first and second positions, calculate the target user's viewing angle for each display area on the screen.
[0175] In some embodiments, the angle calculation module 402 is further configured to:
[0176] Obtain historical data;
[0177] Match the target data from historical data based on the first position;
[0178] Based on the target data, determine the target user's viewing angle for each display area on the screen.
[0179] In some embodiments, the angle calculation module 402 is further configured to:
[0180] Determine the mapping of the first position to the second position on the display screen;
[0181] Using the second position as the axis, the display area of the screen is divided into a first symmetrical part, a second symmetrical part, and an asymmetrical part, wherein the first symmetrical part and the second symmetrical part are symmetrically distributed based on the axis;
[0182] Based on the first position and the second position, calculate the target user's viewing angle for each display area in the first symmetrical part;
[0183] Based on the viewing angle of each display area in the first symmetrical part, determine the viewing angle of each display area in the second symmetrical part;
[0184] Based on the first and second positions, calculate the target user's viewing angle for each display area in the asymmetrical part.
[0185] This embodiment also provides another device for adjusting the viewing angle of the display screen, based on Figure 8The device 400, in this embodiment, the device for adjusting the viewing angle of the display screen further includes a storage module:
[0186] The angle calculation module 402 is also used for:
[0187] Extract the viewing angle of the sample area from the viewing angle and store the viewing angle of the sample area in the storage module;
[0188] When the display screen needs to display an image, the viewing angle of the sample area is obtained from the storage module, and the viewing angle of each display area is obtained based on the viewing angle of the sample area;
[0189] The parameter determination module 403 is also used for:
[0190] Determine the adjustment parameters for each line of sight angle;
[0191] Pixel adjustment module 404 is also used for:
[0192] Adjust the image pixels of the image to be displayed in the corresponding display area according to each adjustment parameter.
[0193] In some embodiments, the angle calculation module 402 is further configured to:
[0194] Based on a preset direction, a sample area is extracted from the display area at a preset sampling rate, and the viewing angle of the sample area is stored in the storage module.
[0195] When the display screen needs to display an image, the angle calculation module 402 is also used for:
[0196] Obtain the line-of-sight angle of the sample area from a preset location;
[0197] The reference area is any one of the line-of-sight angles between two adjacent sample areas.
[0198] Based on the viewing angle of the reference area, the viewing angle of the non-sample area between two adjacent sample areas is calculated to obtain the viewing angle of each display area.
[0199] This embodiment also provides another device 400 for adjusting the viewing angle of the display screen, which has the same structure as the one provided in the above embodiment. In this embodiment, the angle calculation module 402 is further used for:
[0200] Extract a sample area from the display area on the screen, which includes both sample and non-sample areas;
[0201] Determine the mapping of the first position to the second position on the display screen;
[0202] Based on the first and second positions, calculate the target user's gaze angle for each sample area, and store the gaze angle of each sample area in a preset position;
[0203] When the display screen needs to display an image, the viewing angle of each sample area is obtained from a preset position;
[0204] The viewing angle of the non-sample area on the display screen is calculated based on the viewing angle of the sample area.
[0205] The parameter determination module 403 is also used for:
[0206] Determine the adjustment parameters for each line of sight angle;
[0207] Pixel adjustment module 404 is also used for:
[0208] Adjust the image pixels of the image to be displayed in the corresponding display area according to each adjustment parameter.
[0209] It should be noted that the device for adjusting the viewing angle of the display screen provided in this application embodiment belongs to the same concept as the method for adjusting the viewing angle of the display screen in the above embodiment. The device for adjusting the viewing angle of the display screen can implement any of the methods provided in the method embodiment for adjusting the viewing angle of the display screen. For details of the specific implementation process, please refer to the method embodiment for adjusting the viewing angle of the display screen, which will not be repeated here.
[0210] As can be seen from the above, the device for adjusting the viewing angle of the display screen proposed in this application can dynamically adjust the image pixels of the display area according to the adjustment parameters corresponding to each display area, so that the display effect of each display area when displaying image pixels is consistent. From the user's perspective, it improves the user's viewing effect, and from the perspective of the display screen, it improves the display effect of the display screen. Moreover, different display areas can be adjusted separately, which improves the flexibility of adjusting the display screen. Furthermore, by storing data in a sampling manner, it is also possible to avoid the delay of the display screen displaying images and improve the image display rate.
[0211] This application also provides an electronic device, which can be a television, movie projector, conference machine, projector, tablet, computer, or other device with a display screen, and the display screen on the electronic device can be a VA panel. Figure 9 As shown, Figure 9This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 500 includes a processor 501 with one or more processing cores, a memory 502 with one or more computer-readable storage media, and a computer program stored on the memory 502 and executable on the processor. The processor 501 and the memory 502 are electrically connected. Those skilled in the art will understand that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0212] The processor 501 is the control center of the electronic device 500. It connects various parts of the electronic device 500 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, it performs various functions of the electronic device 500 and processes data, thereby monitoring the electronic device 500 as a whole.
[0213] In this embodiment, the processor 501 in the electronic device 500 loads the instructions corresponding to the processes of one or more applications into the memory 502 according to the following steps, and the processor 501 runs the applications stored in the memory 502 to achieve various functions:
[0214] Identify the target users and pinpoint their primary location;
[0215] Based on the first position, determine the target user's viewing angle for each display area on the screen;
[0216] Determine the adjustment parameters for each line of sight angle;
[0217] Adjust the image pixels of the image to be displayed in the display area corresponding to each viewing angle according to the adjustment parameters.
[0218] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0219] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0220] As can be seen from the above, the electronic device provided in this embodiment can dynamically adjust the image pixels of the display area according to the adjustment parameters corresponding to each display area, so that the display effect of each display area when displaying image pixels is consistent. From the user's perspective, it improves the user's viewing effect, and from the display screen's perspective, it improves the display screen's display effect. Moreover, different display areas can be adjusted separately, which improves the flexibility of adjusting the display screen. Furthermore, storing data by sampling can also avoid the delay of the display screen displaying images and improve the image display rate.
[0221] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0222] Therefore, this application provides a computer-readable storage medium. Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it includes the following steps:
[0223] Identify the target users and pinpoint their primary location;
[0224] Based on the first position, determine the target user's viewing angle for each display area on the screen;
[0225] Determine the adjustment parameters for each line of sight angle;
[0226] Adjust the image pixels of the image to be displayed in the display area corresponding to each viewing angle according to the adjustment parameters.
[0227] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0228] The aforementioned storage medium can be ROM / RAM, magnetic disk, optical disk, etc. Since the computer program stored in the storage medium can execute the steps of any of the methods for adjusting the display screen viewing angle provided in the embodiments of this application, it can achieve the beneficial effects that any of the methods for adjusting the display screen viewing angle provided in the embodiments of this application can achieve, as detailed in the preceding embodiments, and will not be repeated here.
[0229] The foregoing has provided a detailed description of a method, apparatus, medium, and electronic device for adjusting the viewing angle of a display screen according to embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for adjusting the viewing angle of a display screen, characterized in that, The method includes: Identify the target user and locate the first position of the target user; Based on the first position, the viewing angle of the target user for each display area on the display screen is determined; the viewing angle of each display area is the angle between the line connecting the first position and the second position and the line connecting the first position and the point within each display area, and the second position is the mapped position of the first position on the display screen; Determine the adjustment parameters for each line of sight angle; Adjust the image pixels of the image to be displayed in the display area corresponding to each viewing angle according to the adjustment parameters; After determining the target user's viewing angle for each display area on the screen based on the first position, the method further includes: Extract a sample area from the display area and store the viewing angle of the sample area in a preset position; When the display screen needs to display the image to be displayed, the viewing angle of the sample area is obtained from the preset position, and the viewing angle of each display area is obtained based on the viewing angle of the sample area; Determine the adjustment parameters for each line of sight angle; Adjust the image pixels of the image to be displayed in the corresponding display area according to each adjustment parameter.
2. The method as described in claim 1, characterized in that, The step of determining the target user and locating the first location of the target user includes: When at least one user is detected, the viewing angle adjustment mode of the display screen is obtained; Based on the viewing angle adjustment mode, a target user is identified from the at least one user, and the first position of the target user is located.
3. The method as described in claim 1, characterized in that, Determining the target user's viewing angle for each display area on the screen based on the first position includes: Determine the mapping of the first position to a second position on the display screen; Based on the first position and the second position, calculate the target user's viewing angle for each display area on the display screen.
4. The method as described in claim 1, characterized in that, Determining the target user's viewing angle for each display area on the screen based on the first position includes: Obtain historical data; Match target data from the historical data based on the first position; Based on the target data, determine the target user's viewing angle for each display area on the display screen.
5. The method as described in claim 1, characterized in that, Determining the target user's viewing angle for each display area on the screen based on the first position includes: Determine the mapping of the first position to a second position on the display screen; Using the second position as the axis, the display area of the display screen is divided into a first symmetrical part, a second symmetrical part, and an asymmetrical part, wherein the first symmetrical part and the second symmetrical part are symmetrically distributed based on the axis. Based on the first position and the second position, calculate the target user's viewing angle for each display area in the first symmetrical part; Based on the viewing angle of each display area in the first symmetrical part, determine the viewing angle of each display area in the second symmetrical part; Based on the first position and the second position, calculate the target user's viewing angle for each display area in the asymmetrical portion.
6. The method as described in claim 1, characterized in that, The step of extracting a sample area from the display area and storing the viewing angle of the sample area in a preset position includes: Based on a preset direction, a sample area is extracted from the display area at a preset sampling rate, and the viewing angle of the sample area is stored in a preset position.
7. The method as described in claim 1, characterized in that, The step of obtaining the viewing angle of the sample area from the preset position and obtaining the viewing angle of each display area based on the viewing angle of the sample area includes: The viewing angle of the sample area is obtained from the preset position; Either of two adjacent sample regions is used as the reference region; Based on the viewing angle of the reference area, the viewing angle of the non-sample area between two adjacent sample areas is calculated to obtain the viewing angle of each display area, wherein the display area other than the sample area is the non-sample area.
8. The method as described in claim 1 or 2, characterized in that, After determining the target user and locating the first location of the target user, the method further includes: The display area on the screen is divided into a sample area and a non-sample area; Determine the mapping of the first position to a second position on the display screen; Based on the first position and the second position, calculate the target user's gaze angle for each sample area, and store the gaze angle of each sample area in a preset position; When the display screen needs to display the image to be displayed, the viewing angle of each sample area is obtained from the preset position; Based on the viewing angle of the sample area, the viewing angle of the non-sample area on the display screen is calculated; Determine the adjustment parameters for each line of sight angle; Adjust the image pixels of the image to be displayed in the corresponding display area according to each adjustment parameter.
9. A device for adjusting the viewing angle of a display screen, characterized in that, include: The target user detection module is used to identify target users and locate the first location of the target users; An angle calculation module is used to determine the viewing angle of the target user for each display area on the display screen based on the first position; the viewing angle of each display area is the angle between the line connecting the first position and the second position and the line connecting the first position and the point within each display area, and the second position is the mapped position of the first position on the display screen; The parameter determination module is used to determine the adjustment parameters for each line of sight angle; The pixel adjustment module is used to adjust the image pixels of the image to be displayed in the display area corresponding to each viewing angle according to the adjustment parameters. The angle calculation module is also used for: Extract a sample area from the display area and store the viewing angle of the sample area in a preset position; When the display screen needs to display the image to be displayed, the viewing angle of the sample area is obtained from the preset position, and the viewing angle of each display area is obtained based on the viewing angle of the sample area; The parameter determination module is also used for: Determine the adjustment parameters for each line of sight angle; The pixel adjustment module is also used for: Adjust the image pixels of the image to be displayed in the corresponding display area according to each adjustment parameter.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run on the computer, it causes the computer to perform the method of adjusting the viewing angle of the display screen as described in any one of claims 1 to 8.
11. An electronic device comprising a processor and a memory, the memory storing a computer program, characterized in that, The processor invokes the computer program to perform the method for adjusting the viewing angle of the display screen as described in any one of claims 1 to 8.