Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below with reference to attached in the embodiment of the present invention
Figure, by specific embodiment, is fully described by technical solution of the present invention.Obviously, described embodiment is of the invention
A part of the embodiment, instead of all the embodiments, based on the embodiment of the present invention, those of ordinary skill in the art are not doing
The every other embodiment obtained under the premise of creative work out, falls within the scope of protection of the present invention.
Fig. 1 a is a kind of flow diagram of method for eliminating display figure coloured silk side provided in an embodiment of the present invention.Such as Fig. 1 a
Show, the method for eliminating display figure coloured silk side can specifically include:
Step 110 obtains multiple edge pixels corresponding with display graphic edge in display screen.
Optionally, the dot structure arrangement mode in the display screen can arrange for diamond array or Pentile.Its
In, as shown in Figure 1 b, multiple sub-pixels 110 are arranged in arrays for pentile arrangement, along 110 matrix line direction X of sub-pixel, first
Sub-pixel 111, the second sub-pixel 112 and third sub-pixel 113 circuit sequentially arrangement, wherein first the 111, second son of sub-pixel
Pixel 112 and the color of third sub-pixel 113 respectively red, green and blue are any.The sub-pixel matrix includes first
11 liang of sub-pixel column of sub-pixel column 10 and the second sub-pixel column, the first sub-pixel column 10 and the second sub-pixel column 11 are in row matrix
It is arranged alternately on the X of direction.In the first sub-pixel column 10, the first sub-pixel 111 and third sub-pixel 113 are arranged alternately;?
It only include the second sub-pixel 112 in two sub-pixel columns 11.Along picture element matrix column direction Y, the first sub-pixel 111, the second sub-pixel
112 and third sub-pixel 113 length it is identical;First sub-pixel along picture element matrix line direction X, the first sub-pixel column 10
111 and 113 length of third sub-pixel be greater than the second sub-pixel column 11 in 112 length of the second sub-pixel.In this arrangement mode,
The first sub-pixel 111, the second sub-pixel 112 positioned at picture element matrix edge is different with the size of third sub-pixel 113, therefore meeting
There is color side phenomenon.It is understood that in traditional standard pixel arrangement mode, three in the pixel at pixel array edge
The size of the sub-pixel of kind color type is identical, they can obtain white light with colour mixture, and the probability for color side phenomenon occur is relatively low,
Therefore, the method on display figure coloured silk side is eliminated in the present embodiment in the pixel array for being similar to diamond array or pentile arrangement
Middle better effect.But it should be recognized that although the probability that color side phenomenon occurs in traditional standard pixel arrangement mode is lower,
The risk for color side phenomenon occur is still remained, the method for therefore, in the present embodiment eliminating display figure coloured silk side can be used for passing
The standard pixel arrangement mode of system.
It should be noted that display figure is only the figure shown in screen display picture, image is not entirely shown.Example
Such as, one annulus of screen display is shown, the color of annulus is red, and background colour is white, then show that figure is red annulus, and
It does not include white background.
It should also be noted that, the corresponding edge pixel of display graphic edge is for showing display graphic edge information
Pixel.It is still illustrated by taking above-mentioned red annulus as an example, the pixel for being displayed in red annular edge information is display figure
The corresponding edge pixel in shape edge, i.e., for showing the periphery of the red annulus and the pixel of inner circumferential.It is understood that red
Annulus includes two edges, the two edges are concentric circles, and the corresponding edge pixel of display graphic edge includes display two same
The all pixels of heart circle information.It obtains in display screen after multiple edge pixels corresponding with display graphic edge, it can be by all pictures
The position of element is recorded to carry out subsequent step.
Illustratively, the display screen can be organic light emitting display, including multiple Organic Light Emitting Diodes.It needs
Bright, display screen may be liquid crystal display, and the present embodiment is not especially limited this.
Step 120 obtains the first pixel for going together adjacent with each edge pixel and the second pixel and same column respectively
Adjacent third pixel and the 4th pixel.
Fig. 1 c is a kind of partial structure diagram of display screen provided in an embodiment of the present invention.Illustratively, in Fig. 1 c institute
The arrangement mode for showing pixel in display screen is diamond array.As illustrated in figure 1 c, if the A pixel 100 in display screen is a display figure
The corresponding edge pixel in shape edge, then B pixel 101 and C pixel 102 are respectively the first picture being disposed adjacent of going together with A pixel 100
Element and the second pixel or B pixel 101 are the second pixel, and C pixel 102 is the first pixel;D pixel 103 and E pixel 104 are distinguished
It is the 4th pixel for the third pixel and fourth pixel adjacent with A pixel same column or D pixel 103, E pixel 104 is third picture
Element.
Illustratively, the multiple edge pixel, first pixel, second pixel, the third pixel and
4th pixel can include that the first sub-pixel, the second sub-pixel and third sub-pixel state the first sub-pixel, described
Two sub-pixels and the third sub-pixel respectively red, green and blue are any.Red, green and blue are light
Three primary colors set one of above-mentioned three kinds for three sub-pixels in a pixel respectively and enable to pixel that can show
The light of various colors enriches the display color of display device.
Step 130, using first pixel, second pixel, the third pixel and the 4th pixel pair
The corresponding edge pixel compensates algorithm process, obtains grayscale value after each edge pixel processing.
Illustratively, each pixel can be made of three different sub-pixels of color type, according to first pixel,
Second pixel, third pixel and the 4th pixel respectively carry out the grayscale value of three sub-pixels in the corresponding edge pixel
Backoff algorithm obtains the grayscale value of above three sub-pixel, and as grayscale value after the corresponding edge pixel processing.
The present embodiment compensates algorithm to corresponding edge pixel using four pixels, compared with the existing technology in be used only two pictures
The mode of element, so that the effect on the color side of grayscale value elimination is more preferable after the processing obtained, treated, and display graphic edge transition is obtained
It is more soft.
The grayscale value of the multiple edge pixel is adjusted to grayscale value after the corresponding processing by step 140.
Specifically, grayscale value after the processing is added in corresponding driving signal, and driving signal is transmitted to aobvious
In display screen in corresponding edge pixel, so that each edge pixel shows the grayscale value in the driving signal received in display screen.
Optionally, the multiple edge pixel, first pixel, second pixel, the third pixel and institute
Stating the 4th pixel includes at least three sub-pixels;At least three sub-pixel has different colors.
It should be noted that multiple edge pixels, the first pixel, the second pixel, third pixel and the 4th as described above
Pixel can include that the first sub-pixel, the second sub-pixel and third sub-pixel can also include optionally the 4th sub-pixel.
First sub-pixel, the second sub-pixel, third sub-pixel and the 4th sub-pixel color can be respectively red, green, blue
It is wherein any one with white, and four colors are different.
Technical solution provided in this embodiment, by obtaining multiple edge pictures corresponding with display graphic edge in display screen
Element, the adjacent third pixel of the first pixel and the second pixel and same column that acquisition and each edge pixel are gone together adjacent respectively
With the 4th pixel, using first pixel, second pixel, the third pixel and the 4th pixel to corresponding
Edge pixel compensates algorithm process, grayscale value after each edge pixel processing is obtained, by the multiple edge pixel
Grayscale value is adjusted to grayscale value after the corresponding processing, realizes using four pixels in neighborhood to display graphic edge pair
The edge pixel answered compensates algorithm, reasonably has adjusted the grayscale value of the corresponding edge pixel of display graphic edge, so that
The image of display graphic edge softens, and has reached the beneficial effect eliminated and show figure coloured silk side in display screen.
Fig. 2 is the flow diagram of another method for eliminating display figure coloured silk side provided in an embodiment of the present invention.This reality
Example is applied on the basis of the above embodiments, to the process for obtaining multiple edge pixels corresponding with display graphic edge in display screen
It is further described.
Referring to fig. 2, the method on the figure coloured silk side of elimination display described in the present embodiment can specifically include:
All pixels in the display screen are divided into multiple pixel spaces by step 210, and the pixel space includes in more
Multiple pixels of row multiple row arrangement.
It should be noted that the arrangement mode of the pixel quantity and pixel that include in multiple pixel spaces is identical, and phase
Without spaced pixels between adjacent pixel space, all pixels in display screen are divided evenly as multiple pixel spaces.It therefore, is real
Existing above-mentioned division, needs to analyze the dot structure of display screen before division, it is to be understood that the shape of pixel space
Shape, the pixel quantity for including and including pixel arrangement mode need to according to the dot structure of display screen carry out appropriate adjustment.
Optionally, the pixel space may include nine pixels in the column arrangement of three rows three.It can be realized in the present invention
The pixel space for eliminating display figure coloured silk side method at least includes nine pixels, sets pixel space to include nine pixel energies
Enough promote the detection accuracy of edge pixel.It is surrounding 8 pixels of extraction for (x, y) with center pixel, as (x+1,
y),(x-1,y),(x+1,y+1),(x-1,y+1),(x,y+1),(x,y-1),(x+1,y-1),(x-1,y-1)。
It should be noted that the present embodiment is not specifically limited the pixel quantity that pixel space includes, or nine
Other quantity except a.
Step 220 obtains edge pixel corresponding with the display graphic edge in each pixel space respectively.
The edge pixel of each pixel space is obtained respectively, it, can to obtain the corresponding whole pixels of display graphic edge
Choosing, the edge pixel of each pixel space can be obtained respectively.
Illustratively, described to obtain edge picture corresponding with the display graphic edge in each pixel space respectively
Element may include: the extending direction of the extending direction and the column along the row, successively to every in each pixel space
A pixel carries out grey gradient operation, obtains the grayscale gradient value of each pixel, determines each in shade of gray value and neighborhood
The pixel that the difference of pixel grey scale gradient value is greater than threshold value is the interior side corresponding with the display graphic edge of pixel space where it
Edge pixel.Specifically, the neighborhood territory pixel of a pixel refers to the pixel being set in the pixel surrounding adjacent area in the present embodiment.
It is understood that in the corresponding edge pixel of display graphic edge and neighborhood between pixel gray value difference compared with
Greatly, therefore the present embodiment determines the pixel using the difference of pixel grey scale gradient value each in edge pixel shade of gray value and neighborhood
It whether is the corresponding pixel of display graphic edge.Such setting and the compatibility of the prior art are preferable, convenient for calculating.
Step 230 determines the edge pixel set corresponding with the display graphic edge in each pixel space
For the multiple edge pixel corresponding with display graphic edge in the display screen.
It should be noted that including the corresponding side of display graphic edge in the pixel space of part in the multiple pixel space
Edge pixel, another part pixel space then do not include the corresponding edge pixel of display graphic edge, and the latter is directly not located
Reason, then will combine the former from the corresponding edge pixel in the edge that each pixel space obtains respectively, obtain display figure
The corresponding multiple edge pixels of shape complete edge.
Step 240 obtains the first pixel for going together adjacent with each edge pixel and the second pixel and same column respectively
Adjacent third pixel and the 4th pixel.
Step 250, using first pixel, second pixel, the third pixel and the 4th pixel pair
The corresponding edge pixel compensates algorithm process, obtains grayscale value after each edge pixel processing.
Adjacent the first pixel (x, y-1) and second of going together still is extracted to be illustrated for (x, y) with center pixel
Pixel (x, y+1) and the adjacent third pixel (x-1, y) and the 4th pixel (x+1, y) of same column, carry out the edge extracted
Under, left and right directions backoff algorithm processing, to reduce the brightness of the pixel.
R (x, y)=a1*R (x-1, y)+b1*R (x+1, y)+c1*R (x, y-1)+d1*R (x, y+1)
G (x, y)=a2*G (x-1, y)+b2*G (x+1, y)+c2*G (x, y-1)+d2*G (x, y+1)
B (x, y)=a3*B (x-1, y)+b3*B (x+1, y)+c3*B (x, y-1)+d3*B (x, y+1)
A1, a2, a3, b1, b2, b3, c1, c2, c3, d1, d2, d3 are coefficient.It should be noted that the value of each coefficient
It may range from being greater than 0 less than 1, the present embodiment is not specifically limited the value of each coefficient, is adjusted according to the actual situation.
The grayscale value of the multiple edge pixel is adjusted to grayscale value after the corresponding processing by step 260.
Wherein, the multiple edge pixel, first pixel, second pixel, the third pixel and described
4th pixel includes at least three sub-pixels;At least three sub-pixel has different colors.
Technical solution provided in this embodiment, by the way that all pixels in display screen are divided into multiple pixel spaces, point
Edge pixel corresponding with display graphic edge in each pixel space is not obtained, determines in each pixel space and show graphic edge
Corresponding edge pixel collection is combined into display screen multiple edge pixels corresponding with display graphic edge, obtains and each edge respectively
The first pixel and the second pixel and same column that pixel is gone together adjacent adjacent third pixel and the 4th pixel, using the first picture
Element, the second pixel, third pixel and the 4th pixel compensate algorithm process to corresponding edge pixel, obtain each edge pixel
The grayscale value of multiple edge pixels is adjusted to grayscale value after corresponding processing, has reached elimination display screen by grayscale value after processing
The beneficial effect on middle display figure coloured silk side.
Fig. 3 is the flow diagram of the method on another elimination display figure coloured silk side provided in an embodiment of the present invention.This reality
Example is applied on the basis of the above embodiments, to using first pixel, second pixel, the third pixel and described
The process that 4th pixel compensates algorithm process to respective pixel is further described.
Referring to Fig. 3, the method on the figure coloured silk side of elimination display described in the present embodiment be can specifically include:
Step 310 obtains multiple edge pixels corresponding with display graphic edge in display screen.
Step 320 obtains the first pixel for going together adjacent with each edge pixel and the second pixel and same column respectively
Adjacent third pixel and the 4th pixel.
Step 330 obtains first pixel, second pixel, the third pixel and the 4th picture respectively
The grayscale value of each first sub-pixel in element.
Illustratively, the first pixel, the second pixel, third pixel and the 4th pixel respectively include three color type differences
The first sub-pixel, the second sub-pixel and third sub-pixel, the color type of the same class sub-pixel in each pixel is identical.
Step 340, using the grayscale value of each first sub-pixel and the coefficient of correspondence sum of products as the respective pixel
Processing after the first sub-pixel grayscale value.
Illustratively, the grayscale value of the first sub-pixel in the first pixel is X, and corresponding coefficient is a;In second pixel
First sub-pixel is Y, and corresponding coefficient is b;The first sub-pixel in third pixel is Z, and corresponding coefficient is c.With the first picture
The first sub-pixel grayscale value is Xa+Yb after the processing of element, the second pixel, third pixel and the corresponding edge pixel of the 4th pixel
+Zc.It should be noted that the value range of each coefficient can be for greater than 0, less than 1, the present embodiment, which does not do the value of each coefficient, to be had
Body limits, and is adjusted according to the actual situation.
Step 350, according to the first sub-pixel grayscale value after the processing of the above-mentioned acquisition corresponding edge pixel
Mode successively obtains the second sub-pixel grayscale value and the corresponding edge pixel after the processing of the corresponding edge pixel
Third sub-pixel grayscale value after processing.
Step 360, by the second sub-pixel after the first sub-pixel grayscale value, processing after the processing of the corresponding edge pixel
Third sub-pixel grayscale value is as grayscale value after the corresponding edge pixel processing after grayscale value and processing.
The grayscale value of the multiple edge pixel is adjusted to grayscale value after the corresponding processing by step 370.
Wherein, the multiple edge pixel, first pixel, second pixel, the third pixel and described
4th pixel includes at least three sub-pixels;At least three sub-pixel has different colors.
Further, the grayscale value by the multiple edge pixel is adjusted to grayscale value after the corresponding processing,
It may include: that the grayscale value of first sub-pixel in the multiple edge pixel is adjusted to the corresponding processing respectively
The grayscale value of second sub-pixel in the multiple edge pixel is adjusted to correspondence by the first sub-pixel grayscale value afterwards respectively
The processing after the second sub-pixel grayscale value, the grayscale value of the third sub-pixel in the multiple edge pixel is distinguished
It is adjusted to third sub-pixel grayscale value after the corresponding processing.
Technical solution provided in this embodiment, by obtaining multiple edge pictures corresponding with display graphic edge in display screen
Element obtains the first pixel for going together adjacent with each edge pixel and the second pixel and the adjacent third pixel of same column and the respectively
Four pixels are obtained according to the grayscale value of each first sub-pixel in the first pixel, the second pixel, third pixel and the 4th pixel respectively
The first sub-pixel grayscale value after the processing of corresponding edge pixel, and obtained the after the processing of corresponding edge pixel in the same manner
Third sub-pixel grayscale value after two sub-pixel grayscale values and processing, by the first sub-pixel grayscale after the processing of corresponding edge pixel
Value, processing after the second sub-pixel grayscale value and processing after third sub-pixel grayscale value as grayscale after the processes pixel of corresponding edge
The grayscale value of multiple edge pixels is adjusted to grayscale value after corresponding processing, has reached in elimination display screen and shown figure by value
The beneficial effect on color side.
Fig. 4 is a kind of structural schematic diagram of display device provided in an embodiment of the present invention.Referring to fig. 4, the present embodiment provides
Display device can specifically include:
Display screen 410, for showing at least one display figure;
Edge detection module 420, for obtaining multiple edges corresponding with the display graphic edge in the display screen
Pixel;
Pixel obtains module 430, goes together adjacent the first pixel and second for obtaining respectively with each edge pixel
Pixel and the adjacent third pixel and the 4th pixel of same column;
Compensation deals module 440, for using first pixel, second pixel, the third pixel and institute
It states the 4th pixel and algorithm process is compensated to the corresponding edge pixel, obtain grayscale after each edge pixel processing
Value;
Grayscale adjusts module 450, after the grayscale value of the multiple edge pixel is adjusted to the corresponding processing
Grayscale value;
Wherein, the multiple edge pixel, first pixel, second pixel, the third pixel and described
4th pixel includes at least three sub-pixels;
At least three sub-pixel has different colors.
In the present embodiment, the edge detection module 420 may include:
Space division unit, for all pixels in the display screen to be divided into multiple pixel spaces, the pixel
Space includes multiple pixels in multiple lines and multiple rows arrangement;
Pixel acquisition unit, for obtaining edge corresponding with the display graphic edge in each pixel space respectively
Pixel;
Pixel value determining unit, for determining the edge corresponding with the display graphic edge in each pixel space
Pixel set is the multiple edge pixel corresponding with display graphic edge in the display screen.
In the present embodiment, the pixel space may include nine pixels in the column arrangement of three rows three.
In the present embodiment, the dot structure arrangement mode of the display screen can arrange for diamond array or Pentile.
In the present embodiment, the display screen can be organic light emitting display.
Display device provided in this embodiment, with the side provided by any embodiment of the invention for eliminating display figure coloured silk side
It is owned by France in same inventive concept, the method provided by any embodiment of the invention for eliminating display figure coloured silk side can be performed, have
Corresponding functional module and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the present invention is arbitrarily real
The method that the elimination display figure coloured silk side of example offer is provided.
The technical principle that above are only presently preferred embodiments of the present invention and used.The present invention is not limited to specific realities here
Example is applied, various significant changes, readjustment and the substitution being able to carry out for a person skilled in the art are not departing from this hair
Bright protection scope.Therefore, although the present invention has been described in more detail through the above examples, the present invention is not
Above embodiments are only limited to, can also include more other equivalent embodiments without departing from the inventive concept, and
The scope of the present invention is determined by the scope of the claims.