An image display method, apparatus, display device, and storage medium
Patent Information
- Application Number
- CN202110373259.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-07
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2041-04-07
AI Technical Summary
[0004]本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种图像显示方法、装置、显示设备及存储介质,旨在解决现有技术中的显示设备或多或少都存在视角不佳的问题,尤其是当用户位于显示设备的斜方向观看时,由于视角存在倾斜,导致显示设备上的图像显示效果比较差的问题
[0039]有益效果:与现有技术相比,本发明提供了一种图像显示方法,本发明首先获取待显示图像中每一个像素点所对应的视角。接着,本发明根据所述视角,获取与所述视角所对应的目标显示灰阶数据。由于本发明获取到了所述待显示图像中的每一个像素点对应的视角,以及每一个视角所对应的目标显示灰阶数据。这样当该待显示图像进行显示时,显示设备可以根据每一个像素点所对应的目标显示灰阶数据来对待显示图像进行显示,这样有助于保证该待显示图像中的每一个像素点都以最合适的灰阶数据进行显示,提高不同视角下的显示效果。
Smart Images

Figure CN115188337B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image display technology, and in particular to an image display method, apparatus, display device, and storage medium. Background Technology
[0002] In today's technology-driven world, people are inseparable from various display devices, and our lives are already surrounded by things like mobile phones, tablets, computers, and televisions. In current technology, viewing angle is a crucial parameter for measuring the performance of display devices, and its quality directly affects the user's viewing experience. With the development of display technology and the increasing application scenarios for display devices, people have higher demands for the viewing experience, requiring display devices to have excellent viewing angles to achieve the best image quality. However, existing display devices all have some degree of poor viewing angles, especially when users are viewing the display at an angle, resulting in a poor image display due to the tilted viewing angle.
[0003] Therefore, existing technologies still need to be improved and enhanced. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide an image display method, apparatus, display device and storage medium to address the above-mentioned defects of the prior art. The aim is to solve the problem that the display devices in the prior art have poor viewing angles to varying degrees, especially when the user is viewing the display device at an angle, the image display effect on the display device is relatively poor due to the tilt of the viewing angle.
[0005] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows:
[0006] In a first aspect, the present invention provides an image display method, wherein the method includes:
[0007] Obtain the viewpoint corresponding to each pixel in the image to be displayed;
[0008] Based on the stated viewpoint, obtain the target display grayscale data corresponding to the stated viewpoint;
[0009] The image to be displayed is displayed based on the target grayscale data.
[0010] In one implementation, obtaining the viewpoint corresponding to each pixel in the image to be displayed includes:
[0011] Obtain the center position on the display device and use the center position as the vertical viewing position;
[0012] The position information of each pixel in the image to be displayed is traversed, wherein the size information of the image to be displayed is matched with the size information of the display screen on the display device;
[0013] Based on the location information and the vertical viewing position, calculate the tilt angle between each pixel and the vertical viewing position.
[0014] In one implementation, obtaining the target display grayscale data corresponding to the viewpoint includes:
[0015] Obtain the mapping relationship between several preset viewpoints and displayed grayscale data;
[0016] Based on the mapping relationship between the aforementioned viewpoints and the displayed grayscale data, the target displayed grayscale data corresponding to the viewpoint is determined.
[0017] In one implementation, the mapping relationship between the plurality of viewpoints and the displayed grayscale data is set in the following ways:
[0018] The brightness data of the RGB primary colors under different viewing angles are obtained, and a mapping table between the brightness data and grayscale data of the RGB primary colors under different viewing angles is obtained.
[0019] According to the mapping table, the first grayscale data of the RGB primary color and the corresponding first brightness data under the vertical viewing angle are obtained, and the first grayscale data of the RGB primary color under the vertical viewing angle is split to obtain the first display grayscale combination data corresponding to the first grayscale data of the RGB primary color under the vertical viewing angle. The first grayscale data of the RGB primary color under the vertical viewing angle and the first display grayscale combination data both correspond to the first brightness data.
[0020] Acquire the second grayscale data of the RGB primary color and the corresponding second brightness data under different viewing angles, and determine the first brightness data that is the same as the second brightness data or has a preset ratio with the second brightness data under the vertical viewing angle according to the second brightness data and the mapping relationship table;
[0021] The first display grayscale combination data corresponding to the first brightness data is used as the second display grayscale combination data of the RGB primary color under different viewing angles, thereby obtaining the target mapping relationship between the second brightness data, the second grayscale data and the second display grayscale data of the RGB primary color under different viewing angles;
[0022] Based on the target mapping relationship, the mapping relationship between the plurality of viewpoints and the display grayscale data is obtained, wherein the second display grayscale combination data in the mapping relationship between the plurality of viewpoints and the display grayscale data is the target display grayscale data.
[0023] In one implementation, the step of splitting the first grayscale data of the RGB primary colors under the vertical viewing angle to obtain the first display grayscale combination data corresponding to the first grayscale data of the RGB primary colors under the vertical viewing angle includes:
[0024] Based on the first grayscale data, the grayscale data corresponding to the R primary color, the G primary color, and the B primary color in the RGB primary colors are obtained under the vertical viewing angle.
[0025] The grayscale data corresponding to the R primary color, the G primary color, and the B primary color are decomposed to obtain the grayscale combination data corresponding to the R primary color, the G primary color, and the B primary color, respectively. Each of the grayscale combination data corresponding to the R primary color, the G primary color, and the B primary color includes two grayscale data.
[0026] Based on the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color, the first display grayscale combination data under the vertical viewing angle is obtained.
[0027] In one implementation, the step of splitting the first grayscale data of the RGB primary colors under the vertical viewing angle to obtain the first display grayscale combination data corresponding to the first grayscale data of the RGB primary colors under the vertical viewing angle includes:
[0028] Based on the first grayscale data, the overall grayscale data of the RGB primary color under the vertical viewing angle is obtained;
[0029] The overall grayscale data is split into its entirety to obtain the first display grayscale combination data of the RGB primary colors under the vertical viewing angle. The first display grayscale combination data includes grayscale combination data corresponding to the R primary color, grayscale combination data corresponding to the G primary color, and grayscale combination data corresponding to the B primary color. Each of the grayscale combination data corresponding to the R primary color, the G primary color, and the B primary color includes two grayscale data.
[0030] In one implementation, displaying the image to be displayed based on the target display grayscale data includes:
[0031] Based on the target display grayscale data, obtain the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color in the target display grayscale data.
[0032] The image to be displayed is based on the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color.
[0033] Secondly, embodiments of the present invention also provide an image display device, wherein the device includes:
[0034] The viewpoint acquisition module is used to acquire the viewpoint corresponding to each pixel in the image to be displayed;
[0035] The grayscale data acquisition module is used to acquire target display grayscale data corresponding to the viewing angle based on the viewing angle.
[0036] The image display module is used to display the image to be displayed based on the target display grayscale data.
[0037] Thirdly, embodiments of the present invention also provide a display device, wherein the display device includes a memory, a processor, and an image display program stored in the memory and executable on the processor, wherein when the processor executes the image display program, it implements the steps of the image display method described in any of the above solutions.
[0038] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing an image display program, which, when executed by a processor, implements the steps of the image display method described in any of the above solutions.
[0039] Beneficial Effects: Compared with existing technologies, this invention provides an image display method. First, this invention obtains the viewing angle corresponding to each pixel in the image to be displayed. Then, based on the viewing angle, this invention obtains the target display grayscale data corresponding to the viewing angle. Since this invention obtains the viewing angle corresponding to each pixel in the image to be displayed, and the target display grayscale data corresponding to each viewing angle, when the image to be displayed is shown, the display device can display the image according to the target display grayscale data corresponding to each pixel. This helps ensure that each pixel in the image to be displayed is displayed with the most suitable grayscale data, improving the display effect under different viewing angles. Attached Figure Description
[0040] Figure 1 A flowchart illustrating a specific implementation of the image display method provided in this embodiment of the invention.
[0041] Figure 2 This is a flowchart illustrating the acquisition of the viewpoint in the image display method provided in an embodiment of the present invention.
[0042] Figure 3 This is a flowchart illustrating the process of acquiring grayscale data in an image display method provided in an embodiment of the present invention.
[0043] Figure 4 This is a flowchart illustrating the display of an image to be displayed in an image display method provided in an embodiment of the present invention.
[0044] Figure 5 This is a comparison image showing the improvement in viewing angle before and after using the image display method provided in this embodiment of the invention.
[0045] Figure 6 This is a schematic block diagram of the image display device provided in the embodiments of the present invention.
[0046] Figure 7 This is a block diagram illustrating the internal structure of a display device provided in an embodiment of the present invention. Detailed Implementation
[0047] To make the objectives, technical solutions, and effects of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0048] Currently, most display devices on the market, including LCD, OLED, and LED displays, suffer from poor viewing angles, especially when viewed at an angle. This tilted viewing angle leads to a poorer image quality, particularly noticeable with LCD monitors. Research indicates that there are many ways to improve display quality by addressing viewing angles, including: polarizer technology and functional optimization, physical partitioning of RGB pixel arrays, and pixel gamma compensation (a display parameter). These methods can improve color viewing angles to some extent, but they require sacrificing other display performance aspects (such as resolution and contrast ratio), and the improvement in color viewing angle is limited, making it difficult to achieve comprehensive improvement across all viewing angles.
[0049] Therefore, to solve the above problems, this embodiment provides an image display method. This method allows a display device to display an image based on the target display grayscale data corresponding to each pixel, helping to ensure that each pixel in the image is displayed with the most suitable grayscale data and improving the display effect from different viewing angles. Specifically, this embodiment first obtains the viewing angle corresponding to each pixel in the image to be displayed. Then, based on the viewing angle, this embodiment obtains the target display grayscale data corresponding to that viewing angle. Since this invention obtains the viewing angle corresponding to each pixel in the image to be displayed, and the target display grayscale data corresponding to each viewing angle, the image can be displayed using the target display grayscale data corresponding to each viewing angle.
[0050] For example, when a television needs to display an image, it acquires the viewing angle of each pixel in the image to be displayed. For instance, it acquires the viewing angle of pixel A as 1°, pixel B as 1.5°, and so on. After acquiring the viewing angle of each pixel, the television acquires the target display grayscale data corresponding to each viewing angle. In this example, the target display grayscale data is the grayscale data corresponding to the RGB primary colors of the pixel, such as (155, 90, 200). Having obtained the target display grayscale data for each viewing angle, the television can display the image based on this data. This ensures that each pixel in the image can be displayed using the most suitable target display grayscale data, thereby improving image display quality and also improving the color and viewing angle of the display device.
[0051] Exemplary methods
[0052] The image display method in this embodiment can be applied to a display device that has a display screen, such as a television, computer, tablet, or other smart terminal product. The display device includes, but is not limited to, LCD, OLED, QLED, mini-LED, and micro-LED display devices. In specific implementations, such as... Figure 1 As shown in the figure, the image display method in this embodiment includes the following steps:
[0053] Step S100: Obtain the viewpoint corresponding to each pixel in the image to be displayed.
[0054] In this embodiment, the goal is to improve the display effect of existing display devices due to differences in the viewing angles of individual pixels. To enhance the display effect, this embodiment controls the display device to display images based on the grayscale data of each pixel. Therefore, this embodiment first needs to determine the viewing angle corresponding to each pixel in the image to be displayed, so that the target display grayscale data corresponding to each viewing angle can be obtained in subsequent steps.
[0055] In one implementation, such as Figure 1 As shown, step S100 specifically includes the following steps:
[0056] Step S101: Obtain the center position on the display device and use the center position as the vertical viewing position;
[0057] Step S102: Traverse the position information of each pixel in the image to be displayed, wherein the size information of the image to be displayed is matched with the size information of the display screen on the display device;
[0058] Step S103: Calculate the tilt angle between each pixel and the vertical viewing position based on the position information and the vertical viewing position, and use the tilt angle as the viewing angle.
[0059] In practical implementation, the optimal viewing position for a user is located directly in front of the display device, and the projection of this position onto the display device is the center position of the display device. Many pixels in the image to be displayed will deviate from this center position, resulting in different viewing angles for each pixel. Therefore, to accurately obtain the viewing angle of each pixel, this implementation acquires the center position on the display device, which is the center position on the display screen. The area directly in front of this center position is the optimal viewing position. When the user is in the optimal viewing position, their line of sight is perpendicular to the display screen. Therefore, the center position of the display device is the vertical viewing angle position. After acquiring the center position of the display device, this embodiment begins to traverse the pixels in the image to be displayed. In this embodiment, the image to be displayed is matched to the display screen, meaning that the size information of the image to be displayed is the same as the size information of the display screen. For example, if the size information of the display screen is 1920*1080mm, then the size information of the image to be displayed is also 1920*1080mm. After traversing each pixel, this embodiment obtains the position information of that pixel. Once the position information of each pixel is obtained, this embodiment can determine the tilt angle between the position information of each pixel and the vertical viewing angle, which is the viewing angle of each pixel. Specifically, after obtaining the position information of each pixel and the vertical viewing angle, this embodiment sets a fixed point directly in front of the vertical viewing angle. Starting from this fixed point, it connects the position of each pixel and the vertical viewing angle. Thus, the line connecting the vertical viewing angle and the fixed point is perpendicular to the display device, and the line connecting each pixel and the fixed point is tilted relative to this line, and all tilted relative to the fixed point. In this way, based on the line connecting each pixel and the fixed point and the line connecting the vertical viewing angle and the fixed point, the tilt angle between each pixel and the vertical viewing angle can be obtained, thereby obtaining the viewing angle of each pixel.
[0060] For example, when it is necessary to determine the position information of each pixel on the television, this embodiment first obtains the center position of the television and takes this center position as the vertical viewing position A. Next, it obtains the position information of each pixel on the image to be displayed, for example, the position information of pixel 1 is position a, and the position information of pixel 2 is position b. Then, a fixed point X is set directly in front of the vertical viewing position A, and the fixed point X is connected to position a, position b, and the vertical viewing position A respectively. At this time, the line connecting the fixed point X and the vertical viewing position A is perpendicular to the television, and the line connecting the fixed point X and position a forms an angle 1 with the line connecting the fixed point X and the vertical viewing position A. This angle 1 is the viewing angle of pixel 1. The lines connecting the fixed point X and position b also form an angle 2 with the line connecting the fixed point X and the vertical viewing position A. This angle 2 is the viewing angle of pixel 2.
[0061] In other embodiments, the vertical viewing position is not necessarily the center position of the display device. In specific applications, the vertical viewing position can be set at other locations on the display device according to the placement position and angle of the display device. This embodiment does not limit this.
[0062] Step S200: Based on the viewing angle, obtain the target display grayscale data corresponding to the viewing angle.
[0063] Once the viewing angle corresponding to each pixel is obtained, this embodiment can acquire the target display grayscale data corresponding to each viewing angle. In this embodiment, the target display grayscale data is the grayscale data of the pixel's RGB primary colors, with a grayscale range of 0-255. Because this embodiment obtains the target display grayscale data for each viewing angle, even if the position of the pixel corresponding to that viewing angle is far from the vertical viewing angle position, the most suitable target display grayscale data for that viewing angle can still be obtained, thus improving display quality during image display.
[0064] In one implementation, such as Figure 2 As shown, step S200 specifically includes:
[0065] Step S201: Obtain the mapping relationship between several preset viewpoints and displayed grayscale data;
[0066] Step S202: Determine the target display grayscale data corresponding to the viewpoint based on the mapping relationship between the several viewpoints and the display grayscale data.
[0067] In specific implementation, after obtaining the viewing angle of each pixel, this embodiment matches the viewing angle with a preset mapping relationship between several viewing angles and display grayscale data. In this embodiment, the mapping relationship between several viewing angles and display grayscale data can be set as a grayscale data lookup table. Since the grayscale data lookup table contains mapping relationships between different viewing angles and display grayscale data, when the viewing angle of each pixel is matched with the grayscale data lookup table, the target display grayscale data corresponding to that viewing angle can be found from the grayscale data lookup table. To improve the display effect, in this embodiment, the target display grayscale data is a combination of two grayscale levels, that is, the grayscale data corresponding to the R primary color, the G primary color, and the B primary color in the RGB primary colors are all combinations of two grayscale levels, such as a combination of high grayscale and low grayscale. In this way, when the display device uses the target display grayscale data to display an image, it can perform time-division display based on the combination of grayscale data, which is beneficial to improving the display effect of each pixel.
[0068] In one implementation, the mapping relationship (i.e., grayscale data lookup table) between the various viewing angles and displayed grayscale data in this embodiment is pre-set and stored in the display device for retrieval when needed. Specifically, when setting the grayscale data lookup table, this embodiment first uses a preset color analysis device (such as a CA410 color analyzer) to obtain the brightness data of the RGB primary colors in the grayscale data range of 0-255 under different viewing angles, and obtains a mapping relationship table between the brightness data and grayscale data of the RGB primary colors under different viewing angles. For example, this mapping relationship table stores the correspondence between the brightness data and grayscale data of the RGB primary colors at a 0° viewing angle (i.e., vertical viewing angle), the correspondence between the brightness data and grayscale data of the RGB primary colors at a 10° viewing angle (i.e., tilted viewing angle), the correspondence between the brightness data and grayscale data of the RGB primary colors at a 20° viewing angle (i.e., tilted viewing angle), and so on. After obtaining this mapping relationship table, this embodiment can obtain the first grayscale data and the corresponding first brightness data of the RGB primary colors at the vertical viewing angle. This means obtaining the first grayscale data of the RGB primary colors and the corresponding first brightness data at a 0° viewing angle. For example, the first grayscale data of the RGB primary colors obtained at a vertical viewing angle is (RGB: 240, 180, 160), and the corresponding first brightness data is 195.4 cd / m². 2 .
[0069] Next, in this embodiment, the first grayscale data of the RGB primary colors under the vertical viewing angle is split to obtain the first display grayscale combination data corresponding to the first grayscale data of the RGB primary colors under the vertical viewing angle. The purpose of this splitting is to divide the first grayscale data into two grayscale data, thereby obtaining the first display grayscale combination data. At this time, both the first grayscale data of the RGB primary colors under the vertical viewing angle and the first display grayscale combination data correspond to the first brightness data. That is to say, even if the first grayscale data is split into the first display grayscale data, its corresponding brightness data remains unchanged and still corresponds to the first brightness data.
[0070] In this embodiment, the first grayscale data of the RGB primary colors can be split as a whole. Specifically, the grayscale data corresponding to the R primary color, the G primary color, and the B primary color can be split separately. As follows, when splitting the first grayscale data of the RGB primary colors as a whole, this embodiment first obtains the overall grayscale data of the RGB primary colors from the vertical viewing angle, for example (RGB: 240, 180, 160). Then, the overall grayscale data is split to obtain the first display grayscale combination data of the RGB primary colors from the vertical viewing angle. This first display grayscale combination data includes the grayscale combination data corresponding to the R primary color, the G primary color, and the B primary color, and each of these grayscale combination data includes two grayscale values. For example, (RGB: 240, 180, 160) can be split into (RGB: 108 / 212, 84 / 156, 74 / 144) to obtain the first display grayscale data.
[0071] In this embodiment, when the grayscale data corresponding to the R primary color, G primary color, and B primary color are separately decomposed, the overall grayscale data of the RGB primary colors under the vertical viewing angle is first obtained. Then, the grayscale data corresponding to the R primary color, G primary color, and B primary color are decomposed separately to obtain grayscale combination data corresponding to the R primary color, G primary color, and B primary color, respectively. Each of these grayscale combination data includes two grayscale values. Based on these grayscale combination data, the first display grayscale combination data under the vertical viewing angle is obtained. For example, the grayscale data of the R primary color (200 grayscale values) is decomposed into 150 grayscale values and 90 grayscale values. Similarly, the grayscale data of the G primary color (200 grayscale values) is decomposed into 150 grayscale values and 90 grayscale values. The grayscale data of the primary color B, 200 grayscale levels, is split into 150 grayscale levels and 90 grayscale levels, resulting in the first display grayscale data (RGB: 150 / 90, 150 / 90, 150 / 90). In this embodiment, when splitting the first grayscale data, a fixed value split can be used, such as splitting (RGB: 200, 200, 200) into (RGB: 150 / 90, 150 / 90, 150 / 90) as mentioned above; or an indefinite value split can be used, such as splitting (RGB: 240, 180, 160) into (RGB: 108 / 212, 84 / 156, 74 / 144) as mentioned above.
[0072] Of course, in this embodiment, when calculating the first display grayscale combination data corresponding to the first grayscale data of all RGB primary colors under the vertical viewing angle, the first display grayscale combination data under a portion of the vertical viewing angle can be calculated first, and then the remaining first display grayscale combination data under the vertical viewing angle can be calculated by interpolation or fitting. After obtaining the first display grayscale combination data corresponding to the first grayscale data of all RGB primary colors under the vertical viewing angle, the mapping relationship reflected in the mapping relationship table in this embodiment is: vertical viewing angle → first grayscale data of RGB primary colors → first brightness data → first display grayscale combination data. Since the display device of this embodiment has a tilted viewing angle, if the display is based on the grayscale combination data obtained after splitting, the display effect can be improved, and the problem of poor viewing effect caused by the tilted viewing angle can be improved. Therefore, this embodiment needs to obtain the display grayscale combination data of each pixel's RGB primary colors under other viewing angles. Specifically, this embodiment obtains the second grayscale data of the RGB primary colors and the corresponding second brightness data under different viewing angles. At this time, the obtained viewing angles are all viewing angles except for the 0° viewing angle (i.e., the vertical viewing angle), and these viewing angles are all tilted viewing angles. To ensure display quality, it is necessary to maintain similar or identical brightness across all areas of the display screen. Therefore, this embodiment, based on the principle of identical brightness, determines the first brightness data that is identical to or proportionally proportional to the second brightness data at the vertical viewing angle, according to the mapping table between the second brightness data and the second brightness data. In other words, this embodiment needs to find the brightness data corresponding to each tilted viewing angle, and the brightness data that is identical or similar to it at the vertical viewing angle. Once the first brightness data that is identical or proportionally identical to the second brightness data is determined, this embodiment uses the first display grayscale combination data corresponding to the first brightness data as the second display grayscale combination data of the RGB primary colors at different viewing angles. Thus, the target mapping relationship between the second brightness data, second grayscale data, and second display grayscale data of the RGB primary colors at different viewing angles is obtained: different viewing angles (i.e., each tilted viewing angle) → second grayscale data → second brightness data → second display grayscale data. In other words, this embodiment first creates mapping relationship A: vertical viewing angle -- first grayscale data of RGB primary colors → first brightness data → first display grayscale combination data.Then, the second brightness data and second grayscale data of a certain tilted viewing angle are obtained. Based on the principle of the same brightness, the first brightness data that is the same as or proportionally the same as the second brightness data is found from the mapping relationship A. Then, the first display grayscale combination data corresponding to the first brightness data is found from the mapping relationship A. Therefore, the found first display grayscale combination data is used as the second display grayscale combination data under the tilted viewing angle. Therefore, the created mapping relationship B is: tilted viewing angle → second grayscale data of RGB primary colors → second brightness data → second display grayscale combination data (the second display grayscale combination data is determined based on the mapping relationship A).
[0073] For example, the created mapping relationship A is: 0° viewing angle → (RGB: 240, 180, 160) → 195.4 cd / m² 2 →(RGB:108 / 212,84 / 156,74 / 144);
[0074] 0° viewing angle → (RGB: 200, 220, 150) → 150.3 cd / m 2 →(RGB:150 / 100,90 / 150,80 / 120)
[0075] When the second grayscale data (RGB: 150, 120, 190) of the RGB primary colors is obtained at a 10° viewing angle (i.e., a tilted viewing angle), the second luminance data is 150.3 cd / m². 2 Then, the value corresponding to 150.3 cd / m can be found from mapping relationship A. 2 This corresponds to (RGB: 150 / 100, 90 / 150, 80 / 120). Therefore, (RGB: 150 / 100, 90 / 150, 80 / 120) is the second grayscale combination data corresponding to the second grayscale data of the RGB primary colors (RGB: 150, 120, 190) at a 10° viewing angle (i.e., an oblique viewing angle). Thus, the mapping relationship B is created: 10° viewing angle → (RGB: 150, 120, 190) → 150.3 cd / m² 2 --(RGB: 150 / 100, 90 / 150, 80 / 120). Using the same method, the second display grayscale combination data corresponding to the second grayscale data of the RGB primary colors under other viewing angles can be obtained. Finally, after traversing all tilted viewing angles (i.e., viewing angles from 0-90°), the second display grayscale combination data under all viewing angles can be obtained. This second display grayscale combination data is the target display grayscale data, thus creating a mapping relationship between the several viewing angles and the display grayscale data, i.e., obtaining the grayscale data lookup table. In this way, when the display device obtains the viewing angle of each pixel, it can find the target display grayscale data corresponding to that viewing angle according to the grayscale data lookup table.
[0076] Step S300: Display the image to be displayed according to the target display grayscale data.
[0077] Since this embodiment obtains the target display grayscale data corresponding to the viewing angle of each pixel, the display device can display the image based on the target display grayscale data, ensuring that each pixel in the image to be displayed is displayed with the most suitable target display grayscale data. Furthermore, the target display grayscale data in this embodiment is composed of two grayscale data sets; therefore, the display device can perform time-division display based on these two grayscale data sets, improving the display effect.
[0078] In one implementation, such as Figure 4 As shown, step S300 specifically includes:
[0079] Step S301: Based on the target display grayscale data, obtain the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color in the target display grayscale data.
[0080] Step S302: Display the image to be displayed according to the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color.
[0081] Since the target display grayscale data is composed of two grayscale data combinations, this embodiment acquires the target display grayscale data for each viewing angle during display. Then, it obtains the grayscale combination data corresponding to the R primary color, the G primary color, and the B primary color in the target display grayscale data; for example, the obtained R primary color grayscale combination data is 150 / 100, the G primary color grayscale combination data is 90 / 150, and the B primary color grayscale combination data is 80 / 120), and writes the target display grayscale data into the display device's chip. Because the target display grayscale data for each viewing angle is based on the principle of identical or equal brightness data, obtained from the RGB primary color grayscale combination data at the vertical viewing angle, when the display device displays an image based on the RGB primary color grayscale combination data corresponding to the viewing angle of each pixel, it can improve the color viewing angle of the display device, enhance the viewing experience of the monitor at different viewing angles, and has excellent market application prospects. Figure 5 As shown, the chromaticity viewing angle of the image displayed by the display device is measured, and the measurement results are as follows. Figure 5 As shown, the horizontal axis represents the rotation angle of the display device, and the vertical axis represents the color deviation. Figure 5As can be seen, after adopting the display method of this embodiment, the color and viewing angle of the image displayed by the display device are significantly improved.
[0082] In summary, this embodiment first obtains the viewing angle corresponding to each pixel in the image to be displayed. Then, based on the viewing angle, the present invention obtains the target display grayscale data corresponding to that viewing angle. Since the present invention obtains the viewing angle corresponding to each pixel in the image to be displayed, and the target display grayscale data corresponding to each viewing angle, when the image to be displayed is shown, the display device can display the image according to the target display grayscale data corresponding to each pixel. This helps ensure that each pixel in the image to be displayed is displayed with the most suitable grayscale data, improving the display effect under different viewing angles.
[0083] Exemplary device
[0084] like Figure 6 As shown in the illustration, this embodiment also provides an image display device, which includes: a viewing angle acquisition module 10, a grayscale data acquisition module 20, and an image display module 30. Specifically, the viewing angle acquisition module 10 is used to acquire the vertical viewing angle position on the display device, and determine the viewing angle corresponding to each pixel in the image to be displayed based on the vertical viewing angle position. The grayscale data acquisition module 20 is used to acquire target display grayscale data corresponding to the viewing angle. The image display module 30 is used to display the image to be displayed based on the target display grayscale data.
[0085] In one implementation, the view acquisition module 10 includes:
[0086] A vertical viewing angle position acquisition unit is used to acquire the center position on the display device and use the center position as the vertical viewing angle position.
[0087] A position information acquisition unit is used to traverse the position information of each pixel in the image to be displayed, wherein the size information of the image to be displayed is matched with the size information of the display screen on the display device;
[0088] The viewpoint acquisition unit is used to calculate the tilt angle between each pixel and the vertical viewpoint position based on the position information and the vertical viewpoint position, and to use the tilt angle as the viewpoint.
[0089] In one implementation, the grayscale data acquisition module 20 includes:
[0090] The mapping relationship acquisition unit is used to acquire the mapping relationship between several preset viewpoints and displayed grayscale data;
[0091] The target display grayscale data acquisition unit is used to determine the target display grayscale data corresponding to the viewpoint based on the mapping relationship between the plurality of viewpoints and the display grayscale data.
[0092] In one implementation, the image display module 30 includes:
[0093] The grayscale combination data acquisition unit is used to obtain, based on the target display grayscale data, the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color in the target display grayscale data.
[0094] An image display unit is used to display the image to be displayed based on the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color.
[0095] Based on the above embodiments, the present invention also provides a display device, the principle block diagram of which can be as follows: Figure 7 As shown, the display device includes a processor, memory, network interface, display screen, and temperature sensor connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements an image display method. The display screen can be a liquid crystal display (LCD) or an electronic ink display. The temperature sensor is pre-installed inside the display device to detect the operating temperature of the internal components.
[0096] Those skilled in the art will understand that Figure 7 The block diagram shown is merely a partial structural diagram related to the present invention and does not constitute a limitation on the display device to which the present invention is applied. A specific display device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0097] In one embodiment, a display device is provided, the display device including a memory, a processor, and an image display program stored in the memory and executable on the processor. When the processor executes the image display program, it implements the following operation instructions:
[0098] Obtain the viewpoint corresponding to each pixel in the image to be displayed;
[0099] Based on the stated viewpoint, obtain the target display grayscale data corresponding to the stated viewpoint;
[0100] The image to be displayed is displayed based on the target grayscale data.
[0101] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0102] In summary, this invention discloses an image display method, apparatus, storage medium, and display device. The method includes: acquiring the viewing angle corresponding to each pixel in an image to be displayed; acquiring target display grayscale data corresponding to the viewing angle; and displaying the image to be displayed based on the target display grayscale data. This invention can determine the viewing angle based on the vertical viewing angle, acquire the target display grayscale data corresponding to the viewing angle, and display the image to be displayed based on the target display grayscale data of that viewing angle, which is beneficial for improving the display effect under different viewing angles.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An image display method, characterized in that, The method includes: Obtain the viewpoint corresponding to each pixel in the image to be displayed; Based on the stated viewpoint, obtain the target display grayscale data corresponding to the stated viewpoint; The step of acquiring target display grayscale data corresponding to the viewpoint includes: Obtain the mapping relationship between several preset viewpoints and displayed grayscale data; Based on the mapping relationship between the aforementioned viewpoints and the displayed grayscale data, the target displayed grayscale data corresponding to the viewpoint is determined; The methods for setting the mapping relationship between the various viewpoints and the displayed grayscale data include: Obtain the luminance data of RGB primary colors from different viewing angles, and obtain a mapping table between the luminance data and grayscale data of the RGB primary colors from different viewing angles; According to the mapping table, the first grayscale data of the RGB primary color and the corresponding first brightness data under the vertical viewing angle are obtained, and the first grayscale data of the RGB primary color under the vertical viewing angle is split to obtain the first display grayscale combination data corresponding to the first grayscale data of the RGB primary color under the vertical viewing angle. The first grayscale data of the RGB primary color under the vertical viewing angle and the first display grayscale combination data both correspond to the first brightness data. Acquire the second grayscale data of the RGB primary color and the corresponding second brightness data under different viewing angles, and determine the first brightness data that is the same as the second brightness data or has a preset ratio with the second brightness data under the vertical viewing angle according to the second brightness data and the mapping relationship table; The first display grayscale combination data corresponding to the first brightness data is used as the second display grayscale combination data of the RGB primary color under different viewing angles, thereby obtaining the target mapping relationship between the second brightness data, the second grayscale data and the second display grayscale data of the RGB primary color under different viewing angles; Based on the target mapping relationship, the mapping relationship between the plurality of viewpoints and the display grayscale data is obtained, wherein the second display grayscale combination data in the mapping relationship between the plurality of viewpoints and the display grayscale data is the target display grayscale data, wherein the target display grayscale data is a combination of two grayscale data; The image to be displayed is displayed based on the target grayscale data. The step of displaying the image to be displayed based on the target display grayscale data includes: The target display grayscale data is parsed to obtain two grayscale data, and then displayed in a time-division manner based on the two grayscale data.
2. The image display method according to claim 1, characterized in that, The step of obtaining the viewpoint corresponding to each pixel in the image to be displayed includes: Obtain the center position on the display device and use the center position as the vertical viewing position; The position information of each pixel in the image to be displayed is traversed, wherein the size information of the image to be displayed is matched with the size information of the display screen on the display device; Based on the location information and the vertical viewing position, calculate the tilt angle between each pixel and the vertical viewing position, and use the tilt angle as the viewing angle.
3. The image display method according to claim 1, characterized in that, The step of splitting the first grayscale data of the RGB primary colors under the vertical viewing angle to obtain the first display grayscale combination data corresponding to the first grayscale data of the RGB primary colors under the vertical viewing angle includes: Based on the first grayscale data, the grayscale data corresponding to the R primary color, the G primary color, and the B primary color in the RGB primary colors are obtained under the vertical viewing angle. The grayscale data corresponding to the R primary color, the G primary color, and the B primary color are decomposed to obtain the grayscale combination data corresponding to the R primary color, the G primary color, and the B primary color, respectively. Each of the grayscale combination data corresponding to the R primary color, the G primary color, and the B primary color includes two grayscale data. Based on the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color, the first display grayscale combination data under the vertical viewing angle is obtained.
4. The image display method according to claim 1, characterized in that, The step of splitting the first grayscale data of the RGB primary colors under the vertical viewing angle to obtain the first display grayscale combination data corresponding to the first grayscale data of the RGB primary colors under the vertical viewing angle includes: Based on the first grayscale data, the overall grayscale data of the RGB primary color under the vertical viewing angle is obtained; The overall grayscale data is split into its entirety to obtain the first display grayscale combination data of the RGB primary colors under the vertical viewing angle. The first display grayscale combination data includes grayscale combination data corresponding to the R primary color, grayscale combination data corresponding to the G primary color, and grayscale combination data corresponding to the B primary color. Each of the grayscale combination data corresponding to the R primary color, the G primary color, and the B primary color includes two grayscale data.
5. The image display method according to any one of claims 1-4, characterized in that, The step of displaying the image to be displayed based on the target display grayscale data includes: Based on the target display grayscale data, obtain the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color in the target display grayscale data. The image to be displayed is based on the grayscale combination data corresponding to the R primary color, the grayscale combination data corresponding to the G primary color, and the grayscale combination data corresponding to the B primary color.
6. An image display device, characterized in that, The device includes: The viewpoint acquisition module is used to acquire the viewpoint corresponding to each pixel in the image to be displayed. The grayscale data acquisition module is used to acquire target display grayscale data corresponding to the viewing angle based on the viewing angle. The grayscale data acquisition module includes: The mapping relationship acquisition unit is used to acquire the mapping relationship between several preset viewpoints and displayed grayscale data; The target display grayscale data acquisition unit is used to determine the target display grayscale data corresponding to the viewpoint based on the mapping relationship between the plurality of viewpoints and display grayscale data; The methods for setting the mapping relationship between the various viewpoints and the displayed grayscale data include: Obtain the brightness data of RGB primary colors from different viewing angles, and obtain a mapping table between the brightness data and grayscale data of the RGB primary colors from different viewing angles; According to the mapping table, the first grayscale data of the RGB primary color and the corresponding first brightness data under the vertical viewing angle are obtained, and the first grayscale data of the RGB primary color under the vertical viewing angle is split to obtain the first display grayscale combination data corresponding to the first grayscale data of the RGB primary color under the vertical viewing angle. The first grayscale data of the RGB primary color under the vertical viewing angle and the first display grayscale combination data both correspond to the first brightness data. Acquire the second grayscale data of the RGB primary color and the corresponding second brightness data under different viewing angles, and determine the first brightness data that is the same as the second brightness data or has a preset ratio with the second brightness data under the vertical viewing angle according to the second brightness data and the mapping relationship table; The first display grayscale combination data corresponding to the first brightness data is used as the second display grayscale combination data of the RGB primary color under different viewing angles, thereby obtaining the target mapping relationship between the second brightness data, the second grayscale data and the second display grayscale data of the RGB primary color under different viewing angles; Based on the target mapping relationship, the mapping relationship between the plurality of viewpoints and the display grayscale data is obtained, wherein the second display grayscale combination data in the mapping relationship between the plurality of viewpoints and the display grayscale data is the target display grayscale data, wherein the target display grayscale data is a combination of two grayscale data; The image display module is used to display the image to be displayed based on the target grayscale data; The image display module includes: The target display grayscale data is parsed to obtain two grayscale data, and then displayed in a time-division manner based on the two grayscale data.
7. A display device, characterized in that, The display device includes a memory, a processor, and an image display program stored in the memory and executable on the processor. When the processor executes the image display program, it implements the steps of the image display method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an image display program, which, when executed by a processor, implements the steps of the image display method as described in any one of claims 1-5.
Citation Information
Patent Citations
Liquid crystal display device and method of driving liquid crystal display panel
CN107154240A
Display control method and device
CN108281111A