CN108574837A - The method and device of saturation or point phenomenon present in a kind of decrease image - Google Patents
The method and device of saturation or point phenomenon present in a kind of decrease image Download PDFInfo
- Publication number
- CN108574837A CN108574837A CN201710144411.1A CN201710144411A CN108574837A CN 108574837 A CN108574837 A CN 108574837A CN 201710144411 A CN201710144411 A CN 201710144411A CN 108574837 A CN108574837 A CN 108574837A
- Authority
- CN
- China
- Prior art keywords
- pixel
- corrected
- color
- degree
- device screen
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/646—Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/68—Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
Abstract
Embodiments herein provide it is a kind of decrease image present in saturation or point phenomenon method and device, it is related to display technology field, to solve the problems, such as the saturated phenomenon generated after the pixel in the existing non-uniform image to color is corrected and point phenomenon.This method includes:Degree of irregularity coefficient and coordinate of the vertex of target partition in image after being corrected according to uniform in color residing for pixel to be corrected in device screen, and coordinate of the pixel to be corrected in device screen, determine degree of irregularity coefficient of the pixel to be corrected in device screen, then the degree of irregularity coefficient of pixel to be corrected is utilized, and pixel to be corrected uniform in color correction after image in color-values shown in device screen after color change degree coefficient, it treats color-values of the correction pixels point in the front and back image of uniform in color correction and is weighted summation, obtain the output color value of pixel to be corrected.
Description
Technical field
This application involves display technology field more particularly to a kind of sides weakening saturation or point phenomenon present in image
Method and device.
Background technology
With the development of photoelectricity and semiconductor technology, display (such as:Liquid crystal display (English:Liquid Crystal
Display, referred to as:LCD), projecting apparatus etc.) it is widely used in the various aspects of production and living.The display screen of existing display
In the fabrication process, due to by influences such as external environment, the defect of own material and display screen hardware circuit structurally, from
And causing the different location in display screen when showing same color value, difference is presented in the color shown, that is, leads to display screen
There is the non-uniform defect of color in the image shown.
In the prior art, the correction of uniform in color is usually carried out to image using image rectification algorithm.But due to
Existing image rectification algorithm to image when carrying out colour correction, in order to realize the uniform in color effect of whole image, usually
It is color-values correction to be carried out to pixel all in image, and identical parameter value is used for the different pixel of color-values
(for example, identical correction coefficient) is corrected, when being corrected for the larger pixel of color-values, often by the picture
Vegetarian refreshments color-values correction bigger, so as to cause the larger pixel of color-values in image after calibration be also easy to produce saturation
Phenomenon (it is equally bright-coloured to occur the color that a piece of pixel is shown in the picture after correcting) or point phenomenon are (after correcting
There is pore in image), and when the larger pixel of these color-values is in the edge of device screen, it compares in equipment screen
When curtain center, causes to generate saturated phenomenon or point phenomenon after calibration, reduced the image quality of image, and existing image
Correcting algorithm can not be corrected the pixel for occurring saturated phenomenon or point phenomenon in image.
Therefore, the saturated phenomenon and point phenomenon that the pixel in image generates after uniform in color correction how are solved,
As urgent problem to be solved.
Invention content
Embodiments herein provide it is a kind of decrease image present in saturation or point phenomenon method and device, with solution
The problem of saturated phenomenon and point phenomenon that pixel in certainly existing image generates after uniform in color correction.
In order to achieve the above objectives, embodiments herein adopts the following technical scheme that:
In a first aspect, providing saturation present in a kind of image of the decrease after uniform in color corrects or point phenomenon
Method, including:
The vertex of target partition in image after being corrected according to the uniform in color residing for pixel to be corrected is in equipment
The coordinate of degree of irregularity coefficient and coordinate and the pixel to be corrected in device screen in screen, determine described in
Degree of irregularity coefficient of the pixel to be corrected in device screen;
It is equal in the color using the degree of irregularity coefficient and the pixel to be corrected of the pixel to be corrected
The color-values in image after even correction shown in device screen after color change degree coefficient, to the pixel to be corrected
Color-values of the point in the front and back image of uniform in color correction are weighted summation, obtain the output color of the pixel to be corrected
Coloured silk value.
Second aspect provides saturation present in a kind of image of the decrease after uniform in color corrects or point phenomenon
Device, including:
Determining module, for the target partition residing for pixel to be corrected in the image after being corrected according to the uniform in color
Degree of irregularity coefficient and coordinate and to be corrected pixel seat in device screen of the vertex in device screen
Mark, determines degree of irregularity coefficient of the pixel to be corrected in device screen;
Computing module, the degree of irregularity coefficient of the pixel to be corrected for being determined using the determining module,
And after the color-values in image of the pixel to be corrected after uniform in color correction are shown in device screen
Color change degree coefficient is weighted color-values of the pixel to be corrected in the front and back image of uniform in color correction
Summation, obtains the output color value of the pixel to be corrected.
Since the big pixel of the color-values pixel smaller than color-values is easy to generate saturated phenomenon or point phenomenon, and locate
It is easy to generation saturated phenomenon or point phenomenon than the pixel in device screen center in the pixel of device screen surrounding, because
This, scheme provided by the embodiments of the present application, by being introduced into degree of irregularity coefficient of the pixel in device screen (for example, setting
The pixel of standby screen surrounding is big compared with the degree of irregularity of the pixel at device screen center) and the color-values of pixel setting
Color change degree coefficient after being shown in standby screen is (for example, the color of the big pixel pixel smaller than color-values of color-values
Coloured silk value variation degree is small), and in advance to the degree of irregularity coefficient and coordinate on the vertex of each subregion in device screen, Yi Jise
The corresponding color change degree coefficient of each color-values within the scope of color value is stored, so as to be corrected according to uniform in color
Degree of irregularity coefficient and coordinate of the vertex of target partition in image afterwards residing for pixel to be corrected in device screen,
And coordinate of the pixel to be corrected in device screen, determine degree of irregularity system of the pixel to be corrected in device screen
Number, using in image of the degree of irregularity coefficient and pixel to be corrected of pixel to be corrected after uniform in color correction
Color-values shown in device screen after color change degree coefficient, treat correction pixels point uniform in color correction before and after
Image in color-values be weighted summation, obtain the output color value of pixel to be corrected, solve to use existing color
The saturated phenomenon and point phenomenon that the pixel in image after the correction of uniformity correction method generates, improve the image quality of image.
Description of the drawings
It, below will be in embodiment or description of the prior art in order to illustrate more clearly of the technical solution of the embodiment of the present application
Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the application
Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of K provided by the embodiments of the present applicationSDistribution schematic diagram on device screen;
Fig. 2 is a kind of flow weakening the method for saturation or point phenomenon present in image provided by the embodiments of the present application
Schematic diagram;
Fig. 3 is another stream for weakening the method for saturation or point phenomenon present in image provided by the embodiments of the present application
Journey schematic diagram;
Fig. 4 is a kind of partitioned organization schematic diagram of device screen subregion provided by the embodiments of the present application;
Fig. 5 is the position view on four vertex of subregion where a kind of pixel S provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of target partition provided by the embodiments of the present application;
Fig. 7 is the position view on three vertex of subregion where a kind of pixel S provided by the embodiments of the present application;
Fig. 8 is the position view on two vertex of subregion where a kind of pixel S provided by the embodiments of the present application;
Fig. 9 is a kind of K provided by the embodiments of the present applicationCWith the relation schematic diagram of color-values;
Figure 10 is a kind of knot weakening the device of saturation or point phenomenon present in image provided by the embodiments of the present application
Structure schematic diagram.
Specific implementation mode
Part term involved in the application is explained below, is understood with helping reader:
" device screen " usually is used to show the display unit of image or video, the application to show the screen of equipment
Display equipment in embodiment is the electronic equipment for having screen, which can be smart television, smart mobile phone, tablet
Computer, laptop, Ultra-Mobile PC's (English:Ultra-mobile Personal Computer, referred to as:
UMPC), net book, personal digital assistant (English:Personal Digital Assistant, referred to as:) etc. PDA it is mobile eventually
End, can also be that projecting apparatus, display etc. are exclusively used in the electronic equipment that image is shown.
" color-values of pixel ", in general, usually using the tone value (hue value) of color, intensity value (Reinheitszahl)
The color-values of pixel are showed with brightness value.It can usually be indicated using three primary colors RGB, referred to as the rgb value of pixel,
It can be referred to as the three primary colours color-values of pixel, the three primary colours of pixel include three kinds of red primary, green primary and blue primary,
In, three kinds of primary colours are mutual indepedent, and any color cannot be generated by other two mixture of colours.
Illustratively, if the color-values of pixel are by taking the rgb value of pixel as an example, pixel S in a certain image (i,
J) rgb value can be expressed as:
Wherein, R (i, j) is red primary color-values, and G (i, j) is green primary color-values, and B (i, j) is blue primary color-values, i
(1,2 ... ..., a), the resolution ratio of j ∈ (1,2 ... ..., b), the image are a*b to ∈.
" color space ", English:Color Space, the various number of colours that can be showed for showing certain display equipment
Set.The color type that usually color space is more wide, can show is more, and color space values range is also bigger.Wherein,
Color space can be divided into according to the correlation between equipment device-dependent color space and with device-independent color
Space.
" saturated phenomenon of pixel " refers to the color-values at least one of tri- components of RGB of pixel component
When larger, after image processing algorithm is handled, the color-values of bigger are likely to become, the color-values of the bigger have exceeded color sky
Between the range of color-values that can indicate.When display equipment shows the color-values of the bigger, usually take and the color-values
Immediate color-values come indicate this exceed color space color-values, will result in saturated phenomenon in this way.For example, for RGB
Color space, if the color-values performance of the red primary of the pixel for the picture that device screen is shown is gradient to 255 gradual change from 240
Color, after carrying out uniform in color correction with image processing algorithm, red primary color-values corresponding may be converted into 240-255
In 250-265, and the color-values more than 255 can not correspond to the color-values of rgb color space, and display equipment shows 255-266's
When color-values, usually the value more than 255 is indicated with 255, so that the gradient color of script loses after carrying out image rectification
The effect of gradual change shows the color being no different with other, that is, saturated phenomenon occurs.
" the point phenomenon of pixel " refers in the identical multiple pixels of color-values, there is certain pictures in certain area
The color that vegetarian refreshments is shown differs apparent with the color that other pixels are shown.For example, in the certain area of device screen
Color-values all same of the pixel before correction, and after calibration, there are the color-values of certain several pixel and other pixels
Color-values difference it is larger, occur and the different situation of picture element point chromatic value to these pixels occur, i.e., this is several
There is point phenomenon in a pixel.
For above-mentioned " saturated phenomenon of pixel " and " the point phenomenon of pixel ", typically image is carried out in picture
It is generated after color uniformity correction.
" pixel to be corrected " refers to image in device screen occur after image color homogeneity correction, figure
Pixel as in generates saturated phenomenon or the pixel of point phenomenon.
" degree of irregularity coefficient of the pixel in device screen ", the pixel in the embodiment of the present application is in device screen
In degree of irregularity coefficient can be found in showing look-up table and vertex according to coordinate of the pixel in device screen
The corresponding pixel of coordinate the degree of irregularity coefficient in device screen.Wherein, include in above-mentioned display look-up table
The corresponding value of several pixels, each corresponding pixel of value, for indicating the color-values of current pixel point in device screen
In degree of irregularity, the degree of irregularity of usual device screen central pixel point is smaller, and device screen surrounding pixel is not
Uniformity coefficient is larger, and therefore, the corresponding degree of irregularity coefficient in device screen of pixel of screen center is smaller, equipment
The corresponding degree of irregularity coefficient in device screen of pixel of screen surrounding is larger.For example, equipment screen as shown in Figure 1
The degree of irregularity coefficient schematic diagram of each area pixel point in curtain, by taking 10 × 10 pixels as an example, since device screen is four
The inhomogeneities in week is more more obvious than screen center, therefore, central concave is presented in Fig. 1, that is, indicates device screen center
The corresponding value of pixel value more corresponding than the pixel of device screen surrounding is small.
" the color change degree coefficients of color-values ", after the color-values of pixel are shown in device screen in the application
Color change degree coefficient is mainly used for showing the change that color-values change after the color-values of the pixel are shown in device screen
Change degree can be used for controlling pixel of the color-values to final output of the pixel of the image after uniform in color corrects
Color-values influence.
The terms "and/or", only a kind of incidence relation of description affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/", it is a kind of relationship of "or" to typically represent forward-backward correlation object.If being not added with explanation, " multiple " herein are
Refer to two or more.
For the ease of clearly describing the technical solution of the embodiment of the present application, in embodiments herein, use " the
One ", the printed words such as " second " distinguish function or the essentially identical identical entry of effect or similar item, and those skilled in the art can
To understand that the printed words such as " first ", " second " are not defined quantity and execution order.
It should be noted that in the embodiment of the present application, " illustrative " or " such as " etc. words make example, example for indicating
Card or explanation.Be described as in the embodiment of the present application " illustrative " or " such as " any embodiment or design scheme do not answer
It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used
Such as " word is intended to that related notion is presented in specific ways.
It should be noted that in the embodiment of the present application, unless otherwise indicated, the meaning of " plurality " is refer to two or two with
On.
It should be noted that in the embodiment of the present application, " (English:Of) ", " corresponding (English:Corresponding,
Relevant) " and " corresponding (English:Corresponding it) " can use with sometimes, it is noted that do not emphasizing it
When difference, meaning to be expressed is consistent.
The basic principle for the technical solution that the embodiment of the present application is provided is:The device screen of resolution ratio H*W (high * wide)
It is divided into mutual nonoverlapping region, it is right obtains pixel to be corrected (pixel for point phenomenon or saturated phenomenon occur)
The coordinate of the pixel on the vertex for the subregion answered, then according to the coordinate of the pixel on the vertex of subregion and in device screen
Degree of irregularity coefficient, determine degree of irregularity coefficient of the pixel to be corrected in device screen, finally utilize it is to be corrected
Color-values in image of the degree of irregularity coefficient and pixel to be corrected of pixel after uniform in color correction are in equipment
Color change degree coefficient after being shown in screen treats color of the correction pixels point in the front and back image of uniform in color correction
Value is weighted summation, determines the output color value of pixel to be corrected.Briefly, if as shown in Fig. 2, this programme is applied to
The basic principle of rgb color space, this programme is:According to original in image of the pixel to be corrected before uniform in color correction
Rgb color value gets the rgb color value (Ra, Ga, Ba) and color of image of the pixel to be corrected after uniform in color correction
Variation degree COEFFICIENT KC, then in conjunction with the degree of irregularity COEFFICIENT K s in device screen of pixel to be corrected, correction waits for school
Erect image vegetarian refreshments uniform in color correction before original color value, the pixel to be corrected after being corrected color-values (Ro, Go,
Bo)。
The executive agent of the method for saturation or point phenomenon present in decrease image provided by the embodiments of the present application can be with
To weaken the device of saturation or point phenomenon present in image, or for execute present in above-mentioned decrease image saturation or
The display equipment of the method for point phenomenon.Wherein, it can be above-mentioned to weaken the device of saturation or point phenomenon present in image
Show the central processing unit (English in equipment:Central Processing Unit, referred to as:CPU) or can be above-mentioned aobvious
Show the control unit or function module in equipment.
Below in conjunction with the Figure of description of the embodiment of the present application, technical solution provided by the embodiments of the present application is said
It is bright.Obviously, it is described be the application a part of the embodiment, instead of all the embodiments.It should be noted that hereafter institute
Technical characteristic in the absence of conflict, can be used in combination, shape some or all of in any number of technical solutions provided
The technical solution of Cheng Xin.
Based on the above, embodiments herein provides a kind of weaken to be existed in the image after uniform in color corrects
Saturation or point phenomenon method, as shown in figure 3, this method specifically comprises the following steps:
101, the vertex of the target partition in the image after being corrected according to uniform in color residing for pixel to be corrected is in equipment
The coordinate of degree of irregularity coefficient and coordinate and pixel to be corrected in device screen in screen, determines picture to be corrected
Degree of irregularity coefficient of the vegetarian refreshments in device screen.
Wherein, the device screen in the application is made of at least one not overlapping rectangular sub-area region.Illustratively,
It, can be by the equipment screen of resolution ratio W*H (wide * high) with reference to the partitioned area structural schematic diagram of device screen subregion shown in Fig. 4
Curtain be divided into be not overlapped each other, (subregion in the height of the longitudinal directions subregion number * on transverse width is a by the M*N of width a height of (bw, bh)
Number) a square region.Wherein, bw is the pixel number that each subregion transverse width includes, and bh is that each subregion is longitudinal high
The pixel number that degree includes.
It should be noted that the pixel to be corrected in the application can be according to human eye to the preference of color, observation device
The pixel of image after the uniform in color correction shown in screen determines, can be by setting predetermined threshold, will be to be corrected
The color-values of pixel are compared to determine with predetermined threshold, can also be determined according to other modes, the embodiment of the present application
This is not limited.
Illustratively, before executing step 101, the present embodiment also needs to execute following step:
Coordinate of the pixel to be corrected in image in device screen after S1, acquisition uniform in color correction.
S2, the coordinate according to pixel to be corrected in device screen obtain pixel to be corrected institute in device screen
The degree of irregularity coefficient and coordinate in device screen on vertex in the target partition at place.
Illustratively, terminal can obtain and picture to be corrected when executing step S2 in direct degree of irregularity coefficient table
Degree of irregularity coefficient and coordinate of the vertex for the target partition that the coordinate of vegetarian refreshments matches in device screen.Wherein, above-mentioned
Degree of irregularity coefficient table include each partitioned area vertex the degree of irregularity coefficient and seat in device screen
Mark.
Specifically, can be obtained by following two realization methods:
Mode one:
Terminal is according to the coordinate of pixel to be corrected, it is first determined goes out pixel to be corrected mesh residing in device screen
The coordinate for marking vertex in subregion, according to the coordinate on vertex, from the first degree of irregularity coefficient table Ks_LUT1 in device screen
In (including correspondence between the coordinate on vertex and degree of irregularity coefficient in device screen), find and the vertex
The corresponding degree of irregularity coefficient in device screen of coordinate.Illustratively, terminal can set according to pixel to be corrected
Coordinate in standby screen, and divide between interval when partitioned area on preset device screen transverse width and longitudinal height
Every determining the coordinate on vertex in pixel to be corrected target partition residing in device screen.Wherein, which can be to be somebody's turn to do
The coordinate on four vertex of the area identification of target partition or the partitioned area.
For example, referring to the position view on four vertex of subregion where pixel S shown in fig. 5, if pixel to be corrected
The coordinate of point is S (i, j), and four vertex of target partition are P0, P1, P2 and P3, then terminal can be according to pixel S's to be corrected
Interval (bw) on coordinate S (i, j), subregion transverse width and the interval (bh) of longitudinal height, calculate four vertex be P0,
Coordinate P0 (the i of P1, P2 and P30,j0), P1 (i0,j1), P2 (i1,j0), P3 (i1,j1).Specifically, terminal is according to pixel to be corrected
The downward rounding of the first divisor that the abscissa i and bh of point S is divided by obtains the first integer and (takes and be less than and closest to the divisor
Integer), the first integer is multiplied with bh and determines lateral coordinates i0Value, use i0Value determined laterally plus the value obtained after bh
Coordinate i1;The second integer is obtained according to the ordinate j of pixel S to be corrected and the bw downward rounding of the second divisor being divided by,
Second integer is multiplied with bw and determines longitudinal coordinate j0Value, use j0Value determine that longitudinal coordinate determines j plus the value after bw1,
In, i0< i1,j0< j1.Then, terminal is searched and vertex further according to the coordinate on the vertex in target partition in Ks_LUT1
The corresponding degree of irregularity coefficient in device screen of coordinate.For example, the uneven journey in device screen on four vertex
Degree coefficient is expressed as Ks (P0)=Ks_LUT1 (i0/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)。
Mode two:
Terminal determines pixel to be corrected target residing in device screen point according to the coordinate of pixel to be corrected
Area, then according to the mark of target partition, from second in device screen degree of irregularity coefficient table Ks_LUT2 (including point
The mark of region is corresponding between the coordinate on vertex in the partitioned area and the degree of irregularity coefficient in device screen to close
System) in, obtain the coordinate on vertex and the degree of irregularity coefficient in device screen in the target partition.
For example, referring to the position view on four vertex of subregion where pixel S shown in fig. 5, if pixel to be corrected
The coordinate of point is S (i, j), and four vertex of target partition are P0, P1, P2 and P3, and the area identification S1 of target partition, then terminal can
Corresponding mapping relations are identified directly to find the target partition from Ks_LUT2 according to the area identification S1 of partitioned area,
The coordinate of P0, P1, P2 and P3 and the corresponding degree of irregularity COEFFICIENT K s in device screen are obtained from the mapping relations
(P0)、Ks(P1)、Ks(P2)、Ks(P3)。
It should be noted that the vertex of each partitioned area can be at least one vertex of the partitioned area;For example, ginseng
Shown in Fig. 6, when the vertex for each partitioned area that the degree of irregularity coefficient table in device screen includes is less than four
When, the vertex of multiple partitioned areas can be combined by terminal, form the rectangular area for including pixel to be corrected, and the square
The degree of irregularity coefficient in device screen and coordinate on four vertex (A, B, C, D in Fig. 6) in shape region are stored in
In degree of irregularity coefficient table in device screen.
Optionally, determine pixel to be corrected in device screen if vertex is four vertex of target partition, in step 101
In degree of irregularity coefficient process, specifically comprise the following steps:
101a1, corrected according to uniform in color after image in the vertex of target partition residing for pixel to be corrected setting
Degree of irregularity coefficient and coordinate in standby screen, determine the first straight line comprising any two vertex in target partition with comprising
The target line of pixel to be corrected intersects vertically degree of irregularity coefficient of the intersection point to be formed in device screen, and comprising
The intersection point that the second straight line with target line on any two vertex are crossed to form in target partition is uneven in device screen
Degree coefficient.
101a2, the coordinate according to the degree of irregularity coefficient and coordinate and pixel to be corrected of two intersection points, determine
The degree of irregularity coefficient in device screen of pixel to be corrected.
Wherein, above-mentioned first straight line and two parallel edges that above-mentioned second straight line is target partition;Or, above-mentioned
Two straight lines are the diagonal straight line of target partition, and above-mentioned pixel to be corrected is in first straight line and exists with above-mentioned second straight line
In the region surrounded in target partition.
It is further alternative, the first straight line and packet for including any two vertex in target partition are determined in step 101a1
Target line containing pixel to be corrected intersects vertically degree of irregularity coefficient of the intersection point to be formed in device screen, specific to wrap
Include following steps:
A1, the coordinate according to two vertex of the coordinate and first straight line of pixel to be corrected, calculate comprising target
The first straight line on any two vertex and the target line comprising pixel to be corrected intersect vertically the intersection point to be formed in subregion
Coordinate.
Illustratively, referring to Figure 5, above-mentioned first straight line and above-mentioned second straight line are two of target partition flat
Row side can determine the first straight line of target partition according to P0, P1, by pixel to be corrected coordinate S (i, j) make one with
The intersection point of the vertical straight line of first straight line for the target partition that P0, P1 are determined, the straight line and first straight line is intersection point A, then root
According to the coordinate S (i, j) of pixel to be corrected, P0 (i0,j0)、P1(i0,j1), it may be determined that the coordinate of A points is (i0,j)。
A2, according to the coordinate of intersection point, the coordinate on two vertex of first straight line and the degree of irregularity in device screen
Coefficient determines degree of irregularity coefficient of the intersection point in device screen.
Illustratively, referring to Figure 5, according to the coordinate A (i of the intersection point A in step A10, j), two of first straight line
Coordinate P0 (the i on vertex0,j0)、P1(i0,j1) and degree of irregularity COEFFICIENT K s (P0), Ks (P1) in device screen, root
According to bilinear interpolation method, it may be determined that the degree of irregularity coefficient in device screen of intersection point A is:
Optionally, the second straight line and target line for including any two vertex in target partition are determined in step 101a1
Degree of irregularity coefficient of the intersection point being crossed to form in device screen specifically includes following content:
B1, according to the coordinate of pixel to be corrected and two apex coordinates of second straight line, calculate comprising target point
The coordinate for the intersection point that the second straight line Yu target line on any two vertex are crossed to form in area.
Illustratively, referring to Figure 5, the second straight line that target partition can be determined according to P2, P3, by picture to be corrected
The coordinate S (i, j) of vegetarian refreshments makees a straight line intersected with the second straight line of P2, P3 target partition determined, the straight line and second
The intersection points B of straight line, then according to the coordinate S (i, j) of pixel to be corrected, P2 (i1,j0)、P3(i1,j1), it may be determined that the seat of B points
It is designated as (i1,j)。
B2, according to the coordinate of intersection point, two apex coordinates of second straight line and the degree of irregularity in device screen
Coefficient determines the degree of irregularity coefficient in device screen of intersection point.
Illustratively, referring to Figure 5, according to the coordinate B (i of intersection points B1, j), the coordinate on two vertex of second straight line
P2(i1,j0)、P3(i1,j1) and degree of irregularity COEFFICIENT K s (P2), Ks (P3) in device screen, determine intersection points B
Degree of irregularity coefficient in device screen is:
Illustratively, according to the coordinate A of the degree of irregularity COEFFICIENT K s (A) in device screen of intersection point A, intersection point A
(i0, j), the degree of irregularity COEFFICIENT K s (B) in device screen of intersection points B, the coordinate B (i of intersection points B1, j) and it is to be corrected
The coordinate S (i, j) of pixel, it may be determined that the degree of irregularity COEFFICIENT K s (S) in device screen of pixel S to be corrected,
The degree of irregularity COEFFICIENT K s (S) in device screen of pixel S to be corrected is as shown in formula 3.
Illustratively, when second straight line be target partition diagonal straight line, and pixel to be corrected be in first straight line and
In the region that second straight line surrounds in target partition, then picture to be corrected can be determined by three vertex in target partition
Degree of irregularity coefficient of the vegetarian refreshments in device screen.For example, three of subregion where pixel S to be corrected as shown in Figure 7
The position view on vertex, P1, P2, P3 in Fig. 7, including (i.e. first is straight for the line of the straight line of pixel S to be corrected and P2P3
Line) B points are vertically intersected on, including the line (i.e. second straight line) of the straight line of pixel S to be corrected and P1P2 intersect at A points, then
The coordinate of A points and B points can be determined by similar triangles;Further according to the method for bilinear interpolation, by the coordinate of P1, P2 and
The coordinate of degree of irregularity coefficient and A points in device screen determines the degree of irregularity coefficient in device screen of A points,
Determine B points in device screen by the coordinate of the coordinate of P2, P3, the degree of irregularity coefficient in device screen and B points
Degree of irregularity coefficient;Finally according to the coordinate and the degree of irregularity coefficient in device screen of A points and B points and picture to be corrected
The coordinate of vegetarian refreshments S determines the degree of irregularity coefficient in device screen of pixel to be corrected.Herein to the specific of the realization
Process repeats no more.It should be noted that when determining the coordinate of A points and B points using three vertex of target partition, A points may
The not pixel in the image before corresponding color uniformity correction, then its coordinate may not be integer, but this has no effect on determination and waits for
The degree of irregularity coefficient in device screen of correction pixels point.
Optionally, when pixel to be corrected is on the line on any two vertex of target partition, specifically, step
The process of degree of irregularity coefficient of the pixel to be corrected in device screen, including following content are determined in 101:
101b, according to the coordinate on two vertex on the coordinate and line of pixel to be corrected and in device screen
Degree of irregularity coefficient, determine the degree of irregularity coefficient in device screen of pixel to be corrected.
Illustratively, the position view on two vertex of partitioned area where pixel S to be corrected as shown in Figure 8,
If pixel S to be corrected is on the line of the corresponding pixel of vertex P0 and P2 of target partition, according to pixel to be corrected
The coordinate S (i, j), P0 (i of point0,j0)、P2(i1,j0) and Ks (P0), Ks (P1), wherein j0=j, in conjunction with linear interpolation side
Method, it may be determined that the degree of irregularity COEFFICIENT K s (S) in device screen of pixel to be corrected, as shown in formula 4.
Specifically, the derivation of formula 4 is as follows:
According to Ks (S)=(1-D) × Ks (P0)+D × Ks (P2), (formula 5);
Wherein,
Formula 6 is substituted into formula 5, formula 4 can be obtained.
It should be noted that when the abscissa on any two vertex in the abscissa and target partition of pixel to be corrected
Or ordinate all same, i.e., the line on any two vertex in target partition are parallel to any reference axis, or, when target point
The slope of the line on any two vertex in area and pixel to be corrected and appointing in any two vertex in target partition
When the slope of the line on one vertex is identical, then it can set according to two vertex in the target partition residing for pixel to be corrected
Degree of irregularity coefficient and coordinate in standby screen, determine degree of irregularity system of the pixel to be corrected in device screen
Number.
The embodiment of the present application is using traditional uniform in color bearing calibration school in view of the high pixel of color saturation
After positive progress uniform in color correction, in fact it could happen that a color change degree is incorporated herein in " saturation " phenomenon or " point " phenomenon
With in the image after traditional color uniformity correction method correction in color-values (Ro, Go, Bo) of the COEFFICIENT K c to control final output
The contribution amount for the result (Ra, Ga, Ba) that the method for the color of pixel generates, i.e., control use with color change degree coefficient Kc
Pixel of the color-values (Ra, Ga, Ba) of pixel to final output in image after traditional color uniformity correction method correction
Color-values (Ro, Go, Bo) influence.
Illustratively, if uniform in color correction after image pixel color-values be rgb value when, this method further includes
Following content:
C1, by pixel to be corrected uniform in color correction after image in the corresponding red primary color-values of color-values,
Maximum value in the color-values of green primary and the color-values of blue primary shown in device screen after color change degree system
Number, the color change degree coefficient in device screen after display as pixel to be corrected.
Illustratively, color change degree coefficient is Kc as shown in figure 9, the Kc in figure can be according to human eye to the inclined of color
It setting well, the idx=max (R (i, j), G (i, j), B (i, j)) in figure, idx0 is corresponding with Kc1 in figure, and idx1 is corresponding with Kc0,
Idx0, Kc1, idx1 and Kc0 are set by testing.
Illustratively, when the three-component maximum values of the RGB of pixel are very big, the application uses small Kc values, final
Output result (Ro, Go, Bo) in use few (Ra, Ga, Ba), otherwise use in the final output result (Ro, Go, Bo)
Larger Kc values, using more (Ra, Ga, Ba) in final output result (Ro, Go, Bo).Specifically, in fig.9, from
The corresponding color change degree coefficient in region of 0-idx0 is Kc1, is shown when the three-component maximum values of RGB are smaller, most
It is all made of in whole output result (Ro, Go, Bo) more (Ra, Ga, Ba);Between idx0-idx1, Kc is gradual with idx's
Increase is gradually reduced, and shows to reduce final output result (Ro, Go, Bo) when the three-component maximum values of RGB gradually increase
In (Ra, Ga, Ba) influence;When idx is more than or equal to idx1, then it is all made of Kc0, is shown in the three-component maximums of RGB
When value is smaller, it is all made of few (Ra, Ga, Ba) in final output result (Ro, Go, Bo);Wherein, Kc0 is less than or equal to
Kc1, and Kc0 and Kc1 are between [0,1].
102, using the degree of irregularity coefficient of pixel to be corrected and pixel to be corrected after uniform in color correction
Image in color-values shown in device screen after color change degree coefficient, treat correction pixels point in uniform in color
Color-values in the front and back image of correction are weighted summation, obtain the output color value of pixel to be corrected.
In a kind of example, according to the degree of irregularity coefficient of pixel to be corrected and pixel to be corrected in uniform in color
Color change degree coefficient after the color-values in image after correction are shown in device screen is tied in rgb color space
Close colour correction formula, treat correction pixels point S uniform in color correction before image in color-values (R (i, j), G (i, j),
B (i, j)) and the pixel S to be corrected uniform in color correction after image in color-values (Ra (i, j), Ga (i, j), Ba
(i, j)) it is weighted summation, obtain final output result (Ro (i, j), Go (i, j), Bo (i, j)).Wherein, colour correction
Formula is as shown in formula 7.
Wherein, Ro (i, j), Go (i, j), Bo (i, j) are final output knots of the pixel S to be corrected in rgb color space
Red primary color-values, green primary color-values, the blue primary color-values of fruit;R (i, j), G (i, j), B (i, j) are pixel to be corrected
The red primary color-values in image, green primary color-values, blue primary color-values before uniform in color correction;Ra(i,j)、Ga
(i, j), Ba (i, j) be pixel to be corrected uniform in color correction after image in red primary color-values, green primary color
Value, blue primary color-values.Ks (S) and Kc (idx) are calculated according to above-mentioned steps.Kc (idx) is according to the initial face of pixel
Maximum value in color value (R, G, B) tables look-up to obtain, wherein idx=max (R, G, B).
Since the big pixel of the color-values pixel smaller than color-values is easy to generate saturated phenomenon or point phenomenon, and locate
It is easy to generation saturated phenomenon or point phenomenon than the pixel in device screen center in the pixel of device screen surrounding, because
This, scheme provided by the embodiments of the present application, by being introduced into degree of irregularity coefficient of the pixel in device screen (for example, setting
The pixel of standby screen surrounding is small compared with the degree of irregularity of the pixel at device screen center) and the color-values of pixel setting
Color change degree coefficient after being shown in standby screen is (for example, the color of the big pixel pixel smaller than color-values of color-values
Coloured silk value variation degree is small), and in advance to the degree of irregularity coefficient and coordinate on the vertex of each subregion in device screen, Yi Jise
The corresponding color change degree coefficient of each color-values within the scope of color value is stored, so as to be corrected according to uniform in color
Degree of irregularity coefficient and coordinate of the vertex of target partition in image afterwards residing for pixel to be corrected in device screen,
And coordinate of the pixel to be corrected in device screen, determine degree of irregularity system of the pixel to be corrected in device screen
Number, and determine the color change degree coefficient after the color-values of pixel to be corrected in are shown in device screen, using waiting for
Color-values in image of the degree of irregularity coefficient and pixel to be corrected of correction pixels point after uniform in color correction exist
Color change degree coefficient after being shown in device screen treats the correction pixels point image color front and back in uniform in color correction
The color-values in image before uniformity correction are weighted summation, obtain the output color value of pixel to be corrected, solve to use
The saturated phenomenon and point phenomenon that the pixel in image after existing uniform in color bearing calibration correction generates, improve figure
The image quality of picture.
The embodiment of the present application provides a kind of device weakening saturation or point phenomenon present in image, which is warp
The image after uniform in color correction is crossed, as shown in Figure 10, which includes:Determining module 21, computing module 22, wherein:
Determining module 21, for the target partition residing for pixel to be corrected in the image after being corrected according to uniform in color
Degree of irregularity coefficient and coordinate and to be corrected pixel coordinate in device screen of the vertex in device screen, really
Fixed degree of irregularity coefficient of the pixel to be corrected in device screen.
Computing module 22, the degree of irregularity coefficient of the pixel to be corrected for being determined using determining module 21, and
Pixel to be corrected uniform in color correction after image in color-values shown in device screen after color change degree
Coefficient, the color-values treated in image of the correction pixels point after uniform in color correction are weighted summation, obtain picture to be corrected
The output color value of vegetarian refreshments.
Optionally, above-mentioned determining module 21 is determining degree of irregularity coefficient of the pixel to be corrected in device screen
When, it is specifically used for:
It determines the first straight line comprising any two vertex in target partition and includes the target line of pixel to be corrected
Intersect vertically degree of irregularity coefficient of the intersection point to be formed in device screen, and includes any two vertex in target partition
Degree of irregularity coefficient of the intersection point that is crossed to form of second straight line and target line in device screen;
According to the coordinate of the degree of irregularity coefficient and coordinate and pixel to be corrected of two intersection points, determine to be corrected
Degree of irregularity coefficient of the pixel in device screen;
Wherein, first straight line and two parallel edges that second straight line is target partition;Or, second straight line is target partition
Diagonal straight line, and pixel to be corrected is in the region that first straight line is surrounded with second straight line in target partition.
Optionally, above-mentioned determining module 21 is determining the first straight line and packet for including any two vertex in target partition
Target line containing pixel to be corrected intersect vertically degree of irregularity coefficient of the intersection point to be formed in device screen when, specifically
For:
According to the coordinate of pixel to be corrected and the coordinate on two vertex of first straight line, calculate comprising target partition
The first straight line on middle any two vertex and the target line comprising pixel to be corrected intersect vertically the coordinate of the intersection point to be formed;
According to first straight line and target line intersect vertically the coordinate for the intersection point to be formed, two vertex of first straight line seat
Mark and the degree of irregularity coefficient in device screen determine that the first straight line intersection point to be formed that intersects vertically with target line is being set
Degree of irregularity coefficient in standby screen.
Optionally, above-mentioned determining module 21 is determining the second straight line and mesh for including any two vertex in target partition
When marking degree of irregularity coefficient of the intersection point of straight line intersection formation in device screen, it is specifically used for:
According to the coordinate of pixel to be corrected and the coordinate on two vertex of second straight line, calculate comprising target partition
The coordinate for the intersection point that the second straight line on middle any two vertex is crossed to form with target line;
According to second straight line and target line intersect vertically the coordinate for the intersection point to be formed, two vertex of second straight line seat
Mark and the degree of irregularity coefficient in device screen determine that the second straight line intersection point to be formed that intersects vertically with target line is being set
Degree of irregularity coefficient in standby screen.
Optionally, when pixel to be corrected is on the line on any two vertex of target partition, above-mentioned determination
Module 21 is determining degree of irregularity coefficient of the pixel to be corrected in device screen, is specifically used for:
According to the coordinate on two vertex on the coordinate and line of pixel to be corrected and the unevenness in device screen
Even degree coefficient determines degree of irregularity coefficient of the pixel to be corrected in device screen.
Optionally, if uniform in color correction after image pixel color-values be rgb value when, above-mentioned determining module
21 are additionally operable to:
By the corresponding red primary color-values of color-values in image of the pixel to be corrected after uniform in color correction, green base
Maximum value in the color-values of color and the color-values of blue primary shown in device screen after color change degree coefficient, make
Color change degree coefficient after being shown in device screen for pixel to be corrected.
Since the big pixel of the color-values pixel smaller than color-values is easy to generate saturated phenomenon or point phenomenon, and locate
It is easy to generation saturated phenomenon or point phenomenon than the pixel in device screen center in the pixel of device screen surrounding, because
This, device provided by the embodiments of the present application, by being introduced into degree of irregularity coefficient of the pixel in device screen (for example, setting
The pixel of standby screen surrounding is small compared with the degree of irregularity of the pixel at device screen center) and the color-values of pixel setting
Color change degree coefficient after being shown in standby screen is (for example, the color of the big pixel pixel smaller than color-values of color-values
Coloured silk value variation degree is small), and in advance to the degree of irregularity coefficient and coordinate on the vertex of each subregion in device screen, Yi Jise
The corresponding color change degree coefficient of each color-values within the scope of color value is stored, so as to be corrected according to uniform in color
Degree of irregularity coefficient and coordinate of the vertex of target partition in image afterwards residing for pixel to be corrected in device screen,
And coordinate of the pixel to be corrected in device screen, determine degree of irregularity system of the pixel to be corrected in device screen
Number, determines degree of irregularity coefficient of the pixel to be corrected in device screen, utilizes the degree of irregularity of pixel to be corrected
Color-values in the image of coefficient and pixel to be corrected after uniform in color correction shown in device screen after color
Variation degree coefficient treats color-values of the correction pixels point in the front and back image of uniform in color correction and is weighted summation, obtains
To the output color value of pixel to be corrected, solve using the pixel in the image after existing uniform in color bearing calibration correction
The saturated phenomenon and point phenomenon that point generates, improve the image quality of image.
It should be noted that during specific implementation, performed each step in above-mentioned method flow as shown in Figure 3
The computer executed instructions that the software form stored in memory can be executed by the processor of example, in hardware are realized, to keep away
Exempt to repeat, details are not described herein again.And the program corresponding to the action performed by above-mentioned apparatus can be stored in a software form
In the memory of the device, the corresponding operation of the above modules is executed in order to which processor calls.
Memory above may include volatile memory (volatile memory), such as random access memory
Device (random-access memory, RAM);Can also include nonvolatile memory (non-volatile memory), example
Such as read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk (hard disk
Drive, HDD) or solid state disk (solid-state drive, SSD);It can also include the combination of the memory of mentioned kind.
Processor in device presented above can be a processor, can also be the system of multiple processing elements
Claim.For example, processor can be central processing unit (central processing unit, CPU;May be other general places
Manage device, digital signal processor (digital signal processing, DSP), application-specific integrated circuit (application
Specific integrated circuit, ASIC), field programmable gate array (field-programmable gate
Array, FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..It is logical
With processor can be microprocessor or the processor can also be any conventional processor etc.;Can also be dedicated processes
Device, the application specific processor may include at least one of baseband processing chip, radio frequency processing chip etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple module or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or unit
Letter connection can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separated, aobvious as module
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that the independent physics of each unit includes, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
Finally it should be noted that:Above example is only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;
And these modifications or replacements, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. the method for saturation present in a kind of image of decrease after uniform in color corrects or point phenomenon, feature exist
In, including:
The vertex of target partition in image after being corrected according to uniform in color residing for pixel to be corrected is in device screen
The coordinate of degree of irregularity coefficient and coordinate and the pixel to be corrected in device screen, determines the picture to be corrected
Degree of irregularity coefficient of the vegetarian refreshments in device screen;
Using the degree of irregularity coefficient and the pixel to be corrected of the pixel to be corrected in the uniform in color school
The color-values in image after just shown in device screen after color change degree coefficient, exist to the pixel to be corrected
Color-values in the front and back image of uniform in color correction are weighted summation, obtain the output color of the pixel to be corrected
Value.
2. according to the method described in claim 1, it is characterized in that, the determination pixel to be corrected is in device screen
Degree of irregularity coefficient, including:
It determines the first straight line comprising any two vertex in the target partition and includes the target line of pixel to be corrected
Intersect vertically degree of irregularity coefficient of the intersection point to be formed in device screen, and includes any two in the target partition
Degree of irregularity coefficient of the intersection point that the second straight line on vertex is crossed to form with the target line in device screen;
According to the coordinate of the degree of irregularity coefficient and coordinate and the pixel to be corrected of two intersection points, waited for described in determination
Degree of irregularity coefficient of the correction pixels point in device screen;
Wherein, the first straight line and two parallel edges that the second straight line is the target partition;Or, the second straight line
For the diagonal straight line of the target partition, and the pixel to be corrected is in first straight line with the second straight line in the mesh
In the region surrounded in mark subregion.
3. according to the method described in claim 2, it is characterized in that, the determination includes any two top in the target partition
First straight line and the target line comprising pixel to be corrected of point intersect vertically unevenness of the intersection point to be formed in device screen
Even degree coefficient, including:
According to the coordinate of the pixel to be corrected and the coordinate on two vertex of the first straight line, calculate comprising described
The first straight line on any two vertex and the target line comprising pixel to be corrected intersect vertically the friendship to be formed in target partition
The coordinate of point;
According to the first straight line and the target line intersect vertically the coordinate of the intersection point to be formed, two of the first straight line
The coordinate on vertex and the degree of irregularity coefficient in device screen determine first straight line phase vertical with the target line
Hand over degree of irregularity coefficient of the intersection point formed in device screen;
And/or
The determination includes that the second straight line with the target line on any two vertex in the target partition are crossed to form
Degree of irregularity coefficient of the intersection point in device screen specifically includes:
According to the coordinate of the pixel to be corrected and the coordinate on two vertex of the second straight line, calculate comprising described
The coordinate for the intersection point that the second straight line on any two vertex is crossed to form with the target line in target partition;
According to the second straight line and the target line intersect vertically the coordinate of the intersection point to be formed, two of the second straight line
The coordinate on vertex and the degree of irregularity coefficient in device screen determine second straight line phase vertical with the target line
Hand over degree of irregularity coefficient of the intersection point formed in device screen.
4. according to the method described in claim 1, it is characterized in that, when the pixel to be corrected is in the target partition
When on the line on any two vertex, degree of irregularity coefficient of the determination pixel to be corrected in device screen,
Including:
According to the coordinate on two vertex on the coordinate of the pixel to be corrected and the line and in device screen
Degree of irregularity coefficient determines degree of irregularity coefficient of the pixel to be corrected in device screen.
5. if according to the method described in claim 1, the it is characterized in that, pixel of the image after uniform in color correction
When color-values are rgb value, the method further includes:
By the corresponding red primary color-values of color-values in image of the pixel to be corrected after uniform in color correction, green base
Maximum value in the color-values of color and the color-values of blue primary shown in the device screen after color change degree system
Number, the color change degree coefficient after being shown in the device screen as the pixel to be corrected.
6. the device of saturation present in a kind of image of decrease after uniform in color corrects or point phenomenon, feature exist
In, including:
Determining module, the top for the target partition residing for pixel to be corrected in the image after being corrected according to the uniform in color
Degree of irregularity coefficient and coordinate and to be corrected pixel coordinate in device screen of the point in device screen,
Determine degree of irregularity coefficient of the pixel to be corrected in device screen;
Computing module, the degree of irregularity coefficient of the pixel to be corrected for being determined using the determining module, and
The pixel to be corrected the uniform in color correction after image in color-values shown in device screen after color
Variation degree coefficient is weighted color-values of the pixel to be corrected in the front and back image of uniform in color correction and asks
With obtain the output color value of the pixel to be corrected.
7. device according to claim 6, which is characterized in that the determining module is determining that the pixel to be corrected exists
When degree of irregularity coefficient in device screen, it is specifically used for:
It determines the first straight line comprising any two vertex in the target partition and includes the target line of pixel to be corrected
Intersect vertically degree of irregularity coefficient of the intersection point to be formed in device screen, and includes any two in the target partition
Degree of irregularity coefficient of the intersection point that the second straight line on vertex is crossed to form with the target line in device screen;
According to the coordinate of the degree of irregularity coefficient and coordinate and the pixel to be corrected of two intersection points, waited for described in determination
Degree of irregularity coefficient of the correction pixels point in device screen;
Wherein, the first straight line and two parallel edges that the second straight line is the target partition;Or, the second straight line
For the diagonal straight line of the target partition, and the pixel to be corrected is in first straight line with the second straight line in the mesh
In the region surrounded in mark subregion.
8. device according to claim 7, which is characterized in that the determining module is in determining comprising the target partition
The first straight line on any two vertex intersects vertically the intersection point to be formed in equipment screen with the target line comprising pixel to be corrected
Curtain in degree of irregularity coefficient when, be specifically used for:
According to the coordinate of the pixel to be corrected and the coordinate on two vertex of the first straight line, calculate comprising described
The first straight line on any two vertex and the target line comprising pixel to be corrected intersect vertically the friendship to be formed in target partition
The coordinate of point;
According to the first straight line and the target line intersect vertically the coordinate of the intersection point to be formed, two of the first straight line
The coordinate on vertex and the degree of irregularity coefficient in device screen determine first straight line phase vertical with the target line
Hand over degree of irregularity coefficient of the intersection point formed in device screen;
And/or
The determining module is determining the second straight line comprising any two vertex in the target partition and the target line
When degree of irregularity coefficient of the intersection point being crossed to form in device screen, it is specifically used for:
According to the coordinate of the pixel to be corrected and the coordinate on two vertex of the second straight line, calculate comprising described
The coordinate for the intersection point that the second straight line on any two vertex is crossed to form with the target line in target partition;
According to the second straight line and the target line intersect vertically the coordinate of the intersection point to be formed, two of the second straight line
The coordinate on vertex and the degree of irregularity coefficient in device screen determine second straight line phase vertical with the target line
Hand over degree of irregularity coefficient of the intersection point formed in device screen.
9. device according to claim 6, which is characterized in that when the pixel to be corrected is in the target partition
When on the line on any two vertex, the determining module is determining that the pixel to be corrected is uneven in device screen
When degree coefficient, it is specifically used for:
According to the coordinate on two vertex on the coordinate of the pixel to be corrected and the line and in device screen
Degree of irregularity coefficient determines degree of irregularity coefficient of the pixel to be corrected in device screen.
10. device according to claim 6, which is characterized in that if the pixel of the image after uniform in color correction
Color-values be rgb value when, the determining module is additionally operable to:
By the corresponding red primary color-values of color-values in image of the pixel to be corrected after uniform in color correction, green base
Maximum value in the color-values of color and the color-values of blue primary shown in the device screen after color change degree system
Number, the color change degree coefficient after being shown in the device screen as the pixel to be corrected.
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 true CN108574837A (en) | 2018-09-25 |
CN108574837B 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)
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 |
-
2017
- 2017-03-10 CN CN201710144411.1A patent/CN108574837B/en active Active
Patent Citations (3)
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 |
---|---|
CN108574837B (en) | 2020-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11295701B2 (en) | Pixel rendering method, image rendering method, rendering apparatus, and display apparatus | |
US10957282B2 (en) | Luminance compensation method for a display panel | |
CN107221306A (en) | Method, device and the display device of brightness of image in correction splicing device screen | |
US10839759B2 (en) | Signal processing method and display device | |
US20190221174A1 (en) | Image processing method of display device, image processing structure, and display device | |
US11295684B2 (en) | Pixel driving method, pixel driving apparatus and computer device | |
US10204568B2 (en) | Driving methods and driving devices of display panels | |
US11308901B2 (en) | Pixel driving method, pixel driving apparatus and computer device | |
US11120725B2 (en) | Method and apparatus for color gamut mapping color gradient preservation | |
CN109345454B (en) | Bitmap image vectorization method, storage medium and system | |
US20100165139A1 (en) | Image gamut mapping | |
CN107680556A (en) | A kind of display power-economizing method, device and display | |
US10210788B2 (en) | Displaying method and display with subpixel rendering | |
CN108074220A (en) | A kind of processing method of image, device and television set | |
WO2021136391A1 (en) | Image processing method, image processing device, and display device | |
CN107564493A (en) | A kind of gamut compression method, apparatus and display device | |
JP2013232882A (en) | Non-uniformity correction device and control method | |
US20180330677A1 (en) | Driving methods and driving devices of display panels | |
CN108305224A (en) | A kind of distortion correction method of image, device and television set | |
CN114495812B (en) | Display panel brightness compensation method and device, electronic equipment and readable storage medium | |
CN109377966B (en) | Display method, system and display device | |
CN108574835A (en) | The method and device of image color in a kind of calibration equipment screen | |
US8121405B2 (en) | Systems and methods for skin-color-cognizant color mapping | |
CN108646473B (en) | Array substrate, display panel and display device | |
CN110277076A (en) | A kind of Color Mapping Approach and device, display equipment, 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |