CN105989799B - Image processing method and image processing apparatus - Google Patents

Image processing method and image processing apparatus Download PDF

Info

Publication number
CN105989799B
CN105989799B CN201510075267.1A CN201510075267A CN105989799B CN 105989799 B CN105989799 B CN 105989799B CN 201510075267 A CN201510075267 A CN 201510075267A CN 105989799 B CN105989799 B CN 105989799B
Authority
CN
China
Prior art keywords
sub
pix
color
data
color data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510075267.1A
Other languages
Chinese (zh)
Other versions
CN105989799A (en
Inventor
赵小明
杨城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Nova Nebula Technology Co., Ltd.
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201510075267.1A priority Critical patent/CN105989799B/en
Publication of CN105989799A publication Critical patent/CN105989799A/en
Application granted granted Critical
Publication of CN105989799B publication Critical patent/CN105989799B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to image processing method and image processing apparatus.Described image processing method includes:Multiple sub-pix color data because to original image obtained from sub-pix down-sampling correspond to each physical picture element in multiple physical picture elements of display panel are obtained, the original image includes multiple original pixels and each original pixels includes corresponding multiple bases data;And sub-pix color data after obtaining multiple complementary colors processing corresponding to each physical picture element is handled with special algorithm progress complementary color to the multiple sub-pix color data of the multiple physical picture element and is shown for display panel progress picture with generating destination image data.The present invention carries out complementary color processing using specific sub-pix color data complementary color Processing Algorithm to the sub-pix color data obtained after sub-pix down-sampling, can effectively improve image resolution ratio and eliminates color mistake caused by sub-pix down-sampling technology in the case where not influencing picture clarity.

Description

Image processing method and image processing apparatus
Technical field
The present invention relates to display technology field, more particularly to a kind of image processing method and a kind of image processing apparatus.
Background technology
Display technology is one of most critical part in the included technology of information industry, LED (Light Emitting Diode, light emitting diode) display screen system as novel display technology, with its energy-saving and environmental protection, it is highlighted the advantages that gradual quilt Market receives, to be widely used in the fields such as city medium, urban transportation.
To showing the pursuit such as high-resolution of quality shows it is that LED display industries constantly pursue a goal.
Existing LED display mostly uses three primary colours display technology, and the promotion of resolution ratio is only adopted using traditional Sample technology, it is main to promote resolution ratio using the density for increasing physical picture element and scale.Of high cost, the room for promotion of this technology It is limited, also have that there are certain drawbacks in terms of manufacture craft and heat dissipation.In the display system, sub-pix sampling technique pair is utilized Original image will appear color Aliasing Problem when sampling.It is existing a kind of based on the anti-color aliasing filter of display equipment sub-pix arrangement Wave method is referred to application No. is 201310314907.0, and entitled " super-resolution based on two-dimensional sub-pixel sampling is aobvious Show method and device " Chinese invention patent application can obscure artwork although can eliminate color mistake to a certain extent Picture cannot get a desired effect.
Specifically, as disclosed by above-mentioned application for a patent for invention, to original image R, G, B primary color component (color data) point It anti-color aliasing Shi Jia not filter accordingly, then to filtered image according to the space bit of display equipment two-dimensional sub-pixel arrangement It sets structure and carries out sub-pix sampling to realize that the super-resolution of display equipment is shown.However, disclosed by the application for a patent for invention Content is to eliminate color mistake by constructing filter to each primary colours of original image, may make image blur, it is difficult to reach To high-resolution and high-definition effect.
Therefore, at present in LED display fields, there are no a kind of LED display methods can be veritably raising image resolution ratio It is combined with eliminating color mistake to reach fine definition and high-resolution.
Invention content
Therefore, for deficiency in the prior art, the present invention provides a kind of image processing method and a kind of image procossing Device.
Specifically, a kind of image processing method provided in an embodiment of the present invention, for providing target image to display panel Data show that the display panel includes multiple physical picture elements to carry out picture, each described physical picture element include it is multiple not With the physics sub-pix of color.Described image processing method includes step:It obtains because carrying out sub-pix down-sampling to original image Obtained from correspond to each physical picture element multiple sub-pix color data, the original image includes multiple original Pixel, and each described original pixels includes corresponding multiple bases data;And to described in the multiple physical picture element Multiple sub-pix color data carry out complementary color and handle to obtain Asia after the multiple complementary colors for corresponding to each physical picture element are handled Pixel color data is to generate the destination image data.Wherein, to the multiple sub-pix face of the multiple physical picture element Chromatic number is handled according to progress complementary color:When carrying out complementary color processing to any one target sub-pix color data, marks off and include The picture of the target sub-pix color data and the multiple sub-pix color data adjacent with the target sub-pix color data Plain block and based on the pixel multiple pending sub-pix color data in the block and with the multiple pending sub-pix color Non- Sample Color Data in the multiple bases data of the corresponding multiple original pixels of data judges whether to need to carry out complementary color And determine complementary color position and complementary color value size when needing to carry out complementary color, wherein the multiple pending sub-pix color data It is the sub-pix face of different colours type including the target sub-pix color data and with the target sub-pix color data Chromatic number evidence.
In one embodiment of the invention, above-mentioned block of pixels be 3 × 3 block of pixels, and in 3 × 3 block of pixels with The adjacent the multiple sub-pix color data of the target sub-pix color data includes being different from the target sub-pix face At least two color types of the color type of chromatic number evidence.
In one embodiment of the invention, above-mentioned 3 × 3 block of pixels is centered on the target sub-pix color data.
In one embodiment of the invention, above-mentioned block of pixels be 2 × 2 block of pixels, and in 2 × 2 block of pixels with The adjacent the multiple sub-pix color data of the target sub-pix color data includes being different from the target sub-pix face At least two color types of the color type of chromatic number evidence.
In one embodiment of the invention, above-mentioned block of pixels is triangular pixel block, and in the triangular pixel block Each sub-pix color data color type it is different.
In one embodiment of the invention, each described physical picture element includes first color of rectangular arrangement Physics sub-pix, a second color physics sub-pix and two third color physics sub-pixes and described two third colors Physics sub-pix is located on same diagonal line.
In one embodiment of the invention, above-mentioned first color physics sub-pix is red physics sub-pix, described the Second colors physics sub-pix is blue physics sub-pix, and described two third color physics sub-pixes are two green physics Asia pictures Element.
In one embodiment of the invention, the first physical picture element and the second physics in the two neighboring physical picture element Pixel includes a first color physics sub-pix being triangularly arranged, a second color physics sub-pix and one the Three color physics sub-pixes;The first color physics sub-pix of first physical picture element and the second color physics are sub- The third color physics sub-pix of pixel and second physical picture element is located at same a line and first physical picture element The the first color physics sub-pix and second face of the third color physics sub-pix and second physical picture element Color physics sub-pix is respectively positioned on another adjacent rows.
In one embodiment of the invention, judge whether that the method for needing progress complementary color includes:Judge that the target is sub- One in the multiple bases data of the corresponding original pixels of pixel color data specifies whether non-Sample Color Data is more than the picture In plain block it is all with it is described to specify non-Sample Color Data be the sub-pix color data of same color type, and in judging result It needs to carry out a color component complementary color to determine when "Yes", wherein the color component and described specifying non-Sample Color Data Color type is identical.
In one embodiment of the invention, the method for determining complementary color position includes:Obtain in the block of pixels it is all with The maximum sub-pix color data specified in the sub-pix color data that non-Sample Color Data is same color type, and When the quantity of the maximum sub-pix color data is one, determine that the corresponding position of the maximum sub-pix color data is made For the complementary color position of the color component;When the quantity of the maximum sub-pix color data is multiple, the maximum is obtained The minimum range that target sub-pix color data position is nearest described in distance in the corresponding position of sub-pix color data is sub- Pixel color data, and when the quantity of the minimum range sub-pix color data is one, determine that the minimum range is sub- Complementary color position of the corresponding position of pixel color data as the color component;And work as the minimum range sub-pix color It is true according to the pre-configured orientation priority relative to the target sub-pix color data position when quantity of data is multiple One of fixed minimum range sub-pix color data complementary color position of the corresponding position as the color component.
In one embodiment of the invention, the method for determining complementary color value size includes:By the target sub-pix color Data update is:The initial value of target sub-pix color data original image corresponding with all complementary color positions determined It is averaged with non-Sample Color Data that the target sub-pix color data is same color type in the multiple bases data of element Value;And the corresponding sub-pix color data in each described complementary color position is updated to:The corresponding sub- picture in the complementary color position The initial value of plain color data, the corresponding original pixels of the target sub-pix color data multiple bases data in the benefit Color bits sets the non-Sample Color Data and other possible complementary color positions that corresponding sub-pix color data is same color type Sub-pix color data corresponding with the complementary color position is same color type in the multiple bases data of corresponding original pixels Non- Sample Color Data average value.
In addition, a kind of image processing apparatus provided in an embodiment of the present invention, for providing target image number to display panel Picture is carried out according to this and shows that the display panel includes multiple physical picture elements, each described physical picture element includes multiple and different The physics sub-pix of color.Described image processing unit includes:Sub-pix color data acquisition module, for obtaining because to original Image carries out the multiple sub-pix color data for corresponding to each physical picture element obtained from sub-pix down-sampling, described Original image includes multiple original pixels, and each described original pixels includes corresponding multiple bases data;And complementary color Processing module handles for the multiple sub-pix color data progress complementary color to the multiple physical picture element and is corresponded to Sub-pix color data is to generate the destination image data after multiple complementary colors processing of each physical picture element.Wherein, The complementary color processing module includes:Block of pixels divides submodule, for being mended to any one target sub-pix color data When color processing, mark off comprising the target sub-pix color data and adjacent with the target sub-pix color data multiple The block of pixels of sub-pix color data;And complementary color handles submodule, for being based on the pixel multiple pending Asias in the block The multiple bases number of pixel color data and multiple original pixels corresponding with the multiple pending sub-pix color data Non- Sample Color Data in judges whether to need to carry out complementary color and determines complementary color position and benefit when needing to carry out complementary color Color value size, wherein the multiple pending sub-pix color data include the target sub-pix color data and with the mesh Mark the sub-pix color data that sub-pix color data is different colours type.
In one embodiment of the invention, above-mentioned block of pixels divides submodule and is used to mark off 3 × 3 according to control instruction Block of pixels, 2 × 2 block of pixels or triangular pixel block.
In one embodiment of the invention, above-mentioned complementary color processing submodule includes:Complementary color judging unit, for judging Whether one stated in the multiple bases data of the corresponding original pixels of target sub-pix color data specifies non-Sample Color Data big In the block of pixels it is all with it is described specify non-Sample Color Data be same color type sub-pix color data, and It is determined when judging result is "Yes" and needs to carry out a color component complementary color, wherein the color component and described specify do not sample face The color type of chromatic number evidence is identical;Complementary color position determination unit, the complementary color position for determining the color component;And complementary color It is worth computing unit, the complementary color position pair of updated value and the color component for calculating the target sub-pix color data The updated value for the pixel sub-pix color data in the block answered.
In one embodiment of the invention, above-mentioned complementary color position determination unit includes:Determination subelement based on brightness, For obtaining in the sub-pix color data that all in the block of pixels and non-Sample Color Data is same color type Maximum sub-pix color data, and when the quantity of the maximum sub-pix color data is one, determine described maximum sub- Complementary color position of the corresponding position of pixel color data as the color component;Based on determination of distance subelement, for working as When the quantity of the maximum sub-pix color data is multiple, the corresponding position middle-range of the maximum sub-pix color data is obtained The minimum range sub-pix color data nearest from the target sub-pix color data position, and work as the minimum range When the quantity of sub-pix color data is one, determine described in the corresponding position conduct of the minimum range sub-pix color data The complementary color position of color component;And the determination subelement based on orientation priority, for working as the minimum range sub-pix face When the quantity of chromatic number evidence is multiple, according to the pre-configured orientation priority relative to the target sub-pix color data position Determine complementary color position of the corresponding position of one of the minimum range sub-pix color data as the color component.
The above embodiment of the present invention using specific sub-pix color data complementary color Processing Algorithm to sub-pix down-sampling after Sub-pix color data carry out complementary color processing, can effectively improve image resolution ratio and in the feelings for not influencing picture clarity Color mistake caused by sub-pix down-sampling technology is eliminated under condition.
Through the following detailed description with reference to the accompanying drawings, other aspects of the invention and feature become apparent.But it should know Road, which is only the purpose design explained, not as the restriction of the scope of the present invention, this is because it should refer to Appended claims.It should also be noted that unless otherwise noted, it is not necessary to which scale attached drawing, they only try hard to concept Ground illustrates structure and flow described herein.
Description of the drawings
Below in conjunction with attached drawing, the specific implementation mode of the present invention is described in detail.
Fig. 1 is a kind of flow chart of image processing method of the embodiment of the present invention.
Fig. 2 is multiple in each physical picture element of the applicable display panel of image processing method of the embodiment of the present invention The rectanglar arrangement schematic diagram of the physics sub-pix of different colours.
Fig. 3 is multiple in each physical picture element of the applicable display panel of image processing method of the embodiment of the present invention The triangular pitch schematic diagram of the physics sub-pix of different colours.
Fig. 4 is the complementary color processing flow schematic diagram of the embodiment of the present invention.
Fig. 5 a and 5b are that a variety of 3 × 3 block of pixels of the embodiment of the present invention divide schematic diagram.
Fig. 6 a to 6d are that a variety of 2 × 2 block of pixels of the embodiment of the present invention divide schematic diagram.
Fig. 7 a to Fig. 7 h are that the various triangular block of pixels of the embodiment of the present invention divides schematic diagram.
Fig. 8 is first embodiment of the invention using the sub-pix color data arrangement signal obtained after sub-pix down-sampling Figure.
Fig. 9 a to 9d be first embodiment of the invention to various sub-pix color data carry out complementary color processing used by 3 × 3 block of pixels schematic diagrames.
Figure 10 is second embodiment of the invention using the sub-pix color data arrangement signal obtained after sub-pix down-sampling Figure.
Figure 11 a to 11c carry out complementary color to the various sub-pix color data of odd-numbered line for second embodiment of the invention and handle institute 3 × 3 block of pixels schematic diagrames used.
Figure 12 a to 12c carry out complementary color for several rows of various sub-pix color data of second embodiment of the invention antithesis and handle institute 3 × 3 block of pixels schematic diagrames used.
Figure 13 a and Figure 13 b are the high-level schematic functional block diagram of the image processing apparatus of the embodiment of the present invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings to the present invention Specific implementation mode be described in detail.
Original pixels due to the lack sampling of color, namely in each original image only sample a color component, sub- picture Plain display technology processing image can bring color Problem-Error, the following embodiments of the present invention to be directed to this problem, propose such as Fig. 1 institutes The image processing method shown, making that treated, image has high-resolution and fine definition.
The image processing method of the embodiment of the present invention is used to provide destination image data to display panel for the display Panel carries out picture and shows that the display panel includes multiple physical picture elements, each physical picture element includes multiple and different colors Physics sub-pix.For purposes of illustration only, the present embodiment is illustrated as an example with LED display panel, each of which physics picture Element includes the LED of multiple and different colors, such as red LED, green LED and blue led.
As shown in Figure 1, the image processing method of the present embodiment includes step:Obtain the correspondence obtained after sub-pix down-sampling Multiple sub-pix color data of each physical picture element in the multiple physical picture element of display panel;And to the multiple The multiple sub-pix color data of physical picture element carries out complementary color and handles to obtain corresponding to the more of each physical picture element Sub-pix color data is to generate destination image data as output after a complementary color processing.
First, sub-pix down-sampling is illustrated:According to multiple physics sub-pixes in each physical picture element of display panel Exact arrangement mode, to original image carry out sub-pix down-sampling include following two categories situation:
(1) as shown in Fig. 2, the arrangement mode of multiple and different color physics sub-pixes in the same physical picture element is matrix Arrangement, such as physical picture element P comprising a red sub-pixel, two green sub-pixels and a blue subpixels;For figure Situation shown in 2 can be with the original pixels [0,0] in sampled original image when carrying out sub-pix down-sampling to original image Red data (or red component) in three primary colours data, the green data in the three primary colours data of original pixels [0,1] (or Claim green component), the three primary colours number of the green data in the three primary colours data of original pixels [1,0] and original pixels [1,1] Blue data (or blue component) in is respectively as sub-pix red data (R), two corresponding to physical picture element P A sub-pix green data (G) and a sub-pix blue data (B);And so on, you can it obtains using physical picture element P as week Phase property arranges multiple sub-pix color data corresponding to the multiple physical picture element of the display panel of repetitive unit, for rear It is continuous to carry out complementary color processing.
(2) as shown in figure 3, the arrangement mode of multiple and different color physics sub-pixes in the same physical picture element is triangle Shape is arranged, such as adjacent two physical picture elements P1 and P2, includes a red sub-pixel, a green sub-pixels and one A blue subpixels, and the blue subpixels of the red sub-pixel of physical picture element P1, green sub-pixels and physical picture element P2 are located at Same a line, the red sub-pixel of the blue subpixels of physical picture element P1 and physical picture element P2 and green sub-pixels are respectively positioned on another phase Adjacent rows;It can be with original in sampled original image when carrying out sub-pix down-sampling to original image for situation shown in Fig. 3 Red data (or red component) in the three primary colours data of pixel [0,0], in the three primary colours data of original pixels [0,1] Green data (or green component), original pixels [1,0] three primary colours data in blue data (or blue component) point Not as sub-pix red data (R), sub-pix green data (G) and the sub-pix blue data corresponding to physical picture element P1 (B);And red data in the three primary colours data of the original pixels [1,1] in sampled original image, original pixels [1,2] Blue data in the three primary colours data of green data, original pixels [0,2] in three primary colours data is respectively as physical picture element Sub-pix red data (R), sub-pix green data (G) corresponding to P2 and sub-pix blue data (B);And so on, i.e., The multiple physics picture of the available display panel using the combination of physical picture element P1 and P2 as periodic arrangement repetitive unit Multiple sub-pix color data corresponding to element, for subsequently carrying out complementary color processing.
Next, complementary color processing is described in detail in conjunction with Fig. 4:
(a) block of pixels is divided
Block of pixels can be 3*3 block of pixels, can also be 2*2 block of pixels or triangular pixel block etc., as long as block of pixels is extremely Include a R, a G, a B less.Specifically, Fig. 5 a and Figure 5b shows that two kinds using sub-pix red data (R) as 3 × 3 block of pixels of target sub-pix color data;In fig 5 a, target sub-pix color data (R) is located at nine grids block of pixels The center of (3 × 3 block of pixels);In figure 5b, target sub-pix color data (R) is located at nine grids block of pixels (3 × 3 block of pixels) Non-central location.For 3 × 3 block of pixels dividing modes and sub-pix red data of other sub-pix color data (G, B) 3 × 3 pixel dividing modes it is identical, details are not described herein.In addition, Fig. 6 a are extremely FIG. 6d shows that four kinds with sub-pix red data (R) as 2 × 2 block of pixels dividing modes of target sub-pix color data;And Fig. 7 a to Fig. 7 h show eight kinds with sub-pix Triangular pixel block dividing mode of the red data (R) as target sub-pix color data.
(b) judge whether to need complementary color
It is illustrated by taking 3 × 3 block of pixels as an example:Mark off comprising target sub-pix color data such as R data and and its 3 × 3 block of pixels and target sub-pix color data of other adjacent 8 sub-pix color data are located in 3 × 3 block of pixels After the heart, if the initial value of target sub-pix red data (R component) be R0, corresponding to original pixels three primary colours data in Two non-Sample Color Datas be respectively G0 (green component) and B0 (blue component)
Sub-pix green data (G) all in above-mentioned 3 × 3 block of pixels is taken, Gi (i=1,2 ... n are defined as;N is 3 × 3 The total number of sub-pix green data (G) in pixel);Sub-pix blue data (B) all in above-mentioned 3 × 3 block of pixels is taken, it is fixed Justice is Bi (i=1,2 ... m;M is the total number of all sub-pix blue datas (B) in 3 × 3 block of pixels), and define maximum in Gi An amount be Gmax, a maximum amount is Bmax in Bi.
(i) G components Rule of judgment:G0 > Gmax (condition 1)
(ii) B component Rule of judgment:B0 > Bmax (condition 2)
Above-mentioned condition 1 and/or condition 2 are if it is satisfied, then indicate the benefit of G around and/or B component to the center R component Color is inadequate, needs to the G and/or B component assignment again in 3 × 3 block of pixels, namely need to carry out G components and/or B component Complementary color.
(c) complementary color position is determined
【First】Complementary color position is determined based on brightness:
The corresponding positions Gmax are denoted as a, and the present embodiment is designed as when above-mentioned condition 1 meets and Gmax is one, then really The positions a are determined as G component complementary colors position.
The corresponding positions Bmax are denoted as b, and the present embodiment is designed as when above-mentioned condition 2 meets and Bmax is one, then really It is B component complementary color position to determine the positions b.
【Secondly】Complementary color position is determined based on distance:
If there are multiple Gmax, Distance Judgment is carried out, the corresponding position of which G component is nearest with a distance from the R component of center, To be then G component complementary colors position apart from nearest a location determinations.Similarly, if there are multiple Bmax, Distance Judgment is carried out, which The corresponding position of a B component then will be B component complementary color position apart from nearest b location determinations recently with a distance from the R component of center.
【Again】Complementary color position is determined based on orientation priority:
It is also equal with a distance from the R component of center if there is multiple Gmax, then complementary color priority can be set as according to Secondary is the G components in the orientation such as upper left, upper right, lower-left, bottom right, and the taken positions a are determined as G component complementary colors position.Similarly, if It is also equal with a distance from the R component of center that there are multiple Bmax, then complementary color priority can be set as being upper left, the right side successively The B component in the orientation such as upper, lower-left, bottom right, the taken positions b are determined as B component complementary color position.Certainly, relative to center R component Each orientation pre-set priority can elasticity set, and be not limited to listed above.
(d) complementary color value size is calculated, there is following four situation:
Situation 1:Only meet condition 1, illustrates only to need to carry out G component complementary colors
The sub-pix color data of assignment is needed again to have:(R points of the sub-pix red data of 3 × 3 block of pixels centers Amount), the sub-pix green datas (G components) of the positions a;
Complementary color value size is:
Center R component updated value is equal to the three primary colours of the corresponding original pixels in the positions a in its original value R0 and original image The average value of non-Sample Color Data (R component) in data,
The positions a G component updated value, which is equal in the three primary colours data of the original pixels corresponding to the R component of center, does not sample face The average value of the initial value of the corresponding sub-pix green data (G) in chromatic number evidence (G components) positions G0 and a.
Situation 2:Only meet condition 2, illustrates only to need to carry out B component complementary color
The sub-pix color data of assignment is needed again to have:(R points of the sub-pix red data of 3 × 3 block of pixels centers Amount), the sub-pix blue datas (B component) of the positions b;
Complementary color value size is:
Center R component updated value is equal to the three primary colours of the corresponding original pixels in the positions b in its original value R0 and original image The average value of non-Sample Color Data (R component) in data,
B B component updated value are equal to the non-sample color in the three primary colours data of the original pixels corresponding to the R component of center The average value of the initial value of the corresponding sub-pix blue data (B) in the positions data (B component) B0 and b.
Situation 3:Meet condition 1, condition 2 simultaneously, illustrates to need to carry out G, B component complementary color
The sub-pix color data of assignment is needed again to have:(R points of the sub-pix red data of 3 × 3 block of pixels centers Amount), the sub-pix green data (G components) of the positions a, the positions b sub-pix blue data (B component);
Complementary color value size is:
Center R component updated value is equal to the three primary colours number of the corresponding original pixels in the positions a in its original value R0, original image Not adopting in the three primary colours data of the corresponding original pixels in the positions b in non-Sample Color Data (R component), original image in The average value of sample color data (R component),
The positions a G component updated value, which is equal in the three primary colours data of the original pixels corresponding to the R component of center, does not sample face Chromatic number is according to the corresponding original in the positions b in the initial value of the corresponding sub-pix green data (G) in (G components) position G0, a, original image The average value of non-Sample Color Data (G components) in the three primary colours data of beginning pixel,
The positions b B component value is equal to the non-sample color number in the three primary colours data of the original pixels corresponding to the R component of center According to (B points of non-Sample Color Data in the three primary colours data of the corresponding original pixels in the positions a in (B component) B0, original image Amount) and the corresponding sub-pix blue data (B) in the positions b initial value average value.
Situation 4:Condition 1 and condition 2 are unsatisfactory for, and explanation need not carry out G, B component complementary color, without assignment again.
Herein it is noted that above-mentioned is progress complementary color using sub-pix red data as target sub-pix color data It is illustrated for processing, for using sub-pix green data and sub-pix blue data as target sub-pix number of colours According to situation, complementary color processing procedure is identical as the complementary color processing procedure of sub-pix red data, and details are not described herein.
For ease of understanding, special below that above-mentioned complementary color processing procedure is described in more detail for two examples.
【First embodiment】
Assuming that it is directed to physics sub-pix rectanglar arrangement mode shown in Fig. 2, the data such as Fig. 8 obtained after sub-pix down-sampling It is shown.G1 and G2 indicates the green data in the three primary colours data of different original pixels in original image in Fig. 8;Then in Asia Specific complementary color scheme as described below may be used after pixel down-sampling:
(1) complementary color processing is carried out to sub-pix red data R [i, j] in Fig. 8:Mark off one comprising R [i, j] and and its Nine grids block of pixels shown on the left of the block of pixels of adjacent at least one B and at least one G (G1 or G2), such as Fig. 9 a (3 × 3 block of pixels), if the initial value of sub-pix red data R [i, j] is R0 and sets corresponding with sub-pix red data R [i, j] Two non-Sample Color Datas namely green data in the three primary colours data of original pixels [i, j] in original image and indigo plant Chromatic number is according to respectively G0 and B0;For purposes of illustration only, the center sub-pix red data on the left of Fig. 9 a in nine grids is labeled as R0, four A sub-pix green data is respectively labeled as G1, G2, G3, G4 and four sub-pix blue numbers according to preset orientation priority It is respectively labeled as B1, B2, B3 and B4 according to according to preset orientation priority, the result after label is such as shown in the right sides Fig. 9 a.Then:
(1a) judges whether to need complementary color
Judge whether the condition for needing to mend G components:G0 > max (G1, G2, G3, G4), namely judge in nine grids block of pixels All sub-pix green datas whether be both less than G0, if it is judged that be "Yes", then it represents that need carry out G component complementary colors;
Judge whether the condition for needing to mend B component:B0 > max (B1, B2, B3, B4), namely judge in nine grids block of pixels All sub-pix blue datas whether be both less than B0, if it is judged that be "Yes", then it represents that need carry out B component complementary color;
(1b) determines complementary color position
The present embodiment is designed to G1, G2, G3, and the corresponding position of maximum value is mended in tetra- sub-pix green datas of G4 Color.If a expression G1, G2, G3, the corresponding position of maximum value in tetra- sub-pix green datas of G4, if there is more than two positions same When be maximum value, then press number sequencing (corresponding orientation priority) selection complementary color position of this four sub-pix green datas It sets, such as G1=G2 and is the maximum value in this four sub-pix green datas, then select the corresponding positions G1 as complementary color Position;
The present embodiment is designed to B1, B2, B3, and the corresponding position of maximum value is mended in tetra- sub-pix blue datas of B4 Color.If b expression B1, B2, B3, the corresponding position of maximum value in tetra- sub-pix blue datas of B4, if there is more than two positions same When be maximum value, then press number sequencing (corresponding orientation priority) selection complementary color position of this four sub-pix blue datas It sets, such as B2=B3 and is the maximum value in this four sub-pix blue datas, then select the corresponding positions B2 as complementary color Position;
(1c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as G, B component is required to complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [a]+R0 [b])/3
G [a]=(G0+G0 [a]+G0 [b])/3
B [b]=(B0+B0 [a]+B0 [b])/3
(ii) when G components need complementary color, B component not to need complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [a])/2
G [a]=(G0+G0 [a])/2
(iii) when B component needs complementary color, G components not to need complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) it when G, B component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned R0 [a] is not sample red data, G0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix green data of the positions a, the three primary colours number that B0 [a] is the original pixels of the positions a in original image Blue data is not sampled in, and R0 [b] is red for not sampling in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that G0 [b] is the original pixels of the positions b in original image do not sample green data, B0 [b] is The initial value of the sub-pix blue data of the positions b.
(2) complementary color processing is carried out to sub-pix green (G1) data G [i, j] in Fig. 8:Mark off one comprising G1 and and its Nine grids block of pixels shown on the left of the block of pixels of adjacent at least one R and at least one B, such as Fig. 9 b, if sub-pix is green Chromatic number is G0 according to the initial value of G [i, j] and sets and the original image in sub-pix green data G [i, j] corresponding original image Non- Sample Color Data namely red data and blue data in the three primary colours data of plain [i, j] are respectively R0 and B0;For just Center sub-pix green data in explanation, the left sides Fig. 9 b nine grids is labeled as G0, other four sub-pix green datas point Biao Ji not be, G2, G3 that G4, two sub-pix red datas are labeled as R1, R2, two Asias according to preset orientation priority Pixel blue data is respectively labeled as B1 according to preset orientation priority, B2, on the right side of such as Fig. 9 b of the result after label shown in.So Afterwards:
(2a) judges whether to need complementary color
Judge whether the condition for needing to mend R component:R0 > max (R1, R2), namely judge that nine grids pixel is in the block all Whether sub-pix red data is both less than R0, if it is judged that being "Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition for needing to mend B component:B0 > max (B1, B2), namely judge that nine grids pixel is in the block all Whether sub-pix blue data is both less than B0, if it is judged that being "Yes", then it represents that need to carry out B component complementary color;
(2b) determines complementary color position
The present embodiment is designed to R1, and the corresponding position of maximum value carries out complementary color in two sub-pix red datas of R2.If a Indicate R1, the corresponding position of maximum value in two sub-pix red datas of R2, if two positions are simultaneously maximum values, by this two Number sequencing (corresponding orientation priority) selection complementary color position of a sub-pix red data, such as R1=R2 and be this Maximum value in two sub-pix red datas then selects the corresponding positions R1 as complementary color position;
The present embodiment is designed to B1, and the corresponding position of maximum value carries out complementary color in two sub-pix blue datas of B2.If b Indicate B1, the corresponding position of maximum value in two sub-pix blue datas of B2, if two positions are simultaneously maximum values, by this two Number sequencing (corresponding orientation priority) selection complementary color position of a sub-pix blue data, such as B1=B2 and be this Maximum value in two sub-pix blue datas then selects the corresponding positions B1 as complementary color position;
(2c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as R, B component is required to complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [a]+G0 [b])/3
R [a]=(R0+R0 [a]+R0 [b])/3
B [b]=(B0+B0 [a]+B0 [b])/3
(ii) when R component needs complementary color, B component not to need complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) when B component needs complementary color, R component not to need complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) it when R, B component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned G0 [a] is not sample green data, R0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix red data of the positions a, the three primary colours number that B0 [a] is the original pixels of the positions a in original image Blue data is not sampled in, and G0 [b] is green for not sampling in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that R0 [b] is the original pixels of the positions b in original image do not sample red data, B0 [b] is The initial value of the sub-pix blue data of the positions b.
(3) complementary color processing is carried out to sub-pix green (G2) data G [i, j] in Fig. 8:Mark off one comprising G2 and and its Nine grids block of pixels shown on the left of the block of pixels of adjacent at least one R and at least one B, such as Fig. 9 c, if sub-pix is green The initial value of color color data G [i, j] is G0 and sets and the original in sub-pix green data G [i, j] corresponding original image Non- Sample Color Data namely red data and blue data in the three primary colours pixel of beginning pixel [i, j] are respectively R0 and B0; For purposes of illustration only, the center sub-pix green data on the left of Fig. 9 c in nine grids is labeled as G0, other four sub-pix green numbers According to G1, G2, G3 is respectively labeled as, G4, two sub-pix red datas are labeled as R1, R2, two according to preset orientation priority A sub-pix blue data is respectively labeled as B1 according to preset orientation priority, B2, institute on the right side of result such as Fig. 7 c after label Show.Then:
(3a) judges whether to need complementary color
Judge whether the condition for needing to mend R component:R0 > max (R1, R2), namely judge that nine grids pixel is in the block all Whether sub-pix red data is both less than R0, if it is judged that being "Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition for needing to mend B component:B0 > max (B1, B2), namely judge that nine grids pixel is in the block all Whether sub-pix blue data is both less than B0, if it is judged that being "Yes", then it represents that need to carry out B component complementary color;
(3b) determines complementary color position
The present embodiment is designed to R1, and the corresponding position of maximum value carries out complementary color in two red sub-pixel data of R2.If a Indicate R1, the corresponding position of maximum value in two red sub-pixel data of R2, if two positions are simultaneously maximum values, by this two Number sequencing (corresponding orientation priority) selection complementary color position of a red sub-pixel data, such as R1=R2 and be this Maximum value in two red sub-pixel data then selects the corresponding positions R1 as complementary color position;
The present embodiment is designed to B1, and the corresponding position of maximum value carries out complementary color in two blue subpixels data of B2.If b Indicate B1, the corresponding position of maximum value in two blue subpixels data of B2, if two positions are simultaneously maximum values, by this two Number sequencing (corresponding orientation priority) selection complementary color position of a blue subpixels data, such as B1=B2 and be this Maximum value in two blue subpixels data then selects the corresponding positions B1 as complementary color position;
(3c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as R, B component is required to complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [a]+G0 [b])/3
R [a]=(R0+R0 [a]+R0 [b])/3
B [b]=(B0+B0 [a]+B0 [b])/3
(ii) when R component needs complementary color, B component not to need complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) when B component needs complementary color, R component not to need complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) it when R, B component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned G0 [a] is not sample green data, R0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix red data of the positions a, B0 [a] is in original image in the three primary colours of the original pixels of the positions a Do not sample blue data, G0 [b] is not sample green number in the three primary colours data of the original pixels of the positions b in original image According in, three primary colours data that R0 [b] is the original pixels of the positions b in original image do not sample red data, B0 [b] is b The initial value for the sub-pix blue data set.
(4) complementary color processing is carried out to sub-pix blue data B [i, j] in Fig. 8:It marks off one and includes B and adjacent thereto At least one R and at least one G (G1 or G2) block of pixels, such as on the left of Fig. 9 d shown in nine grids block of pixels, if sub- picture The initial value of plain blue data B [i, j] is B0 and sets and the original in sub-pix blue data B [i, j] corresponding original image Non- Sample Color Data namely red data and green data in the three primary colours data of beginning pixel [i, j] are respectively R0 and G0; For purposes of illustration only, the center sub-pix blue data on the left of Fig. 9 d in nine grids is labeled as B0, four sub-pix green datas are pressed It is excellent according to preset orientation it to be respectively labeled as G1, G2, G3, G4 and four sub-pix red datas according to preset orientation priority First grade is respectively labeled as R1, R2, R3 and R4, and the result after label is such as shown in the right sides Fig. 9 d.Then:
(4a) judges whether to need complementary color
Judge whether the condition for needing to mend R component:R0 > max (R1, R2, R3, R4), namely judge in nine grids block of pixels All sub-pix red datas whether be both less than R0, if it is judged that be "Yes", then it represents that need carry out R component complementary color;
Judge whether the condition for needing to mend G components:G0 > max (G1, G2, G3, G4), namely judge in nine grids block of pixels All sub-pix green datas whether be both less than G0, if it is judged that be "Yes", then it represents that need carry out G component complementary colors;
(4b) determines complementary color position
The present embodiment is designed to R1, R2, R3, and the corresponding position of maximum value is mended in tetra- sub-pix red datas of R4 Color.If a expression R1, R2, R3, the corresponding position of maximum value in tetra- sub-pix red datas of R4, if there is more than two positions same When be maximum value, then press number sequencing (corresponding orientation priority) selection complementary color position of this four sub-pix red datas It sets, such as R3=R4 and is the maximum value in this four sub-pix red datas, then select the corresponding positions R3 as complementary color Position;
The present embodiment is designed to G1, G2, G3, and the corresponding position of maximum value is mended in tetra- sub-pix green datas of G4 Color.If b expression G1, G2, G3, the corresponding position of maximum value in tetra- sub-pix green datas of G4, if there is more than two positions same When be maximum value, then press number sequencing (corresponding orientation priority) selection complementary color position of this four sub-pix green datas It sets, such as G3=G4 and is the maximum value in this four sub-pix green datas, then select the corresponding positions G3 as complementary color Position;
(4c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as R, G components are required to complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [a]+B0 [b])/3
R [a]=(R0+R0 [a]+R0 [b])/3
G [b]=(G0+G0 [a]+G0 [b])/3
(ii) when R component needs complementary color, G components not to need complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) when G components need complementary color, R component not to need complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [b])/2
G [b]=(G0+G0 [b])/2
(iv) it when R, G component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned B0 [a] is not sample blue data, R0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix red data of the positions a, the three primary colours number that G0 [a] is the original pixels of the positions a in original image Green data is not sampled in, and B0 [b] is not sample indigo plant in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that R0 [b] is the original pixels of the positions b in original image do not sample red data, G0 [b] is The initial value of the sub-pix green data of the positions b.
First embodiment of the invention passes through " red-blue two is green " four sub-pixes in each pixel to display panel After corresponding sub-pix color data carries out above-mentioned complementary color processing, sub-pix color data is to display after being handled using complementary color Each physical picture element (such as shown in Fig. 2) of panel is addressed to show, wherein exports above-mentioned complementary color for R, B color data The result of calculation value obtained after processing, and be the calculating obtained after above-mentioned complementary color is handled for G color data final outputs The half (namely half value) of end value.
【Second embodiment】
Assuming that being directed to physics sub-pix triangular pitch mode shown in Fig. 3, the data obtained after sub-pix down-sampling are such as Shown in Figure 10, then specific complementary color scheme as described below may be used after sub-pix down-sampling:
【Odd-numbered line complementary color processing scheme】:
(1) complementary color processing is carried out to odd-numbered line sub-pix red data R [i, j] in Figure 10:Mark off one comprising R and with Nine grids block of pixels (3 × 3 pixels shown on the left of the block of pixels of its adjacent at least one B and at least one G, such as Figure 11 a Block), if the initial value of sub-pix red data R [i, j] is R0 and sets corresponding original with sub-pix red data R [i, j] Non- Sample Color Data namely green data and blue data point in the three primary colours data of original pixels [i, j] in image It Wei not G0 and B0;For purposes of illustration only, the center sub-pix red data on the left of Figure 11 a in nine grids is labeled as R0, three sub- pictures Plain green data is respectively labeled as G1, G2, G3 and three sub-pix blue datas according to pre- according to preset orientation priority If orientation priority be respectively labeled as B1, B2, B3, on the right side of such as Figure 11 a of the result after label shown in.Then:
(1a) judges whether to need complementary color
Judge whether the condition for needing to mend G components:G0 > max (G1, G2, G3), namely judge that nine grids pixel is in the block Whether all sub-pix green datas are both less than G0, if it is judged that being "Yes", then it represents that need to carry out G component complementary colors;
Judge whether the condition for needing to mend B component:B0 > max (B1, B2, B3), namely judge that nine grids pixel is in the block Whether all sub-pix blue datas are both less than B0, if it is judged that being "Yes", then it represents that need to carry out B component complementary color;
(1b) determines complementary color position
The present embodiment is designed to G1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix green datas of G2, G3. If a expression G1, the corresponding position of maximum value in tri- sub-pix green datas of G2, G3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix green datas, such as As G1=G2 and it is the maximum value in these three sub-pix green datas, then selects the corresponding positions G1 as complementary color position;
The present embodiment is designed to B1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix blue datas of B2, B3. If b expression B1, the corresponding position of maximum value in tri- sub-pix blue datas of B2, B3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix blue datas, such as As B2=B3 and it is the maximum value in these three sub-pix blue datas, then selects the corresponding positions B2 as complementary color position;
(1c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as G, B component is required to complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [a]+R0 [b])/3
G [a]=(G0+G0 [a]+G0 [b])/3
B [b]=(B0+B0 [a]+B0 [b])/3
(ii) when G components need complementary color, B component not to need complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [a])/2
G [a]=(G0+G0 [a])/2
(iii) when B component needs complementary color, G components not to need complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) it when G, B component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned R0 [a] is not sample red data, G0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix green data of the positions a, the three primary colours number that B0 [a] is the original pixels of the positions a in original image Blue data is not sampled in, and R0 [b] is red for not sampling in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that G0 [b] is the original pixels of the positions b in original image do not sample green data, B0 [b] is The initial value of the sub-pix blue data of the positions b.
(2) complementary color processing is carried out to odd-numbered line sub-pix green data G [i, j] in Figure 10:Mark off one comprising G1 and Nine grids block of pixels shown on the left of the block of pixels of at least one R and at least one B adjacent thereto, such as Figure 11 b, if sub- picture The initial value of plain green data G [i, j] is G0 and sets and the original in sub-pix green data G [i, j] corresponding original image Non- Sample Color Data namely red data and blue data in the three primary colours data of beginning pixel [i, j] are respectively R0 and B0; For purposes of illustration only, the center sub-pix green data on the left of Figure 11 b in nine grids is pressed labeled as G0, three sub-pix red datas It is labeled as R1, R2 according to preset orientation priority, R3, three sub-pix blue datas are marked respectively according to preset orientation priority It is denoted as B1, B2, B3, the result after label is such as shown in the right sides Figure 11 b.Then:
(2a) judges whether to need complementary color
Judge whether the condition for needing to mend R component:R0 > max (R1, R2, R3), namely judge that nine grids pixel is in the block Whether all sub-pix red datas are both less than R0, if it is judged that being "Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition for needing to mend B component:B0 > max (B1, B2, B3), namely judge that nine grids pixel is in the block Whether all sub-pix blue datas are both less than B0, if it is judged that being "Yes", then it represents that need to carry out B component complementary color;
(2b) determines complementary color position
The present embodiment is designed to R1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix red datas of R2, R3. If a expression R1, the corresponding position of maximum value in tri- sub-pix red datas of R2, R3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix red datas, such as As R1=R2 and it is the maximum value in these three sub-pix red datas, then selects the corresponding positions R1 as complementary color position;
The present embodiment is designed to B1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix blue datas of B2, B3. If b expression B1, the corresponding position of maximum value in tri- sub-pix blue datas of B2, B3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix blue datas, such as As B1=B2 and it is the maximum value in these three sub-pix blue datas, then selects the corresponding positions B1 as complementary color position;
(2c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as R, B component is required to complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [a]+G0 [b])/3
R [a]=(R0+R0 [a]+R0 [b])/3
B [b]=(B0+B0 [a]+B0 [b])/3
(ii) when R component needs complementary color, B component not to need complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) when B component needs complementary color, R component not to need complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) it when R, B component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned G0 [a] is not sample green data, R0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix red data of the positions a, the three primary colours number that B0 [a] is the original pixels of the positions a in original image Blue data is not sampled in, and G0 [b] is green for not sampling in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that R0 [b] is the original pixels of the positions b in original image do not sample red data, B0 [b] is The initial value of the sub-pix blue data of the positions b.
(3) complementary color processing is carried out to odd-numbered line sub-pix blue data B [i, j] in Figure 10:Mark off one comprising B and with Nine grids block of pixels shown on the left of the block of pixels of its adjacent at least one R and at least one G, such as Figure 11 c, if sub-pix The initial value of blue data B [i, j] be B0 and set with it is original in sub-pix blue data B [i, j] corresponding original image Non- Sample Color Data namely red data and green data in the three primary colours data of pixel [i, j] are respectively R0 and G0;For Convenient for explanation, the center sub-pix blue data on the left of Figure 11 c in nine grids is labeled as B0, three sub-pix green datas according to Preset orientation priority is respectively labeled as G1, G2, G3 and three sub-pix red datas according to preset orientation priority It is respectively labeled as R1, R2, R3, the result after label is such as shown in the right sides Figure 11 c.Then:
(3a) judges whether to need complementary color
Judge whether the condition for needing to mend R component:R0 > max (R1, R2, R3), namely judge that nine grids pixel is in the block Whether all sub-pix red datas are both less than R0, if it is judged that being "Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition for needing to mend G components:G0 > max (G1, G2, G3), namely judge that nine grids pixel is in the block Whether all sub-pix green datas are both less than G0, if it is judged that being "Yes", then it represents that need to carry out G component complementary colors;
(3b) determines complementary color position
The present embodiment is designed to R1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix red datas of R2, R3. If a expression R1, the corresponding position of maximum value in tri- sub-pix red datas of R2, R3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix red datas, such as As R1=R2 and it is the maximum value in these three sub-pix red datas, then selects the corresponding positions R1 as complementary color position;
The present embodiment is designed to G1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix green datas of G2, G3. If b expression G1, the corresponding position of maximum value in tri- sub-pix green datas of G2, G3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix green datas, such as As G2=G3 and it is the maximum value in these three sub-pix green datas, then selects the corresponding positions G2 as complementary color position;
(3c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as R, G components are required to complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [a]+B0 [b])/3
R [a]=(R0+R0 [a]+R0 [b])/3
G [b]=(G0+G0 [a]+G0 [b])/3
(ii) when R component needs complementary color, G components not to need complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) when G components need complementary color, R component not to need complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [b])/2
G [b]=(G0+G0 [b])/2
(iv) it when R, G component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned B0 [a] is not sample blue data, R0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix red data of the positions a, the three primary colours number that G0 [a] is the original pixels of the positions a in original image Green data is not sampled in, and B0 [b] is not sample indigo plant in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that R0 [b] is the original pixels of the positions b in original image do not sample red data, G0 [b] is The initial value of the sub-pix green data of the positions b.
【Even number line complementary color processing scheme】:
(4) complementary color processing is carried out to even number line sub-pix red data R [i, j] in Figure 10:Mark off one comprising R and with Nine grids block of pixels shown on the left of the block of pixels of its adjacent at least one B and at least one G, such as Figure 12 a, if sub-pix The initial value of red data R [i, j] be R0 and set with it is original in sub-pix red data R [i, j] corresponding original image Non- Sample Color Data namely green data and blue data in the three primary colours data of pixel [i, j] are respectively G0 and B0;For Convenient for explanation, the center sub-pix red data on the left of Figure 12 a in nine grids is labeled as R0, three sub-pix green datas according to Preset orientation priority is respectively labeled as G1, G2, G3 and three sub-pix blue datas according to preset orientation priority It is respectively labeled as B1, B2, B3, the result after label is such as shown in the right sides Figure 12 a.Then:
(4a) judges whether to need complementary color
Judge whether the condition for needing to mend G components:G0 > max (G1, G2, G3), namely judge that nine grids pixel is in the block Whether all sub-pix green datas are both less than G0, if it is judged that being "Yes", then it represents that need to carry out G component complementary colors;
Judge whether the condition for needing to mend B component:B0 > max (B1, B2, B3), namely judge that nine grids pixel is in the block Whether all sub-pix blue datas are both less than B0, if it is judged that being "Yes", then it represents that need to carry out B component complementary color;
(4b) determines complementary color position
The present embodiment is designed to G1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix green datas of G2, G3. If a expression G1, the corresponding position of maximum value in tri- sub-pix green datas of G2, G3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix green datas, such as As G1=G2 and it is the maximum value in these three sub-pix green datas, then selects the corresponding positions G1 as complementary color position;
The present embodiment is designed to B1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix blue datas of B2, B3. If b expression B1, the corresponding position of maximum value in tri- sub-pix blue datas of B2, B3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix blue datas, such as As B2=B3 and it is the maximum value in these three sub-pix blue datas, then selects the corresponding positions B2 as complementary color position;
(4c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as G, B component is required to complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [a]+R0 [b])/3
G [a]=(G0+G0 [a]+G0 [b])/3
B [b]=(B0+B0 [a]+B0 [b])/3
(ii) when G components need complementary color, B component not to need complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [a])/2
G [a]=(G0+G0 [a])/2
(iii) when B component needs complementary color, G components not to need complementary color
Then complementary color value size is:
R [i, j]=(R0+R0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) it when G, B component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned R0 [a] is not sample red data, G0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix green data of the positions a, the three primary colours number that B0 [a] is the original pixels of the positions a in original image Blue data is not sampled in, and R0 [b] is red for not sampling in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that G0 [b] is the original pixels of the positions b in original image do not sample green data, B0 [b] is The initial value of the sub-pix blue data of the positions b.
(5) complementary color processing is carried out to even number line sub-pix green data G [i, j] in Figure 10:Mark off one comprising G1 and Nine grids block of pixels shown on the left of the block of pixels of at least one R and at least one B adjacent thereto, such as Figure 12 b, if sub- picture The initial value of plain green data G [i, j] is G0 and sets and the original in sub-pix green data G [i, j] corresponding original image Non- Sample Color Data namely red data and blue data in the three primary colours data of beginning pixel [i, j] are respectively R0 and B0; For purposes of illustration only, the center sub-pix green data on the left of Figure 12 b in nine grids is pressed labeled as G0, three sub-pix red datas It is labeled as R1, R2 according to preset orientation priority, R3, three sub-pix blue datas are marked respectively according to preset orientation priority It is denoted as B1, B2, B3, the result after label is such as shown in the right sides Figure 12 b.Then:
(5a) judges whether to need complementary color
Judge whether the condition for needing to mend R component:R0 > max (R1, R2, R3), namely judge that nine grids pixel is in the block Whether all sub-pix red datas are both less than R0, if it is judged that being "Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition for needing to mend B component:B0 > max (B1, B2, B3), namely judge that nine grids pixel is in the block Whether all sub-pix blue datas are both less than B0, if it is judged that being "Yes", then it represents that need to carry out B component complementary color;
(5b) determines complementary color position
The present embodiment is designed to R1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix red datas of R2, R3. If a expression R1, the corresponding position of maximum value in tri- sub-pix red datas of R2, R3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix red datas, such as As R1=R2 and it is the maximum value in these three sub-pix red datas, then selects the corresponding positions R1 as complementary color position;
The present embodiment is designed to B1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix blue datas of B2, B3. If b expression B1, the corresponding position of maximum value in tri- sub-pix blue datas of B2, B3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix blue datas, such as As B1=B2 and it is the maximum value in these three sub-pix blue datas, then selects the corresponding positions B1 as complementary color position;
(5c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as R, B component is required to complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [a]+G0 [b])/3
R [a]=(R0+R0 [a]+R0 [b])/3
B [b]=(B0+B0 [a]+B0 [b])/3
(ii) when R component needs complementary color, B component not to need complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) when B component needs complementary color, R component not to need complementary color
Then complementary color value size is:
G [i, j]=(G0+G0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) it when R, B component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned G0 [a] is not sample green data, R0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix red data of the positions a, the three primary colours number that B0 [a] is the original pixels of the positions a in original image Blue data is not sampled in, and G0 [b] is green for not sampling in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that R0 [b] is the original pixels of the positions b in original image do not sample red data, B0 [b] is The initial value of the sub-pix blue data of the positions b.
(6) complementary color processing is carried out to even number line sub-pix blue data B [i, j] in Figure 10:Mark off one comprising B and with Nine grids block of pixels shown on the left of the block of pixels of its adjacent at least one R and at least one G, such as Figure 12 c, if sub-pix The initial value of blue data B [i, j] be B0 and set with it is original in sub-pix blue data B [i, j] corresponding original image Non- Sample Color Data namely red data and green data in the three primary colours data of pixel [i, j] are respectively R0 and G0;For Convenient for explanation, the center sub-pix blue data on the left of Figure 12 c in nine grids is labeled as B0, three sub-pix green datas according to Preset orientation priority is respectively labeled as G1, G2, G3 and three sub-pix red datas according to preset orientation priority It is respectively labeled as R1, R2, R3, the result after label is such as shown in the right sides Figure 12 c.Then:
(6a) judges whether to need complementary color
Judge whether the condition for needing to mend R component:R0 > max (R1, R2, R3), namely judge that nine grids pixel is in the block Whether all sub-pix red datas are both less than R0, if it is judged that being "Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition for needing to mend G components:G0 > max (G1, G2, G3), namely judge that nine grids pixel is in the block Whether all sub-pix green datas are both less than G0, if it is judged that being "Yes", then it represents that need to carry out G component complementary colors;
(6b) determines complementary color position
The present embodiment is designed to R1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix red datas of R2, R3. If a expression R1, the corresponding position of maximum value in tri- sub-pix red datas of R2, R3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix red datas, such as As R1=R2 and it is the maximum value in these three sub-pix red datas, then selects the corresponding positions R1 as complementary color position;
The present embodiment is designed to G1, and the corresponding position of maximum value carries out complementary color in tri- sub-pix green datas of G2, G3. If b expression G1, the corresponding position of maximum value in tri- sub-pix green datas of G2, G3, if being simultaneously most there are one the above position Big value then presses number sequencing (corresponding orientation priority) selection complementary color position of these three sub-pix green datas, such as As G2=G3 and it is the maximum value in these three sub-pix green datas, then selects the corresponding positions G2 as complementary color position;
(6c) determines complementary color value size (namely sub-pix color data values size or updated value after complementary color processing)
(i) work as R, G components are required to complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [a]+B0 [b])/3
R [a]=(R0+R0 [a]+R0 [b])/3
G [b]=(G0+G0 [a]+G0 [b])/3
(ii) when R component needs complementary color, G components not to need complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) when G components need complementary color, R component not to need complementary color
Then complementary color value size is:
B [i, j]=(B0+B0 [b])/2
G [b]=(G0+G0 [b])/2
(iv) it when R, G component do not need complementary color, then is not necessarily to calculate complementary color value, directly using initial value;
Above-mentioned B0 [a] is not sample blue data, R0 in the three primary colours data of the original pixels of the positions a in original image [a] is the initial value of the sub-pix red data of the positions a, the three primary colours number that G0 [a] is the original pixels of the positions a in original image Green data is not sampled in, and B0 [b] is not sample indigo plant in the three primary colours data of the original pixels of the positions b in original image Chromatic number according in, three primary colours data that R0 [b] is the original pixels of the positions b in original image do not sample red data, G0 [b] is The initial value of the sub-pix green data of the positions b.
Second embodiment of the invention passes through the " red-green one in each pixel (such as shown in Fig. 3) to display panel It is blue " the sub-pix color data corresponding to three sub-pixes carry out the data obtained after above-mentioned complementary color processing can with reference chart 10, Only compared to Figure 10 for, each sub-pix color data values are complementary color treated updated value;Later, each pixel is exported In the corresponding complementary color processing of three sub-pixes after sub-pix color data be addressed to show.Fig. 3 and Figure 10 are referred to, it is described Addressing display methods is:It, then can be sharp respectively for tri- color physics sub-pixes of RGB in the physical picture element P1 in Fig. 3 With first sub-pix red data (R) of the first row in Figure 10 (odd-numbered line), first sub-pix green data (G) and second First sub-pix blue data (B) of row (even number line) is driven respectively;For the BRG in the physical picture element P2 in Fig. 3 For three color physics sub-pixes, then first sub-pix blue data of the first row in Figure 10 (odd-numbered line) can be utilized respectively (B) it is carried out respectively with first sub-pix red data (R) of the second row (even number line), first sub-pix green data (G) Driving;The driving of other each physical picture elements and so on, it will not enumerate herein.
In addition, it is noted that the complementary color processing scheme in above-mentioned first embodiment and second embodiment is to use nine Palace lattice block of pixels (3 × 3 block of pixels) illustrates as an example, and nine grids block of pixels as complementary color preferably by handling mesh Mark sub-pix color data center sub-pix color data and it is adjacent thereto around eight sub-pix color data composition, Under such situation, then to the first row of the Central Asia Fig. 8 and Figure 10 pixel color data, first row, last column, last row not into The processing of row complementary color;Namely the first row, first row, last column, last sub-pix color data arranged in Fig. 8 and Figure 10 (that is, edge sub-pixel color data) is carried out not as complementary color processing target sub-pix color data.Certainly, in other situations Under, for example, by using 2 × 2 block of pixels, triangular pixel block or not 3 × 3 pictures centered on target sub-pix color data Plain block, then can be using edge sub-pixel color data as complementary color processing target sub-pix color data.Furthermore it needs to illustrate It is complementary color processing to be carried out to each sub-pix color data in Fig. 8 and Figure 10, no matter whether edge sub-pixel color data has Complementary color processing target sub-pix color data is done, final data value all will be referred to as sub-pix color data after complementary color processing.
Figure 13 a and Figure 13 b are referred to, are a kind of function module of image processing apparatus provided in an embodiment of the present invention Figure.Specifically, as depicted in fig. 13 a, the image processing apparatus 130 of the present embodiment is suitable for providing target image to display panel 100 Data show that the display panel 100 includes multiple physical picture elements (such as shown in Fig. 2 or Fig. 3), each institute to carry out picture State the physics sub-pix that physical picture element includes multiple and different colors.Specifically, image processing apparatus 130 includes:Sub-pix color Data acquisition module 131 and complementary color processing module 133.
Wherein, sub-pix color data acquisition module 131 is for obtaining due to original image progress sub-pix down-sampling Obtained multiple sub-pix color data corresponding to each physical picture element, the original image includes multiple original images Element, and each described original pixels includes corresponding multiple bases data.In the present embodiment, multiple bases data are e.g. above-mentioned RGB three primary colours data but it is also possible to be more multiple bases data.
Complementary color processing module 133 is used to carry out complementary color to the multiple sub-pix color data of the multiple physical picture element Sub-pix color data is to generate the target after processing obtains multiple complementary colors processing corresponding to each physical picture element Image data.The complementary color processing module 133 further comprises:Block of pixels divides submodule 1331 and complementary color handles submodule 1333。
When block of pixels divides submodule 1331 for carrying out complementary color processing to any one target sub-pix color data, draw Separate includes the target sub-pix color data and the multiple sub-pix colors adjacent with the target sub-pix color data The block of pixels of data;It is specifically used for marking off 3 × 3 block of pixels, 2 according to control instruction for example, block of pixels divides submodule 1331 × 2 block of pixels or triangular pixel block.
Complementary color handle submodule 1333 be used for based on the pixel multiple pending sub-pix color data in the block and with Non- sample color in the multiple bases data of the corresponding multiple original pixels of the multiple pending sub-pix color data Data judge whether to need to carry out complementary color and determine complementary color position and complementary color value size when needing to carry out complementary color, wherein described Multiple pending sub-pix color data include the target sub-pix color data and with the target sub-pix color data For the sub-pix color data of different colours type.
As illustrated in fig. 13b, complementary color processing submodule 1333 can also be refined as include:Complementary color judging unit 13330, complementary color Position determination unit 13332 and complementary color value computing unit 13334.Wherein, complementary color judging unit 13330 is for judging the mesh It marks one in the multiple bases data of the corresponding original pixels of sub-pix color data and specifies whether non-Sample Color Data is more than institute All sub-pix color data with the specified non-Sample Color Data for same color type in block of pixels are stated, and are being judged It is determined when being as a result "Yes" and needs to carry out a color component complementary color, wherein the color component and the specified non-sample color number According to color type it is identical;Complementary color position determination unit 13332 is used to determine the complementary color position of the color component;And complementary color Value computing unit 13334 is used to calculate the updated value of the target sub-pix color data and the complementary color position of the color component Set the updated value of corresponding pixel sub-pix color data in the block.
In addition, complementary color position determination unit 13332 can also be refined as include:Determination subelement based on brightness 13332a, the determination subelement 13332c based on determination of distance subelement 13332b and based on orientation priority.Wherein, base In brightness determination subelement 13332a for obtain in the block of pixels it is all with it is described specify non-Sample Color Data be same Maximum sub-pix color data in the sub-pix color data of one color type, and when the maximum sub-pix color data When quantity is one, complementary color position of the corresponding position of the maximum sub-pix color data as the color component is determined. It is used for based on determination of distance subelement 13332b when the quantity of the maximum sub-pix color data is multiple, described in acquisition The nearest most narrow spacing in target sub-pix color data position described in distance in the corresponding position of maximum sub-pix color data From sub-pix color data, and when the quantity of the minimum range sub-pix color data is one, most narrow spacing described in determination Complementary color position of the position corresponding from sub-pix color data as the color component.Based on orientation priority stator list really First 13332c is used for when the quantity of the minimum range sub-pix color data is multiple, according to relative to target Asia picture The pre-configured orientation priority of plain color data position determines that one of described minimum range sub-pix color data is corresponding Complementary color position of the position as the color component.
It is noted that the specific work(of the modules, submodule, unit and subelement involved in Figure 13 a and Figure 13 b Energy details sees acquisition and the complementary color processing procedure of sub-pix color data above-mentioned, and details are not described herein.
In conclusion the above embodiment of the present invention uses specific sub-pix color data complementary color Processing Algorithm to sub-pix Sub-pix color data after down-sampling carries out complementary color processing, can effectively improve image resolution ratio and clear not influencing picture Color mistake caused by sub-pix down-sampling technology is eliminated in the case of clear degree.
Used herein principle and embodiment party of the specific case to image processing method of the present invention and image processing apparatus Formula is expounded, and the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile it is right In those of ordinary skill in the art, according to the thought of the present invention, change is had in specific embodiments and applications Place, in conclusion the content of the present specification should not be construed as limiting the invention, protection scope of the present invention should be with appended Subject to claim.

Claims (15)

1. a kind of image processing method is shown for providing destination image data to display panel with carrying out picture, the display Panel includes multiple physical picture elements, each described physical picture element includes the physics sub-pix of multiple and different colors;Its feature exists In described image processing method includes step:
It obtains because carrying out the multiple Asias for corresponding to each physical picture element obtained from sub-pix down-sampling to original image Pixel color data, the original image include multiple original pixels, and each described original pixels includes corresponding more Primary colours data;
Complementary color is carried out to the multiple sub-pix color data of the multiple physical picture element to handle to obtain corresponding to each institute Sub-pix color data is to generate the destination image data after stating multiple complementary colors processing of physical picture element, wherein to the multiple The multiple sub-pix color data of physical picture element carries out complementary color processing:
When carrying out complementary color processing to any one target sub-pix color data, mark off comprising the target sub-pix number of colours According to the multiple sub-pix color data adjacent with the target sub-pix color data block of pixels and be based on the block of pixels In multiple pending sub-pix color data and multiple originals corresponding with the multiple pending sub-pix color data Non- Sample Color Data in the multiple bases data of beginning pixel judges whether to need to carry out complementary color and when needing to carry out complementary color Complementary color position and complementary color value size are determined, wherein the multiple pending sub-pix color data includes the target sub-pix face Chromatic number evidence and with the target sub-pix color data be different colours type sub-pix color data.
2. image processing method as described in claim 1, which is characterized in that the block of pixels is 3 × 3 block of pixels, and in institute It includes being different to state the multiple sub-pix color data adjacent with the target sub-pix color data in 3 × 3 block of pixels At least two color types of the color type of the target sub-pix color data.
3. image processing method as claimed in claim 2, which is characterized in that 3 × 3 block of pixels is with the target sub-pix Centered on color data.
4. image processing method as described in claim 1, which is characterized in that the block of pixels is 2 × 2 block of pixels, and in institute It includes being different to state the multiple sub-pix color data adjacent with the target sub-pix color data in 2 × 2 block of pixels At least two color types of the color type of the target sub-pix color data.
5. image processing method as described in claim 1, which is characterized in that the block of pixels is triangular pixel block, and institute The color type for stating triangular pixel each sub-pix color data in the block is different.
6. image processing method as described in claim 1, which is characterized in that each described physical picture element includes rectangular row Row a first color physics sub-pix, a second color physics sub-pix and two third color physics sub-pixes and Described two third color physics sub-pixes are located on same diagonal line.
7. image processing method as claimed in claim 6, which is characterized in that the first color physics sub-pix is red material Sub-pix is managed, the second color physics sub-pix is blue physics sub-pix, and described two third color physics sub-pixes are Two green physics sub-pixes.
8. image processing method as described in claim 1, which is characterized in that the first object in the two neighboring physical picture element Reason pixel and the second physical picture element include a first color physics sub-pix, the second color object being triangularly arranged Manage sub-pix and a third color physics sub-pix;The first color physics sub-pix of first physical picture element and institute The third color physics sub-pix for stating the second color physics sub-pix and second physical picture element is located at same a line and institute The first color physics of the third color physics sub-pix and second physical picture element of stating the first physical picture element is sub- Pixel and the second color physics sub-pix are respectively positioned on another adjacent rows.
9. image processing method as described in claim 1, which is characterized in that judge whether the method packet for needing to carry out complementary color It includes:
Judge the non-Sample Color Data in the multiple bases data of the corresponding original pixels of the target sub-pix color data Whether in the block of pixels all sub-pix color data with the non-Sample Color Data for same color type is more than, and It is determined when judging result is "Yes" and needs to carry out a color component complementary color, wherein the color component and the non-sample color The color type of data is identical.
10. image processing method as claimed in claim 9, which is characterized in that the method for determining complementary color position includes:
It obtains in the sub-pix color data that all in the block of pixels and non-Sample Color Data is same color type Maximum sub-pix color data, and when the quantity of the maximum sub-pix color data is one, determine described maximum sub- Complementary color position of the corresponding position of pixel color data as the color component;
When the quantity of the maximum sub-pix color data is multiple, the corresponding position of the maximum sub-pix color data is obtained The middle minimum range sub-pix color data nearest apart from the target sub-pix color data position is set, and described in most When the quantity of small distance sub-pix color data is one, determine that the corresponding position of the minimum range sub-pix color data is made For the complementary color position of the color component;And
When the quantity of the minimum range sub-pix color data is multiple, according to relative to the target sub-pix number of colours The corresponding position conduct of one of described minimum range sub-pix color data is determined according to the pre-configured orientation priority of position The complementary color position of the color component.
11. image processing method as described in claim 1, which is characterized in that the method for determining complementary color value size includes:
The target sub-pix color data is updated to:The initial value of the target sub-pix color data owns with what is determined In the multiple bases data of the corresponding original pixels in complementary color position with the target sub-pix color data be same color class The average value of the non-Sample Color Data of type;
The corresponding sub-pix color data in each described complementary color position is updated to:The corresponding sub-pix face in the complementary color position The initial value of chromatic number evidence, the corresponding original pixels of the target sub-pix color data multiple bases data in the complementary color position Set the non-Sample Color Data and other possible complementary color positions correspondence that corresponding sub-pix color data is same color type Original pixels multiple bases data in sub-pix color data corresponding with the complementary color position be same color type not The average value of Sample Color Data.
12. a kind of image processing apparatus is shown for providing destination image data to display panel with carrying out picture, the display Panel includes multiple physical picture elements, each described physical picture element includes the physics sub-pix of multiple and different colors;Its feature exists In described image processing unit includes:
Sub-pix color data acquisition module, for obtaining because to original image obtained from sub-pix down-sampling correspond to Multiple sub-pix color data of each physical picture element, the original image include multiple original pixels, and each The original pixels include corresponding multiple bases data;
Complementary color processing module carries out complementary color for the multiple sub-pix color data to the multiple physical picture element and handles Sub-pix color data is to generate the target image number after to multiple complementary colors processing corresponding to physical picture element described in each According to;The complementary color processing module includes:
Block of pixels divides submodule, when for carrying out complementary color processing to any one target sub-pix color data, marks off packet Containing the target sub-pix color data and the multiple sub-pix color data adjacent with the target sub-pix color data Block of pixels;
Complementary color handle submodule, for based on the pixel multiple pending sub-pix color data in the block and with it is the multiple Non- Sample Color Data in the multiple bases data of the corresponding multiple original pixels of pending sub-pix color data judges Whether need to carry out complementary color and determine complementary color position and complementary color value size when needing to carry out complementary color, wherein the multiple wait locating Reason sub-pix color data includes the target sub-pix color data and is different face from the target sub-pix color data The sub-pix color data of color type.
13. image processing apparatus as claimed in claim 12, which is characterized in that the block of pixels divides submodule and is used for basis Control instruction marks off 3 × 3 block of pixels, 2 × 2 block of pixels or triangular pixel block.
14. image processing apparatus as claimed in claim 12, which is characterized in that the complementary color handles submodule and includes:
Complementary color judging unit, in the multiple bases data for judging the corresponding original pixels of the target sub-pix color data Specify whether non-Sample Color Data is all more than in the block of pixels to specify non-Sample Color Data for same color with described The sub-pix color data of type, and determined when judging result is "Yes" and need to carry out a color component complementary color, wherein described Color component is identical with the color type for specifying non-Sample Color Data;
Complementary color position determination unit, the complementary color position for determining the color component;
Complementary color value computing unit, the benefit of updated value and the color component for calculating the target sub-pix color data Color bits sets the updated value of corresponding pixel sub-pix color data in the block.
15. image processing apparatus as claimed in claim 14, which is characterized in that the complementary color position determination unit includes:
Determination subelement based on brightness, for obtain in the block of pixels it is all with it is described specify non-Sample Color Data be same Maximum sub-pix color data in the sub-pix color data of one color type, and when the maximum sub-pix color data When quantity is one, complementary color position of the corresponding position of the maximum sub-pix color data as the color component is determined;
Based on determination of distance subelement, it is used for when the quantity of the maximum sub-pix color data is multiple, described in acquisition The nearest most narrow spacing in target sub-pix color data position described in distance in the corresponding position of maximum sub-pix color data From sub-pix color data, and when the quantity of the minimum range sub-pix color data is one, most narrow spacing described in determination Complementary color position of the position corresponding from sub-pix color data as the color component;
Based on the determination subelement of orientation priority, for being multiple when the quantity of the minimum range sub-pix color data When, determine that the minimum range is sub- according to the pre-configured orientation priority relative to the target sub-pix color data position Complementary color position of the corresponding position of one of pixel color data as the color component.
CN201510075267.1A 2015-02-12 2015-02-12 Image processing method and image processing apparatus Active CN105989799B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510075267.1A CN105989799B (en) 2015-02-12 2015-02-12 Image processing method and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510075267.1A CN105989799B (en) 2015-02-12 2015-02-12 Image processing method and image processing apparatus

Publications (2)

Publication Number Publication Date
CN105989799A CN105989799A (en) 2016-10-05
CN105989799B true CN105989799B (en) 2018-07-20

Family

ID=57042192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510075267.1A Active CN105989799B (en) 2015-02-12 2015-02-12 Image processing method and image processing apparatus

Country Status (1)

Country Link
CN (1) CN105989799B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108245165A (en) * 2018-01-30 2018-07-06 郑州市骨科医院 A kind of backbone dynamic function detecting system
CN109255355A (en) * 2018-05-28 2019-01-22 北京京东尚科信息技术有限公司 Image processing method, device, terminal, electronic equipment and computer-readable medium
CN113763486B (en) * 2020-06-01 2024-03-01 北京达佳互联信息技术有限公司 Dominant hue extraction method, device, electronic equipment and storage medium
CN116974111B (en) * 2023-09-22 2024-01-05 长春希达电子技术有限公司 Triangular arrangement structure, calculation method thereof and display equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373575A (en) * 2007-08-24 2009-02-25 佳能株式会社 Display method of emission display apparatus
CN103559849A (en) * 2013-11-15 2014-02-05 北京京东方光电科技有限公司 Display panel as well as display method and display device thereof
CN103854606A (en) * 2012-11-30 2014-06-11 乐金显示有限公司 Organic light emitting diode display device and method for driving the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4631322B2 (en) * 2004-06-18 2011-02-16 東芝ライテック株式会社 Image display device and image display program
KR101954336B1 (en) * 2012-05-17 2019-03-06 삼성디스플레이 주식회사 Data rendering method, data rendering device, and display panel applied the method and the device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373575A (en) * 2007-08-24 2009-02-25 佳能株式会社 Display method of emission display apparatus
CN103854606A (en) * 2012-11-30 2014-06-11 乐金显示有限公司 Organic light emitting diode display device and method for driving the same
CN103559849A (en) * 2013-11-15 2014-02-05 北京京东方光电科技有限公司 Display panel as well as display method and display device thereof

Also Published As

Publication number Publication date
CN105989799A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
TWI303723B (en) Method for rendering data of a color space onto the display of another color space
CN1867963B (en) Gamut conversion system and methods
CN100439989C (en) Color flat panel display sub-pixel arrangements and layouts for sub-pixel rendering
US9576519B2 (en) Display method and display device
CN104981861B (en) Signal conversion device and method
CN105989799B (en) Image processing method and image processing apparatus
CN1215455C (en) Colour signal processing equipment for multi-primary colours display device
RU2442291C2 (en) Visual display unit
CN104680945A (en) Pixel arrangement method, pixel rendering method and image display device
CN105027191B (en) The method and apparatus rendered for sub-pixel
US10297182B2 (en) Pixel array having sub-pixel groups and driving method thereof and display panel
CN204463787U (en) LED structure, display unit and display control unit
CN1598907A (en) Method and apparatus for displaying image and computer-readable recording medium for storing computer program
CN107863083A (en) The driving method and drive device of a kind of display device
CN105989801B (en) LED display methods, LED display unit array, display control unit
KR20080046721A (en) Improved memory structures for image processing
CN107863084A (en) The driving method and drive device of a kind of display device
US20150235393A1 (en) Image device and data processing system
JP2013232882A (en) Non-uniformity correction device and control method
CN101325026B (en) Color flat panel display sub-pixel arrangements and sub-pixel coloring device
CN108428435A (en) A kind of verification display methods that Delta types arrangement sub-pixel renders
KR101999546B1 (en) Method of correcting colors, machine-implemented method for a multi-primary color matrix display apparatus, and imgae data signal processing apparatus
JP2020518022A (en) Driving method and driving device for display panel
CN105096805B (en) Display device and sub-pixel rendering intent
JP2008538614A (en) Method, system and computer program for redistributing N primary color input signals into N primary color output signals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province

Patentee after: Xi'an Nova Nebula Technology Co., Ltd.

Address before: 710075 Qinfengge D District 401, Xi'an Software Park, 68 Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province

Patentee before: Xian Novastar Electronic Technology Co., Ltd.