CN108574837B - Method and device for weakening saturation or pockmark phenomenon in image - Google Patents

Method and device for weakening saturation or pockmark phenomenon in image Download PDF

Info

Publication number
CN108574837B
CN108574837B CN201710144411.1A CN201710144411A CN108574837B CN 108574837 B CN108574837 B CN 108574837B CN 201710144411 A CN201710144411 A CN 201710144411A CN 108574837 B CN108574837 B CN 108574837B
Authority
CN
China
Prior art keywords
corrected
straight line
color
pixel point
coordinates
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.)
Active
Application number
CN201710144411.1A
Other languages
Chinese (zh)
Other versions
CN108574837A (en
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.)
Huaya Microelectronics Shanghai Inc
Original Assignee
Huaya Microelectronics Shanghai Inc
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 Huaya Microelectronics Shanghai Inc filed Critical Huaya Microelectronics Shanghai Inc
Priority to CN201710144411.1A priority Critical patent/CN108574837B/en
Publication of CN108574837A publication Critical patent/CN108574837A/en
Application granted granted Critical
Publication of CN108574837B publication Critical patent/CN108574837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits

Abstract

The embodiment of the application provides a method and a device for weakening a saturation or pockmark phenomenon existing in an image, relates to the technical field of display, and aims to solve the problems of the saturation phenomenon and the pockmark phenomenon generated after correction is carried out on pixel points in the image with uneven color in the prior art. The method comprises the following steps: according to the uneven degree coefficient and the coordinates of the vertexes of the target partitions where the pixels to be corrected are located in the image after color uniformity correction in the equipment screen and the coordinates of the pixels to be corrected in the equipment screen, the uneven degree coefficient of the pixels to be corrected in the equipment screen is determined, then the uneven degree coefficient of the pixels to be corrected and the color change degree coefficient of the color values of the pixels to be corrected in the image after color uniformity correction in the equipment screen are utilized, and the color values of the pixels to be corrected in the images before and after color uniformity correction are subjected to weighted summation to obtain the output color values of the pixels to be corrected.

Description

Method and device for weakening saturation or pockmark phenomenon in image
Technical Field
The present application relates to the field of display technologies, and in particular, to a method and an apparatus for reducing saturation or pockmarking in an image.
Background
With the development of optoelectronic and semiconductor technologies, displays (such as Liquid Crystal Displays (LCDs), projectors, etc.) are widely used in various aspects of production and life. In the manufacturing process of the display screen of the existing display, due to the influences of external environment, self materials, defects on the hardware circuit structure of the display screen and the like, displayed colors show difference when different positions in the display screen display the same color value, namely, the defect that the colors of images displayed by the display screen are uneven is caused.
In the prior art, an image correction algorithm is generally used to perform color-uniform correction on an image. However, when the existing image correction algorithm is used to correct the color of an image, in order to achieve the color uniformity of the entire image, the color values of all pixels in the image are usually corrected, and the pixels with different color values are corrected by using the same parameter value (e.g., the same correction coefficient), when the pixels with larger color values are corrected, the color values of the pixels are often corrected to be larger, so that the pixels with larger color values in the image are prone to generate a saturation phenomenon (i.e., the pixels in the image after correction have the same bright color) or a pock phenomenon (i.e., the corrected image has small black spots), and when the pixels with larger color values are located at the edge of the device screen, the pixels are located at the center of the device screen, the saturation phenomenon or the pock phenomenon is generated after correction, the image quality of the image is reduced, and the existing image correction algorithm cannot correct pixel points with saturation or pockmark phenomena in the image.
Therefore, how to solve the saturation phenomenon and the pockmark phenomenon generated after the color is uniformly corrected by the pixel points in the image becomes a problem to be solved urgently.
Disclosure of Invention
Embodiments of the present application provide a method and an apparatus for weakening a saturation or pockmark phenomenon existing in an image, so as to solve the problem of the saturation or pockmark phenomenon generated after color uniformity correction of a pixel point in an existing image.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, a method for reducing saturation or pockmarking in a color-uniform corrected image is provided, comprising:
determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the non-uniform degree coefficient and the coordinate of the vertex of the target partition where the pixel point to be corrected is located in the image after color uniform correction in the equipment screen and the coordinate of the pixel point to be corrected in the equipment screen;
and carrying out weighted summation on the color values of the pixel points to be corrected in the images before and after the color uniformity correction by using the non-uniformity degree coefficient of the pixel points to be corrected and the color change degree coefficient of the pixel points to be corrected after the color value of the pixel points to be corrected in the images after the color uniformity correction is displayed in the screen of the equipment to obtain the output color value of the pixel points to be corrected.
In a second aspect, there is provided an apparatus for reducing saturation or pockmarking in a color-uniform-corrected image, comprising:
the determining module is used for determining the uneven degree coefficient of the pixel point to be corrected in the equipment screen according to the uneven degree coefficient and the coordinate of the vertex of the target partition where the pixel point to be corrected is located in the image after the color is uniformly corrected in the equipment screen and the coordinate of the pixel point to be corrected in the equipment screen;
and the calculation module is used for weighting and summing the color values of the pixel points to be corrected in the images before and after the color uniformity correction by utilizing the non-uniformity degree coefficient of the pixel points to be corrected determined by the determination module and the color change degree coefficient of the pixel points to be corrected in the image after the color uniformity correction and displayed in the screen of the equipment, so as to obtain the output color values of the pixel points to be corrected.
Because the pixels with large color values are more likely to generate saturation or pock than the pixels with small color values, and the pixels around the device screen are more likely to generate saturation or pock than the pixels in the center of the device screen, the solution provided in the embodiment of the present application introduces the non-uniformity coefficient of the pixels in the device screen (e.g., the pixels around the device screen are more non-uniform than the pixels in the center of the device screen) and the color variation coefficient of the pixels after the color values are displayed in the device screen (e.g., the pixels with large color values are less color variation than the pixels with small color values), and stores the non-uniformity coefficient and the coordinates of the vertex of each partition in the device screen and the color variation coefficient corresponding to each color value in the color value range in advance, therefore, the uneven degree coefficient of the pixel point to be corrected in the equipment screen can be determined according to the uneven degree coefficient and the coordinate of the vertex of the target partition where the pixel point to be corrected is located in the image after color uniformity correction in the equipment screen and the coordinate of the pixel point to be corrected in the equipment screen, the uneven degree coefficient of the pixel point to be corrected in the equipment screen is utilized, the color change degree coefficient of the color value of the pixel point to be corrected in the image after color uniformity correction in the equipment screen is utilized, the color values of the pixel point to be corrected in the image before and after color uniformity correction are subjected to weighted summation to obtain the output color value of the pixel point to be corrected, the saturation phenomenon and the pockmark phenomenon of the pixel point in the image after correction by using the conventional color uniformity correction method are solved, and the image quality of the image is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 shows a K according to an embodiment of the present applicationSA distribution schematic diagram on a device screen;
FIG. 2 is a flowchart illustrating a method for reducing saturation or pockmarking in an image according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart illustrating another method for reducing saturation or pockmarking in an image according to an embodiment of the present disclosure;
fig. 4 is a schematic view of a partition structure of a device screen partition according to an embodiment of the present application;
fig. 5 is a schematic position diagram of four vertices of a partition where a pixel point S is located according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a target partition according to an embodiment of the present disclosure;
fig. 7 is a schematic position diagram of three vertices of a partition where a pixel point S is located according to an embodiment of the present disclosure;
fig. 8 is a schematic position diagram of two vertices of a partition where a pixel point S is located according to an embodiment of the present disclosure;
FIG. 9 shows a K according to an embodiment of the present applicationCA schematic diagram of the relationship with color values;
fig. 10 is a schematic structural diagram of an apparatus for reducing saturation or pockmarking phenomenon in an image according to an embodiment of the present disclosure.
Detailed Description
Some of the terms referred to in this application are explained below to facilitate the understanding of the reader:
the "device screen" is a screen of a display device, and is generally a display unit for displaying images or videos, the display device in the embodiment of the present application is an electronic device having a screen, and the electronic device may be a mobile terminal such as a smart television, a smart phone, a tablet Computer, a notebook Computer, a super-mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or an electronic device dedicated for image display such as a projector, a display, or the like.
The "color value of a pixel", generally, the hue value (hue value), saturation value (saturation value) and brightness value of a color are usually used to represent the color value of a pixel. The three primary colors of the pixel point include three primary colors, namely a red primary color, a green primary color and a blue primary color, wherein the three primary colors are independent from each other, and any color cannot be generated by mixing other two colors.
For example, if the color value of a pixel is RGB, the RGB of the pixel S (i, j) in a certain image can be expressed as:
Figure GDA0002179685940000041
wherein R (i, j) is the red base color value, G (i, j) is the green base color value, B (i, j) is the blue base color value, i e (1,2, … …, a), j e (1,2, … …, B), and the resolution of the image is a B.
"color space", English: color Space, which is used to indicate the collection of the number of various colors that a certain display device can represent. Generally, the wider the color space, the more types of colors that can be displayed, and the larger the range of values in the color space. The color space may be divided into a device-dependent color space and a device-independent color space according to a correlation between devices.
The "saturation phenomenon of a pixel point" means that when the color value of at least one component of three RGB components of the pixel point is large, the color value may become a larger color value after being processed by an image processing algorithm, and the larger color value exceeds the range of the color value that can be expressed by a color space. When the display device displays the larger color value, the color value closest to the color value is usually taken to represent the color value beyond the color space, which causes saturation. For example, for the RGB color space, if the color value of the red primary color of the pixel point of the picture displayed on the screen of the device shows a gradient color from 240 to 255, after performing color uniformity correction by using an image processing algorithm, the color value of the red primary color may be correspondingly converted into 250-plus-265 in 240-plus-255, while the color value larger than 255 cannot correspond to the color value of the RGB color space, when the display device displays the color value of 255-plus-266, the value larger than 255 is usually represented by 255, so that the original gradient color loses the gradient effect after performing image correction, and presents a color which is the same as other colors, that is, a saturation phenomenon occurs.
The 'pocking mark phenomenon of pixel points' means that in a plurality of pixel points with the same color value in a certain area, the color displayed by some pixel points is obviously different from the color displayed by other pixel points. For example, the color values of the pixels in a certain area of the device screen are the same before correction, and after correction, the color values of some pixels are different from those of other pixels, so that the pixels are different from the color values of the pixels, that is, the pixels are pocked.
The "saturation phenomenon of pixel points" and the "pockmark phenomenon of pixel points" are usually generated after the image color uniformity correction is performed on the picture.
The "pixel points to be corrected" refers to pixel points where saturation or pockmarking occurs to pixel points in an image after the image in an equipment screen is corrected for color uniformity of the image.
The non-uniformity coefficient of the pixel point in the device screen in the embodiment of the present application may find the non-uniformity coefficient of the pixel point corresponding to the coordinate of the vertex in the device screen in the display lookup table according to the coordinate of the pixel point in the device screen. The display lookup table comprises values corresponding to a plurality of pixel points, each value corresponds to a pixel point and is used for representing the uneven degree of the color value of the current pixel point in the equipment screen, usually, the uneven degree of the pixel point in the center of the equipment screen is smaller, and the uneven degree of the pixel points around the equipment screen is larger, so that the uneven degree coefficient corresponding to the pixel point in the center of the screen in the equipment screen is smaller, and the uneven degree coefficient corresponding to the pixel points around the equipment screen in the equipment screen is larger. For example, as shown in fig. 1, in the schematic diagram of the non-uniformity coefficient of the pixel points in each area in the device screen, taking 10 × 10 pixel points as an example, since the non-uniformity of the device screen around is more obvious than the center of the screen, a central depression appears in fig. 1, that is, the value corresponding to the pixel point representing the center of the device screen is smaller than the value corresponding to the pixel points around the device screen.
"color change degree coefficient of color value", the color change degree coefficient after the color value of pixel shows in the equipment screen in this application, mainly used represents the change degree that the color value of this pixel shows the change of back color value in the equipment screen, can be used for controlling the influence of the color value of the pixel of the image after the even correction of color to the color value of the pixel of final output.
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. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. The term "plurality" herein means two or more, unless otherwise specified.
For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first" and "second" are used to distinguish the same items or similar items with basically the same functions or actions, and those skilled in the art can understand that the terms "first" and "second" are not limited to the quantity and execution order.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present embodiment, unless otherwise specified, "a plurality" means two or more.
In the embodiments of the present invention, "of", "corresponding" and "corresponding" may be mixed, and it should be noted that the intended meaning is consistent when the difference is not emphasized.
The basic principle of the technical scheme provided by the embodiment of the application is as follows: dividing an equipment screen with the resolution H x W (height x width) into non-overlapping areas, acquiring coordinates of pixel points at the top points of partitions corresponding to pixel points to be corrected (namely, pixel points with a pock phenomenon or a saturation phenomenon), determining an uneven degree coefficient of the pixel points to be corrected in the equipment screen according to the coordinates of the pixel points at the top points of the partitions and the uneven degree coefficient in the equipment screen, and finally performing weighted summation on color values of the pixel points to be corrected in images before and after color even correction by using the uneven degree coefficient of the pixel points to be corrected and the color change degree coefficient of the pixel points to be corrected after the color even correction is displayed in the equipment screen to determine output color values of the pixel points to be corrected. Briefly, as shown in fig. 2, if the present solution is applied to the RGB color space, the basic principle of the present solution is: according to the original RGB color value of the pixel point to be corrected in the image before color uniformity correction, the RGB color value (Ra, Ga, Ba) and the color change degree coefficient K of the pixel point to be corrected in the image after color uniformity correction are obtainedCAnd then, combining the uneven degree coefficient Ks of the pixel point to be corrected in the equipment screen, correcting the original color value of the pixel point to be corrected before color uniformity correction to obtain the corrected color value (Ro, Go, Bo) of the pixel point to be corrected.
The execution subject of the method for reducing the saturation or pockmark phenomenon in the image provided by the embodiment of the application can be a device for reducing the saturation or pockmark phenomenon in the image or a display device for executing the method for reducing the saturation or pockmark phenomenon in the image. The device for reducing the saturation or pockmark phenomenon in the image may be a Central Processing Unit (CPU) in the display device, or may be a control Unit or a functional module in the display device.
The technical solutions provided by the embodiments of the present application will be described below with reference to the drawings of the specification of the embodiments of the present application. It is to be understood that only a few embodiments, but not all embodiments of the present application are described. It should be noted that some or all of the technical features of any of the technical solutions provided below may be combined and used to form a new technical solution without conflict.
Based on the above, the embodiment of the present application provides a method for reducing saturation or pockmark phenomenon in an image after color uniformity correction, as shown in fig. 3, the method specifically includes the following steps:
101. and determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the non-uniform degree coefficient and the coordinate of the vertex of the target partition where the pixel point to be corrected is located in the image after the color uniformity correction in the equipment screen and the coordinate of the pixel point to be corrected in the equipment screen.
The device screen in the application is composed of at least one non-overlapping rectangular subarea area. For example, referring to the partition area structure diagram of the device screen partition shown in fig. 4, the device screen with the resolution W × H (width × height) may be divided into M × N (number of partitions in the horizontal width × number of partitions in the vertical height) square areas with widths (bw, bh) that are not overlapped with each other. And bw is the number of pixel points contained in the transverse width of each partition, and bh is the number of pixel points contained in the longitudinal height of each partition.
It should be noted that the pixel to be corrected in the present application may be determined by observing the pixel of the image after color uniformity correction displayed in the screen of the device according to the preference of human eyes to color, may be determined by setting a predetermined threshold and comparing the color value of the pixel to be corrected with the predetermined threshold, and may also be determined according to other manners, which is not limited in the embodiment of the present application.
Illustratively, before performing step 101, the present embodiment further needs to perform the following steps:
and S1, acquiring coordinates of pixel points to be corrected in the image after color uniformity correction in the equipment screen.
S2, acquiring the uneven degree coefficient and the coordinate of the to-be-corrected pixel point in the equipment screen at the vertex of the target partition in the equipment screen according to the coordinate of the to-be-corrected pixel point in the equipment screen.
For example, when the terminal executes step S2, the terminal may directly obtain the non-uniformity coefficient and the coordinates of the vertex of the target partition in the device screen, which match the coordinates of the pixel point to be corrected, from the non-uniformity coefficient table. The unevenness coefficient table includes an unevenness coefficient and coordinates of a vertex of each partition area in the device screen.
Specifically, the following two implementation manners can be used to obtain:
the first method is as follows:
the terminal firstly determines the coordinates of the vertex of the pixel point to be corrected in the target partition in the equipment screen according to the coordinates of the pixel point to be corrected, and searches the non-uniform degree coefficient in the equipment screen corresponding to the coordinates of the vertex from the non-uniform degree coefficient table Ks _ LUT1 (comprising the corresponding relation between the coordinates of the vertex and the non-uniform degree coefficient in the equipment screen) in the first equipment screen according to the coordinates of the vertex. For example, the terminal may determine the coordinates of the vertex of the pixel point to be corrected in the target partition in the device screen according to the coordinates of the pixel point to be corrected in the device screen, and the preset interval of the device screen in the transverse width and the preset interval of the longitudinal height when the partition area is divided. The coordinates may be the area identifier of the target partition or the coordinates of the four vertices of the partitioned area.
For example, referring to the position diagram of the four vertexes of the partition where the pixel point S is located shown in fig. 5, if the coordinate of the pixel point to be corrected is S (i, j), and the four vertexes of the target partition are P0, P1, P2, and P3, the terminal may calculate the coordinate P0 (i) of the four vertexes P0, P1, P2, and P3 (i, j), according to the coordinate S (i, j) of the pixel point S to be corrected, the interval (bw) of the horizontal width of the partition, and the interval (bh) of the vertical height0,j0),P1(i0,j1),P2(i1,j0),P3(i1,j1). Specifically, the terminal rounds down a first divisor obtained by dividing the abscissa i and bh of the pixel point S to be corrected to obtain a first integer (i.e., an integer smaller than and closest to the divisor), and multiplies the first integer by the bh to determine the abscissa i0Value of (1) with0The value obtained by adding bh determines the transverse coordinate i1(ii) a Downwards rounding according to a second divisor obtained by dividing the ordinate j and bw of the pixel point S to be corrected to obtain a second integer, and multiplying the second integer by the bw to determine the ordinate j0Value of (a) with j0The value of (d) plus bw determines the longitudinal coordinate j1Wherein i is0<i1,j0<j1. Then, the terminal searches the Ks _ LUT1 for the unevenness coefficient in the device screen corresponding to the coordinates of the vertex, based on the coordinates of the vertex in the target partition. For example, the unevenness degree coefficients of the four vertices in the device screen are respectively expressed as Ks (P0) ═ Ks _ LUT1 (i)0/bh,j0/bw),Ks(P1)=Ks_LUT1(i0/bh,j1/bw),Ks(P2)=Ks_LUT1(i1/bh,j0/bw),Ks(P3)=Ks_LUT1(i1/bh,j1/bw)。
The second method comprises the following steps:
the terminal determines a target partition where the pixel point to be corrected is located in the device screen according to the coordinate of the pixel point to be corrected, and then obtains the coordinate of the vertex in the target partition and the non-uniformity coefficient in the device screen from a second non-uniformity coefficient table Ks _ LUT2 (including the corresponding relationship between the identifier of the partition area, the coordinate of the vertex in the partition area and the non-uniformity coefficient in the device screen) in the device screen according to the identifier of the target partition.
For example, referring to the position schematic diagram of the four vertexes of the partition where the pixel point S is located shown in fig. 5, if the coordinate of the pixel point to be corrected is S (i, j), the four vertexes of the target partition are P0, P1, P2, and P3, and the area identifier of the target partition is S1, the terminal may directly find the mapping relationship corresponding to the target partition identifier from Ks _ LUT2 according to the area identifier S1 of the partition area, and obtain the coordinates of P0, P1, P2, and P3 and the corresponding non-uniformity coefficients Ks (P0), Ks (P1), Ks (P2), and Ks (P3) in the device screen from the mapping relationship.
It should be noted that the vertex of each partition region may be at least one vertex of the partition region; for example, as shown in fig. 6, when the number of vertices of each partition region included in the unevenness coefficient table in the device screen is less than four, the terminal may combine the vertices of the plurality of partition regions to form a rectangular region containing the pixel points to be corrected, and the unevenness coefficient and the coordinates in the device screen of the four vertices (A, B, C, D in fig. 6) of the rectangular region are stored in the unevenness coefficient table in the device screen.
Optionally, if the vertices are four vertices of the target partition, the process of determining the non-uniformity coefficient of the pixel to be corrected in the device screen in step 101 specifically includes the following steps:
101a1, determining an uneven degree coefficient of an intersection point formed by vertically intersecting a first straight line containing any two vertexes in the target partition and a target straight line containing the pixel points to be corrected in the device screen, and an uneven degree coefficient of an intersection point formed by intersecting a second straight line containing any two vertexes in the target partition and the target straight line in the device screen according to the uneven degree coefficient and the coordinates of the vertexes of the target partition in the image after color uniformity correction in the device screen.
101a2, determining the non-uniformity coefficient of the pixel point to be corrected in the screen of the device according to the non-uniformity coefficient and the coordinates of the two intersection points and the coordinates of the pixel point to be corrected.
The first straight line and the second straight line are two parallel edges of the target partition; or, the second straight line is a diagonal straight line of the target partition, and the pixel point to be corrected is located in an area surrounded by the first straight line and the second straight line in the target partition.
Further optionally, the determining, in step 101a1, an uneven degree coefficient of an intersection point, formed by vertically intersecting a first straight line containing any two vertexes of the target partition and a target straight line containing a pixel point to be corrected, in the device screen specifically includes the following steps:
and A1, calculating the coordinates of an intersection point formed by the vertical intersection of the first straight line containing any two vertexes in the target partition and the target straight line containing the pixel point to be corrected according to the coordinates of the pixel point to be corrected and the coordinates of the two vertexes of the first straight line.
For example, referring to fig. 5, the first straight line and the second straight line are two parallel edges of the target partition, the first straight line of the target partition can be determined according to P0 and P1, a straight line perpendicular to the first straight line of the target partition determined by P0 and P1 is made through the coordinates S (i, j) of the pixel point to be corrected, the intersection point of the straight line and the first straight line is an intersection point a, and then the coordinates S (i, j) of the pixel point to be corrected and P0(i, j) of the pixel point to be corrected are used0,j0)、P1(i0,j1) The coordinates of the point A can be determined as (i)0,j)。
And A2, determining the uneven degree coefficient of the intersection point in the equipment screen according to the coordinates of the intersection point, the coordinates of the two vertexes of the first straight line and the uneven degree coefficient in the equipment screen.
Illustratively, referring to FIG. 5, the coordinates A (i) of the intersection A in step A1 are obtained0J), coordinates P0 (i) of the two vertices of the first straight line0,j0)、P1(i0,j1) And nonuniformity degree coefficients Ks (P0), Ks (P1) in the device screen, according to the bilinear interpolation method, the nonuniformity degree coefficient in the device screen of the intersection point a can be determined as:
Figure GDA0002179685940000101
optionally, the non-uniformity coefficient in the device screen, which is obtained in step 101a1 by determining an intersection point formed by intersection of a second straight line containing any two vertices in the target partition and the target straight line, specifically includes the following:
and B1, calculating the coordinates of an intersection point formed by the intersection of the second straight line containing any two vertexes in the target partition and the target straight line according to the coordinates of the pixel point to be corrected and the coordinates of the two vertexes of the second straight line.
For example, referring to fig. 5, a second straight line of the target partition may be determined according to P2 and P3, a straight line intersecting the second straight line of the target partition determined by P2 and P3 is made through the coordinates S (i, j) of the pixel to be corrected, and the intersection point B of the straight line and the second straight line is determined according to the coordinates S (i, j) of the pixel to be corrected and P2(i, j)1,j0)、P3(i1,j1) The coordinates of the point B can be determined as (i)1,j)。
And B2, determining the uneven degree coefficient in the screen of the device of the intersection point according to the coordinates of the intersection point, the coordinates of the two vertexes of the second straight line and the uneven degree coefficient in the screen of the device.
Illustratively, referring to FIG. 5, the coordinates B (i) of the intersection B are taken1J), coordinates P2 (i) of two vertices of the second straight line1,j0)、P3(i1,j1) And unevenness degree coefficients Ks (P2), Ks (P3) in the device screen, the unevenness degree coefficient in the device screen determining the intersection point B being:
Figure GDA0002179685940000111
illustratively, in the device screen according to the intersection ACoefficient of degree of nonuniformity Ks (A), coordinates A (i) of intersection A0J), coefficient of unevenness of intersection point B in the device screen ks (B), and coordinate B (i) of intersection point B1J) and coordinates S (i, j) of the pixel point S to be corrected, a non-uniformity coefficient ks (S) of the pixel point S to be corrected in the device screen may be determined, and the non-uniformity coefficient ks (S) of the pixel point S to be corrected in the device screen is shown in formula 3.
Figure GDA0002179685940000112
Illustratively, when the second straight line is a diagonal straight line of the target partition, and the pixel point to be corrected is located in an area surrounded by the first straight line and the second straight line in the target partition, the non-uniformity coefficient of the pixel point to be corrected in the device screen may be determined through three vertexes in the target partition. For example, as shown in fig. 7, the schematic position diagram of three vertices of the partition where the pixel point S to be corrected is located, P1, P2, and P3 in fig. 7, where a straight line containing the pixel point S to be corrected intersects a connecting line (i.e., a first straight line) of P2P3 perpendicularly at the point B, and a straight line containing the pixel point S to be corrected intersects a connecting line (i.e., a second straight line) of P1P2 at the point a, coordinates of the point a and the point B can be determined by a similar triangle; determining the non-uniformity coefficient of the point A in the device screen according to the bilinear interpolation method through the coordinates of P1 and P2, the non-uniformity coefficient in the device screen and the coordinates of the point A, and determining the non-uniformity coefficient of the point B in the device screen through the coordinates of P2 and P3, the non-uniformity coefficient in the device screen and the coordinates of the point B; and finally, determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the coordinates of the point A and the point B, the non-uniform degree coefficient in the equipment screen and the coordinate of the pixel point S to be corrected. The detailed process of this implementation is not described herein. It should be noted that, when determining the coordinates of the point a and the point B by using the three vertices of the target partition, the point a may not correspond to a pixel point in the image before color uniformity correction, and the coordinates may not be an integer, but this does not affect the non-uniformity coefficient in the device screen for determining the pixel point to be corrected.
Optionally, when the pixel to be corrected is located on the connection line between any two vertices of the target partition, specifically, the process of determining the non-uniformity coefficient of the pixel to be corrected in the device screen in step 101 includes the following steps:
101b, determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the coordinate of the pixel point to be corrected, the coordinates of two vertexes on the connecting line and the non-uniform degree coefficient in the equipment screen.
For example, as shown in fig. 8, the schematic diagram of the positions of two vertexes of the partition area where the pixel point S to be corrected is located, if the pixel point S to be corrected is located on the connection line of the pixel points corresponding to the vertexes P0 and P2 of the target partition, then the coordinates S (i, j) and P0(i, j) of the pixel point S to be corrected are determined according to0,j0)、P2(i1,j0) And Ks (P0), Ks (P1), wherein j0J, and then, in combination with the linear interpolation method, the non-uniformity coefficient ks(s) of the pixel point to be corrected in the device screen can be determined, as shown in formula 4.
Specifically, the derivation process of equation 4 is as follows:
according to Ks(s) (1-D) × Ks (P0) + D × Ks (P2), (formula 5);
wherein the content of the first and second substances,
Figure GDA0002179685940000122
substituting equation 6 into equation 5 results in equation 4.
It should be noted that, when the abscissa of the pixel to be corrected is the same as the abscissa or the ordinate of any two vertexes in the target partition, that is, the connecting line of any two vertexes in the target partition is parallel to any coordinate axis, or when the slope of the connecting line of any two vertexes in the target partition is the same as the slope of the connecting line of the pixel to be corrected and any one vertex in any two vertexes in the target partition, the non-uniformity coefficient of the pixel to be corrected in the device screen may be determined according to the non-uniformity coefficient and the coordinates of the two vertexes in the target partition where the pixel to be corrected is located in the device screen.
In the embodiment of the application, considering that a "saturation" phenomenon or a "pock" phenomenon may occur after a pixel point with high color saturation is corrected by using a conventional color uniformity correction method, a color variation degree coefficient Kc is introduced to control the contribution amount of a result (Ra, Ga, Ba) generated by a method for correcting the color of the pixel point in an image corrected by using the conventional color uniformity correction method in a finally output color value (Ro, Go, Bo), that is, the color variation degree coefficient Kc is used to control the influence of the color value (Ra, Ga, Ba) of the pixel point in the image corrected by using the conventional color uniformity correction method on the color value (Ro, Go, Bo) of the finally output pixel point.
Illustratively, if the color value of the pixel point of the image after color uniformity correction is an RGB value, the method further includes the following steps:
and C1, displaying the maximum value of the red primary color value, the green primary color value and the blue primary color value corresponding to the color value of the pixel point to be corrected in the image after the color is uniformly corrected in the equipment screen, and taking the color change degree coefficient as the color change degree coefficient of the pixel point to be corrected after the pixel point is displayed in the equipment screen.
For example, the color change coefficient Kc is shown in fig. 9, where Kc may be set according to the preference of human eyes for color, idx ═ max (R (i, j), G (i, j), B (i, j)), idx0 in the figure corresponds to Kc1, idx1 corresponds to Kc0, and idx0, Kc1, idx1, and Kc0 are set experimentally.
Illustratively, when the maximum value of the RGB three components of the pixel is large, the present application uses a small Kc value, uses a small value (Ra, Ga, Ba) in the final output result (Ro, Go, Bo), and conversely uses a larger Kc value in the final output result (Ro, Go, Bo) and uses a larger value (Ra, Ga, Ba) in the final output result (Ro, Go, Bo). Specifically, in fig. 9, the color change degree coefficients corresponding to the regions from 0 to idx0 are all Kc1, which indicates that when the maximum value of RGB three components is small, a large number of (Ra, Ga, Ba) are used in the final output result (Ro, Go, Bo); between idx0-idx1, Kc gradually decreases with increasing idx, indicating that the effect of (Ra, Ga, Ba) in the final output result (Ro, Go, Bo) is reduced when the maximum of the RGB three-components is gradually increased; when idx is greater than or equal to idx1, Kc0 is used, indicating that less (Ra, Ga, Ba) is used in the final output result (Ro, Go, Bo) when the maximum of the RGB three-components is small; wherein Kc0 is less than or equal to Kc1, and both Kc0 and Kc1 are between [0,1 ].
102. And carrying out weighted summation on the color values of the pixel points to be corrected in the images before and after the color uniformity correction by using the non-uniform degree coefficient of the pixel points to be corrected and the color change degree coefficient of the pixel points to be corrected after the color uniformity correction of the color values in the images is displayed in the screen of the equipment, so as to obtain the output color values of the pixel points to be corrected.
In one example, according to the non-uniformity coefficient of the pixel to be corrected and the color variation coefficient after the color value of the pixel to be corrected in the image after color uniformity correction is displayed in the device screen, in the RGB color space, in combination with the color correction formula, the color values (R (i, j), G (i, j), B (i, j)) of the pixel to be corrected S in the image before color uniformity correction and the color values (Ra (i, j), Ga (i, j), Ba (i, j)) of the pixel to be corrected S in the image after color uniformity correction are weighted and summed to obtain the final output results (Ro (i, j), Go (i, j), Bo (i, j)). Wherein the color correction formula is shown in formula 7.
Figure GDA0002179685940000131
Wherein Ro (i, j), Go (i, j) and Bo (i, j) are the red primary color value, the green primary color value and the blue primary color value of the final output result of the pixel point S to be corrected in the RGB color space; r (i, j), G (i, j) and B (i, j) are the red primary color value, the green primary color value and the blue primary color value of the pixel point to be corrected in the image before color uniformity correction; ra (i, j), Ga (i, j) and Ba (i, j) are the red primary color value, the green primary color value and the blue primary color value of the pixel point to be corrected in the image after the color is uniformly corrected. Ks (S) and Kc (idx) are calculated according to the above steps. Kc (idx) is obtained by looking up a table according to the maximum value of the initial color values (R, G, B) of the pixel points, wherein idx is max (R, G, B).
Because the pixels with large color values are more likely to generate saturation or pock than the pixels with small color values, and the pixels around the device screen are more likely to generate saturation or pock than the pixels in the center of the device screen, the solution provided in the embodiment of the present application introduces the non-uniformity coefficient of the pixels in the device screen (e.g., the non-uniformity of the pixels around the device screen is less than that of the pixels in the center of the device screen) and the color variation coefficient of the pixels after the color values are displayed in the device screen (e.g., the color variation of the pixels with large color values is less than that of the pixels with small color values), and stores the non-uniformity coefficient and the coordinates of the vertex of each partition in the device screen and the color variation coefficient corresponding to each color value in the color value range in advance, thereby determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen and the color change degree coefficient after the color value of the pixel point to be corrected is displayed in the equipment screen according to the non-uniform degree coefficient and the coordinate of the vertex of the target partition where the pixel point to be corrected is located in the image after color uniform correction and the coordinate of the pixel point to be corrected in the equipment screen, carrying out weighted summation on the color value of the image before and after color uniform correction of the pixel point to be corrected in the image before and after color uniform correction by using the non-uniform degree coefficient of the pixel point to be corrected and the color change degree coefficient after the color value of the pixel point to be corrected in the image after color uniform correction in the equipment screen to obtain the output color value of the pixel point to be corrected, and solving the saturation phenomenon and pockmark phenomenon generated by the pixel point in the image after color uniform correction by using the existing color uniform correction method, the image quality of the image is improved.
The embodiment of the present application provides an apparatus for reducing saturation or pockmarking phenomenon existing in an image, the image is an image after color uniformity correction, as shown in fig. 10, the apparatus 2 includes: a determining module 21 and a calculating module 22, wherein:
the determining module 21 is configured to determine the non-uniformity coefficient of the pixel to be corrected in the device screen according to the non-uniformity coefficient and the coordinate of the vertex of the target partition where the pixel to be corrected is located in the image after color uniformity correction in the device screen and the coordinate of the pixel to be corrected in the device screen.
The calculating module 22 is configured to perform weighted summation on the color values of the pixels to be corrected in the image after color uniformity correction by using the non-uniformity degree coefficient of the pixels to be corrected determined by the determining module 21 and the color change degree coefficient after the color values of the pixels to be corrected in the image after color uniformity correction are displayed in the screen of the device, so as to obtain the output color values of the pixels to be corrected.
Optionally, when determining the non-uniformity coefficient of the pixel to be corrected in the device screen, the determining module 21 is specifically configured to:
determining an uneven degree coefficient of an intersection point formed by vertically intersecting a first straight line containing any two vertexes in a target partition and a target straight line containing a pixel point to be corrected in an equipment screen, and an uneven degree coefficient of an intersection point formed by intersecting a second straight line containing any two vertexes in the target partition and the target straight line in the equipment screen;
determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the non-uniform degree coefficient and the coordinate of the two intersection points and the coordinate of the pixel point to be corrected;
the first straight line and the second straight line are two parallel edges of the target partition; or the second straight line is a diagonal straight line of the target partition, and the pixel point to be corrected is located in an area surrounded by the first straight line and the second straight line in the target partition.
Optionally, when determining the non-uniformity coefficient of the intersection point formed by vertically intersecting the first straight line including any two vertexes in the target partition and the target straight line including the pixel point to be corrected in the device screen, the determining module 21 is specifically configured to:
calculating the coordinate of an intersection point formed by vertically intersecting a first straight line containing any two vertexes in the target partition and a target straight line containing the pixel points to be corrected according to the coordinate of the pixel points to be corrected and the coordinates of the two vertexes of the first straight line;
and determining the non-uniformity coefficient of the intersection point formed by the vertical intersection of the first straight line and the target straight line in the equipment screen according to the coordinates of the intersection point formed by the vertical intersection of the first straight line and the target straight line, the coordinates of two vertexes of the first straight line and the non-uniformity coefficient in the equipment screen.
Optionally, when determining the non-uniformity coefficient of the intersection point formed by intersecting the second straight line including any two vertices in the target partition with the target straight line in the device screen, the determining module 21 is specifically configured to:
calculating the coordinates of an intersection point formed by the intersection of a second straight line containing any two vertexes in the target partition and the target straight line according to the coordinates of the pixel point to be corrected and the coordinates of the two vertexes of the second straight line;
and determining the non-uniformity coefficient of the intersection point formed by the vertical intersection of the second straight line and the target straight line in the equipment screen according to the coordinates of the intersection point formed by the vertical intersection of the second straight line and the target straight line, the coordinates of two vertexes of the second straight line and the non-uniformity coefficient in the equipment screen.
Optionally, when the pixel point to be corrected is located on the connection line between any two vertexes of the target partition, the determining module 21 is configured to determine the non-uniform degree coefficient of the pixel point to be corrected in the device screen, and specifically configured to:
and determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the coordinates of the pixel point to be corrected, the coordinates of two vertexes on the connecting line and the non-uniform degree coefficient in the equipment screen.
Optionally, if the color value of the pixel point of the image after color uniformity correction is an RGB value, the determining module 21 is further configured to:
and taking the color change degree coefficient after the maximum value of the red base color value, the green base color value and the blue base color value corresponding to the color value of the pixel point to be corrected in the image after the color is uniformly corrected is displayed in the equipment screen as the color change degree coefficient after the pixel point to be corrected is displayed in the equipment screen.
Because the pixels with large color values are more likely to generate saturation or pock than the pixels with small color values, and the pixels around the device screen are more likely to generate saturation or pock than the pixels in the center of the device screen, the device provided in the embodiment of the present application, by introducing the non-uniformity coefficient of the pixels in the device screen (e.g., the non-uniformity of the pixels around the device screen is less than that of the pixels in the center of the device screen) and the color variation coefficient of the pixels after the color values are displayed in the device screen (e.g., the color variation of the pixels with large color values is less than that of the pixels with small color values), and pre-storing the non-uniformity coefficient and the coordinates of the vertex of each partition in the device screen, and the color variation coefficient corresponding to each color value in the color value range, thereby determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the non-uniform degree coefficient and the coordinate of the vertex of the target partition where the pixel point to be corrected is located in the image after color uniform correction in the equipment screen and the coordinate of the pixel point to be corrected in the equipment screen, determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen, obtaining the output color value of the pixel point to be corrected by performing weighted summation on the color values of the pixel point to be corrected in the image before and after color uniform correction by using the non-uniform degree coefficient of the pixel point to be corrected and the color change degree coefficient of the pixel point to be corrected in the image after color uniform correction in the equipment screen, solving the saturation phenomenon and the pockmark phenomenon of the pixel point in the image after correction by using the existing color uniform correction method, the image quality of the image is improved.
It should be noted that, in a specific implementation process, each step executed in the method flow shown in fig. 3 may be implemented by a processor in a hardware form executing a computer execution instruction in a software form stored in a memory, and is not described herein again to avoid repetition. The program corresponding to the action executed by the device can be stored in the memory of the device in a software form, so that the processor can call and execute the operation corresponding to each module.
The memory above may include volatile memory (volatile memory), such as random-access memory (RAM); a non-volatile memory (non-volatile memory) such as a read-only memory (ROM), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD); combinations of the above categories of memory may also be included.
The processor in the above-provided apparatus may be a single processor or may be a collective term for a plurality of processing elements. For example, the processor may be a central processing unit (CPU; other general purpose processors, Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for reducing saturation or pockmarking in a color uniformity corrected image, comprising:
determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the non-uniform degree coefficient and the coordinate of the vertex of the target partition where the pixel point to be corrected is located in the image after color uniform correction in the equipment screen and the coordinate of the pixel point to be corrected in the equipment screen;
and carrying out weighted summation on the color values of the pixel points to be corrected in the images before and after the color uniformity correction by using the non-uniformity degree coefficient of the pixel points to be corrected and the color change degree coefficient of the pixel points to be corrected after the color value of the pixel points to be corrected in the images after the color uniformity correction is displayed in the screen of the equipment to obtain the output color value of the pixel points to be corrected.
2. The method according to claim 1, wherein the determining the non-uniformity coefficient of the pixel point to be corrected in the screen of the device comprises:
determining an uneven degree coefficient of an intersection point formed by vertically intersecting a first straight line containing any two vertexes in the target partition and a target straight line containing a pixel point to be corrected in an equipment screen, and an uneven degree coefficient of an intersection point formed by intersecting a second straight line containing any two vertexes in the target partition and the target straight line in the equipment screen;
determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the non-uniform degree coefficient and the coordinate of the two intersection points and the coordinate of the pixel point to be corrected;
wherein the first straight line and the second straight line are two parallel edges of the target partition; or, the second straight line is a diagonal straight line of the target partition, and the pixel point to be corrected is located in an area enclosed by the first straight line and the second straight line in the target partition.
3. The method of claim 2, wherein the determining the non-uniformity coefficient of the device screen at an intersection point formed by vertically intersecting a first straight line containing any two vertexes of the target partition and a target straight line containing the pixel point to be corrected comprises:
calculating coordinates of an intersection point formed by vertically intersecting a first straight line containing any two vertexes in the target partition and a target straight line containing the pixel points to be corrected according to the coordinates of the pixel points to be corrected and the coordinates of the two vertexes of the first straight line;
determining the non-uniformity coefficient of the intersection point formed by the vertical intersection of the first straight line and the target straight line in the equipment screen according to the coordinates of the intersection point formed by the vertical intersection of the first straight line and the target straight line, the coordinates of two vertexes of the first straight line and the non-uniformity coefficient in the equipment screen;
and/or the presence of a gas in the gas,
the determining a non-uniformity coefficient of an intersection point formed by intersection of a second straight line containing any two vertexes in the target partition and the target straight line in a device screen specifically includes:
calculating coordinates of an intersection point formed by the intersection of a second straight line containing any two vertexes in the target partition and the target straight line according to the coordinates of the pixel point to be corrected and the coordinates of the two vertexes of the second straight line;
and determining the non-uniformity coefficient of the intersection point formed by the vertical intersection of the second straight line and the target straight line in the equipment screen according to the coordinates of the intersection point formed by the vertical intersection of the second straight line and the target straight line, the coordinates of two vertexes of the second straight line and the non-uniformity coefficient in the equipment screen.
4. The method according to claim 1, wherein when the pixel point to be corrected is located on a connecting line between any two vertices of the target partition, the determining a non-uniformity coefficient of the pixel point to be corrected in a device screen includes:
and determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the coordinates of the pixel point to be corrected, the coordinates of the two vertexes on the connecting line and the non-uniform degree coefficient in the equipment screen.
5. The method of claim 1, wherein if the color value of the pixel point of the color-uniform-corrected image is RGB value, the method further comprises:
and taking the color change degree coefficient after the maximum value of the red base color value, the green base color value and the blue base color value corresponding to the color value of the pixel point to be corrected in the image after the color is uniformly corrected is displayed in the equipment screen as the color change degree coefficient after the pixel point to be corrected is displayed in the equipment screen.
6. An apparatus for reducing saturation or pockmarking in a color uniformity corrected image, comprising:
the determining module is used for determining the uneven degree coefficient of the pixel point to be corrected in the equipment screen according to the uneven degree coefficient and the coordinate of the vertex of the target partition where the pixel point to be corrected is located in the image after the color is uniformly corrected in the equipment screen and the coordinate of the pixel point to be corrected in the equipment screen;
and the calculation module is used for weighting and summing the color values of the pixel points to be corrected in the images before and after the color uniformity correction by utilizing the non-uniformity degree coefficient of the pixel points to be corrected determined by the determination module and the color change degree coefficient of the pixel points to be corrected in the image after the color uniformity correction and displayed in the screen of the equipment, so as to obtain the output color values of the pixel points to be corrected.
7. The apparatus according to claim 6, wherein the determining module, when determining the non-uniformity coefficient of the pixel to be corrected in the device screen, is specifically configured to:
determining an uneven degree coefficient of an intersection point formed by vertically intersecting a first straight line containing any two vertexes in the target partition and a target straight line containing a pixel point to be corrected in an equipment screen, and an uneven degree coefficient of an intersection point formed by intersecting a second straight line containing any two vertexes in the target partition and the target straight line in the equipment screen;
determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the non-uniform degree coefficient and the coordinate of the two intersection points and the coordinate of the pixel point to be corrected;
wherein the first straight line and the second straight line are two parallel edges of the target partition; or, the second straight line is a diagonal straight line of the target partition, and the pixel point to be corrected is located in an area enclosed by the first straight line and the second straight line in the target partition.
8. The apparatus according to claim 7, wherein the determining module, when determining the non-uniformity coefficient of the intersection point formed by vertically intersecting the first straight line containing any two vertices in the target partition and the target straight line containing the pixel point to be corrected in the device screen, is specifically configured to:
calculating coordinates of an intersection point formed by vertically intersecting a first straight line containing any two vertexes in the target partition and a target straight line containing the pixel points to be corrected according to the coordinates of the pixel points to be corrected and the coordinates of the two vertexes of the first straight line;
determining the non-uniformity coefficient of the intersection point formed by the vertical intersection of the first straight line and the target straight line in the equipment screen according to the coordinates of the intersection point formed by the vertical intersection of the first straight line and the target straight line, the coordinates of two vertexes of the first straight line and the non-uniformity coefficient in the equipment screen;
and/or the presence of a gas in the gas,
when determining the non-uniformity coefficient of an intersection point formed by intersection of a second straight line containing any two vertexes in the target partition and the target straight line in the device screen, the determining module is specifically configured to:
calculating coordinates of an intersection point formed by the intersection of a second straight line containing any two vertexes in the target partition and the target straight line according to the coordinates of the pixel point to be corrected and the coordinates of the two vertexes of the second straight line;
and determining the non-uniformity coefficient of the intersection point formed by the vertical intersection of the second straight line and the target straight line in the equipment screen according to the coordinates of the intersection point formed by the vertical intersection of the second straight line and the target straight line, the coordinates of two vertexes of the second straight line and the non-uniformity coefficient in the equipment screen.
9. The apparatus according to claim 6, wherein when the pixel to be corrected is located on a connection line between any two vertices of the target partition, the determining module is specifically configured to, when determining the non-uniformity coefficient of the pixel to be corrected in the device screen:
and determining the non-uniform degree coefficient of the pixel point to be corrected in the equipment screen according to the coordinates of the pixel point to be corrected, the coordinates of the two vertexes on the connecting line and the non-uniform degree coefficient in the equipment screen.
10. The apparatus of claim 6, wherein if the color value of the pixel point of the color-uniform-corrected image is an RGB value, the determining module is further configured to:
and taking the color change degree coefficient after the maximum value of the red base color value, the green base color value and the blue base color value corresponding to the color value of the pixel point to be corrected in the image after the color is uniformly corrected is displayed in the equipment screen as the color change degree coefficient after the pixel point to be corrected is displayed in the equipment screen.
CN201710144411.1A 2017-03-10 2017-03-10 Method and device for weakening saturation or pockmark phenomenon in image Active CN108574837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710144411.1A CN108574837B (en) 2017-03-10 2017-03-10 Method and device for weakening saturation or pockmark phenomenon in image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710144411.1A CN108574837B (en) 2017-03-10 2017-03-10 Method and device for weakening saturation or pockmark phenomenon in image

Publications (2)

Publication Number Publication Date
CN108574837A CN108574837A (en) 2018-09-25
CN108574837B true CN108574837B (en) 2020-01-03

Family

ID=63578025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710144411.1A Active CN108574837B (en) 2017-03-10 2017-03-10 Method and device for weakening saturation or pockmark phenomenon in image

Country Status (1)

Country Link
CN (1) CN108574837B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141654A (en) * 2006-09-07 2008-03-12 三星电子株式会社 Image processing apparatus, display apparatus comprising image processing apparatus and image processing method
US7492391B1 (en) * 2003-07-14 2009-02-17 Arecont Vision, Llc. Wide dynamic range network camera
CN101478687A (en) * 2008-01-04 2009-07-08 华晶科技股份有限公司 Correcting method for pseudo color pixel in digital image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7492391B1 (en) * 2003-07-14 2009-02-17 Arecont Vision, Llc. Wide dynamic range network camera
CN101141654A (en) * 2006-09-07 2008-03-12 三星电子株式会社 Image processing apparatus, display apparatus comprising image processing apparatus and image processing method
CN101478687A (en) * 2008-01-04 2009-07-08 华晶科技股份有限公司 Correcting method for pseudo color pixel in digital image

Also Published As

Publication number Publication date
CN108574837A (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN107221306B (en) The method, apparatus and display equipment of brightness of image in correction splicing device screen
CN109147702B (en) Chromaticity adjusting method and device of display panel
CN104021746B (en) The method of a kind of image detection and device
WO2019119794A1 (en) Driving method and driving apparatus for display apparatus
US11295684B2 (en) Pixel driving method, pixel driving apparatus and computer device
US11308901B2 (en) Pixel driving method, pixel driving apparatus and computer device
US10347198B2 (en) Image displaying methods and display devices
CN109246405B (en) Method and system for adjusting uniformity of image tone
KR102008073B1 (en) Liquid crystal panel and pixel unit setting method thereof
WO2019119792A1 (en) Driving method and device for display device
WO2021136391A1 (en) Image processing method, image processing device, and display device
US11900848B2 (en) Color gamut mapping method, color gamut mapping assembly, and display device
JP2013232882A (en) Non-uniformity correction device and control method
CN109215553B (en) Display panel, method for establishing overdrive lookup table of display panel and readable storage medium
CN108574835B (en) Method and device for correcting image colors in equipment screen
CN110277076B (en) Color mapping method and device, display equipment and medium
CN107767825B (en) Method, apparatus, and computer-readable storage medium for color configuration of display apparatus
CN108574837B (en) Method and device for weakening saturation or pockmark phenomenon in image
CN114495812B (en) Display panel brightness compensation method and device, electronic equipment and readable storage medium
CN108574836B (en) Method and device for weakening saturation or pockmark phenomenon in image
WO2020095404A1 (en) Image display system and image display method
CN113450687A (en) Color management correction method, device and system
CN110047415B (en) Color gamut mapping method, electronic device and storage medium
WO2024000473A1 (en) Color correction model generation method, correction method and apparatus, and medium and device
TW202018693A (en) Method for adjusting uniformity of image color tones and system thereof

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
GR01 Patent grant
GR01 Patent grant