CN115273723A - Image processing method and device, display device, electronic device and storage medium - Google Patents
Image processing method and device, display device, electronic device and storage medium Download PDFInfo
- Publication number
- CN115273723A CN115273723A CN202211001065.9A CN202211001065A CN115273723A CN 115273723 A CN115273723 A CN 115273723A CN 202211001065 A CN202211001065 A CN 202211001065A CN 115273723 A CN115273723 A CN 115273723A
- Authority
- CN
- China
- Prior art keywords
- color temperature
- temperature compensation
- value
- adjusting
- rgb values
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/22—Control 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 using controlled light sources
- G09G3/30—Control 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 using controlled light sources using electroluminescent panels
- G09G3/32—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/22—Control 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 using controlled light sources
- G09G3/30—Control 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 using controlled light sources using electroluminescent panels
- G09G3/32—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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/3433—Control 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 light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
- G09G3/344—Control 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 light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on particles moving in a fluid or in a gas, e.g. electrophoretic devices
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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/3433—Control 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 light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
- G09G3/348—Control 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 light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on the deformation of a fluid drop, e.g. electrowetting
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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/36—Control 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
- G09G3/3607—Control 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 for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0271—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0271—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
- G09G2320/0276—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0666—Adjustment of display parameters for control of colour parameters, e.g. colour temperature
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The present disclosure relates to an image processing method and apparatus, a display device, an electronic device, and a storage medium. The method comprises the following steps: acquiring color temperature compensation parameters of an input image; determining adjusting parameters for respectively adjusting the RGB values according to the color temperature compensation parameters; and adjusting the RGB value by adjusting the parameters to obtain the adjusted RGB value. According to the image processing method of the embodiment of the disclosure, the adjusting parameters of the RGB values can be respectively determined based on the color temperature compensation parameters, and the RGB values are respectively adjusted, so that the variation range of the saturation of the adjusted RGB values is reduced, the gray scale of the pixel is smoother without changing the number of the selectable voltages of the analog gamma control unit, the probability of color cast is reduced, and the method adjusts the RGB value output by the digital gamma control unit, does not directly adjust the analog gamma control unit, does not relate to the performance of the display equipment, and can expand the application range of the method.
Description
Technical Field
The present disclosure relates to the field of computers, and in particular, to an image processing method and apparatus, a display device, an electronic device, and a storage medium.
Background
In the related art, if white balance adjustment, for example, color temperature adjustment, needs to be performed on a displayed image, the color temperature adjustment may be performed by a Digital GAMMA Control unit (DGC) in a display device, for example, the color temperature of a full white screen may be adjusted by adjusting the highest value of RGB data of the displayed image, for example, the highest value of R is set to 255, the highest value of G is set to 230, the highest value of b is set to 204, the value of R in a pixel point may be converted into the highest value of R (for example, 255) × gray scale/255, the value of G may be converted into the highest value of G (for example, 230) × gray scale/255, the highest value of b (for example, 204) × gray scale/255, and the data may be adjusted in such a manner to change the color temperature, however, such an adjustment manner reduces the number of selectable voltages of the analog GAMMA Control unit, so that smoothness of the gray scale is reduced, and color cast problems may occur in pixels with low gray scales.
Alternatively, the white balance may be adjusted directly by an Analog GAMMA Control unit (Analog GAMMA Control), however, the adjustment performed by the Analog GAMMA Control unit requires that the display device can provide sufficient adjustment capability, and therefore, the adjustment method relates to the performance of the display device itself, and in the case of limited performance of the display device, the adjustment method has a limited application range.
Disclosure of Invention
In view of the above, the present disclosure provides an image processing method and apparatus, a display device, an electronic device, and a storage medium.
According to an aspect of the present disclosure, there is provided an image processing method including:
acquiring color temperature compensation parameters of an input image, wherein the color temperature compensation parameters compensate the color temperature of the input image by adjusting RGB values of a plurality of pixel points of the input image;
determining adjusting parameters for respectively adjusting the RGB values of a plurality of pixel points of the input image according to the color temperature compensation parameters;
and adjusting the RGB values of a plurality of pixel points of the input image through the adjusting parameters to obtain the adjusted RGB values.
In one possible implementation, acquiring a color temperature compensation parameter of an input image includes:
acquiring the range of color temperature compensation parameters;
and determining a range boundary of the color temperature compensation parameter as the color temperature compensation parameter if the acquired color temperature compensation parameter is not within the range of the color temperature compensation parameter.
In a possible implementation manner, the color temperature compensation parameter is a cold color compensation parameter when the color temperature compensation parameter is greater than a preset threshold, and the color temperature compensation parameter is a warm color compensation parameter when the color temperature compensation parameter is less than the preset threshold.
In a possible implementation manner, determining adjustment parameters for respectively adjusting RGB values of a plurality of pixel points of the input image according to the color temperature compensation parameter includes:
respectively determining color temperature compensation directions of the RGB values;
and respectively determining the adjusting parameters of the RGB values according to the color temperature compensation direction of the RGB values and the color temperature compensation parameters.
In one possible implementation manner, determining the color temperature compensation directions of the RGB values, respectively, includes:
the color temperature compensation direction of the B value is determined as a positive direction, and the color temperature compensation directions of the R value and the G value are determined as a negative direction.
In a possible implementation manner, determining the adjustment parameters of the RGB values according to the color temperature compensation directions of the RGB values and the color temperature compensation parameters respectively includes:
and determining an adjusting parameter of the B value according to the color temperature compensation direction of the B value and the color temperature compensation parameter.
In a possible implementation manner, determining the adjustment parameters of the RGB values according to the color temperature compensation directions of the RGB values and the color temperature compensation parameters respectively includes:
and determining the adjusting parameters of the R value and the G value according to the color temperature compensation directions of the R value and the G value, the color temperature compensation parameters and a preset amplitude adjusting coefficient.
In a possible implementation manner, adjusting, by the adjustment parameter, RGB values of a plurality of pixel points of the input image to obtain adjusted RGB values includes:
carrying out normalization processing on the RGB value to obtain a first RGB value;
multiplying the first RGB value by the corresponding adjusting parameter to obtain a second RGB value;
determining the second RGB value as the adjusted RGB value if the second RGB value is less than or equal to a preset threshold value.
In one possible implementation, the method further includes:
carrying out inverse normalization processing on the adjusted RGB value to obtain a third RGB value;
and obtaining an output image for display of the display equipment according to the third RGB value.
According to another aspect of the present disclosure, there is provided an image processing apparatus including:
the color temperature compensation parameter acquisition module is used for acquiring color temperature compensation parameters of an input image, and the color temperature compensation parameters compensate the color temperature of the input image by adjusting RGB values of a plurality of pixel points of the input image;
the adjusting parameter determining module is used for determining adjusting parameters for respectively adjusting the RGB values of a plurality of pixel points of the input image according to the color temperature compensation parameter;
and the adjusting module is used for adjusting the RGB values of the plurality of pixel points of the input image through the adjusting parameters to obtain the adjusted RGB values.
In a possible implementation manner, the color temperature compensation parameter obtaining module is further configured to: acquiring the range of color temperature compensation parameters; and determining a range boundary of the color temperature compensation parameter as the color temperature compensation parameter if the acquired color temperature compensation parameter is not within the range of the color temperature compensation parameter.
In a possible implementation manner, the color temperature compensation parameter is a cold color compensation parameter when the color temperature compensation parameter is greater than a preset threshold, and the color temperature compensation parameter is a warm color compensation parameter when the color temperature compensation parameter is less than the preset threshold.
In one possible implementation, the adjustment parameter determining module is further configured to: respectively determining color temperature compensation directions of the RGB values; and respectively determining the adjusting parameters of the RGB values according to the color temperature compensation direction of the RGB values and the color temperature compensation parameters.
In one possible implementation, the adjustment parameter determining module is further configured to: the color temperature compensation direction for the B value is determined as a positive direction, and the color temperature compensation directions for the R value and the G value are determined as negative directions.
In one possible implementation, the adjustment parameter determining module is further configured to: and determining an adjusting parameter of the B value according to the color temperature compensation direction of the B value and the color temperature compensation parameter.
In a possible implementation manner, adjusting parameters of the R value and the G value are determined according to color temperature compensation directions of the R value and the G value, the color temperature compensation parameters and a preset amplitude adjusting coefficient.
In one possible implementation, the adjusting module is further configured to: carrying out normalization processing on the RGB value to obtain a first RGB value; multiplying the first RGB value by the corresponding adjusting parameter to obtain a second RGB value; determining the second RGB value as the adjusted RGB value if the second RGB value is less than or equal to a preset threshold.
In one possible implementation, the apparatus further includes: the display module is used for carrying out inverse normalization processing on the adjusted RGB value to obtain a third RGB value; and obtaining an output image for display of the display equipment according to the third RGB value.
According to another aspect of the present disclosure, there is provided a display device including a plurality of display units and a processor configured to implement the above method by executing instructions.
In one possible implementation, the display unit includes a display panel, and the display panel includes at least one of a liquid crystal display panel, a micro light emitting diode display panel, a mini light emitting diode display panel, a quantum dot light emitting diode display panel, an organic light emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel, and a small-pitch display panel.
According to another aspect of the present disclosure, there is provided an electronic device including the above display device.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
According to another aspect of the present disclosure, there is provided a computer program product comprising computer readable code, or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, the processor in the electronic device performs the above method.
According to another aspect of the present disclosure, there is provided a driving chip for performing the image processing method.
According to the image processing method disclosed by the embodiment of the disclosure, the adjusting parameters of the RGB values can be respectively determined based on the color temperature compensation parameters, and the RGB values are respectively adjusted, rather than only reducing the gray scale of part of the values, so that the change range of the saturation of the adjusted RGB values is reduced, the gray scale of the pixel is smoother, the number of the optional voltages of the analog gamma control unit is not changed, the probability of the color cast problem is reduced, in addition, the RGB values output by the digital gamma control unit are adjusted, the analog gamma control unit is not directly adjusted, the performance of the display equipment is not related, and the application range of the method can be expanded.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
FIG. 1 shows a flow diagram of an image processing method according to an embodiment of the present disclosure;
FIG. 2 shows a schematic diagram of an image display according to an embodiment of the present disclosure;
FIG. 3 shows a schematic diagram of an application of an image processing method according to an embodiment of the present disclosure;
FIG. 4 shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure;
fig. 5 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In the description of the present disclosure, it is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like, as used herein, refer to an orientation or positional relationship indicated in the drawings, which is solely for the purpose of facilitating the description and simplifying the description, and does not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and, therefore, should not be taken as limiting the present disclosure.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present disclosure, "a plurality" means two or more unless specifically limited otherwise.
In the present disclosure, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integral; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or may be connected through the use of two elements or the interaction of two elements. The specific meaning of the above terms in the present disclosure can be understood by those of ordinary skill in the art as appropriate.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. Additionally, the term "at least one" herein means any one of a variety or any combination of at least two of a variety, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
The present disclosure provides an image processing method, which addresses problems in a white balance adjustment method in the related art.
Fig. 1 shows a flowchart of an image processing method according to an embodiment of the present disclosure. As shown in fig. 1, the method includes:
in step S11, a color temperature compensation parameter of an input image is obtained, and the color temperature compensation parameter compensates the color temperature of the input image by adjusting RGB values of a plurality of pixel points of the input image;
in step S12, determining adjustment parameters for respectively adjusting RGB values of a plurality of pixel points of the input image according to the color temperature compensation parameter;
in step S13, the RGB values of the plurality of pixels of the input image are adjusted by the adjustment parameter, so as to obtain adjusted RGB values.
According to the image processing method disclosed by the embodiment of the disclosure, the adjusting parameters of the RGB values can be respectively determined based on the color temperature compensation parameters, and the RGB values are respectively adjusted, rather than only reducing the gray scale of part of the values, so that the change range of the saturation of the adjusted RGB values is reduced, the gray scale of the pixel is smoother, the number of the optional voltages of the analog gamma control unit is not changed, the probability of the color cast problem is reduced, in addition, the RGB values output by the digital gamma control unit are adjusted, the analog gamma control unit is not directly adjusted, the performance of the display equipment is not related, and the application range of the method can be expanded.
In one possible implementation, when the display device displays an image, RGB values of respective pixels of the input image may be processed by the digital gamma control unit, thereby implementing various adjustment processes of the image, for example, adjusting color, brightness, gray scale, white balance, and the like of the image. After the adjustment processing, the RGB values of the plurality of pixel points of the image may change, the adjusted RGB values are obtained, the adjusted RGB values may be input to the analog gamma control unit, and the analog gamma control unit may generate an analog voltage based on the adjusted RGB values, thereby controlling the display device to display the adjusted image.
Fig. 2 is a schematic diagram illustrating an image display according to an embodiment of the present disclosure, as shown in fig. 2, RGB values (i.e., digital-R, digital-G, and digital-B) of an input image in digital form may be input to a digital gamma control unit to be adjusted, so as to obtain adjusted data R1, G1, B1 (i.e., digital-R1, digital-G1, and digital-B1) in digital form, the data R1, G1, B1 in digital form is input to an analog gamma control unit, and the analog gamma control unit may convert the digital data into analog voltages based on the input digital signals and control respective pixels of a display panel based on the analog voltages to perform corresponding display. Of course, the analog voltage output by the analog gamma control unit may also be directly adjusted, that is, the digital RGB data is directly input into the analog gamma control unit, and is converted into the analog voltage by the analog gamma control unit, and the analog voltage is adjusted, so that the display panel displays based on the adjusted analog voltage.
In a possible implementation manner, based on the above factors, the digital gamma control unit can adjust the input RGB data in digital form, so as to achieve an ideal adjustment effect and improve the application range of the adjustment method.
In one possible implementation manner, in the process of adjusting the white balance, the color temperature of the image can be adjusted, and the adjustment of the color temperature can be realized by adjusting the RGB values, for example, adjusting the RGB values to a blue-bias direction to make the direction of Wen Chaoxiang cool, and adjusting the RGB values to a yellow-bias direction to make the direction of Wen Chaoxiang warm. Therefore, in adjusting the white balance of the input image, a color temperature compensation parameter may be set in step S11, and if adjusted toward a cold color direction, the B value of the RGB values may be increased by the color temperature compensation parameter, that is, the RGB values are adjusted toward a bluish direction, so that the color temperature of the output image is biased toward the cold color. If the color temperature is adjusted towards the warm color direction, the R value and the G value in the RGB values can be increased through the color temperature compensation parameter, namely, the RGB values are adjusted towards the yellow-bias direction, so that the color temperature of the output image is biased towards the warm color. Further, when the value B is adjusted, the value G and the value B can be adjusted at the same time, and similarly, when the value G and the value B are adjusted, the value B can be adjusted at the same time, so that the saturation of the color is not influenced, and the probability of the color cast phenomenon is reduced.
In one possible implementation, the color temperature compensation parameter may be a parameter input to the digital gamma control unit, and the digital gamma control unit may adjust RGB values of a plurality of pixels of the input image by the color temperature compensation parameter, thereby compensating the color temperature of the input image. And, the adjustment range of the RGB values is not infinitely increased, so that the range of the color temperature compensation parameter can be limited.
In one possible implementation, step S11 may include: acquiring the range of color temperature compensation parameters; and determining a range boundary of the color temperature compensation parameter as the color temperature compensation parameter when the acquired color temperature compensation parameter is not within the range of the color temperature compensation parameter. In an example, the range of the color temperature compensation parameter may be set to [ -0.99,0.99], i.e., the maximum value of the color temperature compensation parameter is 0.99 and the minimum value is-0.99. If the range is out of the range, the range boundary is used as the color temperature compensation parameter, for example, if the color temperature compensation parameter input by the user to the digital gamma control unit is 1.5, and the upper limit of the range of the color temperature compensation parameter is exceeded, the upper boundary value of the range of the color temperature compensation parameter is 0.99 as the color temperature compensation parameter, that is, the digital gamma control unit can use 0.99 as the color temperature compensation parameter to adjust the RGB value of the input image. For another example, if the color temperature compensation parameter inputted to the digital gamma control unit by the user is-1.5, and exceeds the lower limit of the range of the color temperature compensation parameter, the lower boundary value of the range of the color temperature compensation parameter, i.e., the digital gamma control unit can use-0.99 as the color temperature compensation parameter, to adjust the RGB values of the input image. The present disclosure does not limit the specific values of the range of the color temperature compensation parameter.
In one possible implementation, as described above, the B value of the RGB values may be increased by the color temperature compensation parameter if adjusted toward the cold color direction, and the R value and the G value of the RGB values may be increased by the color temperature compensation parameter if adjusted toward the warm color direction. The color temperature compensation parameters may be set such that the input image is adjusted towards the cold color direction and towards the warm color direction. And under the condition that the color temperature compensation parameter is larger than a preset threshold value, the color temperature compensation parameter is a cold color compensation parameter, and under the condition that the color temperature compensation parameter is smaller than the preset threshold value, the color temperature compensation parameter is a warm color compensation parameter. In an example, the preset threshold is 0, and in the case that the color temperature compensation parameter is greater than 0, the color temperature compensation parameter is a cold color compensation parameter, so that the input image is adjusted toward a cold color direction, that is, the B value is increased. In the case where the color temperature compensation parameter is less than 0, the color temperature compensation parameter is a warm color compensation parameter, and the input image may be adjusted toward a warm color direction, that is, the R value and the G value are increased. In the case where the color temperature compensation parameter is equal to 0, the color temperature of the input image may not be adjusted. The relationship between the cold color compensation parameter and the warm color compensation parameter and the preset threshold is not limited, that is, the relationship can be set reversely, that is, the cold color compensation parameter is set when the color temperature compensation parameter is smaller than the preset threshold, and the warm color compensation parameter is set when the color temperature compensation parameter is larger than the preset threshold.
In a possible implementation manner, in step S12, the RGB values of the plurality of pixels in the input image may be respectively adjusted based on the color temperature compensation parameters input above, and as described above, the RGB values may be adjusted simultaneously, that is, the RGB values of the pixels in the input image may be adjusted simultaneously to reduce the influence on the color saturation no matter the input color temperature compensation parameters are cold color compensation parameters or warm color compensation parameters. For example, when the input color temperature compensation parameter is a warm color compensation parameter, the R value and the G value are increased and the B value can be simultaneously decreased, and when the input color temperature compensation parameter is a cold color compensation parameter, the B value is increased and the R value and the G value can be simultaneously decreased.
In one possible implementation, step S12 may include: respectively determining color temperature compensation directions of the RGB values; and respectively determining the adjusting parameters of the RGB values according to the color temperature compensation direction of the RGB values and the color temperature compensation parameters.
In one possible implementation, the color temperature compensation direction may be determined based on a relationship between the above-described cold and warm color compensation parameters and a preset threshold. For example, based on the relationship as described above, that is, if the color temperature compensation parameter is smaller than the preset threshold value, the color temperature compensation parameter is a warm color compensation parameter, the R value and the G value are increased, and if the color temperature compensation parameter is larger than the preset threshold value, the color temperature compensation parameter is a cold color compensation parameter, and the B value is increased, in which case, the color temperature compensation direction of the B value may be determined as a positive direction, and the color temperature compensation direction of the R value and the G value may be determined as a negative direction, for example, the color temperature compensation direction of a numerical value that is increased when the color temperature compensation parameter is larger than the preset threshold value (for example, 0) may be set as a positive direction, and the color temperature compensation direction of a numerical value that is increased when the color temperature compensation parameter is smaller than the preset threshold value (for example, 0) may be set as a negative direction. Of course, the opposite arrangement may be made, that is, if the color temperature compensation parameter is greater than the preset threshold value, the color temperature compensation parameter is a warm color compensation parameter, the R value and the G value are increased, and if the color temperature compensation parameter is less than the preset threshold value, the color temperature compensation parameter is a cold color compensation parameter, the B value is increased, in which case, the color temperature compensation direction of the R value and the G value may be determined as a positive direction, and the color temperature compensation direction of the B value may be determined as a negative direction, in which case, the color temperature compensation direction of the increased value when the color temperature compensation parameter is greater than the preset threshold value (for example, 0) is still set as the positive direction, and the color temperature compensation direction of the increased value when the color temperature compensation parameter is less than the preset threshold value (for example, 0) is set as the negative direction.
In a possible implementation, after the color temperature compensation directions of the RGB values are determined separately, the color temperature compensation parameters of the RGB values may be determined separately.
In a possible implementation manner, determining the adjustment parameters of the RGB values according to the color temperature compensation directions of the RGB values and the color temperature compensation parameters respectively includes: and determining an adjusting parameter of the B value according to the color temperature compensation direction of the B value and the color temperature compensation parameter.
In an example, with the color temperature compensation direction of the B value as a positive direction, the tuning parameter of the B value may be determined according to the following formula (1):
adjustment parameter for B value =1+ColorTempGain (1)
Wherein ColorTempGain is the color temperature compensation parameter, the sign of ColorTempGain is "+" when the color temperature compensation direction of the B value is the positive direction, otherwise, the sign of ColorTempGain is "-" when the color temperature compensation direction of the B value is the negative direction.
In a possible implementation manner, determining the adjustment parameters of the RGB values according to the color temperature compensation directions of the RGB values and the color temperature compensation parameters respectively includes: and determining the adjusting parameters of the R value and the G value according to the color temperature compensation directions of the R value and the G value, the color temperature compensation parameters and a preset amplitude adjusting coefficient. Because the RGB values have different contributions to the brightness of the image, if the R value and the G value are adjusted in the same amplitude in the opposite direction of the B value, the brightness of the image can be influenced, and the overall effect of the output image is influenced.
In one possible implementation, with the color temperature compensation direction of the R value and the G value being a negative direction, the adjustment parameters of the R value and the G value can be determined according to the following formula (2):
adjustment parameters for R and G values =1-ColorTempGain/s (2)
Where s is the amplitude adjustment factor, in the example s =8. The ColorTempGain has a sign of "-" in the case where the color temperature compensation direction of the R value and the G value is a negative direction, and otherwise, has a sign of "+" in the case where the color temperature compensation direction of the R value and the G value is a positive direction.
In one possible implementation manner, in step S13, the RGB values of the input image may be adjusted according to the above-determined adjustment parameters of the RGB values, respectively. In an example, the adjusted RGB values may be obtained by multiplying the RGB values of the input image by an adjustment parameter.
In a possible implementation manner, the RGB values input into the digital gamma control unit may also be normalized RGB values, and after normalization, the RGB values can be conveniently calculated, so that the generality of calculation is improved, and overflow of the RGB values can be favorably avoided. For example, in some calculation methods, the upper limit of the RGB value is 255, and some display devices cannot display all RGB values, for example, if the upper limit is lower than 255, the RGB value may be normalized first, and then corresponding calculation is performed, and after calculation, inverse normalization is performed according to the upper limit of the display device, and then the RGB value suitable for the display device may be obtained, and the generality of the calculation may be improved by the above manner.
In a possible implementation manner, based on the above factors, in the operation process, the normalized RGB values may be adjusted by adjusting parameters, and step S13 may include: carrying out normalization processing on the RGB value to obtain a first RGB value; multiplying the first RGB value by the corresponding adjusting parameter to obtain a second RGB value; determining the second RGB value as the adjusted RGB value if the second RGB value is less than or equal to a preset threshold value.
In one possible implementation manner, after the normalization process, the obtained upper limit of the first RGB value is 1, and the first RGB value may be adjusted by an adjustment parameter, for example, the first RGB value is multiplied by a corresponding adjustment parameter to obtain a second RGB value, for example, the second RGB value may be obtained by the following equations (3), (4), and (5):
R2=r×(1-ColorTempGain/s) (3)
G2=g×(1-ColorTempGain/s) (4)
B2=b×(1+ColorTempGain) (5)
wherein R, G, B are first RGB values, and R2, G2, and B2 are second RGB values.
In one possible implementation, it may be determined whether the second RGB value is less than or equal to a preset threshold, for example, the upper limit of the second RGB value is 1, and thus, in case the second RGB value is less than or equal to the preset threshold (for example, 1), the second RGB value is determined as the adjusted RGB value, otherwise, if the second RGB value is greater than the preset threshold (for example, 1), the preset threshold is taken as the adjusted RGB value.
In one possible implementation, in a case where the RGB value input into the digital gamma control unit is a normalized RGB value (e.g., a first RGB value), the adjusted RGB value is also a normalized RGB value, and if an adjusted output image needs to be displayed, the adjusted RGB value may be inversely normalized, and the method further includes: carrying out inverse normalization processing on the adjusted RGB value to obtain a third RGB value; and obtaining an output image for display of the display equipment according to the third RGB value.
In an example, if the display device has an upper limit of 255 for displaying RGB values, the adjusted RGB values may be inversely normalized according to the upper limit and converted into values between 0 and 255, that is, a third RGB value, so that an output image, that is, an image in which the RGB value of each pixel is the third RGB value, may be obtained. The digital gamma control unit may output the third RGB value (i.e., the output image) to the analog gamma control unit, and the analog gamma control unit may control the analog voltage according to the third RGB value, so as to control the display panel to display the output image, which is the image after white balance adjustment.
According to the image processing method disclosed by the embodiment of the disclosure, the adjusting parameters of the RGB values can be respectively determined based on the color temperature compensation parameters, and the RGB values are respectively adjusted, so that the change amplitude of the saturation of the adjusted RGB values is reduced, the gray scale of the pixel is smoother without changing the number of the optional voltages of the analog gamma control unit, the probability of color cast is reduced, and in addition, amplitude adjusting coefficients are added to the adjusting parameters of the R value and the G value when the adjusting parameters are determined, so that the influence on the brightness is reduced. Furthermore, the RGB values can be normalized, and then the adjustment parameters are used for adjustment, so that the universality of the adjustment method is improved. The method adjusts the RGB value output by the digital gamma control unit, does not directly adjust the analog gamma control unit, does not relate to the performance of the display equipment, and can enlarge the application range of the method.
Fig. 3 illustrates an application diagram of an image processing method according to an embodiment of the present disclosure, and as shown in fig. 3, RGB values of respective pixels of an input image may be processed by a digital gamma control unit. Color temperature compensation parameters can be input, wherein the color temperature compensation parameters are the parameters in [ -0.99,0.99 ].
In one possible implementation, the color temperature compensation parameter greater than 0 may be determined as the cold color compensation parameter, and the color temperature compensation parameter less than 0 may be determined as the warm color compensation parameter. Based on this, the adjustment parameters for the B value, and the R and G values can be determined according to equations (1) and (2).
In one possible implementation, the RGB values of the input image may be normalized to obtain a first RGB value, and the second RGB values, i.e., R2, G2, and B2, may be obtained based on equations (3), (4), and (5), and the above-determined adjustment parameters for the B value and the R and G values.
In a possible implementation manner, when the adjusted output image is displayed, the second RGB value may be inverse-normalized to obtain a third RGB value, and the output image is an image in which the RGB value of each pixel is the third RGB value, and the third RGB value may be output to the analog gamma control unit, so that the analog gamma control unit controls an analog voltage based on the third RGB value, and the display panel displays the output image after adjusting the color temperature.
Fig. 4 illustrates a block diagram of an image processing apparatus according to an embodiment of the present disclosure, as illustrated in fig. 4, the apparatus including: the color temperature compensation parameter obtaining module 11 is configured to obtain a color temperature compensation parameter of an input image, where the color temperature compensation parameter compensates the color temperature of the input image by adjusting RGB values of a plurality of pixel points of the input image; an adjusting parameter determining module 12, configured to determine, according to the color temperature compensation parameter, adjusting parameters for adjusting RGB values of a plurality of pixel points of the input image respectively; and the adjusting module 13 is configured to adjust the RGB values of the plurality of pixel points of the input image according to the adjustment parameter, so as to obtain adjusted RGB values.
In a possible implementation manner, the color temperature compensation parameter obtaining module is further configured to: acquiring the range of color temperature compensation parameters; and determining a range boundary of the color temperature compensation parameter as the color temperature compensation parameter when the acquired color temperature compensation parameter is not within the range of the color temperature compensation parameter.
In a possible implementation manner, the color temperature compensation parameter is a cold color compensation parameter when the color temperature compensation parameter is greater than a preset threshold, and the color temperature compensation parameter is a warm color compensation parameter when the color temperature compensation parameter is less than the preset threshold.
In one possible implementation, the adjustment parameter determining module is further configured to: respectively determining color temperature compensation directions of the RGB values; and respectively determining the adjusting parameters of the RGB values according to the color temperature compensation direction of the RGB values and the color temperature compensation parameters.
In one possible implementation, the adjustment parameter determining module is further configured to: the color temperature compensation direction for the B value is determined as a positive direction, and the color temperature compensation directions for the R value and the G value are determined as negative directions.
In one possible implementation, the adjustment parameter determining module is further configured to: and determining an adjusting parameter of the B value according to the color temperature compensation direction of the B value and the color temperature compensation parameter.
In a possible implementation manner, the adjustment parameters of the R value and the G value are determined according to the color temperature compensation directions of the R value and the G value, the color temperature compensation parameters, and a preset amplitude adjustment coefficient.
In one possible implementation, the adjusting module is further configured to: carrying out normalization processing on the RGB value to obtain a first RGB value; multiplying the first RGB value by the corresponding adjusting parameter to obtain a second RGB value; determining the second RGB value as the adjusted RGB value if the second RGB value is less than or equal to a preset threshold.
In one possible implementation, the apparatus further includes: the display module is used for carrying out inverse normalization processing on the adjusted RGB value to obtain a third RGB value; and obtaining an output image for display of the display equipment according to the third RGB value.
The present disclosure also provides a display apparatus including a plurality of display units and a processor configured to implement the image processing method by executing instructions.
In one possible implementation, the display unit includes a display panel, and the display panel includes at least one of a liquid crystal display panel, a micro light emitting diode display panel, a mini light emitting diode display panel, a quantum dot light emitting diode display panel, an organic light emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel, and a small-pitch display panel.
The present disclosure also provides an electronic device including the above display device. For example, the electronic device in the embodiment includes, but is not limited to, a desktop computer, a television, a mobile device with a large-sized screen such as a mobile phone, a tablet computer, and other common electronic devices that require multiple chip-level connections to implement driving.
The electronic device may also be, for example, a User Equipment (UE), a mobile device, a User terminal, a handheld device, a computing device, or a vehicle-mounted device, and some examples of the terminal are: a display, a Smart Phone or a portable device, a Mobile Phone (Mobile Phone), a tablet computer, a notebook computer, a palmtop computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in Industrial Control (Industrial Control), a wireless terminal in unmanned driving (self), a wireless terminal in Remote Surgery (Remote Surgery), a wireless terminal in Smart Grid, a wireless terminal in Transportation Safety (Transportation Safety), a wireless terminal in Smart City (Smart City), a wireless terminal in Smart Home (Smart Home), a wireless terminal in car networking, and the like. For example, the server may be a local server or a cloud server.
Fig. 5 illustrates a block diagram of an electronic device 1900 in accordance with an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server or terminal device. Referring to fig. 5, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure also provides a driving chip for performing the image processing method.
The above description is intended to be illustrative of the present invention and is not intended to limit the scope of the invention, which is defined by the appended claims.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
It should be noted that, in this document, the contained terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The flowchart 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 instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (14)
1. An image processing method, characterized by comprising:
acquiring a color temperature compensation parameter of an input image, wherein the color temperature compensation parameter compensates the color temperature of the input image by adjusting RGB values of a plurality of pixel points of the input image;
determining adjusting parameters for respectively adjusting the RGB values of a plurality of pixel points of the input image according to the color temperature compensation parameters;
and adjusting the RGB values of a plurality of pixel points of the input image through the adjusting parameters to obtain the adjusted RGB values.
2. The method of claim 1, wherein obtaining color temperature compensation parameters for the input image comprises:
acquiring the range of color temperature compensation parameters;
and determining a range boundary of the color temperature compensation parameter as the color temperature compensation parameter when the acquired color temperature compensation parameter is not within the range of the color temperature compensation parameter.
3. The method of claim 1, wherein the color temperature compensation parameter is a cold color compensation parameter if the color temperature compensation parameter is greater than a preset threshold, and wherein the color temperature compensation parameter is a warm color compensation parameter if the color temperature compensation parameter is less than the preset threshold.
4. The method of claim 1, wherein determining adjustment parameters for adjusting the respective RGB values of the plurality of pixels of the input image according to the color temperature compensation parameter comprises:
respectively determining color temperature compensation directions of the RGB values;
and respectively determining the adjusting parameters of the RGB values according to the color temperature compensation direction of the RGB values and the color temperature compensation parameters.
5. The method of claim 4, wherein determining the color temperature compensation direction of the RGB values respectively comprises:
the color temperature compensation direction of the B value is determined as a positive direction, and the color temperature compensation directions of the R value and the G value are determined as a negative direction.
6. The method of claim 4, wherein determining the adjustment parameters of the RGB values according to the color temperature compensation direction of the RGB values and the color temperature compensation parameters respectively comprises:
and determining an adjusting parameter of the B value according to the color temperature compensation direction of the B value and the color temperature compensation parameter.
7. The method of claim 4, wherein determining the adjustment parameters of the RGB values according to the color temperature compensation direction of the RGB values and the color temperature compensation parameters respectively comprises:
and determining the adjusting parameters of the R value and the G value according to the color temperature compensation directions of the R value and the G value, the color temperature compensation parameters and a preset amplitude adjusting coefficient.
8. The method of claim 1, wherein adjusting the RGB values of the plurality of pixels of the input image according to the adjustment parameter to obtain adjusted RGB values comprises:
normalizing the RGB value to obtain a first RGB value;
multiplying the first RGB value by the corresponding adjusting parameter to obtain a second RGB value;
determining the second RGB value as the adjusted RGB value if the second RGB value is less than or equal to a preset threshold value.
9. The method of claim 8, further comprising:
carrying out inverse normalization processing on the adjusted RGB value to obtain a third RGB value;
and obtaining an output image for display of the display equipment according to the third RGB value.
10. An image processing apparatus characterized by comprising:
the color temperature compensation parameter acquisition module is used for acquiring color temperature compensation parameters of an input image, and the color temperature compensation parameters compensate the color temperature of the input image by adjusting RGB values of a plurality of pixel points of the input image;
the adjusting parameter determining module is used for determining adjusting parameters for respectively adjusting the RGB values of a plurality of pixel points of the input image according to the color temperature compensation parameter;
and the adjusting module is used for adjusting the RGB values of the plurality of pixel points of the input image through the adjusting parameters to obtain the adjusted RGB values.
11. A display device comprising a plurality of display units and a processor configured to implement the method of any one of claims 1-9 by executing instructions.
12. The display device of claim 11, wherein the display unit comprises a display panel comprising at least one of a liquid crystal display panel, a micro-light emitting diode display panel, a mini-light emitting diode display panel, a quantum dot light emitting diode display panel, an organic light emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel, and a small pitch display panel.
13. An electronic device comprising the display device according to claim 11 or 12.
14. A driver chip, characterized in that the driver chip is configured to perform the image processing method of any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211001065.9A CN115273723A (en) | 2022-08-19 | 2022-08-19 | Image processing method and device, display device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211001065.9A CN115273723A (en) | 2022-08-19 | 2022-08-19 | Image processing method and device, display device, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115273723A true CN115273723A (en) | 2022-11-01 |
Family
ID=83753877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211001065.9A Pending CN115273723A (en) | 2022-08-19 | 2022-08-19 | Image processing method and device, display device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115273723A (en) |
-
2022
- 2022-08-19 CN CN202211001065.9A patent/CN115273723A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9743073B2 (en) | Image processing device with image compensation function and image processing method thereof | |
CN111243512B (en) | Gray-scale data compensation method and device and driving chip | |
US7957589B2 (en) | Arbitrary power function using logarithm lookup table | |
US7667777B2 (en) | Enhanced image display | |
CN109243384B (en) | Display device, driving method thereof, driving apparatus thereof, and computer readable medium | |
US8237747B2 (en) | Method of converting signals for multi-primary color display | |
US11074888B2 (en) | Image data processing method and apparatus, image display method and apparatus, storage medium and display device | |
CN107633808A (en) | The brightness adjusting method and brightness regulating apparatus of display panel | |
CN109410892B (en) | Image processing method and display device | |
CN115273723A (en) | Image processing method and device, display device, electronic device and storage medium | |
US20240194109A1 (en) | Method for driving display and display | |
CN113990267B (en) | Pixel brightness compensation method and device, storage medium and display panel | |
CN112669768B (en) | LED display screen brightness adjusting method, device and equipment and readable storage medium | |
KR20200040325A (en) | Display device and method of driving the same | |
CN115273724A (en) | Image processing method and device, display device, electronic device and storage medium | |
CN115294912A (en) | Image processing method and device, display device, electronic device and storage medium | |
CN115862566A (en) | Gamma curve selection method and device, chip, electronic device and storage medium | |
CN116016880A (en) | Image adjusting method and device, chip, display device and electronic device | |
CN116033233A (en) | Image adjusting method and device, chip, display device and electronic device | |
CN113903299B (en) | Display brightness regulation and control method, device, equipment, storage medium and display screen | |
US7573468B2 (en) | Correction device for a display system | |
CN111527540B (en) | Primary color conversion method and electronic equipment | |
WO2024000315A1 (en) | Display panel drive method and apparatus, and storage medium and display device | |
CN115883809A (en) | Image adjusting method and device, chip, display device and electronic device | |
CN115760570A (en) | Image processing method, image processing device, electronic equipment and storage medium |
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 |