Image compensation device, method, electronic device, storage medium, and display device

By processing the pixel values ​​of the liquid crystal display panel through the viewing angle compensation circuit in the image compensation device, and combining color and edge compensation, the viewing angle deviation problem of large-size liquid crystal display panels under different viewing angles is solved, thus improving the display effect.

CN116994535BActive Publication Date: 2026-01-16HAINING ESWIN IC DESIGN CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311103122.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-29
Publication Date
2026-01-16
Estimated Expiration
2043-08-29

AI Technical Summary

Technical Problem

Large-size LCD panels are prone to viewing angle deviations at different viewing angles, which affects the display effect.

Method used

The viewpoint compensation value determination circuit and viewpoint compensation value processing circuit in the image compensation device determine the subject viewpoint compensation value and auxiliary viewpoint compensation value based on the first pixel value to be processed of the target pixel. Combined with the edge compensation gain value and color compensation gain value, the target pixel value is processed to reduce viewpoint deviation.

Benefits of technology

It effectively adjusts and reduces the viewing angle deviation of the LCD panel in the predetermined area, improves the display effect, especially reduces image distortion and graininess at side viewing angles, and enhances color display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116994535B_ABST
    Figure CN116994535B_ABST
Patent Text Reader

Abstract

The present disclosure provides an image compensation device, method, electronic equipment, storage medium and display device, which can be applied to the technical field of image processing. The device comprises: a data receiving circuit configured to receive image data to be processed, the image data to be processed comprising a plurality of pixels, each of the plurality of pixels having a corresponding first pixel value to be processed; a viewing angle compensation value determining circuit configured to determine a main viewing angle compensation value and an auxiliary viewing angle compensation value corresponding to each of the at least one target pixel corresponding to a predetermined region in a display region according to the first pixel value to be processed of the at least one target pixel, the auxiliary viewing angle compensation value being used to assist the main viewing angle compensation value to compensate for the viewing angle deviation of the predetermined region; and a viewing angle compensation value processing circuit configured to process the first pixel value to be processed of the target pixel based on the main viewing angle compensation value and the auxiliary viewing angle compensation value, to obtain a target pixel value of the target pixel, and obtain target image data based on the target pixel value.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of image processing, and in particular, to an image compensation device and method, an electronic device, a storage medium, and a display device. BACKGROUND

[0002] With the development of information science and technology, display technology has also developed. For example, a liquid crystal display panel can include a twisted nematic (TN), in-plane switching (IPS), multi-domain vertical alignment (MVA) panel.

[0003] In order to provide users with a better viewing experience, liquid crystal display panels are continuously developing towards large sizes. However, large-size liquid crystal display panels can have viewing angle deviation at different viewing angles, thereby affecting the display effect. SUMMARY

[0004] In view of the above problems, the present disclosure provides an image compensation device and method, an electronic device, a storage medium, and a display device.

[0005] According to a first aspect of the present disclosure, an image compensation device is provided, comprising:

[0006] a data receiving circuit configured to receive to-be-processed image data, wherein the to-be-processed image data includes a plurality of pixels, each of the plurality of pixels having a corresponding first to-be-processed pixel value;

[0007] a viewing angle compensation value determining circuit configured to determine, according to the first to-be-processed pixel value of at least one target pixel corresponding to a predetermined region in the display region in the plurality of pixels, a main viewing angle compensation value and an auxiliary viewing angle compensation value corresponding to each of the target pixels, wherein the auxiliary viewing angle compensation value is used to assist the main viewing angle compensation value in compensating for the viewing angle deviation of the predetermined region; and

[0008] a viewing angle compensation value processing circuit configured to process the first to-be-processed pixel value of the target pixel based on the main viewing angle compensation value and the auxiliary viewing angle compensation value to obtain a target pixel value of the target pixel, and obtain target image data based on the target pixel value.

[0009] According to an embodiment of the present disclosure, the auxiliary viewing angle compensation value includes an edge compensation gain value and a first color compensation gain value;

[0010] the viewing angle compensation value processing circuit is further configured to:

[0011] obtain a fusion compensation gain value of the target pixel based on the edge compensation gain value and the first color compensation gain value corresponding to the target pixel;

[0012] determine an intermediate view angle compensation value corresponding to the target pixel based on the fusion compensation gain value corresponding to the target pixel; and

[0013] process the first to-be-processed pixel value of the target pixel based on the intermediate view angle compensation value, the edge compensation gain value and the first color compensation gain value to obtain a target pixel value of the target pixel.

[0014] According to an embodiment of the present disclosure, the auxiliary view angle compensation value includes a second color compensation gain value; the view angle compensation value determination circuit includes a color compensation sub-circuit;

[0015] The color compensation sub-circuit is configured to:

[0016] perform color space conversion on the first to-be-processed pixel value of the target pixel to obtain a second to-be-processed pixel value of the target pixel; and

[0017] determine the second color compensation gain value corresponding to the target pixel based on the second to-be-processed pixel value of the target pixel.

[0018] According to an embodiment of the present disclosure, the color compensation sub-circuit is further configured to:

[0019] determine the second color compensation gain value corresponding to the target pixel based on the second to-be-processed pixel value of the target pixel and the color compensation gain value relationship set;

[0020] The color compensation gain value relationship set includes at least one color compensation gain value relationship, and the color compensation gain value relationship represents a relationship between a first candidate pixel value and a candidate color compensation gain value, and the color space of the first candidate pixel value is consistent with the second to-be-processed pixel value.

[0021] According to an embodiment of the present disclosure, the color compensation sub-circuit is further configured to:

[0022] determine a first matching pixel value from the color compensation gain value relationship set, wherein the first matching pixel value represents a first candidate pixel value matched with the second to-be-processed pixel value; and

[0023] determine a candidate color compensation gain value corresponding to the first matching pixel value as the second color compensation gain value corresponding to the target pixel.

[0024] According to an embodiment of the present disclosure, the second to-be-processed pixel value includes a to-be-processed hue value, a to-be-processed saturation value and a to-be-processed color brightness intensity value, and the second color compensation gain value includes a to-be-processed hue compensation gain value corresponding to the to-be-processed hue value, a to-be-processed saturation compensation gain value corresponding to the to-be-processed saturation value and a to-be-processed color brightness intensity compensation gain value corresponding to the to-be-processed color brightness intensity value;

[0025] The first candidate pixel value includes a candidate hue value, a candidate saturation value, and a candidate color brightness intensity value. The candidate color compensation gain value includes a candidate hue compensation gain value corresponding to the candidate hue value, a candidate saturation compensation gain value corresponding to the candidate saturation value, and a candidate color brightness intensity compensation gain value corresponding to the candidate color brightness intensity value.

[0026] Among them, the color compensation gain value relationship set includes the hue compensation gain value relationship set, the saturation compensation gain value relationship set, and the color brightness intensity compensation gain value relationship set;

[0027] The color compensation sub-circuit is further configured as follows:

[0028] Based on the tone compensation gain value relationship set and the tone value to be processed of the target pixel, determine the tone compensation gain value corresponding to the target pixel;

[0029] Based on the saturation compensation gain value relationship set and the saturation value to be processed of the target pixel, determine the saturation compensation gain value corresponding to the target pixel; and

[0030] Based on the set of color brightness intensity compensation gain values ​​and the color brightness intensity value to be processed of the target pixel, determine the color brightness intensity compensation gain value corresponding to the target pixel.

[0031] According to embodiments of this disclosure, the viewing angle compensation value determination circuit further includes a viewing angle compensation sub-circuit;

[0032] The viewpoint compensation sub-circuit is configured as follows:

[0033] Based on the viewpoint compensation value relationship set and the first pixel value to be processed of the target pixel, determine the subject viewpoint compensation value corresponding to the target pixel;

[0034] The viewpoint compensation value relationship set includes at least one viewpoint compensation value relationship, which represents the relationship between the second candidate pixel value and the candidate viewpoint compensation value. The color space of the second candidate pixel value is consistent with that of the first pixel value to be processed.

[0035] According to embodiments of this disclosure, the view compensation sub-circuit is further configured as follows:

[0036] A second matching pixel value is determined from the viewpoint compensation relation set, wherein the second matching pixel value represents a second candidate pixel value that matches the first pixel value to be processed; and

[0037] The candidate viewpoint compensation value corresponding to the second matching pixel value is determined as the subject viewpoint compensation value corresponding to the target pixel.

[0038] According to an embodiment of the present disclosure, the auxiliary view angle compensation value comprises an edge compensation gain value; the view angle compensation value determination circuit further comprises an edge compensation sub-circuit;

[0039] The edge compensation sub-circuit is configured to:

[0040] determine the edge compensation gain value corresponding to the target pixel according to the edge compensation gain value relationship set and the first to-be-processed pixel value of the target pixel;

[0041] The edge compensation gain value relationship set comprises at least one edge compensation gain value relationship, and the edge compensation gain value relationship represents a relationship between a third candidate pixel value and a candidate edge compensation gain value, the third candidate pixel value being consistent with the color space of the first to-be-processed pixel value.

[0042] According to an embodiment of the present disclosure, the edge compensation sub-circuit is further configured to:

[0043] determine a third matching pixel value from the edge compensation gain value relationship set, wherein the third matching pixel value represents a third candidate pixel value matched with the first to-be-processed pixel value; and

[0044] determine the candidate edge compensation gain value corresponding to the third matching pixel value as the edge compensation gain value corresponding to the target pixel.

[0045] A second aspect of the present disclosure provides a display device comprising:

[0046] the image compensation apparatus according to the present disclosure; and

[0047] a display panel configured to display target image data.

[0048] A third aspect of the present disclosure provides an image compensation method comprising:

[0049] receiving to-be-processed image data, wherein the to-be-processed image data comprises a plurality of pixels, each of the plurality of pixels having a corresponding first to-be-processed pixel value;

[0050] determining a main view angle compensation value and an auxiliary view angle compensation value corresponding to each of the target pixels according to the first to-be-processed pixel value of at least one target pixel corresponding to a predetermined region in the display region in the plurality of pixels, wherein the auxiliary view angle compensation value is used to assist the main view angle compensation value in compensating for a view angle deviation of the predetermined region; and

[0051] processing the first to-be-processed pixel value of the target pixels based on the main view angle compensation value and the auxiliary view angle compensation value to obtain a target pixel value of the target pixels, and obtaining target image data based on the target pixel value.

[0052] The fourth aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the image compensation method described above.

[0053] The fifth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the image compensation method described above.

[0054] The sixth aspect of the present disclosure also provides a computer program product comprising a computer program that, when executed by a processor, implements the image compensation method described above.

[0055] In the process of displaying images, the liquid crystal display panel is prone to have viewing angle deviation due to different viewing angles, thereby reducing the display effect. According to the embodiments of the present disclosure, the main viewing angle compensation value and the auxiliary viewing angle compensation value corresponding to the target pixel can be determined according to the first to-be-processed pixel value of the target pixel in the predetermined region of the display region. The main viewing angle compensation value is used to adjust the viewing angle deviation of the predetermined region, and the auxiliary viewing angle compensation value is used to assist the main viewing angle compensation value to adjust the viewing angle deviation of the predetermined region, thereby reducing the viewing angle deviation of the predetermined region and improving the display effect of the liquid crystal display panel. BRIEF DESCRIPTION OF DRAWINGS

[0056] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure, taken in conjunction with the accompanying drawings, in which:

[0057] Figure 1 A structural schematic diagram of an image compensation device according to an embodiment of the present disclosure is shown;

[0058] Figure 2 A structural schematic diagram of a viewing angle compensation value determination circuit according to an embodiment of the present disclosure is shown;

[0059] Figure 3 A viewing angle schematic diagram of a display panel is shown;

[0060] Figure 4 A schematic diagram of a viewing angle compensation relationship set according to an embodiment of the present disclosure is shown;

[0061] Figure 5 A determination schematic diagram of a main viewing angle compensation value according to an embodiment of the present disclosure is shown;

[0062] Figure 6 A flowchart of an image compensation method according to an embodiment of the present disclosure is shown;

[0063] Figure 7A structural diagram of a display device according to an embodiment of the present disclosure is shown; and

[0064] Figure 8 A block diagram of an electronic device suitable for implementing an image compensation method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0065] To make the objects, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all. Based on the described embodiments of the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without any creative work fall within the protection scope of the present disclosure. In the following description, some specific embodiments are only for the purpose of description, and should not be understood as any limitation on the present disclosure, but only as examples of the embodiments of the present disclosure. When it is possible to cause confusion to the understanding of the present disclosure, the conventional structures or configurations will be omitted. It should be noted that the shapes and sizes of the components in the drawings do not reflect the true size and ratio, but only illustrate the content of the embodiments of the present disclosure.

[0066] Unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood as the general meaning understood by a person of ordinary skill in the art. The “first”, “second” and similar words used in the embodiments of the present disclosure do not represent any order, number or importance, but are only used to distinguish different components.

[0067] With the development of display technology, the size of liquid crystal display panels is also getting larger and larger. Since the light output by the liquid crystal molecules in the liquid crystal display panel already has a specific directional characteristic, when the best display effect is achieved at the front viewing angle, the picture distortion seen in the side viewing direction will also change as the side viewing angle increases, thereby causing a large viewing angle deviation between the side viewing angle and the front viewing angle. For example, there is a picture whitening problem at the side viewing angle, especially in MVA panels, therefore, it is necessary to improve the display effect of the display panel.

[0068] In view of this, the present disclosure provides an image compensation device, comprising: a data receiving circuit configured to receive to-be-processed image data, wherein the to-be-processed image data comprises a plurality of pixels, each of the plurality of pixels having a corresponding first to-be-processed pixel value; a viewing angle compensation value determining circuit configured to determine a main viewing angle compensation value and an auxiliary viewing angle compensation value corresponding to each of the target pixels according to the first to-be-processed pixel value of at least one target pixel corresponding to a predetermined region in a display region in the plurality of pixels, wherein the auxiliary viewing angle compensation value is used to assist the main viewing angle compensation value to compensate for the viewing angle deviation of the predetermined region; and a viewing angle compensation value processing circuit configured to process the first to-be-processed pixel value of the target pixel based on the main viewing angle compensation value and the auxiliary viewing angle compensation value to obtain a target pixel value of the target pixel, and obtain target image data based on the target pixel value.

[0069] It should be noted that the serial numbers of the various operations in the following steps are only used to represent the operations for description, and should not be regarded as representing the execution sequence of the various operations. The steps do not need to be executed in the order shown, unless explicitly indicated.

[0070] Figure 1 A structural schematic diagram of an image compensation device according to an embodiment of the present disclosure is shown.

[0071] As shown in Figure 1 The image compensation device 100 can include a data receiving circuit 110, a viewing angle compensation value determining circuit 120, and a viewing angle compensation value processing circuit 130.

[0072] The data receiving circuit 110 can be configured to receive to-be-processed image data. The to-be-processed image data comprises a plurality of pixels, each of the plurality of pixels having a corresponding first to-be-processed pixel value.

[0073] According to an embodiment of the present disclosure, the to-be-processed image data can be image data stored in a storage device in advance. The image compensation device can be connected with the storage device, so that the image compensation device receives the to-be-processed image data stored in the storage device.

[0074] According to an embodiment of the present disclosure, the to-be-processed image data can be to-be-processed image data about a person, to-be-processed image data about a landscape, or to-be-processed image data about an object. It can be understood that the embodiments of the present disclosure are not limited thereto.

[0075] According to an embodiment of the present disclosure, the first to-be-processed pixel value can be a value related to the display brightness of the target pixel, or a value related to the display color of the target pixel.

[0076] The view angle compensation value determination circuit 120 can be configured to determine the main view angle compensation value and the auxiliary view angle compensation value corresponding to each of the target pixels according to the first to-be-processed pixel value of at least one target pixel in the plurality of pixels corresponding to the predetermined region in the display region. The auxiliary view angle compensation value is used to assist the main view angle compensation value to compensate for the view angle deviation of the predetermined region.

[0077] According to an embodiment of the present disclosure, the display region can be a region in the display panel for displaying a picture. The predetermined region can be a region that needs to be processed in the to-be-processed image data. The pixels in the predetermined region are target pixels.

[0078] For example, the predetermined region can be the entire display region, or can be a partial region in the display region.

[0079] For example, the partial region can be determined according to the first to-be-processed pixel value of the plurality of pixels in the to-be-processed image data.

[0080] For example, in a case where the first to-be-processed pixel value is related to the display brightness of the target pixel, the predetermined region related to the brightness can be determined according to the first to-be-processed pixel value. In a case where the first to-be-processed pixel value is related to the display color of the target pixel, the predetermined region related to the color can be determined according to the first to-be-processed pixel value.

[0081] According to an embodiment of the present disclosure, the main view angle compensation value can be a value for adjusting the view angle deviation of the predetermined region, so as to reduce the view angle deviation of the to-be-processed image data in the predetermined region. The auxiliary view angle compensation value can be a value for further adjusting the view angle deviation of the predetermined region, so as to further reduce the view angle deviation of the to-be-processed image data in the predetermined region.

[0082] The view angle compensation value processing circuit 130 can be configured to process the first to-be-processed pixel value of the target pixel based on the main view angle compensation value and the auxiliary view angle compensation value, to obtain a target pixel value of the target pixel, and obtain the target image data based on the target pixel value.

[0083] According to an embodiment of the present disclosure, the first to-be-processed pixel value of the target pixel can be processed according to the main view angle compensation value and the auxiliary view angle compensation value.

[0084] For example, the first to-be-processed pixel value of the at least one target pixel can be increased or decreased according to the main view angle compensation value and the auxiliary view angle compensation value to obtain the target pixel value, or the first to-be-processed pixel value of the at least one target pixel can be calculated according to the main view angle compensation value and the auxiliary view angle compensation value to obtain a magnification multiple or a reduction multiple. The first to-be-processed pixel value of the at least one target pixel is processed according to the magnification multiple or the reduction multiple to obtain the target pixel value of the target pixel. It can be understood that the embodiments of the present disclosure are not limited thereto.

[0085] According to an embodiment of the present disclosure, a target image data is obtained by replacing a first pixel value in the image data to be processed with a target pixel value, and display is performed according to the target image data.

[0086] In the process of displaying an image, a liquid crystal display panel is prone to have a viewing angle deviation due to different viewing angles, thereby reducing the display effect. According to the technical solution of an embodiment of the present disclosure, a main viewing angle compensation value and an auxiliary viewing angle compensation value corresponding to a target pixel in a predetermined region of a display region can be determined according to a first pixel value to be processed of the target pixel. The main viewing angle compensation value is used to adjust the viewing angle deviation of the predetermined region, and the auxiliary viewing angle compensation value is used to assist the main viewing angle compensation value in adjusting the viewing angle deviation of the predetermined region, thereby reducing the viewing angle deviation of the predetermined region and improving the display effect of the liquid crystal display panel.

[0087] For example, any of the data receiving circuit 110, the viewing angle compensation value determining circuit 120, and the viewing angle compensation value processing circuit 130 can be combined in one module, or any of the modules can be split into multiple modules. Alternatively, at least part of the function of one or more of the modules can be combined with at least part of the function of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the data receiving circuit 110, the viewing angle compensation value determining circuit 120, and the viewing angle compensation value processing circuit 130 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on board, a system on package, an application specific integrated circuit (ASIC), or any other reasonable manner of integrating or packaging a circuit, etc. hardware or firmware, or any one of software, hardware, and firmware or a suitable combination of any of them. Alternatively, at least one of the data receiving circuit 110, the viewing angle compensation value determining circuit 120, and the viewing angle compensation value processing circuit 130 can be at least partially implemented as a computer program module that can perform corresponding functions when the computer program module is run.

[0088] According to an embodiment of the present disclosure, the auxiliary viewing angle compensation value can include an edge compensation gain value and a first color compensation gain value.

[0089] The viewing angle compensation value processing circuit can also be configured to obtain a fusion compensation gain value of the target pixel based on the edge compensation gain value and the first color compensation gain value corresponding to the target pixel.

[0090] The main viewing angle compensation value is processed based on the fusion compensation gain value corresponding to the target pixel to determine an intermediate viewing angle compensation value corresponding to the target pixel.

[0091] The first to-be-processed pixel value of the target pixel is processed based on the intermediate view angle compensation value, the edge compensation gain value and the first color compensation gain value to obtain a target pixel value of the target pixel.

[0092] According to an embodiment of the present disclosure, the edge compensation gain value can be a value for compensating for the edges of objects, buildings, figures and the like in the to-be-processed image data, so as to eliminate the jaggy and grainy feeling of the edge profile in the to-be-processed image data and improve the display effect.

[0093] According to an embodiment of the present disclosure, the first color compensation gain value can be a value for enhancing a specific color in the to-be-processed image data, so as to improve the color display of the predetermined area and improve the display effect. For example, it can be the color of the skin of a human body or a relatively bright color in the to-be-processed image data, such as red flowers, red walls, green grass, blue sky and the like.

[0094] According to an embodiment of the present disclosure, the edge compensation gain value and the first color compensation gain value can be multiplied to obtain a fusion compensation gain value.

[0095] According to an embodiment of the present disclosure, the intermediate view angle compensation value can be determined by increasing or decreasing the main view angle compensation value according to the fusion compensation gain value.

[0096] According to an embodiment of the present disclosure, the first to-be-processed pixel value of the target pixel can be processed based on the intermediate view angle compensation value, the edge compensation gain value and the first color compensation gain value, which can be processed according to the adjustment proportion of the intermediate view angle compensation value, the edge compensation gain value and the first color compensation gain value, to obtain the target pixel value.

[0097] According to an embodiment of the present disclosure, the main view angle compensation value is adjusted by the fusion gain compensation value, which can further reduce the grainy and jaggy feeling of the predetermined area on the basis of reducing the view angle deviation, improve the color display of the image and enhance the display effect of the image.

[0098] Figure 2 A structural schematic diagram of a view angle compensation value determination circuit according to an embodiment of the present disclosure is shown. Figure 3 A viewing angle schematic diagram of a display panel is shown.

[0099] As shown in Figure 2 The view angle compensation value determination circuit 220 can include a color compensation sub-circuit 221, a view angle compensation sub-circuit 222 and an edge compensation sub-circuit 223.

[0100] As shown in Figure 3As shown, in the viewing schematic 310 of the display panel, a first polar plate 311, a second polar plate 312, liquid crystal molecules 313, a first viewing angle 314, a second viewing angle 315, and a third viewing angle 316 are included. In the display schematic 320, a first picture 321 corresponding to the first viewing angle 314, a second picture 322 corresponding to the second viewing angle 315, and a third picture 323 corresponding to the third viewing angle 316 are included. It can be seen that the viewing angle deviation of the display area is large at different viewing angles, and thus the pictures viewed at different viewing angles are different.

[0101] The following describes Figure 2 The color compensation sub-circuit 221 in the color compensation circuit 220.

[0102] According to an embodiment of the present disclosure, the auxiliary viewing angle compensation value can include a second color compensation gain value. The second color compensation gain value can be the same as the first color compensation gain value, or can be different from the first color compensation gain value.

[0103] For example, in a case where the second color compensation gain value is used alone to compensate for the viewing angle deviation of the predetermined area by the auxiliary main viewing angle compensation value, the second color compensation gain value can be different from the first color compensation gain value. In a case where the second color compensation value is used to compensate for the viewing angle deviation of the predetermined area by the auxiliary main viewing angle compensation value after being fused with the edge compensation gain value, the second color compensation gain value can be the same as the first color compensation gain value.

[0104] According to an embodiment of the present disclosure, the color compensation sub-circuit 221 can be configured to perform color space conversion on the first to-be-processed pixel value of the target pixel to obtain a second to-be-processed pixel value of the target pixel.

[0105] According to the second to-be-processed pixel value of the target pixel, a second color compensation gain value corresponding to the target pixel is determined.

[0106] According to an embodiment of the present disclosure, the color space of the first to-be-processed pixel value can be a Red Green Blue (RGB) color space. The RGB color space is intuitive and easy to understand, but the components of the three channels in the RGB color space are highly correlated, that is, if a certain component of a color changes to a certain extent, the color is likely to change. Therefore, in order to better enhance the color of the to-be-processed image data and reduce the color deviation problem, the first to-be-processed pixel value is converted in color space to obtain a second to-be-processed pixel value of the target pixel, and the color space of the second to-be-processed pixel value can be a Hue Saturation Value (HSV) color space.

[0107] According to an embodiment of the present disclosure, the second color compensation gain value corresponding to the target pixel can be determined according to the size of the second to-be-processed pixel value of the target pixel.

[0108] According to an embodiment of the present disclosure, since the second to-be-processed pixel value is color space converted, the second color compensation value determined according to the second to-be-processed pixel value can reduce the color deviation problem caused by component color change.

[0109] According to an embodiment of the present disclosure, the color compensation sub-circuit 321 can be further configured to determine the second color compensation gain value corresponding to the target pixel according to the second to-be-processed pixel value of the target pixel and the color compensation gain value relationship set.

[0110] The color compensation gain value relationship set includes at least one color compensation gain value relationship, and the color compensation gain value relationship represents the relationship between the first candidate pixel value and the candidate color compensation gain value, and the color space of the first candidate pixel value is consistent with the second to-be-processed pixel value.

[0111] According to an embodiment of the present disclosure, the color compensation gain value relationship set can be stored in a color compensation gain value lookup table. The same first candidate pixel value as the second to-be-processed pixel value can be determined from the color compensation gain value relationship set, so as to determine the candidate color compensation gain value according to the first candidate pixel value and the color compensation gain value relationship corresponding to the first candidate pixel value, and obtain the second color compensation gain value.

[0112] According to an embodiment of the present disclosure, by pre-setting the color compensation gain value relationship set of the first candidate pixel value and the candidate color compensation gain value, the second color compensation gain value can be quickly determined, and the processing speed of the to-be-processed image data can be improved.

[0113] According to an embodiment of the present disclosure, the color compensation sub-circuit 321 can be further configured to determine the first matching pixel value from the color compensation gain value relationship set. The first matching pixel value represents the first candidate pixel value matched with the second to-be-processed pixel value.

[0114] The candidate color compensation gain value corresponding to the first matching pixel value is determined as the second color compensation gain value corresponding to the target pixel.

[0115] According to an embodiment of the present disclosure, the first matching pixel value can be the first candidate pixel value determined according to the second to-be-processed pixel value. According to the color compensation gain value relationship of the first candidate pixel value, the candidate color compensation gain value corresponding to the first candidate pixel value can be determined.

[0116] The candidate color compensation gain value can be determined as the candidate color compensation gain value corresponding to the target pixel, so as to determine the second color compensation gain value corresponding to the target pixel from the candidate color compensation gain value.

[0117] According to an embodiment of the present disclosure, the color compensation gain value relationship set is a relationship between the first matching pixel value and the candidate color compensation gain value, and therefore, by means of the color compensation gain value relationship set, the second color compensation gain value corresponding to the target pixel can be determined, so that the target pixel can be color compensated according to the second color compensation gain value, and the color display of the image is improved.

[0118] According to an embodiment of the present disclosure, the second to-be-processed pixel value includes a to-be-processed hue value, a to-be-processed saturation value and a to-be-processed color brightness intensity value, and the second color compensation gain value includes a to-be-processed hue compensation gain value corresponding to the to-be-processed hue value, a to-be-processed saturation compensation gain value corresponding to the to-be-processed saturation value and a to-be-processed color brightness intensity compensation gain value corresponding to the to-be-processed color brightness intensity value.

[0119] The first candidate pixel value includes a candidate hue value, a candidate saturation value and a candidate color brightness intensity value, and the candidate color compensation gain value includes a candidate hue compensation gain value corresponding to the candidate hue value, a candidate saturation compensation gain value corresponding to the candidate saturation value and a candidate color brightness intensity compensation gain value corresponding to the candidate color brightness intensity value.

[0120] The color compensation gain value relationship set includes a hue compensation gain value relationship set, a saturation compensation gain value relationship set and a color brightness intensity compensation gain value relationship set.

[0121] The color compensation sub-circuit 221 can be further configured to determine, according to the hue compensation gain value relationship set and the to-be-processed hue value of the target pixel, a hue compensation gain value corresponding to the target pixel.

[0122] According to the saturation compensation gain value relationship set and the to-be-processed saturation value of the target pixel, a saturation compensation gain value corresponding to the target pixel is determined.

[0123] According to the color brightness intensity compensation gain value relationship set and the to-be-processed color brightness intensity value of the target pixel, a color brightness intensity compensation gain value corresponding to the target pixel is determined.

[0124] According to an embodiment of the present disclosure, the second to-be-processed pixel value includes three components in a color space. Therefore, the second to-be-processed pixel value can include a to-be-processed hue value on a hue component, a to-be-processed saturation value on a saturation component and a to-be-processed color brightness intensity value on a color brightness intensity component. Correspondingly, the second color compensation gain value includes a to-be-processed hue compensation gain value corresponding to the to-be-processed hue value on the hue component, a to-be-processed saturation compensation gain value corresponding to the to-be-processed saturation value on the saturation component and a to-be-processed color brightness intensity compensation gain value corresponding to the to-be-processed color brightness intensity value on the color brightness intensity component.

[0125] The first candidate pixel value can include a candidate hue value on a hue component, a candidate saturation value on a saturation component, and a candidate color brightness intensity value on a color brightness intensity component. The candidate color compensation gain value includes a candidate hue compensation gain value corresponding to the candidate hue value on the hue component, a candidate saturation compensation gain value corresponding to the candidate saturation value on the saturation component, and a candidate color brightness intensity compensation gain value corresponding to the candidate color brightness intensity value on the color brightness intensity component.

[0126] The color compensation gain value relationship set can include a hue compensation gain value relationship set on a hue component, a saturation compensation gain value relationship set on a saturation component, and a color brightness intensity compensation gain value relationship set on a color brightness intensity component.

[0127] According to an embodiment of the present disclosure, a to-be-processed hue value of a target pixel can be determined from the hue compensation gain value relationship set to correspond to the target pixel. A candidate hue compensation gain value corresponding to the target pixel is determined from the candidate hue value. Then, a hue compensation gain value corresponding to the target pixel is determined according to the candidate hue compensation gain value.

[0128] According to an embodiment of the present disclosure, a to-be-processed saturation value of a target pixel can be determined from the saturation compensation gain value relationship set to correspond to the target pixel. A candidate saturation compensation gain value corresponding to the target pixel is determined from the candidate saturation value. Then, a saturation compensation gain value corresponding to the target pixel is determined according to the candidate saturation compensation gain value.

[0129] According to an embodiment of the present disclosure, a to-be-processed color brightness intensity value of a target pixel can be determined from the color brightness intensity compensation gain value relationship set to correspond to the target pixel. A candidate color brightness intensity compensation gain value corresponding to the target pixel is determined from the candidate color brightness intensity value. Then, a color brightness intensity compensation gain value corresponding to the target pixel is determined according to the candidate color brightness intensity compensation gain value.

[0130] According to an embodiment of the present disclosure, a hue compensation gain value corresponding to the target pixel can be determined by using the hue compensation gain value relationship set, a saturation compensation gain value corresponding to the target pixel can be determined by using the saturation compensation gain value relationship set, and a color brightness intensity compensation gain value corresponding to the target pixel can be determined by using the color brightness intensity compensation gain value relationship set. By separately determining the hue compensation gain value, the saturation compensation gain value, and the color brightness intensity compensation gain value of the target pixel, the target pixel can be compensated in terms of hue, saturation, or color brightness, and the display effect of the image can be improved.

[0131] Next, the present disclosure will be described in detail with reference to the accompanying drawings. Figure 2To describe in detail Figure 2 The viewpoint compensation sub-circuit 222 is configured to: determine the subject viewpoint compensation value corresponding to the target pixel based on the viewpoint compensation value relationship set and the first pixel value to be processed of the target pixel.

[0132] The viewpoint compensation value relationship set includes at least one viewpoint compensation value relationship, which represents the relationship between the second candidate pixel value and the candidate viewpoint compensation value. The color space of the second candidate pixel value is consistent with that of the first pixel value to be processed.

[0133] According to embodiments of this disclosure, the viewpoint compensation value relationship set can be pre-stored in a viewpoint compensation value lookup table. The viewpoint compensation value lookup table can be represented by a graph.

[0134] Figure 4 A schematic diagram of a set of perspective compensation relationships according to an embodiment of this disclosure is shown.

[0135] like Figure 4 As shown, the horizontal axis represents the second candidate pixel value, and the vertical axis represents the candidate viewpoint compensation value. Each second candidate pixel value can correspond to two candidate viewpoint compensation values. Relative to the same candidate pixel value, the first curve 410 represents a larger candidate viewpoint compensation value, and the second curve 420 represents a smaller candidate viewpoint compensation value.

[0136] Figure 5 A schematic diagram illustrating the determination of the subject's perspective compensation value according to an embodiment of the present disclosure is shown.

[0137] like Figure 5 As shown, each square represents a pixel in the image data to be processed. It's important to understand that the number of pixels in the diagram is merely an example and does not represent the actual number of pixels in the image data. Two pixels can be grouped together. For example... Figure 5 As shown, the first group of target pixels 510 with a darker color can represent the subject's viewing angle compensation value determined according to the second curve in the viewing angle compensation relationship set, and the second group of target pixels 520 with a lighter color can represent the subject's viewing angle compensation value determined according to the first curve in the viewing angle compensation relationship set. This allows for processing of the overall brightness effect of the image data to be processed, rather than randomly enhancing or weakening the brightness of pixels in a specific area, resulting in a more uniform brightness adjustment and reducing viewing angle deviation while ensuring the display effect of the image data to be processed.

[0138] According to embodiments of this disclosure, the relationship between the first curve, the second curve, and the second candidate pixel value is shown in the following formula (1):

[0139]

[0140] wherein gray represents the second candidate pixel value, LUT H (gray) represents the subject view angle compensation value determined according to the second candidate pixel value and the first curve, and LUT L (gray) represents the subject view angle compensation value determined according to the second candidate pixel value and the second curve.

[0141] According to an embodiment of the present disclosure, the brightness of the image data to be processed can also be adjusted according to other rules.

[0142] For example, one scheme is that four pixels in each row are taken as a group. The first pixel is determined according to the first curve, the second pixel is determined according to the second curve, the third pixel is determined according to the first curve, and the fourth pixel is determined according to the second curve. In the next row of pixels, the view angle compensation value is determined according to a curve different from that of the previous row.

[0143] For example, another scheme is that four pixels in each row are taken as a group. The first pixel is determined according to the first curve, the second pixel is determined according to the second curve, the third pixel is determined according to the second curve, and the fourth pixel is determined according to the first curve. In the next row of pixels, the view angle compensation value is determined according to a curve different from that of the previous row. It can be understood that the present disclosure is not limited thereto.

[0144] According to an embodiment of the present disclosure, the second candidate pixel value identical to the first pixel value to be processed can be determined from the set of view angle compensation value relationships, so as to determine the candidate view angle compensation value according to the second candidate pixel value and the view angle compensation value relationship corresponding to the second candidate pixel value, and obtain the subject view angle compensation value.

[0145] According to an embodiment of the present disclosure, by pre-setting the set of view angle compensation value relationships between the second candidate pixel value and the candidate view angle compensation value, the subject view angle compensation value can be quickly determined, and the processing speed of the image data to be processed is further improved.

[0146] According to an embodiment of the present disclosure, the view angle compensation sub-circuit 222 can also be configured to determine the second matching pixel value from the set of view angle compensation relationships. The second matching pixel value represents the second candidate pixel value matched with the first pixel value to be processed.

[0147] The candidate view angle compensation value corresponding to the second matching pixel value is determined as the subject view angle compensation value corresponding to the target pixel.

[0148] According to an embodiment of the present disclosure, the second matching pixel value can be determined as a second candidate pixel value same as the first to-be-processed pixel value. According to a view angle compensation value relationship of the second candidate pixel value, a candidate view angle compensation value corresponding to the second candidate pixel value can be determined. The candidate view angle compensation value can be determined as a candidate view angle compensation value corresponding to the target pixel, so as to determine the view angle compensation value corresponding to the target pixel.

[0149] According to an embodiment of the present disclosure, the first to-be-processed pixel value includes a to-be-processed red pixel value, a to-be-processed green pixel value and a to-be-processed blue pixel value. The view angle compensation value includes a to-be-processed red pixel view angle compensation value corresponding to the to-be-processed red pixel value, a to-be-processed green pixel view angle compensation value corresponding to the to-be-processed green pixel value and a to-be-processed blue pixel view angle compensation value corresponding to the to-be-processed blue pixel value.

[0150] The second candidate pixel value includes a candidate red pixel view angle value, a candidate green pixel view angle value and a candidate blue pixel view angle value. The candidate view angle compensation value includes a candidate red pixel view angle compensation value corresponding to the candidate red pixel view angle value, a candidate green pixel view angle compensation value corresponding to the candidate green pixel view angle value and a candidate blue pixel view angle compensation value corresponding to the candidate blue pixel view angle value.

[0151] The view angle compensation value relationship set includes a red pixel view angle compensation value relationship set, a green pixel view angle compensation value relationship set and a blue pixel view angle compensation value relationship set.

[0152] The view angle compensation sub-circuit 222 can be further configured to determine, according to the red pixel view angle compensation value relationship set and the to-be-processed red pixel value of the target pixel, a to-be-processed red pixel view angle compensation value corresponding to the target pixel. Determine, according to the green pixel view angle compensation value relationship set and the to-be-processed green pixel value of the target pixel, a to-be-processed green pixel view angle compensation value corresponding to the target pixel. Determine, according to the blue pixel view angle compensation value relationship set and the to-be-processed blue pixel value of the target pixel, a to-be-processed blue pixel view angle compensation value corresponding to the target pixel.

[0153] According to an embodiment of the present disclosure, the view angle compensation relationship set is a relationship between the second matching pixel value and the candidate view angle compensation value. Therefore, by the view angle compensation relationship set, the subject view angle compensation value corresponding to the target pixel can be determined, so that the target pixel can be subjected to view angle compensation according to the subject view angle compensation value, and the color deviation phenomenon in the display panel can be reduced.

[0154] Next, the operation of the edge compensation sub-circuit 223 will be described in detail. Figure 2 The edge compensation sub-circuit 223 can be configured to determine, according to the edge compensation gain value relationship set and the first to-be-processed pixel value of the target pixel, an edge compensation gain value corresponding to the target pixel.

[0155] The edge compensation gain value relationship set includes at least one edge compensation gain value relationship, and the edge compensation gain value relationship represents a relationship between a third candidate pixel value and a candidate edge compensation gain value. The third candidate pixel value is consistent with the color space of the first to-be-processed pixel value.

[0156] According to an embodiment of the present disclosure, the edge compensation gain value relationship set can be pre-stored in an edge compensation gain value lookup table. The third candidate pixel value same as the first to-be-processed pixel value can be determined from the edge compensation gain value relationship set. The candidate edge compensation gain value is determined according to the third candidate pixel value and the edge compensation gain value relationship corresponding to the third candidate pixel value, and the edge compensation gain value is obtained.

[0157] According to an embodiment of the present disclosure, the edge region of the to-be-processed image data can be detected by a Sobel algorithm, and the edge region is determined as the predetermined region in the display region.

[0158] For example, a 3*3 pixel block is determined with the target pixel as the center pixel. The coordinates of the target pixel are set as (x, y), the first direction can be the X direction, and the second direction can be the Y direction. The intensity of the target pixel along the first direction can be calculated by using the following formula (2):

[0159]

[0160] wherein G x represents the intensity of the target pixel along the first direction, and A represents the 3*3 pixel block.

[0161] The intensity of the target pixel along the second direction can be calculated by using the following formula (3):

[0162]

[0163] wherein G y represents the intensity of the target pixel along the second direction.

[0164] According to an embodiment of the present disclosure, the intensity of the target pixel can be determined according to the intensity of the target pixel along the first direction and the intensity of the target pixel along the second direction. The edge region of the target pixel can be determined according to the intensities of a plurality of target pixels.

[0165] According to an embodiment of the present disclosure, the third candidate pixel value and the candidate edge compensation gain value are pre-set, so that the edge compensation gain value can be quickly determined, and the processing speed of the to-be-processed image data is improved.

[0166] According to an embodiment of the present disclosure, the edge compensation sub-circuit 323 can be further configured to determine a third matching pixel value from the edge compensation gain value relationship set. The third matching pixel value represents a third candidate pixel value matched with the first to-be-processed pixel value.

[0167] The candidate edge compensation gain value corresponding to the third matching pixel value is determined as the edge compensation gain value corresponding to the target pixel.

[0168] According to an embodiment of the present disclosure, the operation of determining the third matching pixel value can refer to the operation of determining the second matching pixel value, which is not described herein again. The operation of determining the edge compensation gain value can refer to the operation of determining the perspective compensation value of the subject, which is not described herein again.

[0169] The edge compensation gain value relationship set includes a red pixel edge compensation gain value relationship set, a green pixel edge compensation gain value relationship set, and a blue pixel edge compensation gain value relationship set.

[0170] The edge compensation compensation sub-circuit 223 can also be configured to: determine, according to the red pixel edge compensation gain value relationship set and the to-be-processed red pixel value of the target pixel, a to-be-processed red pixel edge compensation gain value corresponding to the target pixel.

[0171] According to the green pixel edge compensation gain value relationship set and the to-be-processed green pixel value of the target pixel, a to-be-processed green pixel edge compensation gain value corresponding to the target pixel is determined.

[0172] According to the blue pixel edge compensation gain value relationship set and the to-be-processed blue pixel value of the target pixel, a to-be-processed blue pixel edge compensation gain value corresponding to the target pixel is determined.

[0173] According to an embodiment of the present disclosure, the edge compensation gain value relationship set is the relationship between the third matching pixel value and the candidate edge compensation gain value. Therefore, by means of the edge compensation gain value relationship set, the edge compensation gain value corresponding to the target pixel can be determined, so that the target pixel can perform edge compensation on the target data according to the edge compensation gain value, and reduce the sawtooth feeling and the grain feeling of the edge profile of the image in the display panel.

[0174] Figure 6 A flowchart of an image compensation method according to an embodiment of the present disclosure is shown.

[0175] As Figure 6 shown, the image compensation method can include operations S610-S630.

[0176] In operation S610, to-be-processed image data is received. The to-be-processed image data includes a plurality of pixels, each of which has a corresponding first to-be-processed pixel value.

[0177] For example, operation S610 can refer to the data receiving circuit 110 of the above-mentioned embodiments, which is not described herein again.

[0178] At operation S620, the main viewing angle compensation value and the auxiliary viewing angle compensation value corresponding to each of the target pixels are determined according to the first to-be-processed pixel values of at least one target pixel corresponding to the predetermined region in the display region in the plurality of pixels. The auxiliary viewing angle compensation value is used to assist the main viewing angle compensation value to compensate the viewing angle deviation of the predetermined region.

[0179] For example, operation S620 can refer to the viewing angle compensation value determination circuit 120 of the above-described embodiments, which will not be repeated here.

[0180] At operation S630, the first to-be-processed pixel values of the target pixels are processed based on the main viewing angle compensation value and the auxiliary viewing angle compensation value to obtain target pixel values of the target pixels, and target image data is obtained based on the target pixel values.

[0181] For example, operation S630 can refer to the viewing angle compensation value processing circuit 130 of the above-described embodiments, which will not be repeated here.

[0182] Figure 7 A structural schematic diagram of a display device according to an embodiment of the present disclosure is shown.

[0183] As shown in Figure 7 , the display device 700 includes an image compensation apparatus 710 and a display panel 720 according to an embodiment of the present disclosure. The image compensation apparatus 710 has a circuit structure as shown in Figure 1 and Figure 2 , which is used to execute, for example, the image compensation method according to an embodiment of the present disclosure and output target image data. The display panel 720 is configured to display the target image data. The display panel can be of various structures, which are not limited by the present disclosure.

[0184] Figure 8 A block diagram of an electronic device suitable for implementing the image compensation method according to an embodiment of the present disclosure is shown.

[0185] As shown in Figure 8 , the electronic device 800 according to an embodiment of the present disclosure includes a processor 801, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 802 or loaded from a storage portion 808 to a random access memory (RAM) 803. The processor 801 can include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor, and / or a related chipset, and / or a special-purpose microprocessor (such as an application-specific integrated circuit (ASIC)), and the like. The processor 801 can also include an on-board memory for cache use. The processor 801 can include a single processing unit or multiple processing units for performing different actions of the method processes according to an embodiment of the present disclosure.

[0186] In the RAM 803, various programs and data required for the operation of the electronic device 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other via the bus 804. The processor 801 performs various operations of the method flow according to the embodiments of the present disclosure by executing the programs in the ROM 802 and / or the RAM 803. It should be noted that the programs can also be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 can also perform various operations of the method flow according to the embodiments of the present disclosure by executing the programs stored in the one or more memories.

[0187] According to the embodiments of the present disclosure, the electronic device 800 can further include an input / output (I / O) interface 805, which is also connected to the bus 804. The electronic device 800 can further include one or more of the following components connected to the input / output (I / O) interface 805: an input part 806 including a keyboard, a mouse, and the like; an output part 807 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker, and the like; a storage part 808 including a hard disk, and the like; and a communication part 809 including a network interface card such as a LAN card, a modem, and the like. The communication part 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output (I / O) interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 810 as necessary, so that a computer program read therefrom is installed in the storage part 808 as necessary.

[0188] The present disclosure also provides a computer readable storage medium, which can be included in the device / apparatus / system described in the above embodiments; or can exist separately without being assembled into the device / apparatus / system. The above computer readable storage medium carries one or more programs, when the one or more programs are executed, the image compensation method according to the embodiments of the present disclosure is implemented.

[0189] According to an embodiment of the present disclosure, the computer readable storage medium can be a nonvolatile computer readable storage medium, for example, can include, but is not limited to, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM or Flash memory), a portable compact disc read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any appropriate combination thereof. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, the computer readable storage medium can include the ROM 802 and / or the RAM 803 described above and / or one or more memory other than the ROM 802 and the RAM 803.

[0190] Embodiments of the present disclosure also include a computer program product, which includes a computer program containing program codes for executing the methods shown in the flowcharts. When the computer program product is run in a computer system, the program codes are used to make the computer system implement the image compensation method provided by the embodiments of the present disclosure.

[0191] The above-described functions defined in the system / device of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. According to an embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by computer program modules.

[0192] In one embodiment, the computer program can rely on a tangible storage medium such as an optical storage device, a magnetic storage device, etc. In another embodiment, the computer program can also be transmitted, distributed, and downloaded in the form of a signal on a network medium, and be downloaded and installed through the communication part 809, and / or be installed from the detachable medium 811. The program codes contained in the computer program can be transmitted by any appropriate network medium, including but not limited to wireless, wired, etc., or any appropriate combination thereof.

[0193] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or be installed from the detachable medium 811. When the computer program is executed by the processor 801, the above-described functions defined in the system of the embodiments of the present disclosure are performed. According to an embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by computer program modules.

[0194] According to an embodiment of the present disclosure, program code for executing the computer programs provided by the embodiments of the present disclosure can be written in any combination of one or more programming languages, and specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. The programming languages include, but are not limited to, such as Java, C++, python, “C” language, or similar programming languages. The program code can be executed entirely on a user computing device, partially on a user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case involving a remote computing device, the remote computing device can be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, connected through the Internet by using an Internet service provider).

[0195] It should be noted that any one or more of the modules, sub-modules, units, sub-units, or at least part of any one or more of them according to the embodiments of the present disclosure can be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to the embodiments of the present disclosure can be split into multiple modules for implementation. Any one or more of the modules, sub-modules, units, sub-units according to the embodiments of the present disclosure can be implemented at least in part as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or any other reasonable way of hardware or firmware through integration or packaging of circuits, or in any one or in an appropriate combination of software, hardware, and firmware. Alternatively, one or more of the modules, sub-modules, units, sub-units according to the embodiments of the present disclosure can be implemented at least in part as computer program modules that can perform corresponding functions when executed.

[0196] The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed, cause a processor of a computer-based system to perform any of the methods of the first aspect. The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed, cause a processor of a computer-based system to perform any of the methods of the first aspect.

[0197] Those skilled in the art will understand that the features recited in the various embodiments and / or claims of the present disclosure can be combined or / and integrated in a variety of ways, even if such combinations or integrations are not expressly disclosed in the present disclosure. In particular, the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or integrated in a variety of ways without departing from the spirit and teachings of the present disclosure. All such combinations and / or integrations are within the scope of the present disclosure.

[0198] The above describes embodiments of the present disclosure. However, these embodiments are merely for illustrative purposes, and are not intended to limit the scope of the present disclosure. Although each of the embodiments is described above separately, this does not mean that the measures in each of the embodiments cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Those skilled in the art can make various substitutions and modifications without departing from the scope of the present disclosure, and all such substitutions and modifications shall fall within the scope of the present disclosure.

Claims

1. An image compensation apparatus, comprising: data receiving circuitry configured to receive image data to be processed, wherein the image data to be processed comprises a plurality of pixels each having a corresponding first pixel value to be processed; view angle compensation value determining circuitry configured to determine, according to the first pixel value to be processed of at least one target pixel corresponding to a predetermined region in a display region from the plurality of pixels, a main view angle compensation value and an auxiliary view angle compensation value each corresponding to the target pixel, wherein the main view angle compensation value is used to adjust a view angle deviation of the predetermined region, the auxiliary view angle compensation value is used to assist the main view angle compensation value to compensate the view angle deviation of the predetermined region, and the auxiliary view angle compensation value comprises an edge compensation gain value used to compensate an edge of the image data to be processed; and view angle compensation value processing circuitry configured to process the first pixel value to be processed of the target pixel based on the main view angle compensation value and the auxiliary view angle compensation value to obtain a target pixel value of the target pixel, and obtain target image data based on the target pixel value; the auxiliary view angle compensation value comprises a second color compensation gain value; and the view angle compensation value determining circuitry comprises color compensation sub-circuitry; wherein the color compensation sub-circuitry is configured to: perform color space conversion on the first pixel value to be processed of the target pixel to obtain a second pixel value to be processed of the target pixel; and determine the second color compensation gain value corresponding to the target pixel according to the second pixel value to be processed of the target pixel; wherein the color compensation sub-circuitry is further configured to: determine the second color compensation gain value corresponding to the target pixel according to a set of color compensation gain value relationships and the second pixel value to be processed of the target pixel; wherein the set of color compensation gain value relationships comprises at least one color compensation gain value relationship representing a relationship between a first candidate pixel value and a candidate color compensation gain value, and the first candidate pixel value is consistent with the color space of the second pixel value to be processed.

2. The image compensation apparatus according to claim 1, wherein the auxiliary view angle compensation value comprises a first color compensation gain value; and the view angle compensation value processing circuitry is further configured to: obtain a fused compensation gain value of the target pixel based on the edge compensation gain value and the first color compensation gain value corresponding to the target pixel; process the main view angle compensation value based on the fused compensation gain value corresponding to the target pixel to determine an intermediate view angle compensation value corresponding to the target pixel; and process the first pixel value to be processed of the target pixel based on the intermediate view angle compensation value, the edge compensation gain value, and the first color compensation gain value to obtain the target pixel value of the target pixel.

3. The image compensation apparatus according to claim 1, wherein the color compensation sub-circuitry is further configured to: determine a first matching pixel value from the set of color compensation gain value relationships, wherein the first matching pixel value represents a first candidate pixel value matching the second pixel value to be processed; and determine the second color compensation gain value corresponding to the target pixel according to the first matching pixel value. determining a candidate color compensation gain value corresponding to the first matching pixel value as a second color compensation gain value corresponding to the target pixel.

4. The image compensation apparatus according to claim 1, wherein The color compensation gain value relationship set comprises a hue compensation gain value relationship set, a saturation compensation gain value relationship set, and a color brightness intensity compensation gain value relationship set. The color compensation sub-circuit is further configured to: determine a hue compensation gain value corresponding to the target pixel according to the hue compensation gain value relationship set and a to-be-processed hue value of the target pixel; determine a saturation compensation gain value corresponding to the target pixel according to the saturation compensation gain value relationship set and a to-be-processed saturation value of the target pixel; and determine a color brightness intensity compensation gain value corresponding to the target pixel according to the color brightness intensity compensation gain value relationship set and a to-be-processed color brightness intensity value of the target pixel.

5. The image compensation apparatus according to claim 1, wherein The view angle compensation value determination circuit further comprises a view angle compensation sub-circuit. The view angle compensation sub-circuit is configured to: determine a main view angle compensation value corresponding to the target pixel according to a view angle compensation value relationship set and a first to-be-processed pixel value of the target pixel. The view angle compensation value relationship set comprises at least one view angle compensation value relationship, and the view angle compensation value relationship represents a relationship between a second candidate pixel value and a candidate view angle compensation value, the second candidate pixel value being consistent with a color space of the first to-be-processed pixel value.

6. The image compensation apparatus according to claim 5, wherein The view angle compensation sub-circuit is further configured to: determine a second matching pixel value from the view angle compensation relationship set, wherein the second matching pixel value represents a second candidate pixel value matching the first to-be-processed pixel value; and determine a candidate view angle compensation value corresponding to the second matching pixel value as a main view angle compensation value corresponding to the target pixel.

7. The image compensation apparatus according to claim 1, wherein The auxiliary view angle compensation value comprises an edge compensation gain value, and the view angle compensation value determination circuit further comprises an edge compensation sub-circuit. The edge compensation sub-circuit is configured to: determine an edge compensation gain value corresponding to the target pixel according to an edge compensation gain value relationship set and a first to-be-processed pixel value of the target pixel. The edge compensation gain value relationship set comprises at least one edge compensation gain value relationship, and the edge compensation gain value relationship represents a relationship between a third candidate pixel value and a candidate edge compensation gain value, the third candidate pixel value being consistent with a color space of the first to-be-processed pixel value.

8. The image compensation apparatus according to claim 7, wherein The edge compensation sub-circuit is further configured to: determine a third matching pixel value from the edge compensation gain value relationship set, wherein the third matching pixel value represents a third candidate pixel value matching the first to-be-processed pixel value; and determine a candidate edge compensation gain value corresponding to the third matching pixel value as an edge compensation gain value corresponding to the target pixel.

9. A display device, comprising: the image compensation apparatus according to any one of claims 1-8; and a display panel configured to display the target image data.

10. An image compensation method, comprising: receiving image data to be processed, wherein the image data to be processed comprises a plurality of pixels each having a corresponding first pixel value to be processed; determining a main view angle compensation value and an auxiliary view angle compensation value corresponding to each of at least one target pixel corresponding to a predetermined region in a display region according to the first pixel value to be processed of the at least one target pixel, wherein the main view angle compensation value is used to adjust a view angle deviation of the predetermined region, the auxiliary view angle compensation value is used to assist the main view angle compensation value to compensate the view angle deviation of the predetermined region, and the auxiliary view angle compensation value comprises an edge compensation gain value used to compensate an edge of the image data to be processed; and processing the first pixel value to be processed of the target pixel based on the main view angle compensation value and the auxiliary view angle compensation value to obtain a target pixel value of the target pixel, and obtaining target image data based on the target pixel value; the auxiliary view angle compensation value comprises a second color compensation gain value; the method further comprises: performing color space conversion on the first pixel value to be processed of the target pixel to obtain a second pixel value to be processed of the target pixel; and determining the second color compensation gain value corresponding to the target pixel according to the second pixel value to be processed of the target pixel; the method further comprises: determining the second color compensation gain value corresponding to the target pixel according to a color compensation gain value relationship set and the second pixel value to be processed of the target pixel; wherein the color compensation gain value relationship set comprises at least one color compensation gain value relationship, and the color compensation gain value relationship represents a relationship between a first candidate pixel value and a candidate color compensation gain value, and the first candidate pixel value is consistent with a color space of the second pixel value to be processed.

11. An electronic device, comprising: one or more processors; memory storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method according to claim 10.

12. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method according to claim 10.

Citation Information

Patent Citations

  • Viewing angle image compensation method and circuit system

    CN112565645A

  • Display color cast optimization method, display driving method and display

    CN116631350A