Compensation method, compensation device and computer readable storage medium
By obtaining compensation parameters from the front and side view angles in the M-LED display screen and compensating the video stream, the problem of uneven brightness of the display panel is solved and display uniformity is achieved.
Patent Information
- Application Number
- CN202311237489.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-03-25
AI Technical Summary
Due to the uniformity of LED raw materials, crystal solidification process, transfer process or backplane pixel circuit, M-LED display screens have different brightness or chromaticity between the luminescent pixels, and there is a problem of uneven brightness.
By acquiring the video stream, the first to be compensated image in the video stream is compensated using the front view angle compensation parameter, the second to be compensated image in the video stream is compensated using the first side view angle compensation parameter, and optionally the third to be compensated image in the video stream is compensated using the second side view angle compensation parameter, and the video stream is compensated from the front view angle and the side view angle.
Eliminate the problem of uneven brightness in the display panel, eliminate mura from the front and side viewing angles to ensure uniform display of the display panel.
Smart Images

Figure CN119693283A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a compensation method, a compensation device and a computer-readable storage medium. Background Art
[0002] Sub-millimeter light-emitting diodes (Mini-Light Emitting Diode) and micro-light-emitting diodes (Micro-Light Emitting Diode) are collectively referred to as M-LEDs. They are a new generation of display technology. Compared with existing organic light-emitting diodes (OLED) or liquid crystal display (LCD) technologies, they have the advantages of high resolution, high brightness, ultra-power saving, fast response speed, high light output efficiency and long life, and are widely used in display fields such as commercial display, conference, monitoring and television. M-LED display screens have brightness or chromaticity differences between luminous pixels due to the uniformity of LED raw materials, solid crystal process, transfer process, or backplane pixel circuits (raw materials are PCB or glass-based or silicon-based).
[0003] Currently, taking pictures with industrial cameras and applying optical demura compensation algorithms can improve the display brightness and color problem to a certain extent, but the display panel still has the problem of uneven brightness. Summary of the invention
[0004] The present application provides a display method. By adopting the display method in the present application, the problem of uneven brightness in a display panel can be eliminated.
[0005] A first aspect of an embodiment of the present application provides a compensation method, which includes: acquiring a video stream; compensating a first image to be compensated in the video stream using a front viewing angle compensation parameter; compensating a second image to be compensated in the video stream using a first side viewing angle compensation parameter, wherein the first image to be compensated and the second image to be compensated are different images in the video stream; wherein the front viewing angle compensation parameter is related to the front viewing angle image data, and the first side viewing angle compensation parameter is related to the first side viewing angle image data; wherein the display panel is photographed from the front to obtain the front viewing angle image data, and the display panel is photographed from the side to obtain the first side viewing angle image data.
[0006] The compensation method also includes: using a second side perspective compensation parameter to perform compensation processing on a third image to be compensated in a video stream; wherein the second side perspective compensation parameter is related to second side perspective image data, wherein the display panel is photographed from the side to obtain the second side perspective image data, and the first side perspective image data and the second side perspective image data have different shooting angles.
[0007] Preferably, the display panel is photographed from the left side to obtain first side viewing angle image data, and the display panel is photographed from the right side to obtain second side viewing angle image data.
[0008] Among them, the first image to be compensated includes at least one frame of image to be compensated, and the second image to be compensated includes at least one frame of image to be compensated after the first image to be compensated; after compensating the second image to be compensated in the video stream using the first side viewing angle compensation parameter, it also includes: determining at least one frame of image to be compensated after the second image to be compensated in the video stream as the first image to be compensated; returning to execute the step of compensating the first image to be compensated in the video stream using the front viewing angle compensation parameter until all images to be compensated in the video stream are traversed.
[0009] Preferably, before determining at least one frame of image to be compensated after the second image to be compensated in the video stream as the first image to be compensated, it also includes: using the second side perspective compensation parameter to perform compensation processing on the third image to be compensated in the video stream, wherein the third image to be compensated includes at least one frame of image to be compensated after the second image to be compensated; wherein the second side perspective compensation parameter is related to the second side perspective image data, wherein the display panel is photographed from the side to obtain the second side perspective image data, and the shooting angles of the first side perspective image data and the second side perspective image data are different.
[0010] Preferably, the first image to be compensated includes one frame of image to be compensated, and the second image to be compensated is the first frame of image to be compensated after the first image to be compensated.
[0011] Preferably, the third image to be compensated is the first frame of image to be compensated after the second image to be compensated.
[0012] Wherein, before using the front viewing angle compensation parameters to compensate the first image to be compensated in the video stream, it also includes: obtaining pre-saved front viewing angle compensation parameters and pre-saved first side viewing angle compensation parameters; wherein, before obtaining the video stream, the method also includes: shooting the display panel from the front to obtain front viewing angle image data; obtaining and saving the front viewing angle compensation parameters based on the front viewing angle image data; shooting the display panel from the side at a first angle to obtain the first side viewing angle image data; obtaining the first side viewing angle initial compensation parameters based on the first side viewing angle image data, and saving the first side viewing angle initial compensation parameters as the first side viewing angle compensation parameters.
[0013] Preferably, the first angle does not exceed 55°.
[0014] Among them, before using the front viewing angle compensation parameters to compensate the first image to be compensated in the video stream, it also includes: obtaining the pre-saved front viewing angle compensation parameters; obtaining the first side viewing angle compensation parameters according to the front viewing angle compensation parameters and the pre-saved first side viewing angle compensation proportional coefficient.
[0015] Before obtaining the video stream, it also includes: photographing the display panel from the front to obtain front viewing angle image data; obtaining and saving front viewing angle compensation parameters based on the front viewing angle image data; photographing the display panel from the side at a first angle to obtain first side viewing angle image data; obtaining first side viewing angle initial compensation parameters based on the first side viewing angle image data; obtaining and saving the first side viewing angle compensation proportional coefficient based on the front viewing angle compensation parameters and the first side viewing angle initial compensation parameters.
[0016] Among them, the front viewing angle compensation parameter includes the front viewing angle compensation sub-parameter corresponding to each sub-pixel in the display panel, and the first side viewing angle initial compensation parameter includes the first side viewing angle initial compensation sub-parameter corresponding to each sub-pixel; the step of obtaining the first side viewing angle compensation proportional coefficient according to the front viewing angle compensation parameter and the first side viewing angle initial compensation parameter includes: for each sub-pixel in the display panel, determining the front viewing angle compensation sub-parameter of the sub-pixel in the front viewing angle compensation parameter and the first side viewing angle initial compensation sub-parameter in the first side viewing angle initial compensation parameter, and determining the first ratio corresponding to the sub-pixel; determining the first side viewing angle compensation proportional coefficient according to the first ratio corresponding to each sub-pixel.
[0017] Among them, the step of determining the first side viewing angle compensation proportional coefficient according to the first ratio corresponding to each sub-pixel includes: determining the average value, median value or mode value of the first ratio according to the first ratio corresponding to each sub-pixel to obtain the first side viewing angle compensation proportional coefficient.
[0018] A second aspect of an embodiment of the present application provides a display panel, which includes a processor, a memory and a communication circuit. The processor is coupled to the memory and the communication circuit respectively. Program data is stored in the memory. The processor implements the steps in the above method by executing the program data in the memory.
[0019] A third aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to implement the steps in the above method.
[0020] The beneficial effect is that: in the present application, the first image to be compensated in the video stream is compensated by using the front viewing angle compensation parameter, and the second image to be compensated in the video stream is compensated by using the first side viewing angle compensation parameter. That is, the present application performs compensation processing on the video stream from the front viewing angle and the first side viewing angle, and can eliminate the front mura and the side mura, so that the problem of uneven display of the display panel can be visually eliminated from multiple angles at the same time, and the display uniformity of the display panel can be ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0022] Figure 1 It is a flow chart of an embodiment of a compensation method in this application;
[0023] Figure 2 yes Figure 1 A schematic diagram of a flow chart of an embodiment before step S10;
[0024] Figure 3 This is a process diagram of obtaining front-view image data, first side-view image data, and second side-view image data in the present application;
[0025] Figure 4 yes Figure 1 A schematic diagram of a flow chart of another embodiment before step S10;
[0026] Figure 5 yes Figure 4 A schematic diagram of a flow chart of an embodiment of step S207;
[0027] Figure 6 yes Figure 4 A flow chart of an embodiment of step S208;
[0028] Figure 7 It is a structural schematic diagram of an embodiment of a compensation device in the present application;
[0029] Figure 8 It is a structural diagram of an embodiment of a computer-readable storage medium in the present application.
[0030] Explanation of reference numerals: 1 display panel; 2 camera; θ1 first angle; θ2 second angle; 200 compensation device; 210 processor; 220 memory; 230 communication circuit; 400 computer-readable storage medium; 410 computer program. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] It should be noted that the terms "first" and "second" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0033] See also Figure 1 , the present application provides a compensation method, specifically, the compensation method comprises:
[0034] S10: Get video stream;
[0035] The executor of the compensation method of the present application is a driver chip. Specifically, the main board can send a video stream to the driver chip. The video stream includes multiple frames of images to be displayed.
[0036] S20: performing compensation processing on the first image to be compensated in the video stream using the positive viewing angle compensation parameters.
[0037] S30: Perform compensation processing on a second image to be compensated in the video stream using the first side viewing angle compensation parameter.
[0038] S40: Perform compensation processing on the third image to be compensated in the video stream using the second side viewing angle compensation parameter.
[0039] Among them, the front viewing angle compensation parameter is related to the front viewing angle image data, the first side viewing angle compensation parameter is related to the first side viewing angle image data, and the second side viewing angle compensation parameter is related to the second side viewing angle image data; wherein, the display panel is photographed from the front to obtain the front viewing angle image data, the display panel is photographed from the side to obtain the first side viewing angle image data, and the display panel is photographed from the side to obtain the second side viewing angle image data, and the shooting angles of the first side viewing angle image data and the second side viewing angle image data are different.
[0040] Among them, the first image to be compensated, the second image to be compensated, and the third image to be compensated are different images in the video stream, not the same image; and the first image to be compensated can be one image or multiple images; the second image to be compensated can be one image or multiple images; the third image to be compensated can be one image or multiple images. In step S20, the multiple first images to be compensated in the video stream can be compensated using the front viewing angle compensation parameters. In step S30, the multiple second images to be compensated in the video stream can be compensated using the first side viewing angle compensation parameters. In step S40, the multiple third images to be compensated in the video stream can be compensated using the second side viewing angle compensation parameters.
[0041] Specifically, in one application scenario, each image in the video stream is an image that needs to be compensated, and in another application scenario, some images in the video stream are images that need to be compensated, for example, the first frame image, the third frame image, the fifth frame image, etc. are images that need to be compensated. The first image to be compensated, the second image to be compensated, and the third image to be compensated are three different images in the video stream that need to be compensated.
[0042] The display panel is photographed from the front to obtain front perspective image data, the display panel is photographed from the side to obtain first side perspective image data, and the display panel is photographed from the side to obtain second side perspective image data, wherein the first side perspective image data and the second side perspective image data are photographed at different angles, for example, the display panel is photographed from the left side to obtain the first side perspective image data, and the display panel is photographed from the right side to obtain the second side perspective image data, or both the first side perspective image data and the second side perspective image data are obtained by photographing the display panel from the left side, but one is photographed from a 45° direction and the other is photographed from a 30° direction.
[0043] Among them, because the front viewing angle compensation parameter is related to the front viewing angle image data, the front viewing angle compensation parameter is used to compensate the first image to be compensated, so that the front mura in the first image to be compensated can be eliminated; because the first side viewing angle compensation parameter is related to the first side viewing angle image data, the first side viewing angle compensation parameter is used to compensate the second image to be compensated, so that the first side mura in the second image to be compensated can be eliminated; because the second side viewing angle compensation parameter is related to the second side viewing angle image data, the second side viewing angle compensation parameter is used to compensate the third image to be compensated, so that the second side mura in the third image to be compensated can be eliminated.
[0044] In the related art, only the front mura in the image is considered to be eliminated, while the side mura is ignored. However, in this application, the video stream is compensated from the front view, the first side view, and the second side view, which can eliminate both the front mura and the side mura, thereby ensuring the uniformity of the display panel.
[0045] It should be noted that, in other implementations, the display panel may be compensated only from one side viewing angle, that is, step S40 may not be performed.
[0046] In one embodiment, the first image to be compensated includes at least one frame of image to be compensated, the second image to be compensated includes at least one frame of image to be compensated after the first image to be compensated, and the third image to be compensated includes at least one frame of image to be compensated after the second image to be compensated. For example, the first image to be compensated, the second image to be compensated, and the third image to be compensated may each include two images to be compensated. In this case, after step S40, the two frames of images after the third image to be compensated are determined as the first image to be compensated, and then the process returns to step S20.
[0047] In order to understand the above compensation process, it is assumed that each image in the video stream is an image that needs to be compensated, and the first image to be compensated, the second image to be compensated, and the third image to be compensated each include two images. In this case, the compensation process includes:
[0048] The first frame image and the second frame image are compensated using the positive viewing angle compensation parameters.
[0049] The third frame image and the fourth frame image are compensated using the first side viewing angle compensation parameter.
[0050] The fifth frame image and the sixth frame image are compensated using the second side viewing angle compensation parameter.
[0051] The seventh frame image and the eighth frame image are compensated using the positive viewing angle compensation parameters.
[0052] The ninth frame image and the tenth frame image are compensated using the first side viewing angle compensation parameter.
[0053] The eleventh frame image and the twelfth frame image are compensated using the second side viewing angle compensation parameter...
[0054] This loop continues until every image in the video stream is traversed.
[0055] It is understandable that, when step S40 is not performed in an embodiment, after step S30, at least one frame of image to be compensated after the second image to be compensated is determined as the first image to be compensated, and then the process returns to step S20.
[0056] In order to understand the above compensation process, it is assumed that each image in the video stream is an image that needs to be compensated, and the first image to be compensated and the second image to be compensated each include two images. In this case, the compensation process includes:
[0057] The first frame image and the second frame image are compensated using the positive viewing angle compensation parameters.
[0058] The third frame image and the fourth frame image are compensated using the first side viewing angle compensation parameter.
[0059] The fifth frame image and the sixth frame image are compensated using the positive viewing angle compensation parameters.
[0060] The seventh frame image and the eighth frame image are compensated using the first side viewing angle compensation parameter...
[0061] This loop continues until every image in the video stream is traversed.
[0062] In a specific application scenario, the first image to be compensated includes one frame of image to be compensated, the second image to be compensated is the first frame of image to be compensated after the first image to be compensated, and the third image to be compensated is the first frame of image to be compensated after the second image to be compensated, that is, the first image to be compensated, the second image to be compensated, and the third image to be compensated are three consecutive images to be compensated. In this case, after step S40, the first frame of image after the third image to be compensated is determined as the first image to be compensated, and then the process returns to step S20.
[0063] In order to understand the above compensation process, it is explained that each image in the video stream is an image that needs to be compensated. In this case, the compensation process includes:
[0064] The first frame image is compensated using the positive viewing angle compensation parameters.
[0065] The second frame image is compensated using the first side viewing angle compensation parameter.
[0066] The third frame image is compensated using the second side viewing angle compensation parameter.
[0067] The fourth frame image is compensated using the positive viewing angle compensation parameters.
[0068] The fifth frame image is compensated using the first side viewing angle compensation parameter.
[0069] The sixth frame image is compensated using the second side viewing angle compensation parameter...
[0070] This loop continues until every image in the video stream is traversed.
[0071] It is understandable that, when step S40 is not performed in an embodiment, after step S30, the first frame of the image to be compensated after the second image to be compensated is determined as the first image to be compensated, and then the process returns to step S20.
[0072] In order to understand the above compensation process, it is explained that each image in the video stream is an image that needs to be compensated. In this case, the compensation process includes:
[0073] The first frame image is compensated using the positive viewing angle compensation parameters.
[0074] The second frame image is compensated using the first side viewing angle compensation parameter.
[0075] The third frame image is compensated using the positive viewing angle compensation parameters.
[0076] The fourth frame image is compensated using the first side viewing angle compensation parameter...
[0077] This loop continues until every image in the video stream is traversed.
[0078] In one embodiment, the front viewing angle compensation parameter, the first side viewing angle compensation parameter, and the second side viewing angle compensation parameter are pre-saved in the driver chip, that is, before step S20, the pre-saved front viewing angle compensation parameter, the pre-saved first side viewing angle compensation parameter, and the pre-saved second side viewing angle compensation parameter are obtained.
[0079] See also Figure 2 and Figure 3 The following describes the process of obtaining the first side viewing angle compensation parameter and the second side viewing angle compensation parameter in this implementation mode, wherein: Figure 3 The middle display panel is numbered 1.
[0080] S101: photographing the display panel from the front to obtain front-view image data.
[0081] S102: Obtain and save the normal viewing angle compensation parameters according to the normal viewing angle image data.
[0082] Specifically, the positive viewing angle compensation parameters are obtained according to the positive viewing angle image data and the compensation algorithm, and are saved.
[0083] S103: photographing the display panel from a side at a first angle to obtain first side viewing angle image data.
[0084] In one embodiment, the first angle θ1 does not exceed 55°. In order to avoid image distortion in the photograph and ensure the compensation effect, the photographing angle in the side view, that is, the first angle θ1, does not exceed 55°. In one embodiment, the first angle θ1 may be 15°, 30°, 45°, 55°, etc.
[0085] S104: obtaining a first side viewing angle initial compensation parameter according to the first side viewing angle image data, and saving the first side viewing angle initial compensation parameter as a first side viewing angle compensation parameter;
[0086] S105: photographing the display panel from a side at a second angle to obtain second side viewing angle image data.
[0087] S106: Obtain a second side viewing angle initial compensation parameter according to the second side viewing angle image data, and save the second side viewing angle initial compensation parameter as a second side viewing angle compensation parameter.
[0088] Specifically, according to the first side viewing angle image data and the compensation algorithm, the first side viewing angle initial compensation parameter is obtained, and then the first side viewing angle initial compensation parameter is directly saved as the first side viewing angle compensation parameter. And according to the second side viewing angle image data and the compensation algorithm, the second side viewing angle initial compensation parameter is obtained, and then the second side viewing angle initial compensation parameter is directly saved as the second side viewing angle compensation parameter.
[0089] like Figure 3 As shown, the display panel 1 is photographed from the left side to obtain the first side perspective image data, and the display panel 1 is photographed from the right side to obtain the second side perspective image data. Optionally, the display panel 1 is photographed from the left side at a first angle θ1 to obtain the first side perspective image data, and the display panel 1 is photographed from the right side at a second angle θ2 to obtain the second side perspective image data. The first angle θ1 and the second angle θ2 may be the same or different in size, and the sizes of the first angle θ1 and the second angle θ2 may be selected according to actual needs. The second angle θ2 does not exceed 55°. In order to ensure that image distortion is avoided in the photographed photos and to ensure the compensation effect, the shooting angle in the side perspective, that is, the second angle θ2, does not exceed 55°. In one embodiment, the second angle θ2 may be 15°, 30°, 45°, 55°, etc.
[0090] It can be understood that the first side-view image data and the second side-view image data can both be obtained from the left side or the right side of the display panel, and in this case, the first angle θ1 and the second angle θ2 are different in size.
[0091] Assuming that there are n*n sub-pixels in the display panel, the front viewing angle compensation parameters, the first side viewing angle compensation parameters, and the second side viewing angle compensation parameters obtained at this time are shown in Table 1, Table 2, and Table 3 below, respectively:
[0092] Table 1. Normal viewing angle compensation parameters
[0093] K(1,1) K(1,2) K(1,3) … … … … K(1,n-2) K(1,n-1) K(1,n) K(2,1) K(2,2) K(2,3) … … … … K(2,n-2) K(2,n-1) K(2,n) … … … … … … … … … … … … K(n-1,1) K(n-1,2) K(n-1,3) … … … … K(n-1,n-2) K(n-1,n-1) K(n-1,n) K(n,1) K(n,2) K(n,3) … … … … K(n,n-2) K(n,n-1) K(n,n)
[0094] Table 2 First side viewing angle compensation parameters
[0095]
[0096]
[0097] Table 3 Second side viewing angle compensation parameters
[0098] R(1,1) R(1,2) R(1,3) … … … … R(1,n-2) R(1,n-1) R(1,n) R(2,1) R(2,2) R(2,3) … … … … R(2,n-2) R(2,n-1) R(2,n) … … … … … … … … … … … … R(n-1,1) R(n-1,2) R(n-1,3) … … … … R(n-1,n-2) R(n-1,n-1) R(n-1,n) R(n,1) R(n,2) R(n,3) … … … … R(n,n-2) R(n,n-1) R(n,n)
[0099] It can be understood that when step S40 is not performed, it is only necessary to pre-save the front viewing angle compensation data and the first side viewing angle compensation parameter, and there is no need to pre-save the second side viewing angle compensation parameter.
[0100] In another embodiment, in order to reduce the amount of compensation, compared with the above embodiment, only the front viewing angle compensation parameter, the first side viewing angle compensation proportional coefficient, and the second side viewing angle compensation proportional coefficient are pre-saved. At this time, before step S20, the pre-saved front viewing angle compensation parameter is obtained; and the first side viewing angle compensation parameter is obtained according to the front viewing angle compensation parameter and the pre-saved first side viewing angle compensation proportional coefficient, and the second side viewing angle compensation parameter is obtained according to the front viewing angle compensation parameter and the pre-saved second side viewing angle compensation proportional coefficient.
[0101] See also Figure 4 The following describes the process of obtaining the first side viewing angle compensation parameter, the first side viewing angle compensation proportional coefficient, and the second side viewing angle compensation proportional coefficient in this implementation mode, that is, before step S10, the process also includes:
[0102] S201: photographing the display panel from the front to obtain front-view image data.
[0103] S202: Obtain and save the normal viewing angle compensation parameters according to the normal viewing angle image data.
[0104] S203: photographing the display panel from a side at a first angle to obtain first side viewing angle image data.
[0105] S204: Obtaining a first side viewing angle initial compensation parameter according to the first side viewing angle image data.
[0106] S205: photographing the display panel from a side at a second angle to obtain second side viewing angle image data.
[0107] S206: Obtaining a second side viewing angle initial compensation parameter according to the second side viewing angle image data.
[0108] Specifically, the process of obtaining the front viewing angle compensation parameter, the first side viewing angle initial compensation parameter, and the second side viewing angle initial compensation parameter in this embodiment is the same as that in the above embodiment. For details, please refer to the above related content and will not be repeated here.
[0109] S207: Obtain and save a first side viewing angle compensation proportional coefficient according to the front viewing angle compensation parameter and the first side viewing angle initial compensation parameter.
[0110] Specifically, after obtaining the front viewing angle compensation parameter and the first side viewing angle initial compensation parameter, the first side viewing angle compensation proportional coefficient is determined according to the relationship between the two and is saved.
[0111] S208: Obtain and save a second side viewing angle compensation proportional coefficient according to the front viewing angle compensation parameter and the second side viewing angle initial compensation parameter.
[0112] Specifically, after obtaining the front viewing angle compensation parameter and the second side viewing angle initial compensation parameter, the second side viewing angle compensation proportional coefficient is determined according to the relationship between the two and is saved.
[0113] The specific process of step S207 is described below:
[0114] The front viewing angle compensation parameter includes the front viewing angle compensation sub-parameter corresponding to each sub-pixel in the display panel, and the first side viewing angle initial compensation parameter includes the first side viewing angle initial compensation sub-parameter corresponding to each sub-pixel. Figure 5 , step S207 specifically includes:
[0115] S2071: for each sub-pixel in the display panel, determine a front viewing angle compensation sub-parameter in the front viewing angle compensation parameter and a first side viewing angle initial compensation sub-parameter in the first side viewing angle initial compensation parameter of the sub-pixel, and determine a first ratio corresponding to the sub-pixel.
[0116] In combination with Table 1, Table 2 and Table 3, the front viewing angle compensation parameter includes K(1,1)~K(n,n), a total of n*n front viewing angle compensation sub-parameters, the first side viewing angle initial compensation parameter includes L(1,1)~L(n,n), a total of n*n first side viewing angle initial compensation sub-parameters, each sub-pixel has a corresponding front viewing angle compensation sub-parameter and a first side viewing angle initial compensation sub-parameter, wherein the first ratio can be determined by the quotient of the first side viewing angle initial compensation sub-parameter and the front viewing angle compensation sub-parameter corresponding to the same sub-pixel. Specifically, taking the sub-pixel in the first row and the first column as an example, the calculation process of the corresponding first ratio is: L(1,1) / K(1,1)=α(1,1), and the quotient of the two, α(1,1), is determined as the first ratio corresponding to the sub-pixel. By analogy, the calculation process of the first ratio corresponding to the sub-pixel in the nth row and the nth column is: L(n,n) / K(n,n)=α(n,n), that is, each sub-pixel has a corresponding first ratio, wherein the first ratios corresponding to all sub-pixels can be composed into a first ratio matrix as shown in Table 4 below:
[0117] Table 4 The first ratio matrix
[0118] α(1,1) α(1,2) α(1,3) … … … … α(1,n-2) α(1,n-1) α(1,n) α(2,1) α(2,2) α(2,3) … … … … α(2,n-2) α(2,n-1) α(2,n) … … … … … … … … … … … … α(n-1,1) α(n-1,2) α(n-1,3) … … … … α(n-1,n-2) α(n-1,n-1) α(n-1,n) α(n,1) α(n,2) α(n,3) … … … … α(n,n-2) α(n,n-1) α(n,n)
[0119] S2072: Determine a first side viewing angle compensation proportional coefficient according to the first proportion corresponding to each sub-pixel.
[0120] Specifically, according to the first ratio corresponding to the sub-pixel, a first side viewing angle compensation ratio coefficient may be determined.
[0121] In one embodiment, step S2072 includes:
[0122] S20721: Determine an average value of the first ratio according to the first ratio corresponding to each sub-pixel, and obtain a first side viewing angle compensation ratio coefficient.
[0123] In one embodiment, the average value of the first proportional array αij is calculated: (α(1,1)+α(1,2)+…+α(n,n)) / n*n=A, and the calculated A is called the first side viewing angle compensation proportional coefficient.
[0124] In another embodiment, the median, mode, etc. of the first ratio array αij may also be selected as the first side viewing angle compensation ratio coefficient.
[0125] At this time, the first side viewing angle compensation proportional coefficient A is saved, and the process of obtaining the first side viewing angle compensation parameter according to the front viewing angle compensation parameter and the first side viewing angle compensation proportional coefficient includes:
[0126] The front viewing angle compensation sub-parameter in the front viewing angle compensation parameter is recorded as Kij, and the first side viewing angle compensation sub-parameter in the first side viewing angle compensation parameter is Lij=A×Kij.
[0127] The process of step S208 is similar to that of step S207. The specific process of step S208 is described below:
[0128] The front viewing angle compensation parameter includes the front viewing angle compensation sub-parameter corresponding to each sub-pixel in the display panel, and the second side viewing angle initial compensation parameter includes the second side viewing angle initial compensation sub-parameter corresponding to each sub-pixel. Figure 6 , step S208 specifically includes:
[0129] S2081: For each sub-pixel in the display panel, determine a front viewing angle compensation sub-parameter in the front viewing angle compensation parameter and a second side viewing angle initial compensation sub-parameter in the second side viewing angle initial compensation parameter of the sub-pixel, and determine a second ratio corresponding to the sub-pixel.
[0130] In combination with Table 1, Table 2 and Table 3, the front viewing angle compensation parameter includes K(1,1)~K(n,n), a total of n*n front viewing angle compensation sub-parameters, and the second side viewing angle initial compensation parameter includes R(1,1)~R(n,n), a total of n*n second side viewing angle initial compensation sub-parameters, and each sub-pixel has a corresponding front viewing angle compensation sub-parameter and a second side viewing angle initial compensation sub-parameter, wherein the second ratio can be determined by the quotient of the second side viewing angle initial compensation sub-parameter and the front viewing angle compensation sub-parameter corresponding to the same sub-pixel. Specifically, taking the sub-pixel in the first row and the first column as an example, the calculation process of the corresponding first ratio is: R(1,1) / K(1,1)=β(1,1), and the quotient β(1,1) of the two is determined as the second ratio corresponding to the sub-pixel. By analogy, the calculation process of the first ratio corresponding to the sub-pixel in the nth row and nth column is: R(n,n) / K(n,n)=β(n,n), that is, each sub-pixel has a corresponding second ratio, where the first ratios corresponding to all sub-pixels can be combined into a second ratio matrix as shown in Table 5 below.
[0131] Table 5 The second ratio matrix
[0132]
[0133]
[0134] S2082: Determine a second side viewing angle compensation proportional coefficient according to the second proportion corresponding to each sub-pixel.
[0135] Specifically, according to the second ratio corresponding to the sub-pixel, the second side viewing angle compensation ratio coefficient may be determined.
[0136] In one embodiment, step S2082 includes:
[0137] S20821: Determine an average value of the second ratio according to the second ratio corresponding to each sub-pixel, and obtain a second side viewing angle compensation ratio coefficient.
[0138] In one embodiment, the average value of the second ratio array βij is obtained: (β(1,1)+β(1,2)+…+β(n,n)) / n*n=B, and the obtained B is called the second side viewing angle compensation ratio coefficient.
[0139] In another embodiment, the median, mode, etc. of the second ratio array βij may also be selected as the second side viewing angle compensation ratio coefficient.
[0140] At this time, the second side viewing angle compensation proportional coefficient B is saved, and the process of obtaining the second side viewing angle compensation parameter according to the front viewing angle compensation parameter and the second side viewing angle compensation proportional coefficient includes:
[0141] The front viewing angle compensation sub-parameter in the front viewing angle compensation parameter is recorded as Kij, and the second side viewing angle compensation sub-parameter in the second side viewing angle compensation parameter is Rij=B×Kij.
[0142] It can be understood that when step S40 does not need to be performed, it is only necessary to save the front viewing angle compensation parameter and the first side viewing angle compensation proportional coefficient.
[0143] See also Figure 7 The compensation device 200 includes a processor 210, a memory 220 and a communication circuit 230. The processor 210 is coupled to the memory 220 and the communication circuit 230 respectively. The memory 220 stores program data. The processor 210 implements the steps in any of the above-mentioned implementation methods by executing the program data in the memory 220. The detailed steps can be found in the above-mentioned implementation methods and will not be repeated here.
[0144] The compensation device 200 may be any device with image processing capability such as a computer or a mobile phone, and is not limited here. Optionally, the compensation device 200 may be applied to mobile or fixed terminals such as electronic paper, mobile phones, tablet computers, televisions, monitors, laptop computers, digital photo frames, smart bracelets, smart watches, super personal computers or navigators. In one embodiment, the compensation device 200 includes a display panel and has a display function.
[0145] See also Figure 8 The computer-readable storage medium 400 stores a computer program 410, and the computer program 410 can be executed by a processor to implement the steps in any of the above methods.
[0146] Among them, the computer-readable storage medium 400 can specifically be a device that can store the computer program 410, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or it can also be a server that stores the computer program 410. The server can send the stored computer program 410 to other devices for execution, or it can also run the stored computer program 410 by itself.
[0147] The above description is only an embodiment of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A compensation method, characterized in that: The method comprises: Get the video stream; Performing compensation processing on a first image to be compensated in the video stream using the positive viewing angle compensation parameter; Performing compensation processing on a second image to be compensated in the video stream using a first side viewing angle compensation parameter, wherein the first image to be compensated and the second image to be compensated are different images in the video stream; Among them, the front viewing angle compensation parameter is related to the front viewing angle image data, and the first side viewing angle compensation parameter is related to the first side viewing angle image data; wherein, the front viewing angle image data is obtained by shooting the display panel from the front, and the first side viewing angle image data is obtained by shooting the display panel from the side.
2. The compensation method according to claim 1, characterized in that: Also includes: Performing compensation processing on a third image to be compensated in the video stream using a second side viewing angle compensation parameter; The second side viewing angle compensation parameter is related to the second side viewing angle image data, wherein the display panel is photographed from the side to obtain the second side viewing angle image data, and the first side viewing angle image data and the second side viewing angle image data are photographed at different angles; Preferably, the display panel is photographed from the left side to obtain the first side viewing angle image data, and the display panel is photographed from the right side to obtain the second side viewing angle image data.
3. The compensation method according to claim 1, characterized in that: The first image to be compensated includes at least one frame of image to be compensated, and the second image to be compensated includes at least one frame of image to be compensated after the first image to be compensated; After the second image to be compensated in the video stream is compensated by using the first side viewing angle compensation parameter, the method further includes: Determine at least one frame of the image to be compensated after the second image to be compensated in the video stream as the first image to be compensated; Returning to the step of performing compensation processing on the first image to be compensated in the video stream by using the positive viewing angle compensation parameter, until all images to be compensated in the video stream are traversed; Preferably, before determining at least one frame of the image to be compensated after the second image to be compensated in the video stream as the first image to be compensated, the method further includes: Performing compensation processing on a third image to be compensated in the video stream using the second side viewing angle compensation parameter, wherein the third image to be compensated includes at least one frame of image to be compensated after the second image to be compensated; The second side viewing angle compensation parameter is related to the second side viewing angle image data, wherein the display panel is photographed from the side to obtain the second side viewing angle image data, and the first side viewing angle image data and the second side viewing angle image data are photographed at different angles; Preferably, the first image to be compensated includes a frame of image to be compensated, and the second image to be compensated is the first frame of image to be compensated after the first image to be compensated; Preferably, the third image to be compensated is the first frame of image to be compensated after the second image to be compensated.
4. The compensation method according to claim 1, characterized in that: Before the compensation processing is performed on the first image to be compensated in the video stream by using the positive viewing angle compensation parameter, the method further includes: Acquire the pre-saved front viewing angle compensation parameter and the pre-saved first side viewing angle compensation parameter; Before obtaining the video stream, the method further includes: Shooting the display panel from the front to obtain the front-view image data; According to the normal viewing angle image data, obtaining and saving the normal viewing angle compensation parameter; Shooting the display panel from a side at a first angle to obtain the first side viewing angle image data; Obtaining the first side viewing angle initial compensation parameter according to the first side viewing angle image data, and saving the first side viewing angle initial compensation parameter as the first side viewing angle compensation parameter; Preferably, the first angle does not exceed 55°.
5. The compensation method according to claim 1, characterized in that: Before the compensation processing is performed on the first image to be compensated in the video stream by using the positive viewing angle compensation parameter, the method further includes: Acquire the pre-saved normal viewing angle compensation parameters; The first side viewing angle compensation parameter is obtained according to the front viewing angle compensation parameter and a pre-saved first side viewing angle compensation proportional coefficient.
6. The compensation method according to claim 5, characterized in that: Before obtaining the video stream, the method further includes: Shooting the display panel from the front to obtain the front-view image data; According to the normal viewing angle image data, obtaining and saving the normal viewing angle compensation parameter; Shooting the display panel from a side at a first angle to obtain the first side viewing angle image data; Obtaining the first side viewing angle initial compensation parameter according to the first side viewing angle image data; According to the front viewing angle compensation parameter and the first side viewing angle initial compensation parameter, a first side viewing angle compensation proportional coefficient is obtained and saved.
7. The compensation method according to claim 6, characterized in that: The front viewing angle compensation parameter includes a front viewing angle compensation sub-parameter corresponding to each sub-pixel in the display panel, and the first side viewing angle initial compensation parameter includes a first side viewing angle initial compensation sub-parameter corresponding to each sub-pixel; The step of obtaining the first side viewing angle compensation proportional coefficient according to the front viewing angle compensation parameter and the first side viewing angle initial compensation parameter comprises: For each sub-pixel in the display panel, determine a front viewing angle compensation sub-parameter of the sub-pixel in the front viewing angle compensation parameter and a first side viewing angle initial compensation sub-parameter in the first side viewing angle initial compensation parameter, and determine a first ratio corresponding to the sub-pixel; The first side viewing angle compensation proportional coefficient is determined according to the first proportion corresponding to each of the sub-pixels.
8. The compensation method according to claim 7, characterized in that: The step of determining the first side viewing angle compensation proportional coefficient according to the first proportion corresponding to each of the sub-pixels comprises: According to the first ratio corresponding to each of the sub-pixels, an average value, a median value or a mode value of the first ratio is determined to obtain the first side viewing angle compensation ratio coefficient.
9. A compensation device, characterized in that: The compensation device includes a processor, a memory and a communication circuit, the processor is coupled to the memory and the communication circuit respectively, the memory stores program data, and the processor implements the steps in the method as described in any one of claims 1 to 8 by executing the program data in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program can be executed by a processor to implement the steps in the method according to any one of claims 1 to 8.