A method, apparatus, and dual-screen device for compensating viewing angles.

By obtaining the target angle in the dual-screen device and performing color compensation with RGB compensation gain, the display deviation problem of the secondary display screen when viewed at an angle is solved, ensuring the consistency of display effect and improving picture quality.

CN116665576BActive Publication Date: 2026-05-26BEIJING ESWIN COMPUTING TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING ESWIN COMPUTING TECH CO LTD
Filing Date
2023-05-15
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In dual-screen devices, due to the different viewing angles, the secondary display screen exhibits display deviation when viewed at an angle, resulting in a reduced viewing experience.

Method used

By obtaining the target angle between the main display and the secondary display, the target RGB compensation gain is determined, and color compensation is performed on the secondary display based on this gain to eliminate color or brightness deviations caused by viewing angle differences.

Benefits of technology

This achieves the same display effect as the main display, improving the image quality of the secondary display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116665576B_ABST
    Figure CN116665576B_ABST
Patent Text Reader

Abstract

This application relates to a viewing angle compensation method, apparatus, dual-screen device, and storage medium for a dual-screen device, belonging to the field of display technology. The method includes: obtaining a target angle between the main display screen and the secondary display screen in the dual-screen device; determining a target RGB compensation gain for color compensation of the secondary display screen based on the target angle; and compensating the current first RGB value of the secondary display screen based on the target RGB compensation gain to obtain a target RGB value for the secondary display screen, wherein the difference between the target RGB value and the current second RGB value of the main display screen is within a set range. Therefore, this solution, by determining the target angle between the main display screen and the secondary display screen of the dual-screen device, determines the target RGB compensation gain, and then compensates the secondary display screen, eliminating color or brightness deviations caused by viewing angle differences on the secondary display screen, thereby improving the image display quality of the secondary display screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and in particular to a viewing angle compensation method, apparatus, dual-screen device, and storage medium for a dual-screen device. Background Technology

[0002] With the development of laptops, dual-screen devices (such as dual-screen laptops) have become a mainstream trend. However, when operating dual-screen devices, due to the different viewing angles, the secondary display may have a display deviation when viewed at an angle, resulting in a reduced viewing experience. Summary of the Invention

[0003] This application provides a viewing angle compensation method, apparatus, dual-screen device, computer-readable storage medium, and computer program product for a dual-screen device, to solve the problem of display deviation caused by viewing the secondary display screen at an angle. The technical solution of this application is as follows:

[0004] According to a first aspect of the embodiments of this application, a viewing angle compensation method for a dual-screen device is provided, comprising: obtaining a target angle between a main display screen and a secondary display screen in the dual-screen device; determining a target RGB compensation gain for color compensation of the secondary display screen based on the target angle; and compensating the current first RGB value of the secondary display screen based on the target RGB compensation gain to obtain a target RGB value of the secondary display screen, wherein the difference between the target RGB value and the current second RGB value of the main display screen is within a set range.

[0005] In one embodiment of this application, determining the RGB compensation gain for color compensation of the secondary display screen based on the target angle includes: querying a pre-built correspondence table between candidate angles and RGB compensation gains based on the target angle, determining a first RGB compensation gain that matches the target angle; and determining the target RGB compensation gain based on the first RGB compensation gain.

[0006] In one embodiment of this application, the step of querying a pre-constructed correspondence table between angles and RGB compensation gains based on the target angle to determine a first RGB compensation gain matching the target angle includes: determining whether there is a first candidate angle equal to the target angle in the correspondence table; if the first candidate angle exists in the correspondence table, determining the RGB compensation gain corresponding to the first candidate angle as the first RGB compensation gain; if the first candidate angle does not exist in the correspondence table, obtaining two adjacent candidate angles adjacent to the target angle, and determining the RGB compensation gain corresponding to each adjacent candidate angle as the first RGB compensation gain.

[0007] In one embodiment of this application, when the first candidate angle does not exist in the correspondence table, determining the target RGB compensation gain based on the first RGB compensation gain includes: performing interpolation operations on the RGB compensation gains corresponding to the two adjacent candidate angles to obtain the target RGB supplementary gain.

[0008] In one embodiment of this application, the method further includes: adjusting the angle between the main display screen and the sub-display screen to obtain one or more candidate angles between the main display screen and the sub-display screen; measuring a first XYZ value of the main display screen in the XYZ color space and a second XYZ value of the sub-display screen in the XYZ color space at the candidate angle using a color analysis device; determining a compensated RGB value of the sub-display screen at the candidate angle based on the first XYZ value and the second XYZ value; and obtaining the RGB compensation gain corresponding to the candidate angle based on the candidate RGB value of the sub-display screen and the compensated RGB value at the same candidate angle.

[0009] In one embodiment of this application, determining the compensated RGB value of the secondary display screen at the candidate angle based on the first XYZ value and the second XYZ value includes: obtaining the XYZ difference between the first XYZ value and the second XYZ value; and performing a color gamut conversion from the XYZ color space to the RGB color space on the XYZ difference based on a preset color gamut conversion matrix to obtain the compensated RGB value of the secondary display screen at the candidate angle.

[0010] In one embodiment of this application, obtaining the RGB compensation gain corresponding to the candidate angle based on the candidate RGB value of the sub-display and the compensated RGB value under the same candidate angle includes: compensating the candidate RGB value under the same candidate angle based on the compensated RGB value of the sub-display to obtain the updated RGB value of the sub-display; and obtaining the ratio of the updated RGB value to the candidate RGB value as the RGB compensation gain corresponding to the candidate angle.

[0011] In one embodiment of this application, measuring the first XYZ value of the main display screen in the XYZ color space and the second XYZ value of the secondary display screen in the XYZ color space using a color analysis device at the candidate angle includes: determining a first viewing angle adjustment amount of the color analysis device based on any candidate angle, and adjusting the color analysis device to a target viewing angle, wherein the target viewing angle is perpendicular to the main display screen, to measure the first XYZ value; and controlling the color analysis device to tilt from the target viewing angle toward the secondary display screen by a set amount to measure the second XYZ value.

[0012] According to a second aspect of the embodiments of this application, a viewing angle compensation device for a dual-screen device is provided, comprising: an acquisition module for acquiring a target angle between a main display screen and a secondary display screen in the dual-screen device; a determination module for determining a target RGB compensation gain for color compensation of the secondary display screen based on the target angle; and a compensation module for compensating a current first RGB value of the secondary display screen based on the target RGB compensation gain to obtain a target RGB value of the secondary display screen, wherein the difference between the target RGB value and a current second RGB value of the main display screen is within a set range.

[0013] In one embodiment of this application, the determining module is further configured to perform: based on the target angle, query a pre-built correspondence table between candidate angles and RGB compensation gains, determine a first RGB compensation gain that matches the target angle; and based on the first RGB compensation gain, determine the target RGB compensation gain.

[0014] In one embodiment of this application, the determining module is further configured to: determine whether there is a first candidate angle equal to the target angle in the correspondence table; if the first candidate angle exists in the correspondence table, determine the RGB compensation gain corresponding to the first candidate angle as the first RGB compensation gain; if the first candidate angle does not exist in the correspondence table, obtain two adjacent candidate angles adjacent to the target angle, and determine the RGB compensation gain corresponding to each of the adjacent candidate angles as the first RGB compensation gain.

[0015] In one embodiment of this application, the determining module is further configured to: perform interpolation calculation on the RGB compensation gains corresponding to the included angles of the two adjacent candidate angles to obtain the target RGB supplementary gain.

[0016] In one embodiment of this application, the determining module is further configured to: adjust the angle between the main display screen and the sub-display screen to obtain one or more candidate angles between the main display screen and the sub-display screen; measure, using a color analysis device, a first XYZ value of the main display screen in the XYZ color space and a second XYZ value of the sub-display screen in the XYZ color space at the candidate angle; determine the compensated RGB value of the sub-display screen at the candidate angle based on the first XYZ value and the second XYZ value; and obtain the RGB compensation gain corresponding to the candidate angle based on the candidate RGB value of the sub-display screen and the compensated RGB value at the same candidate angle.

[0017] In one embodiment of this application, the determining module is further configured to: obtain the XYZ difference between the first XYZ value and the second XYZ value; and perform a color gamut conversion from the XYZ color space to the RGB color space on the XYZ difference based on a preset color gamut conversion matrix to obtain the compensated RGB value of the sub-display screen at the candidate angle.

[0018] In one embodiment of this application, the determining module is further configured to: compensate the candidate RGB values ​​under the same candidate angle based on the compensated RGB values ​​of the sub-display, to obtain the updated RGB values ​​of the sub-display; and obtain the ratio of the updated RGB values ​​to the candidate RGB values ​​as the RGB compensation gain corresponding to the candidate angle.

[0019] In one embodiment of this application, the determining module is further configured to: determine a first viewing angle adjustment amount of the color analysis device based on any candidate angle, and adjust the color analysis device to a target viewing angle according to the first viewing angle adjustment amount, wherein the target viewing angle is perpendicular to the main display screen, so as to measure the first XYZ value; and control the color analysis device to tilt from the target viewing angle to the secondary display screen by a set amount, so as to measure the second XYZ value.

[0020] According to a third aspect of the embodiments of this application, a dual-screen device is provided, including a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the method of the first aspect of the embodiments of this application.

[0021] According to a fourth aspect of the present application, a computer-readable storage medium is provided, having stored thereon computer program instructions that, when executed by a processor, implement the steps of the method of the first aspect of the present application.

[0022] According to a fifth aspect of the embodiments of this application, a computer program product is provided, including a computer program, characterized in that, when the computer program is executed by the processor of a dual-screen device, it implements the steps of the method of the first aspect of the embodiments of this application.

[0023] The technical solution provided by the embodiments of this application brings at least the following beneficial effects: By determining the target angle between the main display screen and the secondary display screen in a dual-screen display device, and based on the correspondence between the target angle and the RGB compensation gain, the target RGB compensation gain corresponding to the target angle can be determined. Furthermore, by compensating the secondary display screen based on the target RGB compensation gain, the color or brightness deviation caused by the viewing angle difference on the secondary display screen can be eliminated, making the display effect of the secondary display screen the same as that of the main display screen, while improving the image display quality of the secondary display screen.

[0024] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

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

[0026] Figure 1 This is a flowchart illustrating a viewpoint compensation method for a dual-screen device according to an exemplary embodiment.

[0027] Figure 2 This is a flowchart illustrating a viewpoint compensation method for a dual-screen device according to another exemplary embodiment.

[0028] Figure 3 This is a flowchart illustrating a viewpoint compensation method for a dual-screen device according to another exemplary embodiment.

[0029] Figure 4 This is a flowchart illustrating a viewpoint compensation method for a dual-screen device according to another exemplary embodiment.

[0030] Figure 5 This is a schematic diagram illustrating a color analysis device for measuring XYZ values ​​according to an exemplary embodiment.

[0031] Figure 6 This is a flowchart illustrating a color compensation algorithm according to an exemplary embodiment.

[0032] Figure 7 This is a flowchart illustrating a viewpoint compensation method for a dual-screen device according to another exemplary embodiment.

[0033] Figure 8 This is a structural block diagram illustrating a viewing angle compensation device for a dual-screen device according to an exemplary embodiment.

[0034] Figure 9 This is a block diagram of a dual-screen device according to an exemplary embodiment.

[0035] Figure 10 This is a structural block diagram of a dual-screen device according to an exemplary embodiment. Detailed Implementation

[0036] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0037] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0038] The acquisition, storage, use, and processing of data in this application all comply with the relevant provisions of national laws and regulations.

[0039] Figure 1 This is a flowchart illustrating a viewing angle compensation method for a dual-screen device according to an exemplary embodiment, such as... Figure 1 As shown, the viewing angle compensation method for a dual-screen device in this application includes, but is not limited to, the following steps.

[0040] S101, Obtain the target angle between the main display screen and the secondary display screen in the dual-screen device.

[0041] It should be noted that the viewing angle compensation method for dual-screen devices in this application embodiment is implemented by an electronic device with dual-screen displays, such as a dual-screen laptop or a foldable mobile terminal. The dual-screen displays include a main display and a secondary display, used to display image information.

[0042] In one implementation, the angle between the main display screen and the secondary display screen can be measured using the angle sensor of the dual-screen device, and this angle is set as the target angle between the main display screen and the secondary display screen.

[0043] In another implementation, an angular velocity sensor determines the magnitude of the angular velocity during the opening and closing of the dual-screen device, and records the time consumed in opening and closing the dual-screen device. Based on the angular velocity and time, the size of the included angle can be determined, and this included angle is set as the target included angle between the main display screen and the secondary display screen.

[0044] S102, determine the target RGB compensation gain for color compensation of the secondary display screen based on the target angle.

[0045] It should be noted that the angle between the main display and the secondary display affects the viewing angle, causing distortion in the size or color of objects in the image and affecting the visual effect on the human eye. Gain compensation aims to eliminate the differences caused by viewing angle, ensuring the image appears the same from different perspectives. Gain compensation increases or decreases the brightness and contrast of individual pixels in the image to achieve the same effect from different viewing angles.

[0046] Optionally, a mapping table between the included angle between the main display and the secondary display and the RGB compensation gain can be pre-established. In some implementations, this mapping table is stored in the storage medium or memory of the dual-screen device. After obtaining the target included angle, the target RGB compensation gain used for color compensation of the secondary display can be determined by querying this mapping table.

[0047] It is understandable that different angles between the main display and the secondary display correspond to different RGB compensation gains. For example, the RGB compensation gain corresponding to angle 1 between the main display and the secondary display is A, angle 2 is B, angle 3 is C, and so on, with angle n corresponding to N.

[0048] Optionally, after obtaining the target angle, the target RGB compensation gain can be obtained by querying the correspondence table between the aforementioned angle and the RGB compensation gain.

[0049] S103, based on the target RGB compensation gain, compensate the current first RGB value of the secondary display screen to obtain the target RGB value of the secondary display screen, wherein the difference between the target RGB value and the current second RGB value of the main display screen is within a set range.

[0050] In some implementations, to eliminate color distortion caused by viewing angle deviation when observing the secondary display screen, and to ensure that the image on the secondary display screen presents the same effect as the main display screen even with viewing angle deviation, compensation for the secondary display screen needs to be performed based on the target RGB compensation gain for color compensation of the secondary display screen.

[0051] In some implementations, the target RGB compensation gain can be used to compensate and correct the current first RGB value of the secondary display, adjusting the displayed color and improving the display effect. Alternatively, the target RGB compensation gain can be multiplied by the first RGB value of the secondary display to obtain the target RGB value of the secondary display, thus achieving the purpose of compensating the secondary display.

[0052] In this embodiment of the application, in order to ensure that the display effect of the compensated secondary display is the same as that of the primary display, the corresponding RGB compensation gain is predetermined when the primary display and the secondary display are at different angles. Therefore, in the actual processing, after compensating the current first RGB value of the secondary display based on the target angle and the target RGB compensation gain, the target RGB value of the secondary display can be made to be consistent with the current second RGB value of the primary display, or the difference between the two can be within a small error range.

[0053] Optionally, the difference between the target RGB value of the secondary display and the second RGB value of the primary display can be calculated. This difference can reflect the color deviation between the primary and secondary displays. For example, if the difference is between (0,1), it indicates that the visual effect of the primary and secondary displays is the same, meaning that the RGB difference between them is within a set range.

[0054] The viewing angle compensation method for dual-screen devices provided in this application determines the target angle between the main display screen and the secondary display screen in the dual-screen display device. Based on the correspondence between the target angle and the RGB compensation gain, the target RGB compensation gain corresponding to the target angle can be determined. Furthermore, by compensating the secondary display screen based on the target RGB compensation gain, the color or brightness deviation of the secondary display screen caused by the viewing angle difference can be eliminated, making the display effect of the secondary display screen the same as that of the main display screen, while improving the image display quality of the secondary display screen.

[0055] Figure 2 This is a flowchart illustrating a viewing angle compensation method for a dual-screen device according to an exemplary embodiment, such as... Figure 2 As shown, the viewing angle compensation method for a dual-screen device in this application includes, but is not limited to, the following steps.

[0056] S201, Obtain the target angle between the main display screen and the secondary display screen in the dual-screen device.

[0057] In the embodiments of this application, step S201 can be implemented in any of the ways described in the embodiments of this application. This is not limited here and will not be described in detail.

[0058] S202, based on the target angle, query the pre-built correspondence table between candidate angles and RGB compensation gains, and determine the first RGB compensation gain that matches the target angle.

[0059] Optionally, it is determined whether a first candidate angle equal to the target angle exists in the correspondence table. If a first candidate angle exists in the correspondence table, the RGB compensation gain corresponding to the first candidate angle is determined as the first RGB compensation gain; if no first candidate angle exists in the correspondence table, two adjacent candidate angles adjacent to the target angle are obtained, and the RGB compensation gain corresponding to each adjacent candidate angle is determined as the first RGB compensation gain.

[0060] For example, if the target angle is 95°, and there is a first candidate angle of 95° in the correspondence table, then the first compensation gain is the RGB compensation gain corresponding to the first candidate angle. If there is no first candidate angle of 95° in the correspondence table, and the angles adjacent to 95° are 90° and 100°, the average value of the RGB compensation gains corresponding to the adjacent angles can be taken as the first RGB compensation gain.

[0061] S203, based on the first RGB compensation gain, determine the target RGB compensation gain.

[0062] It is understandable that if there is a first candidate angle in the correspondence table that is the same as the target angle, then the first RGB compensation gain corresponding to the first candidate angle can be directly determined as the target RGB compensation gain corresponding to the target angle.

[0063] If no first candidate angle exists in the correspondence table, interpolation is performed on the RGB compensation gains corresponding to two adjacent candidate angles to obtain the target RGB compensation gain.

[0064] Optionally, the average or weighted average of the RGB compensation gains corresponding to adjacent angles can be calculated as the target RGB compensation gain. Optionally, the angle difference 'a' between any two adjacent angles and the corresponding compensation gain difference 'b' can be calculated. By calculating the ratio of the compensation gain difference to the angle difference, the gain increment 'k' corresponding to each degree can be obtained. The difference 'd' between the target angle and the smaller adjacent angle is calculated. The sum of the RGB compensation gain corresponding to the smaller adjacent angle and the product of the difference 'd' and the gain increment 'k' is the target RGB compensation gain.

[0065] S204, based on the target RGB compensation gain, compensate the current first RGB value of the secondary display screen to obtain the target RGB value of the secondary display screen, wherein the difference between the target RGB value and the current second RGB value of the main display screen is within a set range.

[0066] In the embodiments of this application, step S204 can be implemented in any of the ways described in the various embodiments of this application. This is not limited here and will not be described in detail.

[0067] The viewing angle compensation method for dual-screen devices provided in this application determines the target angle between the main display screen and the secondary display screen in the dual-screen display device. Based on the correspondence between the target angle and the RGB compensation gain, the target RGB compensation gain corresponding to the target angle can be determined. Furthermore, by compensating the secondary display screen based on the target RGB compensation gain, the color or brightness deviation of the secondary display screen caused by the viewing angle difference can be eliminated, making the display effect of the secondary display screen the same as that of the main display screen, while improving the image display quality of the secondary display screen.

[0068] Based on the above embodiments, the process of constructing the correspondence table between candidate included angles and RGB compensation gains can be explained in this application embodiment, such as... Figure 3 As shown, the process of constructing the correspondence table between the candidate included angle and the RGB compensation gain includes, but is not limited to, the following steps.

[0069] S301, adjust the angle between the main display and the secondary display to obtain one or more candidate angles between the main display and the secondary display.

[0070] In some implementations, the angle between the main display screen and the secondary display screen can be changed by adjusting the opening size of the main display screen. The angle between the main display screen and the secondary display screen can be determined by an angle sensor, and different angles can be used as one or more candidate angles between the main display screen and the secondary display screen.

[0071] S302, using a color analysis device, measures the first XYZ value of the main display screen in the XYZ color space and the second XYZ value of the secondary display screen in the XYZ color space at the candidate angle.

[0072] In some implementations, for any candidate angle, the viewing angle of the color analysis device is adjusted to be perpendicular to the main display screen. The color analysis device then measures the first XYZ value of the main display screen in the XYZ color space. For example, when the main display screen displays a white image, the first XYZ value is 255. Optionally, the viewing angle of the color analysis device can be determined by querying a pre-established mapping table between candidate angles and the viewing angle of the color analysis device.

[0073] Furthermore, while keeping the position of the color analysis device unchanged, the viewing angle of the color analysis device is adjusted to tilt slightly towards the secondary display screen. The tilt angle can be set to 3° or 5° to simulate the shift in human eye vision. The color analysis device is then used to measure the second XYZ value of the secondary display screen in the XYZ color space.

[0074] S303, determine the compensated RGB value of the secondary display screen at the candidate angle based on the first XYZ value and the second XYZ value.

[0075] Optionally, the compensated RGB value of the secondary display screen at the candidate angle can be calculated using a color compensation algorithm based on the first XYZ value and the second XYZ value. First, the XYZ difference between the first and second XYZ values ​​is calculated. Then, based on the XYZ difference, a pre-defined color gamut conversion matrix is ​​used to convert the XYZ difference from the XYZ color space to the RGB color space to obtain the compensated RGB value of the secondary display screen at the candidate angle. For example, when both the primary and secondary displays show a white image, the RGB compensation gain of the secondary display screen at the candidate angle is a gain of 255.

[0076] S304: Based on the candidate RGB values ​​and compensated RGB values ​​of the secondary display screen under the same candidate angle, obtain the RGB compensation gain corresponding to the candidate angle.

[0077] In some implementations, the candidate RGB values ​​of the secondary display screen at the same candidate angle are compensated based on the compensated RGB values ​​of the secondary display screen at the candidate angle to obtain the updated RGB values ​​of the secondary display screen. Furthermore, the ratio between the updated RGB values ​​and the candidate RGB values ​​can be calculated, and this ratio can be determined as the RGB compensation gain corresponding to the same candidate angle.

[0078] In some implementations, the candidate RGB values ​​of the secondary display are obtained by taking the second XYZ value of the secondary display at the candidate angle and converting it using a color gamut conversion matrix.

[0079] In some implementations, the candidate RGB values ​​for the secondary display can be the RGB values ​​of the secondary display actually measured at the candidate angle.

[0080] In some implementations, the RGB compensation gain corresponding to each candidate angle is obtained by continuously adjusting the angle between the main display and the secondary display. Based on the size of each candidate angle and its corresponding RGB compensation gain, a correspondence table between the angle and the RGB compensation gain is established and stored in the dual-screen device. It is understandable that after obtaining the angle between the main display and the secondary display, this correspondence table can be directly queried to determine the corresponding RGB compensation gain.

[0081] The viewing angle compensation method for dual-screen devices provided in this application determines a candidate angle between the main display screen and the secondary display screen of the dual-screen display device. Based on the candidate angle, a color compensation algorithm is used to obtain the compensation gain RGB value of the secondary display screen at the candidate angle. Furthermore, by compensating the secondary display screen based on the compensation gain RGB value, the color or brightness deviation of the secondary display screen caused by the viewing angle difference can be eliminated, making the display effect of the secondary display screen the same as that of the main display screen, while improving the image display quality of the secondary display screen.

[0082] Figure 4This is a flowchart illustrating a viewing angle compensation method for a dual-screen device according to an exemplary embodiment, such as... Figure 4 As shown, the viewing angle compensation method for a dual-screen device in this application includes, but is not limited to, the following steps.

[0083] S401, adjust the angle between the main display and the secondary display to obtain one or more candidate angles between the main display and the secondary display.

[0084] In the embodiments of this application, step S401 can be implemented in any of the ways described in the embodiments of this application. This is not limited here and will not be described in detail.

[0085] S402, based on any candidate angle, determine the first viewing angle adjustment amount of the color analysis device, and adjust the color analysis device to the target viewing angle according to the first viewing angle adjustment amount. The target viewing angle is perpendicular to the main display screen to measure the first XYZ value.

[0086] In some implementations, for any candidate angle, the target viewing angle and first viewing angle adjustment amount of the color analysis device can be determined from the mapping table between the angle and the viewing angle of the color analysis device, and the color analysis device can be adjusted to the target viewing angle to ensure that the target viewing angle is perpendicular to the main display screen.

[0087] Optionally, if any candidate angle exists in the mapping table, the target viewing angle of the color analysis device is determined according to the mapping table, the first viewing angle adjustment amount is determined according to the difference between the current viewing angle and the target viewing angle, and the color analysis device is adjusted to the target viewing angle; if any candidate angle does not exist in the mapping table, interpolation is performed according to the viewing angles corresponding to adjacent angles to determine the target viewing angle of the color analysis device, the first viewing angle adjustment amount is determined according to the difference between the current viewing angle and the target viewing angle, and the color analysis device is adjusted to the target viewing angle.

[0088] In some implementations, the first XYZ value of the main display screen can be measured when the color analysis device is at the target viewing angle.

[0089] S403 controls the color analysis device to tilt a set amount from the target viewing angle toward the secondary display screen in order to measure the second XYZ value.

[0090] Understandably, when measuring the XYZ values ​​of the secondary display screen, the viewing angle of the color analysis device needs to be shifted downwards by a set amount to simulate the line-of-sight shift of the human eye. Optionally, by controlling the color analysis device to tilt downwards from the target viewing angle towards the secondary display screen by a set amount, a second XYZ value can be measured.

[0091] like Figure 5As shown, when measuring the first XYZ value of the main display screen, the viewing angle of the color analysis device needs to be perpendicular to the main display screen. When measuring the second XYZ value of the secondary display screen, the position of the color analysis device needs to remain unchanged, and the viewing angle should be tilted downwards at a set angle to measure the second XYZ value.

[0092] S404, obtain the XYZ difference between the first XYZ value and the second XYZ value.

[0093] In some implementations, the XYZ difference between the first and second XYZ values ​​can be calculated based on the first and second XYZ values. This difference can then be used to obtain the compensation gain of the secondary display screen. Let the differences between the first and second XYZ values ​​be ΔX, ΔY, and ΔZ.

[0094] S405, based on a preset color gamut conversion matrix, performs color gamut conversion on the XYZ difference from the XYZ color space to the RGB color space, and obtains the compensated RGB value of the secondary display screen at the candidate angle.

[0095] It is understandable that the XYZ difference can be converted from the XYZ color space to the RGB color space, and this RGB value is the compensation RGB value of the secondary display at the candidate angle.

[0096] Optionally, a color gamut conversion matrix can be pre-set to convert the XYZ difference from the XYZ color space to the RGB color space. By multiplying the XYZ difference with the inverse of the color gamut conversion matrix, the XYZ difference can be converted from the XYZ color space to the RGB color space, thus obtaining the compensated RGB value for the secondary display at the candidate angle. The calculation formula is as follows:

[0097]

[0098] Where ΔR, ΔG, and ΔB are the compensated RGB values ​​of the secondary display screen at the candidate angle, M is the color gamut conversion matrix, and ΔX, ΔY, and ΔZ are the XYZ differences. The value of M can be:

[0099]

[0100] S406, based on the compensated RGB value of the secondary display, compensates the candidate RGB values ​​under the same candidate angle to obtain the updated RGB value of the secondary display.

[0101] In some implementations, the candidate RGB values ​​of the secondary display screen can be compensated based on the compensated RGB values ​​of the secondary display screen at the same candidate angle. The compensated RGB values ​​are then used as the updated RGB values ​​for the secondary display screen. The formula for calculating the updated RGB values ​​of the secondary display screen is shown below:

[0102] R '=R + ΔR(2)

[0103] G ' =G + ΔG(3)

[0104] B ' =B + ΔB(4)

[0105] It should be noted that R on the left side of the equation ' G ' B ' These are the updated RGB values ​​for the secondary display screen. R, G, and B on the right side of the equation are the candidate RGB values ​​for the secondary display screen.

[0106] Figure 6 This describes the color compensation algorithm's process. At any candidate angle, the first XYZ value measured by the color analysis device on the main display screen is input as the target XYZ value into the subtraction unit. Simultaneously, the candidate RGB value of the secondary display screen and the second XYZ value measured by the color analysis device on the secondary display screen are input into the subtraction unit, outputting the differences ΔX, ΔY, and ΔZ between the first and second XYZ values. Further, the XYZ differences are converted from the XYZ color space to the RGB color space using a color gamut conversion matrix, yielding the compensated RGB value of the secondary display screen at the candidate angle. Based on the compensated RGB value of the secondary display screen, the candidate RGB values ​​at the same candidate angle are compensated, outputting the updated RGB value of the secondary display screen.

[0107] S407, obtain the ratio of the updated RGB value to the candidate RGB value, and use it as the RGB compensation gain corresponding to the candidate angle.

[0108] In some implementations, the RGB compensation gain corresponding to a candidate angle can be obtained by calculating the ratio of the updated RGB value to the candidate RGB value. Let the candidate RGB value be Current RGB and the updated RGB value be Updated RGB. ' G ' B ' If the RGB compensation gains are GainR, GainG, and GainB, then the formula for calculating the RGB compensation gains is as follows:

[0109] GainR = Updated R ' / Current R(5)

[0110] GainG = Updated G ' / Current G(6)

[0111] GainB = Updated B ' / Current B(7)

[0112] Understandably, after obtaining one or more candidate angles between the main display and the secondary display, a color compensation algorithm can be used to obtain the updated RGB values ​​of the secondary display under multiple candidate angles. Based on the updated RGB values ​​and the candidate RGB values ​​of the secondary display, the RGB compensation gain corresponding to multiple different candidate angles can be determined. A correspondence table is established between multiple different candidate angles and their corresponding RGB compensation gains and stored in the dual-screen device. When the angle size is determined, this correspondence table can be directly queried to determine the RGB compensation gain. If the angle size does not exist in the correspondence table, interpolation can be performed based on the RGB compensation gains of the two adjacent angles to obtain the RGB compensation gain of the secondary display corresponding to that angle.

[0113] The viewing angle compensation method for dual-screen devices provided in this application determines candidate angles between the main display screen and the secondary display screen in the dual-screen display device, and obtains the RGB compensation gain of the secondary display screen corresponding to the candidate angle using a color compensation algorithm. Furthermore, compensating the secondary display screen based on the RGB compensation gain can eliminate color or brightness deviations caused by viewing angle differences, making the display effect of the secondary display screen the same as that of the main display screen, while improving the image display quality of the secondary display screen.

[0114] Figure 7 This is a flowchart illustrating a viewing angle compensation method for a dual-screen device according to an exemplary embodiment, such as... Figure 7 As shown, the viewing angle compensation method for a dual-screen device in this application includes, but is not limited to, the following steps.

[0115] S701 adjusts the angle between the main display and the secondary display to obtain one or more candidate angles between the main display and the secondary display.

[0116] S702 measures the first XYZ value of the main display screen in the XYZ color space and the second XYZ value of the secondary display screen in the XYZ color space at the candidate angle using a color analysis device.

[0117] S703 determines the compensated RGB value of the secondary display screen at the candidate angle based on the first XYZ value and the second XYZ value.

[0118] S704 obtains the RGB compensation gain corresponding to the candidate angle based on the candidate RGB value and the compensated RGB value of the sub-display under the same candidate angle.

[0119] S705 establishes a table showing the correspondence between the included angle and the RGB compensation gain, and stores it in the dual-screen device.

[0120] S706, obtain the target angle between the main display and the secondary display in a dual-screen device.

[0121] S707: Based on the target angle, query the correspondence table between candidate angles and RGB compensation gains to determine the first RGB compensation gain that matches the target angle.

[0122] S708 determines the target RGB compensation gain based on the first RGB compensation gain.

[0123] S709 compensates for the current first RGB value of the secondary display based on the target RGB compensation gain to obtain the target RGB value of the secondary display.

[0124] The viewing angle compensation method for dual-screen devices provided in this application determines the target angle between the main display screen and the secondary display screen in the dual-screen display device. Based on the correspondence between the target angle and the RGB compensation gain, the target RGB compensation gain corresponding to the target angle can be determined. Furthermore, by compensating the secondary display screen based on the target RGB compensation gain, the color or brightness deviation of the secondary display screen caused by the viewing angle difference can be eliminated, making the display effect of the secondary display screen the same as that of the main display screen, while improving the image display quality of the secondary display screen.

[0125] This application Figure 8 This is a structural block diagram illustrating a viewing angle compensation device for a dual-screen device according to an exemplary embodiment. (Refer to...) Figure 8 The viewing angle compensation device 800 for a dual-screen device according to this application includes: an acquisition module 801, a determination module 802, and a compensation module 803.

[0126] The acquisition module 801 is used to acquire the target angle between the main display screen and the secondary display screen in a dual-screen device.

[0127] The determination module 802 is used to determine the target RGB compensation gain for color compensation of the secondary display screen based on the target angle.

[0128] The compensation module 803 is used to compensate the current first RGB value of the secondary display screen based on the target RGB compensation gain to obtain the target RGB value of the secondary display screen, wherein the difference between the target RGB value and the current second RGB value of the main display screen is within a set range.

[0129] In one embodiment of this application, the determining module 802 is further configured to: query a pre-built correspondence table between candidate angles and RGB compensation gains based on the target angle, determine a first RGB compensation gain that matches the target angle; and determine a target RGB compensation gain based on the first RGB compensation gain.

[0130] In one embodiment of this application, the determining module 802 is further configured to: determine whether there is a first candidate angle in the correspondence table that is equal to the target angle; if there is a first candidate angle in the correspondence table, determine the RGB compensation gain corresponding to the first candidate angle as the first RGB compensation gain; if there is no first candidate angle in the correspondence table, obtain two adjacent candidate angles adjacent to the target angle, and determine the RGB compensation gain corresponding to each adjacent candidate angle as the first RGB compensation gain.

[0131] In one embodiment of this application, the determining module 802 is further configured to: perform interpolation calculation on the RGB compensation gain corresponding to the included angle of two adjacent candidate angles to obtain the target RGB supplementary gain.

[0132] In one embodiment of this application, the determining module 802 is further configured to: adjust the included angle between the main display screen and the sub-display screen to obtain one or more candidate included angles between the main display screen and the sub-display screen; measure the first XYZ value of the main display screen in the XYZ color space and the second XYZ value of the sub-display screen in the XYZ color space under the candidate included angle using a color analysis device; determine the compensated RGB value of the sub-display screen under the candidate included angle based on the first XYZ value and the second XYZ value; and obtain the RGB compensation gain corresponding to the candidate included angle based on the candidate RGB value and the compensated RGB value of the sub-display screen under the same candidate included angle.

[0133] In one embodiment of this application, the determining module 802 is further configured to: obtain the XYZ difference between the first XYZ value and the second XYZ value; and perform a color gamut conversion from the XYZ color space to the RGB color space on the XYZ difference based on a preset color gamut conversion matrix to obtain the compensated RGB value of the secondary display screen at the candidate angle.

[0134] In one embodiment of this application, the determining module 802 is further configured to: compensate the candidate RGB values ​​under the same candidate angle based on the compensated RGB values ​​of the secondary display screen to obtain the updated RGB values ​​of the secondary display screen; and obtain the ratio of the updated RGB values ​​to the candidate RGB values ​​as the RGB compensation gain corresponding to the candidate angle.

[0135] In one embodiment of this application, the determining module 802 is further configured to: determine a first viewing angle adjustment amount of the color analysis device according to any candidate angle, and adjust the color analysis device to a target viewing angle according to the first viewing angle adjustment amount, wherein the target viewing angle is perpendicular to the main display screen, so as to measure a first XYZ value; and control the color analysis device to tilt from the target viewing angle to the secondary display screen by a set amount, so as to measure a second XYZ value.

[0136] The viewing angle compensation method for dual-screen devices provided in this application determines the target angle between the main display screen and the secondary display screen in the dual-screen display device. Based on the correspondence between the target angle and the RGB compensation gain, the target RGB compensation gain corresponding to the target angle can be determined. Furthermore, by compensating the secondary display screen based on the target RGB compensation gain, the color or brightness deviation of the secondary display screen caused by the viewing angle difference can be eliminated, making the display effect of the secondary display screen the same as that of the main display screen, while improving the image display quality of the secondary display screen.

[0137] Figure 9 This is a block diagram of a dual-screen device according to an exemplary embodiment. Figure 9 The dual-screen device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0138] like Figure 9 As shown, the dual-screen device 900 includes a processor 901, which can perform various appropriate actions and processes based on a program stored in read-only memory (ROM) 902 or a program loaded from memory 906 into random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the dual-screen device 900. The processor 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0139] The following components are connected to I / O interface 905: memory 906 including hard disk; and communication section 907 including network interface card such as local area network (LAN) card, modem, etc., communication section 907 performs communication processing via network such as Internet; driver 908 is also connected to I / O interface 905 as needed.

[0140] In an exemplary embodiment, the dual-screen device 900 further includes a main display 909 (as in the main display screen of the above embodiment) and a secondary display 910 (as in the secondary display screen of the above embodiment). The angle between the main display 909 and the secondary display screen 910 can be adjusted.

[0141] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 907. When the computer program is executed by processor 901, it performs the functions defined in the methods of this application.

[0142] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, which can be executed by the processor 901 of the dual-screen device 900 to complete the above method. Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.

[0143] In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wireline, optical fiber, RF, etc., or any suitable combination thereof.

[0144] Figure 10 This is a structural block diagram of a dual-screen device according to an exemplary embodiment. Figure 10 The dual-screen device shown is merely an example and should not be construed as limiting the functionality or scope of the embodiments described in this application. Figure 10 As shown, the dual-screen device 1000 includes a processor 1001, a memory 1002, a main display 1003 (as in the above embodiment's main display screen), and a secondary display 1004 (as in the above embodiment's secondary display screen). The memory 1002 stores program code, and the processor 1001 is connected to the memory 1002 to read program code from the memory 1002 to implement the viewing angle compensation method of the dual-screen device in the above embodiment.

[0145] Optionally, the number of processors 1001 can be one or more.

[0146] Optionally, the dual-screen device may also include an interface 1005, and there may be multiple interfaces 1005. This interface 1005 can connect to an application and can receive data from external devices such as sensors.

[0147] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0148] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A viewing angle compensation method for a dual-screen device, characterized in that, include: Obtain the target angle between the main display screen and the secondary display screen in a dual-screen device; Based on the target included angle, determine the target RGB compensation gain for color compensation of the secondary display screen; The target RGB value of the secondary display screen is determined based on the product of the target RGB compensation gain and the current first RGB value of the secondary display screen, wherein the difference between the target RGB value and the current second RGB value of the main display screen is within a set range; The method further includes: The angle between the main display screen and the secondary display screen is adjusted to obtain one or more candidate angles between the main display screen and the secondary display screen; The first XYZ value of the main display screen in the XYZ color space and the second XYZ value of the secondary display screen in the XYZ color space are measured by a color analysis device at the candidate angle. Obtain the XYZ difference between the first XYZ value and the second XYZ value; Based on a preset color gamut conversion matrix, the XYZ difference is converted from the XYZ color space to the RGB color space to obtain the compensated RGB value of the sub-display screen at the candidate angle. The RGB compensation gain corresponding to the candidate angle is obtained based on the candidate RGB value of the sub-display and the compensated RGB value under the same candidate angle.

2. The method according to claim 1, characterized in that, The step of determining the RGB compensation gain for color compensation of the secondary display screen based on the target angle includes: Based on the target angle, a pre-built correspondence table between candidate angles and RGB compensation gains is queried to determine the first RGB compensation gain that matches the target angle. The target RGB compensation gain is determined based on the first RGB compensation gain.

3. The method according to claim 2, characterized in that, The step of querying a pre-built correspondence table between angles and RGB compensation gains based on the target angle to determine the first RGB compensation gain matching the target angle includes: Determine whether there exists a first candidate angle in the correspondence table that is equal to the target angle; If the first candidate angle exists in the correspondence table, determine the RGB compensation gain corresponding to the first candidate angle and use it as the first RGB compensation gain. If the first candidate angle does not exist in the correspondence table, obtain two adjacent candidate angles that are adjacent to the target angle, and determine the RGB compensation gain corresponding to each of the adjacent candidate angles as the first RGB compensation gain.

4. The method according to claim 3, characterized in that, When the first candidate angle does not exist in the correspondence table, the step of determining the target RGB compensation gain based on the first RGB compensation gain includes: The target RGB supplementary gain is obtained by interpolating the RGB compensation gains corresponding to the included angles of the two adjacent candidate angles.

5. The method according to claim 1, characterized in that, The step of obtaining the RGB compensation gain corresponding to the candidate angle based on the candidate RGB values ​​and the compensated RGB values ​​of the sub-display under the same candidate angle includes: Based on the compensated RGB value of the secondary display screen, the candidate RGB value under the same candidate angle is compensated to obtain the updated RGB value of the secondary display screen; The ratio of the updated RGB value to the candidate RGB value is obtained and used as the RGB compensation gain corresponding to the candidate angle.

6. The method according to claim 1, characterized in that, The step of measuring the first XYZ value of the main display screen in the XYZ color space and the second XYZ value of the secondary display screen in the XYZ color space at the candidate angle using a color analysis device includes: Based on any candidate angle, determine the first viewing angle adjustment amount of the color analysis device, and adjust the color analysis device to the target viewing angle according to the first viewing angle adjustment amount. The target viewing angle is perpendicular to the main display screen to measure the first XYZ value. The color analysis device is controlled to tilt towards the secondary display screen by a set amount from the target viewpoint in order to measure the second XYZ value.

7. A viewing angle compensation device for a dual-screen device, characterized in that, include: The acquisition module is used to acquire the target angle between the main display screen and the secondary display screen in a dual-screen device; The determining module is used to determine the target RGB compensation gain for color compensation of the sub-display screen based on the target included angle. The compensation module is used to determine the target RGB value of the secondary display screen based on the product of the target RGB compensation gain and the current first RGB value of the secondary display screen, wherein the difference between the target RGB value and the current second RGB value of the main display screen is within a set range; The determining module is further configured to: The angle between the main display screen and the secondary display screen is adjusted to obtain one or more candidate angles between the main display screen and the secondary display screen; The first XYZ value of the main display screen in the XYZ color space and the second XYZ value of the secondary display screen in the XYZ color space are measured by a color analysis device at the candidate angle. Obtain the XYZ difference between the first XYZ value and the second XYZ value; Based on a preset color gamut conversion matrix, the XYZ difference is converted from the XYZ color space to the RGB color space to obtain the compensated RGB value of the sub-display screen at the candidate angle. The RGB compensation gain corresponding to the candidate angle is obtained based on the candidate RGB value of the sub-display and the compensated RGB value under the same candidate angle.

8. The apparatus according to claim 7, characterized in that, The determining module is further configured to: Based on the target angle, a pre-built correspondence table between candidate angles and RGB compensation gains is queried to determine the first RGB compensation gain that matches the target angle. The target RGB compensation gain is determined based on the first RGB compensation gain.

9. The apparatus according to claim 8, characterized in that, The determining module is further configured to: Determine whether there exists a first candidate angle in the correspondence table that is equal to the target angle; If the first candidate angle exists in the correspondence table, determine the RGB compensation gain corresponding to the first candidate angle and use it as the first RGB compensation gain. If the first candidate angle does not exist in the correspondence table, obtain two adjacent candidate angles that are adjacent to the target angle, and determine the RGB compensation gain corresponding to each of the adjacent candidate angles as the first RGB compensation gain.

10. The apparatus according to claim 9, characterized in that, The determining module is also used for: The target RGB supplementary gain is obtained by interpolating the RGB compensation gains corresponding to the included angles of the two adjacent candidate angles.

11. The apparatus according to claim 7, characterized in that, The determining module is further configured to: Based on the compensated RGB value of the secondary display screen, the candidate RGB value under the same candidate angle is compensated to obtain the updated RGB value of the secondary display screen; The ratio of the updated RGB value to the candidate RGB value is obtained and used as the RGB compensation gain corresponding to the candidate angle.

12. The apparatus according to claim 7, characterized in that, The determining module is further configured to: Based on any candidate angle, determine the first viewing angle adjustment amount of the color analysis device, and adjust the color analysis device to the target viewing angle according to the first viewing angle adjustment amount. The target viewing angle is perpendicular to the main display screen to measure the first XYZ value. The color analysis device is controlled to tilt towards the secondary display screen by a set amount from the target viewpoint in order to measure the second XYZ value.

13. A dual-screen device, characterized in that, include: Main display screen and secondary display screen, The processor is connected to the main display screen and the secondary display screen, respectively. Memory used to store processor-executable instructions; The processor is configured to execute the instructions to implement the method as described in any one of claims 1 to 6.

14. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by the processor, the program instructions implement the steps of any one of claims 1-6.