CN116994535A - Image compensation device, method, electronic device, storage medium and display device - Google Patents

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

Info

Publication number
CN116994535A
CN116994535A CN202311103122.9A CN202311103122A CN116994535A CN 116994535 A CN116994535 A CN 116994535A CN 202311103122 A CN202311103122 A CN 202311103122A CN 116994535 A CN116994535 A CN 116994535A
Authority
CN
China
Prior art keywords
value
compensation
pixel
processed
target pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311103122.9A
Other languages
Chinese (zh)
Inventor
徐海侠
刘庆春
张驰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Eswin Computing Technology Co Ltd
Haining Eswin IC Design Co Ltd
Original Assignee
Beijing Eswin Computing Technology Co Ltd
Haining Eswin IC Design Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Eswin Computing Technology Co Ltd, Haining Eswin IC Design Co Ltd filed Critical Beijing Eswin Computing Technology Co Ltd
Priority to CN202311103122.9A priority Critical patent/CN116994535A/en
Publication of CN116994535A publication Critical patent/CN116994535A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/028Improving the quality of display appearance by changing the viewing angle properties, e.g. widening the viewing angle, adapting the viewing angle to the view direction

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The disclosure provides an image compensation device, an image compensation method, electronic equipment, a storage medium and display equipment, and 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 including a plurality of pixels each having a corresponding first pixel value to be processed; a viewing angle compensation value determining circuit configured to determine a subject viewing angle compensation value and an auxiliary viewing angle compensation value, respectively corresponding to the target pixels, from a first pixel value to be processed of at least one target pixel corresponding to a predetermined region in the display region among the plurality of pixels, the auxiliary viewing angle compensation value being used for compensating a viewing angle deviation of the predetermined region by the auxiliary subject viewing angle compensation value; and the visual angle compensation value processing circuit is configured to process the first pixel value to be processed of the target pixel based on the main visual angle compensation value and the auxiliary visual angle compensation value to obtain a target pixel value of the target pixel, and obtain target image data based on the target pixel value.

Description

Image compensation device, method, electronic device, storage medium and display device
Technical Field
The disclosure relates to the technical field of image processing, and in particular relates to an image compensation device, an image compensation method, electronic equipment, a storage medium and display equipment.
Background
With the development of information science and technology, display technology has also been developed. For example, the liquid crystal display panel may include a Twisted Nematic (TN), an In-Plane Switching (IPS), a Multi-domain vertical alignment (MVA) panel.
In order to provide users with a better viewing experience, the lcd panel is continuously being developed to a large size. However, a large-sized liquid crystal display panel may have a viewing angle deviation at different viewing angles, thereby affecting a display effect.
Disclosure of Invention
In view of the above, the present disclosure provides an image compensation apparatus, method, electronic device, storage medium, and display device.
According to a first aspect of the present disclosure, there is provided an image compensation apparatus comprising:
a data receiving circuit configured to receive image data to be processed, wherein the image data to be processed includes a plurality of pixels each having a corresponding first pixel value to be processed;
a viewing angle compensation value determining circuit configured to determine a subject viewing angle compensation value and an auxiliary viewing angle compensation value, each corresponding to a target pixel, from a first pixel value to be processed of at least one target pixel corresponding to a predetermined region in the display region among the plurality of pixels, wherein the auxiliary viewing angle compensation value is used for compensating a viewing angle deviation of the predetermined region by the auxiliary subject viewing angle compensation value; and
And the visual angle compensation value processing circuit is configured to process the first pixel value to be processed of the target pixel based on the main visual angle compensation value and the auxiliary visual angle compensation value to obtain a target pixel value of the target pixel, and obtain target image data based on the target pixel value.
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;
the viewing angle compensation value processing circuit is further configured to:
obtaining 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;
processing the main body view angle compensation value based on the fusion compensation gain value corresponding to the target pixel, and determining an intermediate view angle compensation value corresponding to the target pixel; and
and processing 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 a target pixel value of the target pixel.
According to an embodiment of the present disclosure, the auxiliary viewing angle compensation value includes a second color compensation gain value; the viewing angle compensation value determining circuit comprises a color compensation sub-circuit;
a color compensation subcircuit configured to:
Performing color space conversion on a first pixel value to be processed of the target pixel to obtain a second pixel value to be processed of the target pixel; and
and determining a second color compensation gain value corresponding to the target pixel according to the second pixel value to be processed of the target pixel.
According to an embodiment of the present disclosure, the color compensation subcircuit is further configured to:
determining a second color compensation gain value corresponding to the target pixel according to the color compensation gain value relation set and the second pixel value to be processed of the target pixel;
the color compensation gain value relation set comprises at least one color compensation gain value relation, wherein the color compensation gain value relation represents a relation 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 that of a second pixel value to be processed.
According to an embodiment of the present disclosure, the color compensation subcircuit is further configured to:
determining a first matched pixel value from the color compensation gain value relationship set, wherein the first matched pixel value characterizes a first candidate pixel value matched with a second pixel value to be processed; and
a candidate color compensation gain value corresponding to the first matched pixel value is determined as a second color compensation gain value corresponding to the target pixel.
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;
wherein 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;
the color compensation gain value relation set comprises a tone compensation gain value relation set, a saturation compensation gain value relation set and a color brightness intensity compensation gain value relation set;
wherein the color compensation subcircuit is further configured to:
determining a tone compensation gain value corresponding to the target pixel according to the tone compensation gain value relation set and the to-be-processed tone value of the target pixel;
Determining a saturation compensation gain value corresponding to the target pixel according to the saturation compensation gain value relation set and the saturation value to be processed of the target pixel; and
and determining the color brightness intensity compensation gain value corresponding to the target pixel according to the color brightness intensity compensation gain value relation set and the color brightness intensity value to be processed of the target pixel.
According to an embodiment of the present disclosure, the viewing angle compensation value determining circuit further includes a viewing angle compensation sub-circuit;
wherein the viewing angle compensation subcircuit is configured to:
determining a main body view angle compensation value corresponding to the target pixel according to the view angle compensation value relation set and the first pixel value to be processed of the target pixel;
the view compensation value relation set comprises at least one view compensation value relation, wherein the view compensation value relation represents a relation between a second candidate pixel value and a candidate view compensation value, and the second candidate pixel value is consistent with the color space of the first pixel value to be processed.
According to an embodiment of the present disclosure, the viewing angle compensation subcircuit is further configured to:
determining a second matched pixel value from the set of view angle compensation relationships, wherein the second matched pixel value characterizes a second candidate pixel value that matches the first candidate pixel value; and
A candidate view compensation value corresponding to the second matched pixel value is determined as a subject view compensation value corresponding to the target pixel.
According to an embodiment of the present disclosure, the auxiliary viewing angle compensation value includes an edge compensation gain value; the viewing angle compensation value determining circuit further includes an edge compensation sub-circuit;
an edge compensation sub-circuit configured to:
determining an edge compensation gain value corresponding to the target pixel according to the edge compensation gain value relation set and the first pixel value to be processed of the target pixel;
wherein the set of edge compensation gain value relationships comprises at least one edge compensation gain value relationship characterizing 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 pixel value to be processed.
According to an embodiment of the present disclosure, the edge compensation subcircuit is further configured to:
determining a third matched pixel value from the edge compensation gain value relationship set, wherein the third matched pixel value characterizes a third candidate pixel value matched to the first pixel value to be processed; and
the candidate edge compensation gain value corresponding to the third matched pixel value is determined as the edge compensation gain value corresponding to the target pixel.
A second aspect of the present disclosure provides a display device, comprising:
the image compensation device according to the disclosure; and
and a display panel configured to display the target image data.
A third aspect of the present disclosure provides an image compensation method, including:
receiving image data to be processed, wherein the image data to be processed comprises a plurality of pixels, and each pixel has a corresponding first pixel value to be processed;
determining a main viewing angle compensation value and an auxiliary viewing angle compensation value corresponding to each of the target pixels according to a first pixel value to be processed of at least one target pixel corresponding to a predetermined region in the display region among the plurality of pixels, wherein the auxiliary viewing angle compensation value is used for compensating the viewing angle deviation of the predetermined region by the auxiliary viewing angle compensation value; and
and processing 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 obtaining target image data based on the target pixel value.
A fourth aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for 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 image compensation method described above.
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 above-described image compensation method.
A sixth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above-described image compensation method.
In the process of displaying images, the liquid crystal display panel is easy to generate visual angle deviation due to different viewing visual angles, so that the display effect is reduced. 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 may be determined according to the first to-be-processed pixel value of the target pixel in a predetermined region of the display region. The main body visual angle compensation value is used for adjusting visual angle deviation of a preset area, and the auxiliary visual angle compensation value is used for assisting the main body visual angle compensation value to adjust the visual angle deviation of the preset area, so that the visual angle deviation of the preset area is reduced, and the display effect of the liquid crystal display panel is improved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
Fig. 1 illustrates a schematic configuration of an image compensation apparatus according to an embodiment of the present disclosure;
fig. 2 illustrates a schematic diagram of a structure of a viewing angle compensation value determining circuit according to an embodiment of the present disclosure;
FIG. 3 shows a schematic view of a viewing angle of a display panel;
FIG. 4 shows a schematic diagram of a view compensation relationship set according to an embodiment of the present disclosure;
FIG. 5 illustrates a schematic diagram of determining a subject view angle compensation value according to an embodiment of the present disclosure;
FIG. 6 shows a flow diagram of an image compensation method according to an embodiment of the present disclosure;
fig. 7 illustrates a schematic structure of a display device according to an embodiment of the present disclosure; and
fig. 8 shows a block diagram of an electronic device adapted to implement an image compensation method according to an embodiment of the present disclosure.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present disclosure. It will be apparent that the described embodiments are some, but not all, of the embodiments of the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments that would be apparent to one of ordinary skill in the art without the benefit of this disclosure are within the scope of this disclosure. In the following description, some specific embodiments are for descriptive purposes only and should not be construed as limiting the disclosure in any way, but are merely examples of embodiments of the disclosure. Conventional structures or constructions will be omitted when they may cause confusion in understanding the present disclosure. It should be noted that the shapes and dimensions of the various components in the figures do not reflect the actual sizes and proportions, but merely illustrate the contents of the embodiments of the present disclosure.
Unless defined otherwise, technical or scientific terms used in the embodiments of the present disclosure should be in a general sense understood by those skilled in the art. The terms "first," "second," and the like, as used in embodiments of the present disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another.
With the development of display technology, the size of the liquid crystal display panel is also increasing. Since the light output by the liquid crystal molecules in the liquid crystal display panel has a specific directional characteristic, when the optimal display effect is achieved under the front view angle, the distortion of the picture seen in the side view direction will also change along with the increase of the side view angle, so that a larger viewing angle deviation exists between the side view angle and the front view angle. For example, there is a problem of whitening of a picture in a side view, particularly in an MVA panel, and thus, it is required to improve the display effect of the display panel.
In view of this, the present disclosure provides an image compensation apparatus, including: a data receiving circuit configured to receive image data to be processed, wherein the image data to be processed includes a plurality of pixels each having a corresponding first pixel value to be processed; a viewing angle compensation value determining circuit configured to determine a subject viewing angle compensation value and an auxiliary viewing angle compensation value, each corresponding to a target pixel, from a first pixel value to be processed of at least one target pixel corresponding to a predetermined region in the display region among the plurality of pixels, wherein the auxiliary viewing angle compensation value is used for compensating a viewing angle deviation of the predetermined region by the auxiliary subject viewing angle compensation value; 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.
It should be noted that the sequence numbers of the respective operations in the following steps are merely representative of the operations for description, and should not be construed as representing the order of execution of the respective operations. This step need not be performed in the order shown unless explicitly stated.
Fig. 1 illustrates a schematic configuration of an image compensation apparatus according to an embodiment of the present disclosure.
As shown in fig. 1, the image compensation apparatus 100 may include a data receiving circuit 110, a viewing angle compensation value determining circuit 120, and a viewing angle compensation value processing circuit 130.
The data receiving circuit 110 may be configured to receive image data to be processed. The image data to be processed includes a plurality of pixels each having a corresponding first pixel value to be processed.
According to an embodiment of the present disclosure, the image data to be processed may be image data stored in the storage device in advance. The image compensation means may be connected to the storage device such that the image compensation means receives the image data to be processed stored in the storage device.
According to an embodiment of the present disclosure, the image data to be processed may be image data to be processed about a person, image data to be processed about a landscape, or image data to be processed about an object. It is to be understood that the disclosed embodiments are not so limited.
According to an embodiment of the present disclosure, the first pixel value to be processed may be a value related to the display luminance of the target pixel, and may also be a value related to the display color of the target pixel.
The viewing angle compensation value determining circuit 120 may be configured to determine the main viewing angle compensation value and the auxiliary viewing angle compensation value, which each correspond to at least one target pixel from among the plurality of pixels, based on a first pixel value to be processed of the at least one target pixel corresponding to a predetermined region in the display region. The auxiliary viewing angle compensation value is used for compensating the viewing angle deviation of the predetermined area by the auxiliary body viewing angle compensation value.
According to an embodiment of the present disclosure, the display area may be an area for displaying a screen in the display panel. The predetermined area may be an area in which processing is required in the image data to be processed. The pixels within the predetermined area are target pixels.
For example, the predetermined area may be the entire area of the display area, or may be a partial area in the display area.
For example, the partial region may be determined from first to-be-processed pixel values of a plurality of pixels in the to-be-processed image data.
For example, in the case where the first pixel value to be processed is a value related to the display luminance of the target pixel, a predetermined region related to the luminance may be determined from the first pixel value to be processed. In the case where the first pixel value to be processed is a value related to the display color of the target pixel, a predetermined region related to the color may be determined from the first pixel value to be processed.
According to an embodiment of the present disclosure, the subject viewing angle compensation value may be a value for adjusting a viewing angle deviation of a predetermined area, thereby reducing the viewing angle deviation of the image data to be processed in the predetermined area. The auxiliary viewing angle compensation value may be a value that further adjusts the viewing angle deviation of the predetermined area, thereby further reducing the viewing angle deviation of the image data to be processed in the predetermined area.
The viewing angle compensation value processing circuit 130 may be 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 the target image data based on the target pixel value.
According to an embodiment of the present disclosure, a first pixel value to be processed of a target pixel may be processed according to a main viewing angle compensation value and an auxiliary viewing angle compensation value.
For example, the first pixel value to be processed of the at least one target pixel may be increased or decreased according to the main viewing angle compensation value and the auxiliary viewing angle compensation value to obtain the target pixel value, or an expansion multiple or a reduction multiple of the first pixel value to be processed of the at least one target pixel may be calculated according to the main viewing angle compensation value and the auxiliary viewing angle compensation value. And processing the first pixel value to be processed of at least one target pixel according to the expansion multiple or the reduction multiple to obtain a target pixel value of the target pixel. It is to be understood that the disclosed embodiments are not so limited.
According to the embodiment of the disclosure, the target image data is obtained by replacing the first pixel value in the image data to be processed with the target pixel value, and the display is performed according to the target image data.
In the process of displaying images, the liquid crystal display panel is easy to generate visual angle deviation due to different viewing visual angles, so that the display effect is reduced. According to the technical solution of the embodiments of the present disclosure, the main viewing angle compensation value and the auxiliary viewing angle compensation value corresponding to the target pixel may be determined according to the first to-be-processed pixel value of the target pixel in the predetermined area of the display area. The main body visual angle compensation value is used for adjusting visual angle deviation of a preset area, and the auxiliary visual angle compensation value is used for assisting the main body visual angle compensation value to adjust the visual angle deviation of the preset area, so that the visual angle deviation of the preset area is reduced, and the display effect of the liquid crystal display panel is improved.
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 may be incorporated in one module to be implemented, or any of the modules may be split into a plurality of modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments 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 may 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 a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable way of integrating or packaging the circuits, or in any one of or a suitable combination of three of software, hardware, and firmware. 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 may be at least partially implemented as computer program modules, which when executed, may perform corresponding functions.
According to embodiments of the present disclosure, the auxiliary viewing angle compensation value may include an edge compensation gain value and a first color compensation gain value.
The viewing angle compensation value processing circuit may be further configured to: and obtaining 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.
The subject view angle compensation value is processed based on the fused compensation gain value corresponding to the target pixel, and an intermediate view angle compensation value corresponding to the target pixel is determined.
And processing 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 a target pixel value of the target pixel.
According to the embodiment of the disclosure, the edge compensation gain value may be a value for compensating edges of objects, buildings, figures and the like in the image data to be processed, so as to eliminate jaggy feeling and grainy feeling of edge contours in the image data to be processed and improve display effect.
According to the embodiment of the disclosure, the first color compensation gain value may be a value for enhancing a specific color in the image data to be processed, so as to enhance color display of a predetermined area and enhance display effect. For example, it may be a skin tone of a human body or a more vivid color in the image data to be processed, it may be a red flower, a red wall, a green grass, a blue sky, or the like.
According to embodiments of the present disclosure, the edge compensation gain value and the first color compensation gain value may be multiplied to obtain a fused compensation gain value.
According to embodiments of the present disclosure, the subject viewing angle compensation value may be increased or decreased according to the fusion compensation gain value to determine the intermediate viewing angle compensation value.
According to an embodiment of the present disclosure, the processing of 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 may be processing the first to-be-processed pixel value of the target pixel according to an adjustment ratio 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.
According to the embodiment of the disclosure, the fusion gain compensation value is used for adjusting the main body view angle compensation value, so that the granular sense and the jaggy sense of a preset area can be further reduced on the basis of reducing the view angle deviation, the color display of an image is improved, and the display effect of the image is enhanced.
Fig. 2 illustrates a schematic configuration diagram of a viewing angle compensation value determining circuit according to an embodiment of the present disclosure. Fig. 3 shows a schematic view of a viewing angle of a display panel.
As shown in fig. 2, the viewing angle compensation value determining circuit 220 may include a color compensation sub-circuit 221, a viewing angle compensation sub-circuit 222, and an edge compensation sub-circuit 223.
As shown in fig. 3, in the viewing schematic 310 of the display panel, a first electrode plate 311, a second electrode plate 312, liquid crystal molecules 313, a first viewing angle 314, a second viewing angle 315, and a third viewing angle 316 are included. The display illustration 320 includes a first screen 321 corresponding to the first viewing angle 314, a second screen 322 corresponding to the second viewing angle 315, and a third screen 323 corresponding to the third viewing angle 316. It can be seen that the viewing angle deviation of the display area is large at different viewing angles, so that the pictures viewed at the different viewing angles are different.
The color compensation sub-circuit 221 in fig. 2 is described below.
According to embodiments of the present disclosure, the auxiliary viewing angle compensation value may include a second color compensation gain value. The second color compensation gain value may be the same as the first color compensation gain value or may be different from the first color compensation gain value.
For example, in the case where the second color compensation gain value is a viewing angle deviation for the auxiliary body viewing angle compensation value alone to compensate for a predetermined region, the second color compensation gain value may be different from the first color compensation gain value. In the case where the second color compensation value is used to assist the subject viewing angle compensation value in compensating for the viewing angle deviation of the predetermined region after being fused with the edge compensation gain value, the second color compensation gain value may be the same as the first color compensation gain value.
According to an embodiment of the present disclosure, the color compensation subcircuit 221 may be configured to: and 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 a second color compensation gain value corresponding to the target pixel according to the second pixel value to be processed of the target pixel.
According to an embodiment of the present disclosure, the color space of the first pixel value to be processed may 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, i.e. if a certain component of a color changes to some extent, then the color is likely to change. Therefore, in order to better enhance the color of the image data to be processed and reduce the color shift problem, the first pixel value to be processed is subjected to color space conversion to obtain a second pixel value to be processed of the target pixel, and the color space of the second pixel value to be processed can be a hue-saturation-color brightness intensity (Hue Saturation Value, HSV) color space.
According to the embodiment of the disclosure, the second color compensation gain value corresponding to the target pixel may be determined according to the magnitude of the second to-be-processed pixel value of the target pixel.
According to the embodiment of the disclosure, since the second pixel value to be processed is color space converted, determining the second color compensation value according to the second pixel value to be processed can reduce the color shift problem caused by the component color change.
According to an embodiment of the present disclosure, the color compensation subcircuit 321 may also be configured to: and determining a second color compensation gain value corresponding to the target pixel according to the color compensation gain value relation set and the second pixel value to be processed of the target pixel.
The set of color compensation gain value relationships includes at least one color compensation gain value relationship that characterizes a relationship between a first candidate pixel value and a candidate color compensation gain value, the first candidate pixel value being consistent with a color space of a second pixel value to be processed.
According to embodiments of the present disclosure, the set of color compensation gain value relationships may be stored in a color compensation gain value lookup table. A first candidate pixel value that is the same as the second pixel value to be processed may be determined from the set of color compensation gain value relationships, such that a candidate color compensation gain value is determined from the first candidate pixel value and the color compensation gain value relationship corresponding to the first candidate pixel value, resulting in a second color compensation gain value.
According to the embodiment of the disclosure, the second color compensation gain value can be rapidly determined by presetting the color compensation gain value relation set of the first candidate pixel value and the candidate color compensation gain value, so that the processing speed of the image data to be processed is improved.
According to an embodiment of the present disclosure, the color compensation subcircuit 321 may also be configured to: a first matched pixel value is determined from the color compensation gain value relationship set. The first matched pixel value characterizes a first candidate pixel value matched to the second pixel value to be processed.
A candidate color compensation gain value corresponding to the first matched pixel value is determined as a second color compensation gain value corresponding to the target pixel.
According to an embodiment of the present disclosure, the first matching pixel value may be determined as the same first candidate pixel value as the second pixel value to be processed. From the color compensation gain value relationship for the first candidate pixel value, a candidate color compensation gain value corresponding to the first candidate pixel value may be determined.
The candidate color compensation gain value may be determined as a candidate color compensation gain value corresponding to the target pixel, such that a second color compensation gain value corresponding to the target pixel is determined from the candidate color compensation gain value.
According to the embodiment of the disclosure, the color compensation gain relation set is a relation between the first matching pixel value and the candidate color compensation gain value, so that the second color compensation gain value corresponding to the target pixel can be determined through the color compensation gain relation set, the target pixel can perform color compensation on the target pixel according to the second color compensation gain value, and color display of an image is improved.
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.
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.
The color compensation gain value relation set includes a hue compensation gain value relation set, a saturation compensation gain value relation set, and a color brightness intensity compensation gain value relation set.
The color compensation subcircuit 221 may also be configured to: and determining the tone compensation gain value corresponding to the target pixel according to the tone compensation gain value relation set and the to-be-processed tone value of the target pixel.
And determining the saturation compensation gain value corresponding to the target pixel according to the saturation compensation gain value relation set and the saturation value to be processed of the target pixel.
And determining the color brightness intensity compensation gain value corresponding to the target pixel according to the color brightness intensity compensation gain value relation set and the color brightness intensity value to be processed of the target pixel.
According to an embodiment of the present disclosure, the color space of the second pixel value to be processed comprises three components. Thus, the second to-be-processed pixel value may include a to-be-processed hue value on the hue component, a to-be-processed saturation value on the saturation component, and a to-be-processed color brightness intensity value on the color brightness intensity component. Accordingly, the second color compensation gain value includes a to-be-processed hue compensation gain value corresponding to a to-be-processed hue value on the hue component, a to-be-processed saturation compensation gain value corresponding to a to-be-processed saturation value on the saturation component, and a to-be-processed color brightness intensity compensation gain value corresponding to a to-be-processed color brightness intensity value on the color brightness intensity component.
The first candidate pixel value may 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 values include a candidate hue compensation gain value corresponding to a candidate hue value on the hue component, a candidate saturation compensation gain value corresponding to a candidate saturation value on the saturation component, and a candidate color brightness intensity compensation gain value corresponding to a candidate color brightness intensity value on the color brightness intensity component.
The color compensation gain value relationship set may include a hue compensation gain value relationship set on the hue component, a saturation compensation gain value relationship set on the saturation component, and a color brightness intensity compensation gain value relationship set on the color brightness intensity component.
According to embodiments of the present disclosure, a candidate hue value corresponding to a target pixel may be determined from a set of hue compensation gain value relationships from a target pixel's to-be-processed hue value. A candidate tone compensation gain value corresponding to the target pixel is determined from the candidate tone values. A tone compensation gain value corresponding to the target pixel is then determined based on the candidate tone compensation gain value.
According to embodiments of the present disclosure, a candidate saturation value corresponding to a target pixel may be determined from a saturation compensation gain value relationship set from a saturation value to be processed of the target pixel. A candidate saturation compensation gain value corresponding to the target pixel is determined from the candidate saturation values. Then, a saturation compensation gain value corresponding to the target pixel is determined based on the candidate saturation compensation gain value.
According to embodiments of the present disclosure, a candidate color bright intensity value corresponding to a target pixel may be determined from a set of color bright intensity compensation gain value relationships from a target pixel's color bright intensity value to be processed. A candidate color brightness intensity compensation gain value corresponding to the target pixel is determined from the candidate color brightness intensity value. A color brightness intensity compensation gain value corresponding to the target pixel is then determined based on the candidate color brightness intensity compensation gain value.
According to the embodiment of the disclosure, the tone compensation gain value corresponding to the target pixel may be determined using the tone compensation gain value relationship set, the saturation compensation gain value corresponding to the target pixel may be determined using the saturation compensation gain value relationship set, the color brightness intensity compensation gain value corresponding to the target pixel may be determined using the color brightness intensity compensation gain value relationship set, and the target pixel may be pertinently compensated in terms of tone, saturation, or color brightness degree by individually determining the tone compensation gain value, the saturation compensation gain value, and the color brightness intensity compensation gain value of the target pixel, thereby improving the display effect of the image.
The viewing angle compensation sub-circuit 222 of fig. 2 will be described in detail below in conjunction with fig. 2. The viewing angle compensation subcircuit 222 may be configured to: and determining a main body view angle compensation value corresponding to the target pixel according to the view angle compensation value relation set and the first pixel value to be processed of the target pixel.
The set of view compensation value relationships includes at least one view compensation value relationship that characterizes a relationship between a second candidate pixel value and a candidate view compensation value, the second candidate pixel value being consistent with a color space of the first pixel value to be processed.
According to embodiments of the present disclosure, the view compensation value relationship set may be stored in advance in the view compensation value lookup table. The viewing angle compensation value lookup table may be represented by a graph.
Fig. 4 shows a schematic diagram of a view compensation relationship set according to an embodiment of the present disclosure.
As shown in fig. 4, the abscissa represents the second candidate pixel values, and the ordinate represents the candidate view compensation values, and each of the second candidate pixel values may correspond to two candidate view compensation values. The first curve 410 characterizes a larger candidate view compensation value and the second curve 420 characterizes a smaller candidate view compensation value with respect to the same candidate pixel value.
Fig. 5 schematically illustrates a determination diagram of a subject view angle compensation value according to an embodiment of the present disclosure.
As shown in fig. 5, each square characterizes one pixel in the image data to be processed, it being understood that the number of pixels in the figure is merely an example and does not characterize the number of pixels in the actual image data to be processed. Every two pixels may be grouped. As shown in fig. 5, a first set of target pixels 510 of darker color may characterize the subject viewing angle compensation value as determined according to a second curve in the set of viewing angle compensation relationships, and a second set of target pixels 520 of lighter color may characterize the subject viewing angle compensation value as determined according to a first curve in the set of viewing angle compensation relationships. The brightness effect of the whole image data to be processed can be processed instead of randomly enhancing or weakening the brightness of pixels in a certain area, so that the brightness is uniformly adjusted, and the viewing angle deviation is reduced on the premise of ensuring the display effect of the image data to be processed.
According to an embodiment of the present disclosure, the relationship of the first curve, the second curve, and the second candidate pixel value is as shown in the following formula (1):
wherein gray characterizes the second candidate pixel value, lut_h (gray) characterizes the subject view compensation value determined from the second candidate pixel value and the first curve, and lut_l (gray) characterizes the subject view compensation value determined from the second candidate pixel value and the second curve.
According to embodiments of the present disclosure, the brightness of the image data to be processed may also be adjusted according to other rules.
For example, one approach is: with a group of four pixels immediately adjacent in each row. The first pixel determines a viewing angle compensation value according to a first curve, the second pixel determines a viewing angle compensation value according to a second curve, the third pixel determines a viewing angle compensation value according to the first curve, and the fourth pixel determines a viewing angle compensation value according to the second curve. The viewing angle compensation value is determined in the pixels of the next row according to a different curve from the previous row.
For example, another approach is: with a group of four pixels immediately adjacent in each row. The first pixel determines a viewing angle compensation value according to a first curve, the second pixel determines a viewing angle compensation value according to a second curve, the third pixel determines a viewing angle compensation value according to a second curve, and the fourth pixel determines a viewing angle compensation value according to the first curve. The viewing angle compensation value is determined in the pixels of the next row according to a different curve from the previous row. It is to be understood that the present disclosure is not so limited.
According to the embodiment of the disclosure, the second candidate pixel value which is the same as the first pixel value to be processed can be determined from the view compensation value relation set, so that the candidate view compensation value is determined according to the second candidate pixel value and the view compensation value relation corresponding to the second candidate pixel value, and the main body view compensation value is obtained.
According to the embodiment of the disclosure, the main body view angle compensation value can be rapidly determined by presetting the view angle compensation value relation set of the second candidate pixel value and the candidate view angle compensation value, so that the processing speed of the image data to be processed is further improved.
According to an embodiment of the present disclosure, the viewing angle compensation subcircuit 222 may also be configured to: a second matched pixel value is determined from the set of view angle compensation relationships. The second matched pixel value characterizes a second candidate pixel value matched to the first candidate pixel value.
A candidate view compensation value corresponding to the second matched pixel value is determined as a subject view compensation value corresponding to the target pixel.
According to an embodiment of the present disclosure, the second matched pixel value may be determined from the same second candidate pixel value as the first candidate pixel value. From the view compensation value relationship of the second candidate pixel value, a candidate view compensation value corresponding to the second candidate pixel value may be determined. The candidate view compensation value may be determined as a candidate view compensation value corresponding to the target pixel, thereby determining a view compensation value corresponding to the target pixel.
According to an embodiment of the present disclosure, the first pixel value to be processed includes a red pixel value to be processed, a green pixel value to be processed, and a blue pixel value to be processed. The viewing angle compensation value includes: a red pixel viewing angle compensation value to be processed corresponding to the red pixel value to be processed, a green pixel viewing angle compensation value to be processed corresponding to the green pixel value to be processed, and a blue pixel viewing angle compensation value to be processed corresponding to the blue pixel value to be processed.
The second candidate pixel value includes a candidate red pixel view value, a candidate green pixel view value, and a candidate blue pixel view value. The candidate view compensation values include a candidate red pixel view compensation value corresponding to a candidate red pixel view value, a candidate green pixel view compensation value corresponding to a candidate green pixel view value, and a candidate blue pixel view compensation value corresponding to a candidate blue pixel view value.
The viewing angle compensation value relationship set includes a red pixel viewing angle compensation value relationship set, a green pixel viewing angle compensation value relationship set, and a blue pixel viewing angle compensation value relationship set.
The view compensation subcircuit 222 may also be configured to: and determining the viewing angle compensation value of the red pixel to be processed corresponding to the target pixel according to the viewing angle compensation value relation set of the red pixel and the red pixel value to be processed of the target pixel. And determining the to-be-processed green pixel visual angle compensation value corresponding to the target pixel according to the green pixel visual angle compensation value relation set and the to-be-processed green pixel value of the target pixel. And determining a to-be-processed blue pixel visual angle compensation value corresponding to the target pixel according to the blue pixel visual angle compensation value relation set and the to-be-processed blue pixel value of the target pixel.
According to an embodiment of the present disclosure, the view compensation relationship set is a relationship between the second matched pixel value and the candidate view compensation value. Therefore, the main viewing angle compensation value corresponding to the target pixel can be determined through the viewing angle compensation relationship set, so that the target pixel can perform viewing angle compensation on the target pixel according to the main viewing angle compensation value, and color cast phenomenon in the display panel is reduced.
The operation of the edge compensation sub-circuit 223 will be described in detail below in connection with fig. 2. The edge compensation subcircuit 223 may be configured to: and determining the edge compensation gain value corresponding to the target pixel according to the edge compensation gain value relation set and the first pixel value to be processed of the target pixel.
The set of edge compensation gain value relationships includes at least one edge compensation gain value relationship that characterizes a relationship between a third candidate pixel value and candidate edge compensation gain values, the third candidate pixel value being consistent with a color space of the first pixel value to be processed.
According to embodiments of the present disclosure, the set of edge compensation gain value relationships may be pre-stored in an edge compensation gain value lookup table. A third candidate pixel value that is the same as the first pixel value to be processed may be determined from the set of edge compensation gain value relationships. And determining a candidate edge compensation gain value according to the relation between the third candidate pixel value and the edge compensation gain value corresponding to the third candidate pixel value, so as to obtain the edge compensation gain value.
According to an embodiment of the present disclosure, an edge region of image data to be processed may be detected by a Sobel algorithm, and the edge region is determined as a predetermined region in a display region.
For example, the coordinates of the pixel block target pixel of 3*3, which is determined with the target pixel as the center pixel, are set to (X, Y), the first direction may be the X direction, and the second direction may be the Y direction. The intensity of the target pixel in the first direction can be calculated using the following equation (2):
/>
wherein G is x Characterizing the intensity of the target pixel in a first direction, a characterizes the pixel block of 3*3.
The intensity of the target pixel in the second direction can be calculated using the following equation (3):
wherein G is y The intensity of the target pixel in the second direction is characterized.
According to the embodiments of the present disclosure, the intensity of the target pixel may be determined from the intensity of the target pixel in the first direction and the intensity in the second direction. An edge region of the target pixel may be determined from the intensities of the plurality of target pixels.
According to the embodiment of the disclosure, the edge compensation gain value can be rapidly determined by presetting the third candidate pixel value and the candidate edge compensation gain value, so that the processing speed of the image data to be processed is improved.
According to an embodiment of the present disclosure, the edge compensation subcircuit 323 may also be configured to: a third matched pixel value is determined from the edge compensated gain value relationship set. The third matched pixel value characterizes a third candidate pixel value matched to the first pixel value to be processed.
The candidate edge compensation gain value corresponding to the third matched pixel value is determined as the edge compensation gain value corresponding to the target pixel.
The operation of determining the third matched pixel value according to the embodiments of the present disclosure may refer to the operation of determining the second matched pixel value, which is not described herein. The operation of determining the edge compensation gain value may refer to the operation of determining the subject viewing angle compensation value, and will not be described herein.
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.
The edge compensation subcircuit 223 may also be configured to: and determining the edge compensation gain value of the red pixel to be processed corresponding to the target pixel according to the relationship set of the edge compensation gain value of the red pixel and the red pixel value to be processed of the target pixel.
And determining the to-be-processed green pixel edge compensation gain value corresponding to the target pixel according to the green pixel edge compensation gain value relation set and the to-be-processed green pixel value of the target pixel.
And determining the to-be-processed blue pixel edge compensation gain value corresponding to the target pixel according to the blue pixel edge compensation gain value relation set and the to-be-processed blue pixel value of the target pixel.
According to an embodiment of the present disclosure, the set of edge compensation gain value relationships is a relationship between the third matched pixel value and the candidate edge compensation gain value. Therefore, through the relation set of the edge compensation gain values, the edge compensation gain value corresponding to the target pixel can be determined, so that the target pixel can carry out edge compensation on the target data according to the edge compensation gain value, and the saw tooth sense and the graininess sense of the edge outline of the image in the display panel are reduced.
Fig. 6 shows a flow diagram of an image compensation method according to an embodiment of the present disclosure.
As shown in fig. 6, the image compensation method may include operations S610 to S630.
In operation S610, image data to be processed is received. The image data to be processed includes a plurality of pixels each having a corresponding first pixel value to be processed.
For example, the operation S610 may refer to the data receiving circuit 110 of the above embodiment, and will not be described herein.
In operation S620, a main viewing angle compensation value and an auxiliary viewing angle compensation value, each corresponding to a target pixel, are determined according to a first pixel value to be processed of at least one target pixel corresponding to a predetermined region in a display region among a plurality of pixels. The auxiliary viewing angle compensation value is used for compensating the viewing angle deviation of the predetermined area by the auxiliary body viewing angle compensation value.
For example, the operation S620 may refer to the viewing angle compensation value determining circuit 120 of the above embodiment, and will not be described herein.
In operation S630, the first pixel value to be processed of the target pixel is processed 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 the target image data is obtained based on the target pixel value.
For example, the operation S630 may refer to the viewing angle compensation value processing circuit 130 of the above embodiment, and will not be described herein.
Fig. 7 illustrates a schematic structure of a display device according to an embodiment of the present disclosure.
As shown in fig. 7, the display apparatus 700 includes an image compensation device 710 and a display panel 720 according to an embodiment of the present disclosure. The image compensation apparatus 710 has a circuit configuration as shown in fig. 1 and 2 for performing, for example, an image compensation method according to an embodiment of the present disclosure, and outputting target image data. The display panel 720 is configured to display target image data. The display panel may be of various structures, which the present disclosure is not limited to.
Fig. 8 shows a block diagram of an electronic device adapted to implement an image compensation method according to an embodiment of the present disclosure.
As shown in fig. 8, an electronic device 800 according to an embodiment of the present disclosure includes a processor 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 801 may also include on-board memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the disclosure.
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 by a bus 804. The processor 801 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 802 and/or the RAM 803. Note that the program may be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 800 may also include an input/output (I/O) interface 805, the input/output (I/O) interface 805 also being connected to the bus 804. The electronic device 800 may also include one or more of the following components connected to an input/output (I/O) interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to an input/output (I/O) interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium described above carries one or more programs, which when executed, implement the image compensation method according to the embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, 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 suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 802 and/or RAM 803 and/or one or more memories other than ROM 802 and RAM 803 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code, when executed in a computer system, causes the computer system to implement the image compensation methods provided by embodiments of the present disclosure.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed, and downloaded and installed in the form of a signal on a network medium, and/or from a removable medium 811 via a communication portion 809. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may 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 may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the modules, sub-modules, units, or sub-units may be implemented in one module according to embodiments of the present disclosure. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may 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 in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which when executed, may perform the corresponding functions.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (14)

1. An image compensation apparatus comprising:
a data receiving circuit configured to receive image data to be processed, wherein the image data to be processed includes a plurality of pixels each having a corresponding first pixel value to be processed;
a viewing angle compensation value determining circuit configured to determine a subject viewing angle compensation value and an auxiliary viewing angle compensation value, each corresponding to at least one target pixel, of the plurality of pixels, from a first pixel value to be processed of the at least one target pixel corresponding to a predetermined region of a display region, wherein the auxiliary viewing angle compensation value is used to assist the subject viewing angle compensation value in compensating for a viewing angle deviation of the predetermined region; and
And the visual angle compensation value processing circuit is configured to process the first pixel value to be processed of the target pixel based on the main visual angle compensation value and the auxiliary visual angle compensation value to obtain a target pixel value of the target pixel, and obtain target image data based on the target pixel value.
2. The image compensation apparatus of claim 1, wherein the auxiliary view compensation value includes an edge compensation gain value and a first color compensation gain value;
wherein the viewing angle compensation value processing circuit is further configured to:
obtaining 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;
processing the subject view angle compensation value based on the fused compensation gain value corresponding to the target pixel, determining an intermediate view angle compensation value corresponding to the target pixel; and
and processing 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 a target pixel value of the target pixel.
3. The image compensation apparatus according to claim 1 or 2, wherein the auxiliary view compensation value includes a second color compensation gain value; the viewing angle compensation value determining circuit comprises a color compensation sub-circuit;
Wherein the color compensation subcircuit is configured to:
performing color space conversion on a first pixel value to be processed of the target pixel to obtain a second pixel value to be processed of the target pixel; and
and determining a second color compensation gain value corresponding to the target pixel according to the second pixel value to be processed of the target pixel.
4. The image compensation apparatus of claim 3, wherein the color compensation subcircuit is further configured to:
determining a second color compensation gain value corresponding to the target pixel according to the color compensation gain value relation set and a second pixel value to be processed of the target pixel;
wherein the set of color compensation gain value relationships includes at least one color compensation gain value relationship that characterizes a relationship between a first candidate pixel value and a candidate color compensation gain value, the first candidate pixel value being consistent with a color space of the second pixel value to be processed.
5. The image compensation apparatus of claim 4, wherein the color compensation subcircuit is further configured to:
determining a first matched pixel value from the color compensation gain value relationship set, wherein the first matched pixel value characterizes a first candidate pixel value matched with the second pixel value to be processed; and
A candidate color compensation gain value corresponding to the first matched pixel value is determined as a second color compensation gain value corresponding to the target pixel.
6. The image compensation apparatus of claim 4, wherein the set of color compensation gain value relationships comprises a set of hue compensation gain value relationships, a set of saturation compensation gain value relationships, and a set of color brightness intensity compensation gain value relationships;
wherein the color compensation subcircuit is further configured to:
determining a tone compensation gain value corresponding to the target pixel according to the tone compensation gain value relation set and the to-be-processed tone value of the target pixel;
determining a saturation compensation gain value corresponding to the target pixel according to the saturation compensation gain value relation set and the saturation value to be processed of the target pixel; and
and determining a color brightness intensity compensation gain value corresponding to the target pixel according to the color brightness intensity compensation gain value relation set and the color brightness intensity value to be processed of the target pixel.
7. The image compensation apparatus according to claim 3, wherein the viewing angle compensation value determination circuit further comprises a viewing angle compensation sub-circuit;
Wherein the viewing angle compensation subcircuit is configured to:
determining a main body visual angle compensation value corresponding to the target pixel according to the visual angle compensation value relation set and a first pixel value to be processed of the target pixel;
wherein the set of view compensation value relationships comprises at least one view compensation value relationship characterizing a relationship between a second candidate pixel value and a candidate view compensation value, the second candidate pixel value being consistent with a color space of the first pixel value to be processed.
8. The image compensation apparatus of claim 7, wherein the view compensation subcircuit is further configured to:
determining a second matched pixel value from the set of view angle compensation relationships, wherein the second matched pixel value characterizes a second candidate pixel value that matches the first candidate pixel value; and
and determining a candidate view compensation value corresponding to the second matched pixel value as a subject view compensation value corresponding to the target pixel.
9. The image compensation apparatus of claim 1, wherein the auxiliary view compensation value comprises an edge compensation gain value; the viewing angle compensation value determining circuit further comprises an edge compensation sub-circuit;
Wherein the edge compensation subcircuit is configured to:
determining an edge compensation gain value corresponding to the target pixel according to the edge compensation gain value relation set and a first pixel value to be processed of the target pixel;
wherein the set of edge compensation gain value relationships comprises at least one edge compensation gain value relationship characterizing 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 pixel value to be processed.
10. The image compensation apparatus of claim 9, wherein the edge compensation subcircuit is further configured to:
determining a third matched pixel value from the edge compensation gain value relationship set, wherein the third matched pixel value characterizes a third candidate pixel value matched to the first pixel value to be processed; and
and determining a candidate edge compensation gain value corresponding to the third matched pixel value as an edge compensation gain value corresponding to the target pixel.
11. A display device, comprising:
the image compensation apparatus according to any one of claims 1 to 10; and
and a display panel configured to display the target image data.
12. An image compensation method, comprising:
receiving image data to be processed, wherein the image data to be processed comprises a plurality of pixels, and each pixel has a corresponding first pixel value to be processed;
determining a main viewing angle compensation value and an auxiliary viewing angle compensation value corresponding to at least one target pixel in a display area according to a first pixel value to be processed of the at least one target pixel corresponding to the predetermined area in the plurality of pixels, wherein the auxiliary viewing angle compensation value is used for assisting the main viewing angle compensation value to compensate the viewing angle deviation of the predetermined area; and
and processing the first pixel value to be processed of the target pixel based on the main visual angle compensation value and the auxiliary visual angle compensation value to obtain a target pixel value of the target pixel, and obtaining target image data based on the target pixel value.
13. An electronic device, comprising:
one or more processors;
a memory for 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 of claim 12.
14. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of claim 12.
CN202311103122.9A 2023-08-29 2023-08-29 Image compensation device, method, electronic device, storage medium and display device Pending CN116994535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311103122.9A CN116994535A (en) 2023-08-29 2023-08-29 Image compensation device, method, electronic device, storage medium and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311103122.9A CN116994535A (en) 2023-08-29 2023-08-29 Image compensation device, method, electronic device, storage medium and display device

Publications (1)

Publication Number Publication Date
CN116994535A true CN116994535A (en) 2023-11-03

Family

ID=88528381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311103122.9A Pending CN116994535A (en) 2023-08-29 2023-08-29 Image compensation device, method, electronic device, storage medium and display device

Country Status (1)

Country Link
CN (1) CN116994535A (en)

Similar Documents

Publication Publication Date Title
CN108877694B (en) Double-layer liquid crystal screen, backlight brightness control method and device and electronic equipment
KR101138852B1 (en) Smart clipper for mobile displays
JP5522918B2 (en) System and method for selectively processing out-of-gamut color conversion
US7656375B2 (en) Image-processing device and method for enhancing the luminance and the image quality of display panels
US11270657B2 (en) Driving method, driving apparatus, display device and computer readable medium
WO2018000700A1 (en) Image processing apparatus and method for correcting color shift in displayed image
US9886882B2 (en) Grayscale compensation method
US8791952B2 (en) Method and system of immersive generation for two-dimension still image and factor dominating method, image content analysis method and scaling parameter prediction method for generating immersive sensation
US9710892B2 (en) Image enhancement method and image processing apparatus thereof
US11915661B2 (en) Backlight adjusting method of display device, backlight adjusting device and display device
WO2019119794A1 (en) Driving method and driving apparatus for display apparatus
US10204568B2 (en) Driving methods and driving devices of display panels
US7826680B2 (en) Integrated histogram auto adaptive contrast control (ACC)
US10553165B2 (en) Method and apparatus for detecting high-frequency component in image
WO2016070455A1 (en) Liquid crystal panel and pixel unit setting method thereof
CN114255716B (en) Visual angle compensation method and device of display panel and display panel
US20090263037A1 (en) Method and Apparatus for Enhancing the Dynamic Range of an Image
US7809210B2 (en) Smart grey level magnifier for digital display
US20200160492A1 (en) Image Adjustment Method and Device, Image Display Method and Device, Non-Transitory Storage Medium
KR101279576B1 (en) Method for generating panorama image within digital image processing apparatus
CN116994535A (en) Image compensation device, method, electronic device, storage medium and display device
EP3550508B1 (en) System and method for dynamic range expansion of digital image
CN106128376A (en) The data processing method of transparent liquid crystal display
US20070236433A1 (en) Control method and control apparatus for liquid crystal display
US20180102108A1 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination