CN105989799A - Image processing method and image processing device - Google Patents
Image processing method and image processing device Download PDFInfo
- Publication number
- CN105989799A CN105989799A CN201510075267.1A CN201510075267A CN105989799A CN 105989799 A CN105989799 A CN 105989799A CN 201510075267 A CN201510075267 A CN 201510075267A CN 105989799 A CN105989799 A CN 105989799A
- 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.)
- Granted
Links
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
The invention relates to an image processing method and an image processing device. The image processing method comprises the steps of acquiring a plurality of pieces of sub-pixel color data which is obtained through carrying out sub-pixel down-sampling on an original image and correspond to each physical pixel in a plurality of physical pixels of a display panel, wherein the original image comprises a plurality of original pixels, and each original pixel comprises corresponding multi-primary color data; and carrying out color complementing treatment on the plurality of pieces of sub-pixel color data of the plurality of physical pixels according to a specific algorithm to acquire color complementing treated sub-pixel color data corresponding to each physical pixel so as to generate target image data for the display panel to carry out image display. According to the invention, the specific sub-pixel color data color complementing treatment algorithm is adopted to carry out color complementing treatment on the sub-pixel color data obtained by performing down-sampling on sub-pixels, thereby being capable of effectively improving the image resolution, and eliminating a color error caused by a sub-pixel down-sampling technology under the condition of not affecting the image definition.
Description
Technical field
The present invention relates to Display Technique field, particularly to a kind of image processing method and a kind of figure
As processing means.
Background technology
Display Technique is one of most critical part, LED (Light in the comprised technology of information industry
Emitting Diode, light emitting diode) display screen system is as novel Display Technique, with its joint
Energy, environmental protection, the advantage such as highlighted are gradually acceptable to the market, thus be widely used in city medium,
The fields such as urban transportation.
The pursuit such as high-resolution of display quality is shown it is that LED display industry constantly pursues a goal.
Existing LED display many employings three primary colours Display Technique, the lifting for resolution is
Using traditional Sampling techniques, the main density utilizing increase physical picture element and scale promote resolution
Rate.The cost of this technology is high, and room for promotion is limited, also has in terms of processing technology and heat radiation
There is certain drawback.In the display system, when utilizing sub-pix Sampling techniques that original image is sampled
There will be color Aliasing Problem.Existing one is based on the display device sub-pix anti-color aliasing of arrangement
Filtering method, refers to Application No. 201310314907.0, invention entitled " sub-based on two dimension
The super-resolution display packing of pixel sampling and device " Chinese invention patent application, although necessarily
Color mistake can be eliminated in degree, but original image can be obscured, it is impossible to get a desired effect.
Specifically, as disclosed by above-mentioned application for a patent for invention, it is to original image R, G, B primary colours
Component (color data) applies the filtering of corresponding anti-color aliasing respectively, then presses filtered image
Locus structure according to the arrangement of display device two-dimensional sub-pixel carries out sub-pix sampling to realize display
The super-resolution of equipment shows.But, the content disclosed by this application for a patent for invention is by former
Beginning image each primary colours structure wave filter eliminates color mistake, may make image blur, it is difficult to
Reach the effect of high-resolution and fine definition.
Therefore, show field at LED at present, also do not have a kind of LED display packing can be veritably carrying
High image resolution combines to reach fine definition and high-resolution with eliminating color mistake.
Summary of the invention
Therefore, for deficiency of the prior art, the present invention provide a kind of image processing method and
A kind of image processing apparatus.
Specifically, a kind of image processing method that the embodiment of the present invention provides, for display floater
Thering is provided destination image data to show to carry out picture, described display floater includes multiple physical picture element,
Each described physical picture element includes the physics sub-pix of multiple different colours.Described image processing method
Method includes step: obtain obtain because original image is carried out sub-pix down-sampling corresponding to each
Multiple sub-pix color data of individual described physical picture element, described original image includes multiple original image
Element, and each described original pixels includes corresponding multiple bases data;And to the plurality of thing
The plurality of sub-pix color data of reason pixel carries out complementary color process and obtains corresponding to described in each
After multiple complementary colors process of physical picture element, sub-pix color data is to generate described destination image data.
Wherein, the plurality of sub-pix color data to the plurality of physical picture element carries out complementary color process bag
Include: when any one target sub-pix color data is carried out complementary color process, mark off described in comprising
Target sub-pix color data and the multiple sub-pix face adjacent with described target sub-pix color data
The block of pixels of chromatic number evidence and based on the multiple pending sub-pix color data in described block of pixels and
The multiple bases number of the multiple original pixels the most corresponding with the plurality of pending sub-pix color data
Non-Sample Color Data according to judges whether to need to carry out complementary color and true when needs carry out complementary color
Determining complementary color position and complementary color value size, wherein said multiple pending sub-pix color data include institute
State target sub-pix color data and be different colours type with described target sub-pix color data
Sub-pix color data.
In one embodiment of the invention, above-mentioned block of pixels is 3 × 3 block of pixels, and described 3
The plurality of sub-pix number of colours adjacent with described target sub-pix color data in × 3 block of pixels
According to including at least two color class that is different from the color type of described target sub-pix color data
Type.
In one embodiment of the invention, above-mentioned 3 × 3 block of pixels are with described target sub-pix color
Data grid technology.
In one embodiment of the invention, above-mentioned block of pixels is 2 × 2 block of pixels, and described 2
The plurality of sub-pix number of colours adjacent with described target sub-pix color data in × 2 block of pixels
According to including at least two color class that is different from the color type of described target sub-pix color data
Type.
In one embodiment of the invention, above-mentioned block of pixels is triangular pixel block, and described three
The color type of each sub-pix color data in dihedral block of pixels is different.
In one embodiment of the invention, each described physical picture element includes rectangular arrangement
One the first color physics sub-pix, the second color physics sub-pix and two the 3rd color things
Reason sub-pix and said two the 3rd color physics sub-pix are positioned on same diagonal.
In one embodiment of the invention, above-mentioned first color physics sub-pix is that red physics is sub-
Pixel, described second color physics sub-pix is blue physics sub-pix, said two the 3rd color
Physics sub-pix is two green physics sub-pixs.
In one embodiment of the invention, the first physics picture in adjacent two described physical picture elements
A first color physics sub-pix that element and the second physical picture element all include being triangularly arranged, one
Individual second color physics sub-pix and a 3rd color physics sub-pix;Described first physical picture element
Described first color physics sub-pix and described second color physics sub-pix and described second physics
The described 3rd color physics sub-pix of pixel is positioned at same a line and the institute of described first physical picture element
State the described first color physics sub-pix of the 3rd color physics sub-pix and described second physical picture element
And described second color physics sub-pix is respectively positioned on another adjacent lines.
In one embodiment of the invention, it may be judged whether need the method carrying out complementary color to include: to sentence
An appointment in the multiple bases data of the original pixels that disconnected described target sub-pix color data is corresponding is not
Whether Sample Color Data is the most all more than in described block of pixels and the described non-Sample Color Data of appointment is
The sub-pix color data of same color type, and determine when judged result is "Yes" need into
Row one color component complementary color, wherein said color component and the face of the non-Sample Color Data of described appointment
Color type is identical.
In one embodiment of the invention, determine that the method for complementary color position includes: obtain described picture
All in element block is the sub-pix number of colours of same color type with the non-Sample Color Data of described appointment
Maximum sub-pix color data according to, and when the quantity of described maximum sub-pix color data is one
Time individual, determine position corresponding to the described maximum sub-pix color data benefit as described color component
Color bits is put;When the quantity of described maximum sub-pix color data is multiple, obtain described maximum sub-
In the position that pixel color data is corresponding, described in distance, target sub-pix color data position is nearest
Minimum range sub-pix color data, and when the quantity of described minimum range sub-pix color data
When being one, determine that position corresponding to described minimum range sub-pix color data is as described color
The complementary color position of component;And when the quantity of described minimum range sub-pix color data is multiple,
Institute is determined according to relative to the pre-configured orientation priority of described target sub-pix color data position
State position corresponding to one of the minimum range sub-pix color data complementary color as described color component
Position.
In one embodiment of the invention, determine that the method for complementary color value size includes: by described mesh
Mark sub-pix color data is updated to: the initial value of described target sub-pix color data and determining
With described target sub-pix face in the multiple bases data of the original pixels that all complementary color positions are the most corresponding
Chromatic number is according to the meansigma methods of the non-Sample Color Data for same color type;And by described in each
Sub-pix color data corresponding to complementary color position is updated to: the sub-pix face that described complementary color position is corresponding
The multiple bases number of the original pixels that the initial value of chromatic number evidence, described target sub-pix color data are corresponding
Sub-pix color data corresponding with described complementary color position according to is the face of not sampling of same color type
With described in the multiple bases data of the original pixels that chromatic number evidence is corresponding with other possible complementary color positions
The non-Sample Color Data that sub-pix color data is same color type corresponding to complementary color position is flat
Average.
Additionally, a kind of image processing apparatus that the embodiment of the present invention provides, for carrying to display floater
Showing to carry out picture for destination image data, described display floater includes multiple physical picture element, often
One described physical picture element includes the physics sub-pix of multiple different colours.Described image processing apparatus
Including: sub-pix color data acquisition module, it is used for obtaining because original image is carried out under sub-pix
Sampling and obtain corresponding to multiple sub-pix color data of physical picture element each described, described
Original image includes multiple original pixels, and each described original pixels includes corresponding many bases
Chromatic number evidence;And complementary color processing module, for the plurality of sub-picture to the plurality of physical picture element
Element color data carries out complementary color process and obtains at corresponding to multiple complementary colors of physical picture element each described
After reason, sub-pix color data is to generate described destination image data.Wherein, described complementary color processes mould
Block includes: block of pixels divides submodule, for carrying out any one target sub-pix color data
Complementary color process time, mark off comprise described target sub-pix color data and with described target sub-pix
The block of pixels of multiple sub-pix color data that color data is adjacent;And complementary color processes submodule,
For based on the multiple pending sub-pix color data in described block of pixels and locating with the plurality of waiting
Face of not sampling in the multiple bases data of multiple original pixels that reason sub-pix color data is corresponding respectively
Chromatic number is it is judged that the need of carrying out complementary color and determining complementary color position and benefit when needs carry out complementary color
Colour size, wherein said multiple pending sub-pix color data include described target sub-pix face
Chromatic number evidence and with the sub-pix number of colours that described target sub-pix color data is different colours type
According to.
In one embodiment of the invention, above-mentioned block of pixels divides submodule for referring to according to control
Order marks off 3 × 3 block of pixels, 2 × 2 block of pixels or triangular pixel block.
In one embodiment of the invention, above-mentioned complementary color process submodule includes: complementary color judges single
Unit, in the multiple bases data judging original pixels corresponding to described target sub-pix color data
One specify non-Sample Color Data whether the most all more than in described block of pixels and described appointment is not sampled
Color data is the sub-pix color data of same color type, and when judged result is "Yes"
Determine that needing to carry out a color component complementary color, wherein said color component and described appointment does not samples face
The color type of chromatic number evidence is identical;Complementary color position determination unit, for determining described color component
Complementary color position;And complementary color value computing unit, for calculating described target sub-pix color data
Sub-pix color in the described block of pixels that the complementary color position of updated value and described color component is corresponding
The updated value of data.
In one embodiment of the invention, above-mentioned complementary color position determination unit includes: based on brightness
Really stator unit, being used for obtaining all in described block of pixels is same with described non-Sample Color Data
Maximum sub-pix color data in the sub-pix color data of one color type, and when described maximum
When the quantity of sub-pix color data is one, determine that described maximum sub-pix color data is corresponding
Position is as the complementary color position of described color component;Based on determination of distance subelement, for working as institute
State the quantity of maximum sub-pix color data when being multiple, obtain described maximum sub-pix color data
The minimum range that in corresponding position, target sub-pix color data position described in distance is nearest is sub-
Pixel color data, and when the quantity of described minimum range sub-pix color data is one, really
Determine the complementary color position as described color component, position corresponding to described minimum range sub-pix color data
Put;And based on orientation priority stator unit really, for when described minimum range sub-pix face
When the quantity of chromatic number evidence is multiple, according to relative to described target sub-pix color data position
Pre-configured orientation priority determine the position that one of described minimum range sub-pix color data is corresponding
Complementary color position as described color component.
The above embodiment of the present invention uses specific sub-pix color data complementary color Processing Algorithm to sub-picture
Sub-pix color data after element down-sampling carries out complementary color process, can be effectively improved image resolution ratio
And in the case of not affecting picture clarity, eliminate the color mistake that sub-pix down-sampling technology causes
By mistake.
By the detailed description below with reference to accompanying drawing, the other side of the present invention and feature become obvious.
It is understood that this accompanying drawing is only the purpose design rather than the model as the present invention explained
The restriction enclosed, this is because it should refer to appended claims.It should also be noted that it is unless another
Pointing out outward, it is not necessary to scale accompanying drawing, they only try hard to illustrate conceptually described herein
Structure and flow process.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the detailed description of the invention of the present invention is described in detail.
Fig. 1 is the flow chart of a kind of image processing method of the embodiment of the present invention.
Fig. 2 is each physics of the applicable display floater of image processing method of the embodiment of the present invention
The rectanglar arrangement mode schematic diagram of the physics sub-pix of the multiple different colours in pixel.
Fig. 3 is each physics of the applicable display floater of image processing method of the embodiment of the present invention
The triangular pitch mode schematic diagram of the physics sub-pix of the multiple different colours in pixel.
Fig. 4 is the complementary color handling process schematic diagram of the embodiment of the present invention.
Fig. 5 a and 5b is that multiple 3 × 3 block of pixels of the embodiment of the present invention divide schematic diagram.
Fig. 6 a to 6d is that multiple 2 × 2 block of pixels of the embodiment of the present invention divide schematic diagram.
Fig. 7 a to Fig. 7 h is that the various triangular block of pixels of the embodiment of the present invention divides schematic diagram.
Fig. 8 is the sub-pix number of colours obtained after first embodiment of the invention uses sub-pix down-sampling
According to arrangement schematic diagram.
Fig. 9 a to 9d is that various sub-pix color data are carried out at complementary color by first embodiment of the invention
3 × 3 block of pixels schematic diagrams that reason is used.
Figure 10 is the sub-pix color obtained after second embodiment of the invention uses sub-pix down-sampling
Data arrangement schematic diagram.
Figure 11 a to 11c is that second embodiment of the invention sub-pix various to odd-numbered line color data is entered
Row complementary color processes 3 × 3 block of pixels schematic diagrams used.
Figure 12 a to 12c is that second embodiment of the invention antithesis several rows various sub-pix color data is entered
Row complementary color processes 3 × 3 block of pixels schematic diagrams used.
Figure 13 a and the high-level schematic functional block diagram of image processing apparatus that Figure 13 b is the embodiment of the present invention.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with
The detailed description of the invention of the present invention is described in detail by accompanying drawing.
Owing to the original pixels in the lack sampling of color, namely each original image is only sampled a face
Colouring component, sub-pix Display Technique processes image can bring color Problem-Error, the following reality of the present invention
Execute example for this problem, propose image processing method as shown in Figure 1, make the image after process
There are high-resolution and fine definition.
The image processing method of the embodiment of the present invention for display floater provide destination image data with
Carrying out picture for described display floater to show, described display floater includes multiple physical picture element, each
Individual physical picture element includes the physics sub-pix of multiple different colours.For purposes of illustration only, the present embodiment with
LED display panel illustrates as an example, and each of which physical picture element includes multiple different colours
LED, such as red LED, green LED and blue led.
As it is shown in figure 1, the image processing method of the present embodiment includes step: obtain and adopt under sub-pix
In the plurality of physical picture element of the corresponding display floater obtained after sample, each physical picture element is multiple
Sub-pix color data;And the plurality of sub-pix color data to the plurality of physical picture element
Carry out complementary color process to obtain corresponding to sub-pix after multiple complementary colors of physical picture element process each described
Color data is to generate destination image data as output.
First, sub-pix down-sampling is illustrated: according to many in each physical picture element of display floater
The exact arrangement mode of individual physics sub-pix, carries out sub-pix down-sampling to original image and includes following
Two class situations:
(1) as in figure 2 it is shown, the row of multiple different colours physics sub-pixs in same physical picture element
Mode for cloth be matrix arrangement, such as physical picture element P, it include a red sub-pixel, two green
Color sub-pix and a blue subpixels;For situation shown in Fig. 2, original image is being carried out Asia
During pixel down-sampling, can be with in the three primary colours data of the original pixels [0,0] in sampled original image
Red data (or claim red component), original pixels [0,1] three primary colours data in green data
Green data in the three primary colours data of (or claiming green component), original pixels [1,0] and original image
Blue data (or claiming blue component) in the three primary colours data of element [1,1] is respectively as physical picture element
A sub-pix red data (R) corresponding to P, two sub-pix green datas (G) and an Asia
Pixel blue data (B);By that analogy, i.e. available using physical picture element P as periodic arrangement weight
Multiple sub-pix color data corresponding to the plurality of physical picture element of the display floater of multiple unit,
Complementary color process is carried out for follow-up.
(2) as it is shown on figure 3, the row of multiple different colours physics sub-pixs in same physical picture element
Mode for cloth is triangular pitch, and two the most adjacent physical picture element P1 and P2, it all includes one
Individual red sub-pixel, a green sub-pixels and a blue subpixels, and physical picture element P1's is red
The blue subpixels of color sub-pix, green sub-pixels and physical picture element P2 is positioned at same a line, physics picture
The blue subpixels of element P1 and the red sub-pixel of physical picture element P2 and green sub-pixels are respectively positioned on separately
One adjacent lines;For situation shown in Fig. 3, when original image is carried out sub-pix down-sampling, can
(or claim red with the red data in the three primary colours data of the original pixels [0,0] in sampled original image
Colouring component), green data (or claiming green component) in the three primary colours data of original pixels [0,1],
Blue data (or claiming blue component) in the three primary colours data of original pixels [1,0] is respectively as thing
Reason sub-pix red data (R), sub-pix green data (G) and sub-pix corresponding to pixel P1 is blue
Chromatic number is according to (B);And red in the three primary colours data of the original pixels [1,1] in sampled original image
Chromatic number is according to green data in the three primary colours data of, original pixels [1,2], original pixels [0,2]
Blue data in three primary colours data is respectively as the sub-pix redness number corresponding to physical picture element P2
According to (R), sub-pix green data (G) and sub-pix blue data (B);By that analogy, the most available
Combining as described in the display floater of periodic arrangement repetitive using physical picture element P1 and P2
Multiple sub-pix color data corresponding to multiple physical picture elements, carry out complementary color process for follow-up.
It follows that combine Fig. 4, complementary color process is described in detail:
A () divides block of pixels
Block of pixels can be 3*3 block of pixels, it is also possible to be 2*2 block of pixels or triangular pixel block etc.,
As long as block of pixels at least includes a R, G, a B.Specifically, Fig. 5 a and figure
5b illustrates two kinds using sub-pix red data (R) as 3 × 3 pixels of target sub-pix color data
Block;In fig 5 a, target sub-pix color data (R) is positioned at nine grids block of pixels (3 × 3 pixels
Block) center;In figure 5b, target sub-pix color data (R) is positioned at nine grids block of pixels (3
× 3 block of pixels) non-central location.3 × 3 pixels for other sub-pix color data (G, B)
Block dividing mode is identical with 3 × 3 pixel dividing mode of sub-pix red data, the most superfluous at this
State.It addition, Fig. 6 a to Fig. 6 d illustrates four kinds using sub-pix red data (R) as target sub-pix
2 × 2 block of pixels dividing mode of color data;And Fig. 7 a to Fig. 7 h illustrates eight kinds with sub-pix
Red data (R) is as the triangular pixel block dividing mode of target sub-pix color data.
B () judges whether to need complementary color
Illustrate as a example by 3 × 3 block of pixels: mark off and comprise target sub-pix color data such as
R data and 3 × 3 block of pixels of other 8 sub-pix color data being adjacent and target Asia picture
After element color data is positioned at the center of 3 × 3 block of pixels, if target sub-pix red data (R component)
Initial value be R0, two non-sample color in the three primary colours data of its corresponding original pixels
Data are respectively G0 (green component) and B0 (blue component)
Take all of sub-pix green data (G) in above-mentioned 3 × 3 block of pixels, be defined as Gi
(i=1,2 ... n;N is total number of sub-pix green data (G) in 3 × 3 pixels);Take above-mentioned 3
All of sub-pix blue data (B) in × 3 block of pixels, be defined as Bi (i=1,2 ... m;M is 3
Total number of all sub-pix blue datas (B) in × 3 block of pixels), and maximum in definition Gi
One amount is Gmax, and an amount maximum in Bi is Bmax.
(i) G component 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 represent G around and/or B component pair
The complementary color of this center R component is inadequate, needs the G in this 3 × 3 block of pixels and/or B component weight
New assignment, namely need to carry out G component and/or B component complementary color.
C () determines complementary color position
[first] complementary color position is determined based on brightness:
Position corresponding for Gmax is denoted as a, and the present embodiment is designed as when above-mentioned condition 1 meets and Gmax
When being one, it is determined that a position is as G component complementary color position.
Position corresponding for Bmax is denoted as b, and the present embodiment is designed as when above-mentioned condition 2 meets and Bmax
When being one, it is determined that b position is B component complementary color position.
[secondly] determines complementary color position based on distance:
If there is multiple Gmax, then carrying out Distance Judgment, position corresponding to which G component is far from center
R component is closest, then closest a position is defined as G component complementary color position.In like manner,
If there is multiple Bmax, then carrying out Distance Judgment, the position which B component is corresponding is divided far from center R
Measure closest, then closest b position is defined as B component complementary color position.
[again] complementary color position is determined based on orientation priority:
The most equal from the distance of center R component if there is multiple Gmax, then complementary color priority
Can be set as is the G component in the orientation such as upper left, upper right, lower-left, bottom right successively, taken a position
Put and be i.e. defined as G component complementary color position.In like manner, if there is multiple Bmax from center R component
Distance the most equal, then complementary color priority can be set as be successively upper left, upper right, lower-left,
The B component in the orientation such as bottom right, taken b position is i.e. defined as B component complementary color position.Certainly, phase
Pre-set priority for each orientation of center R component can elastic set, and is not limited to above
Listed.
D () calculates complementary color value size, have a following four situation:
Situation 1: only meet condition 1, illustrates to have only to carry out G component complementary color
The sub-pix color data needing again assignment has: the sub-pix of 3 × 3 block of pixels centers
Red data (R component), the sub-pix green data (G component) of a position;
Complementary color value size is:
Center R component updated value is equal to original corresponding with a position in original image of its original value R0
The meansigma methods of the non-Sample Color Data (R component) in the three primary colours data of pixel,
A position G component updated value is equal to the three primary colours number of the original pixels corresponding to the R component of center
The sub-pix green data (G) that non-Sample Color Data (G component) G0 with a position according to is corresponding
The meansigma methods of initial value.
Situation 2: only meet condition 2, illustrates to have only to carry out B component complementary color
The sub-pix color data needing again assignment has: the sub-pix of 3 × 3 block of pixels centers
Red data (R component), the sub-pix blue data (B component) of b position;
Complementary color value size is:
Center R component updated value is equal to original corresponding with b position in original image of its original value R0
The meansigma methods of the non-Sample Color Data (R component) in the three primary colours data of pixel,
B position B component updated value is equal to the three primary colours data of the original pixels corresponding to the R component of center
In sub-pix blue data (B) corresponding to non-Sample Color Data (B component) B0 with b position at the beginning of
The meansigma methods of initial value.
Situation 3: simultaneously meet condition 1, condition 2, illustrates to need to carry out G, B component complementary color
The sub-pix color data needing again assignment has: the sub-pix of 3 × 3 block of pixels centers
Red data (R component), the sub-pix green data (G component) of a position, the sub-pix of b position
Blue data (B component);
Complementary color value size is:
Original corresponding equal to a position in its original value R0, original image of center R component updated value
B position pair in non-Sample Color Data (R component) in the three primary colours data of pixel, original image
The meansigma methods of the non-Sample Color Data (R component) in the three primary colours data of the original pixels answered,
A position G component updated value is equal to the three primary colours number of the original pixels corresponding to the R component of center
The sub-pix green data (G) that non-Sample Color Data (G component) G0, a position according to is corresponding
Face of not sampling in the three primary colours data of the original pixels that in initial value, original image, b position is corresponding
The meansigma methods of chromatic number evidence (G component),
B position B component value is equal in the three primary colours data of the original pixels corresponding to the R component of center
Non-Sample Color Data (B component) B0, the three of a position is corresponding in original image original pixels
The sub-pix blue data that non-Sample Color Data (B component) in primary colours data is corresponding with b position
(B) meansigma methods of initial value.
Situation 4: condition 1 and condition 2 are all unsatisfactory for, illustrates to be made without G, B component complementary color,
Without assignment again.
At this it is noted that above-mentioned is using sub-pix red data as target sub-pix color
Data illustrate as a example by carrying out complementary color process, for blue with sub-pix green data and sub-pix
Data are respectively as the situation of target sub-pix color data, and its complementary color processing procedure is red with sub-pix
The complementary color processing procedure of chromatic number evidence is identical, does not repeats them here.
For ease of understanding, especially exemplified by two examples, above-mentioned complementary color processing procedure is carried out in more detail below
Explanation.
[first embodiment]
Assume for the physics sub-pix rectanglar arrangement mode shown in Fig. 2, after sub-pix down-sampling
The data arrived are as shown in Figure 8.In Fig. 8, G1 and G2 represents different original images in original image
Green data in the three primary colours data of element;Then can use as described below after sub-pix down-sampling
Concrete complementary color scheme:
(1) sub-pix red data R [i, j] in Fig. 8 is carried out complementary color process: mark off a bag
At least one B containing R [i, j] and being adjacent and the block of pixels of at least one G (G1 or G2),
Nine grids block of pixels (3 × 3 block of pixels) such as on the left of Fig. 9 a shown in, if sub-pix red data
The initial value of R [i, j] is R0 and sets the original graph corresponding with sub-pix red data R [i, j]
Two non-Sample Color Data in the three primary colours data of the original pixels [i, j] in Xiang, namely green
Chromatic number evidence and blue data are respectively G0 and B0;For purposes of illustration only, on the left of Fig. 9 a in nine grids
Center sub-pix red data is labeled as R0, and four sub-pix green datas are excellent according to default orientation
First level is respectively labeled as G1, G2, G3, G4 and four sub-pix blue datas according to default side
Position priority is respectively labeled as B1, B2, B3 and B4, shown on the right side of the result after labelling such as Fig. 9 a.
Then:
(1a) judge whether to need complementary color
Judge whether the condition needing to mend G component: G0 > max (G1, G2, G3, G4), namely judge
Whether all sub-pix green datas in nine grids block of pixels are both less than G0, if it is judged that be
"Yes", then it represents that need to carry out G component complementary color;
Judge whether the condition needing to mend B component: B0 > max (B1, B2, B3, B4), namely judge
Whether all sub-pix blue datas in nine grids block of pixels are both less than B0, if it is judged that be
"Yes", then it represents that need to carry out B component complementary color;
(1b) complementary color position is determined
The present embodiment is designed to G1, maximum in tetra-sub-pix green datas of G2, G3, G4
Corresponding position carries out complementary color.If a represents G1, in tetra-sub-pix green datas of G2, G3, G4
The position that maximum is corresponding, if having more than two positions is maximum simultaneously, then by these four sub-pictures
The numbering sequencing (corresponding orientation priority) of element green data selects complementary color position, such as when
G1=G2 and be the maximum in these four sub-pix green datas, then select position corresponding for G1 to make
For complementary color position;
The present embodiment is designed to B1, maximum in tetra-sub-pix blue datas of B2, B3, B4
Corresponding position carries out complementary color.If b represents B1, in tetra-sub-pix blue datas of B2, B3, B4
The position that maximum is corresponding, if having more than two positions is maximum simultaneously, then by these four sub-pictures
The numbering sequencing (corresponding orientation priority) of element blue data selects complementary color position, such as when
B2=B3 and be the maximum in these four sub-pix blue datas, then select position corresponding for B2 to make
For complementary color position;
(1c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () works 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) complementary color, B component is needed to need not complementary color when G component
Then complementary color value size is:
R [i, j]=(R0+R0 [a])/2
G [a]=(G0+G0 [a])/2
(iii) complementary color, G component is needed to need not complementary color when B component
Then complementary color value size is:
R [i, j]=(R0+R0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) all need not complementary color when G, B component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned R0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample red data, G0 [a] be the initial value of sub-pix green data of a position, B0 [a] be original
Blue data of not sampling in the three primary colours data of the original pixels of a position in image, R0 [b] is former
Red data of not sampling in the three primary colours data of the original pixels of b position, G0 [b] in beginning image
For the green data of not sampling in the three primary colours data of the original pixels of b position in original image,
B0 [b] is the initial value of the sub-pix blue data of b position.
(2) (G1) data G [i, j] green to sub-pix in Fig. 8 carries out complementary color process: mark off one
The individual G1 of comprising and the block of pixels of at least one R being adjacent and at least one B, such as Fig. 9 b
Nine grids block of pixels shown in Zuo Ce, if the initial value of sub-pix green data G [i, j] be G0 and
If the original pixels [i, j] in the original image corresponding with sub-pix green data G [i, j]
Non-Sample Color Data in three primary colours data, namely red data and blue data be respectively R0
And B0;For purposes of illustration only, the center sub-pix green data in nine grids is labeled as on the left of Fig. 9 b
G0, other four sub-pix green datas are respectively labeled as G1, G2, G3, G4, two sub-pixs
Red data is that R1, R2, two sub-pix blue datas are pressed according to default orientation priority flag
It is respectively labeled as B1, B2, institute on the right side of the result after labelling such as Fig. 9 b according to default orientation priority
Show.Then:
(2a) judge whether to need complementary color
Judge whether the condition needing to mend R component: R0 > max (R1, R2), namely judge nine grids
Whether all sub-pix red datas in block of pixels are both less than R0, if it is judged that be "Yes",
Then represent and need to carry out R component complementary color;
Judge whether the condition needing to mend B component: B0 > max (B1, B2), namely judge nine grids
Whether all sub-pix blue datas in block of pixels are both less than B0, if it is judged that be "Yes",
Then represent and need to carry out B component complementary color;
(2b) complementary color position is determined
The present embodiment is designed to the position that in two sub-pix red datas of R1, R2, maximum is corresponding
Put and carry out complementary color.If a represents the position that in two sub-pix red datas of R1, R2, maximum is corresponding,
If two positions are maximums simultaneously, then by the numbering sequencing of the two sub-pix red data
(corresponding orientation priority) selects complementary color position, such as R1=R2 and be the two sub-pix redness
Maximum in data, then select position corresponding for R1 as complementary color position;
The present embodiment is designed to the position that in two sub-pix blue datas of B1, B2, maximum is corresponding
Put and carry out complementary color.If b represents the position that in two sub-pix blue datas of B1, B2, maximum is corresponding,
If two positions are maximums simultaneously, then by the numbering sequencing of the two sub-pix blue data
(corresponding orientation priority) selects complementary color position, such as B1=B2 and be the two sub-pix blueness
Maximum in data, then select position corresponding for B1 as complementary color position;
(2c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () works 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) complementary color, B component is needed to need not complementary color when R component
Then complementary color value size is:
G [i, j]=(G0+G0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) complementary color, R component is needed to need not complementary color when B component
Then complementary color value size is:
G [i, j]=(G0+G0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) all need not complementary color when R, B component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned G0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample green data, R0 [a] be the initial value of sub-pix red data of a position, B0 [a] be original
Blue data of not sampling in the three primary colours data of the original pixels of a position in image, G0 [b] is former
Green data of not sampling in the three primary colours data of the original pixels of b position, R0 [b] in beginning image
For the red data of not sampling in the three primary colours data of the original pixels of b position in original image,
B0 [b] is the initial value of the sub-pix blue data of b position.
(3) (G2) data G [i, j] green to sub-pix in Fig. 8 carries out complementary color process: mark off one
The individual G2 of comprising and the block of pixels of at least one R being adjacent and at least one B, such as Fig. 9 c
Nine grids block of pixels shown in Zuo Ce, if the initial value of sub-pix green color data G [i, j] is
G0 and set the original pixels [i, j] in the original image corresponding with sub-pix green data G [i, j]
Three primary colours pixel in non-Sample Color Data, namely red data and blue data be respectively R0
And B0;For purposes of illustration only, the center sub-pix green data in nine grids is labeled as on the left of Fig. 9 c
G0, other four sub-pix green datas are respectively labeled as G1, G2, G3, G4, two sub-pixs
Red data is that R1, R2, two sub-pix blue datas are pressed according to default orientation priority flag
It is respectively labeled as B1, B2, institute on the right side of the result after labelling such as Fig. 7 c according to default orientation priority
Show.Then:
(3a) judge whether to need complementary color
Judge whether the condition needing to mend R component: R0 > max (R1, R2), namely judge nine grids
Whether all sub-pix red datas in block of pixels are both less than R0, if it is judged that be "Yes",
Then represent and need to carry out R component complementary color;
Judge whether the condition needing to mend B component: B0 > max (B1, B2), namely judge nine grids
Whether all sub-pix blue datas in block of pixels are both less than B0, if it is judged that be "Yes",
Then represent and need to carry out B component complementary color;
(3b) complementary color position is determined
The present embodiment is designed to the position that in two red sub-pixel data of R1, R2, maximum is corresponding
Put and carry out complementary color.If a represents the position that in two red sub-pixel data of R1, R2, maximum is corresponding,
If two positions are maximums simultaneously, then by the numbering sequencing of the two red sub-pixel data
(corresponding orientation priority) selects complementary color position, such as R1=R2 and be the two red sub-pixel
Maximum in data, then select position corresponding for R1 as complementary color position;
The present embodiment is designed to the position that in two blue subpixels data of B1, B2, maximum is corresponding
Put and carry out complementary color.If b represents the position that in two blue subpixels data of B1, B2, maximum is corresponding,
If two positions are maximums simultaneously, then by the numbering sequencing of the two blue subpixels data
(corresponding orientation priority) selects complementary color position, such as B1=B2 and be the two blue subpixels
Maximum in data, then select position corresponding for B1 as complementary color position;
(3c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () works 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) complementary color, B component is needed to need not complementary color when R component
Then complementary color value size is:
G [i, j]=(G0+G0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) complementary color, R component is needed to need not complementary color when B component
Then complementary color value size is:
G [i, j]=(G0+G0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) all need not complementary color when R, B component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned G0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample green data, R0 [a] be the initial value of sub-pix red data of a position, B0 [a] be original
Blue data of not sampling in the three primary colours of the original pixels of a position in image, G0 [b] is original graph
In Xiang, the green data of not sampling in the three primary colours data of the original pixels of b position, R0 [b] are original
In image, the red data of not sampling in the three primary colours data of the original pixels of b position, B0 [b] are
The initial value of the sub-pix blue data of b position.
(4) sub-pix blue data B [i, j] in Fig. 8 is carried out complementary color process: mark off a bag
At least one R containing B and being adjacent and the block of pixels of at least one G (G1 or G2), such as, scheme
Nine grids block of pixels shown on the left of 9d, if the initial value of sub-pix blue data B [i, j] is B0
And set the original pixels [i, j] in the original image corresponding with sub-pix blue data B [i, j]
Three primary colours data in non-Sample Color Data, namely red data and green data be respectively R0
And G0;For purposes of illustration only, the center sub-pix blue data in nine grids is labeled as on the left of Fig. 9 d
B0, four sub-pix green datas are respectively labeled as G1, G2, G3 according to default orientation priority,
G4 and four sub-pix red datas are respectively labeled as R1, R2 according to default orientation priority,
R3 and R4, shown on the right side of the result after labelling such as Fig. 9 d.Then:
(4a) judge whether to need complementary color
Judge whether the condition needing to mend R component: R0 > max (R1, R2, R3, R4), namely judge
Whether all sub-pix red datas in nine grids block of pixels are both less than R0, if it is judged that be
"Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition needing to mend G component: G0 > max (G1, G2, G3, G4), namely judge
Whether all sub-pix green datas in nine grids block of pixels are both less than G0, if it is judged that be
"Yes", then it represents that need to carry out G component complementary color;
(4b) complementary color position is determined
The present embodiment is designed to R1, maximum in tetra-sub-pix red datas of R2, R3, R4
Corresponding position carries out complementary color.If a represents R1, in tetra-sub-pix red datas of R2, R3, R4
The position that maximum is corresponding, if having more than two positions is maximum simultaneously, then by these four sub-pictures
The numbering sequencing (corresponding orientation priority) of element red data selects complementary color position, such as when
R3=R4 and be the maximum in these four sub-pix red datas, then select position corresponding for R3 to make
For complementary color position;
The present embodiment is designed to G1, maximum in tetra-sub-pix green datas of G2, G3, G4
Corresponding position carries out complementary color.If b represents G1, in tetra-sub-pix green datas of G2, G3, G4
The position that maximum is corresponding, if having more than two positions is maximum simultaneously, then by these four sub-pictures
The numbering sequencing (corresponding orientation priority) of element green data selects complementary color position, such as when
G3=G4 and be the maximum in these four sub-pix green datas, then select position corresponding for G3 to make
For complementary color position;
(4c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () is worked as R, G component and is 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) complementary color, G component is needed to need not complementary color when R component
Then complementary color value size is:
B [i, j]=(B0+B0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) complementary color, R component is needed to need not complementary color when G component
Then complementary color value size is:
B [i, j]=(B0+B0 [b])/2
G [b]=(G0+G0 [b])/2
(iv) all need not complementary color when R, G component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned B0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample blue data, R0 [a] be the initial value of sub-pix red data of a position, G0 [a] be original
Green data of not sampling in the three primary colours data of the original pixels of a position in image, B0 [b] is
Blue data of not sampling in the three primary colours data of the original pixels of b position, R0 [b] in original image
For the red data of not sampling in the three primary colours data of the original pixels of b position in original image,
G0 [b] is the initial value of the sub-pix green data of b position.
First embodiment of the invention is by " red-blue two is green " in each pixel to display floater
After sub-pix color data corresponding to four sub-pixs carries out above-mentioned complementary color process, available complementary color
After process, each physical picture element (such as shown in Fig. 2) of display floater is carried out by sub-pix color data
Addressing display, wherein, exports the calculating knot obtained after above-mentioned complementary color processes for R, B color data
Fruit is worth, and G color data is finally output as to the calculating knot obtained after above-mentioned complementary color processes
The half (namely half value) of fruit value.
[the second embodiment]
Assume for the physics sub-pix triangular pitch mode shown in Fig. 3, after sub-pix down-sampling
The data obtained as shown in Figure 10, then can use as described below concrete after sub-pix down-sampling
Complementary color scheme:
[odd-numbered line complementary color processing scheme]:
(1) odd-numbered line sub-pix red data R [i, j] in Figure 10 is carried out complementary color process: divide
Go out a block of pixels comprising R and at least one B being adjacent and at least one G, such as, scheme
Nine grids block of pixels (3 × 3 block of pixels) shown on the left of 11a, if sub-pix red data R [i, j]
Initial value be R0 and set in the original image corresponding with sub-pix red data R [i, j] former
Non-Sample Color Data in the three primary colours data of beginning pixel [i, j], namely green data and blueness
Data are respectively G0 and B0;For purposes of illustration only, the center sub-pix in nine grids on the left of Figure 11 a
Red data is labeled as R0, and three sub-pix green datas are marked respectively according to default orientation priority
It is designated as G1, G2, G3 and three sub-pix blue datas to mark respectively according to default orientation priority
Being designated as B1, B2, B3, shown on the right side of the result after labelling such as Figure 11 a.Then:
(1a) judge whether to need complementary color
Judge whether the condition needing to mend G component: G0 > max (G1, G2, G3), namely judge nine
Whether all sub-pix green datas in the lattice block of pixels of palace are both less than G0, if it is judged that be
"Yes", then it represents that need to carry out G component complementary color;
Judge whether the condition needing to mend B component: B0 > max (B1, B2, B3), namely judge nine
Whether all sub-pix blue datas in the lattice block of pixels of palace are both less than B0, if it is judged that be
"Yes", then it represents that need to carry out B component complementary color;
(1b) complementary color position is determined
The present embodiment is designed to G1, and in tri-sub-pix green datas of G2, G3, maximum is corresponding
Position carry out complementary color.If a represents G1, maximum pair in tri-sub-pix green datas of G2, G3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix green number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as G1=G2 and be
Maximum in these three sub-pix green data, then select position corresponding for G1 as complementary color position
Put;
The present embodiment is designed to B1, and in tri-sub-pix blue datas of B2, B3, maximum is corresponding
Position carry out complementary color.If b represents B1, maximum pair in tri-sub-pix blue datas of B2, B3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix blueness number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as B2=B3 and be
Maximum in these three sub-pix blue data, then select position corresponding for B2 as complementary color position
Put;
(1c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () works 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) complementary color, B component is needed to need not complementary color when G component
Then complementary color value size is:
R [i, j]=(R0+R0 [a])/2
G [a]=(G0+G0 [a])/2
(iii) complementary color, G component is needed to need not complementary color when B component
Then complementary color value size is:
R [i, j]=(R0+R0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) all need not complementary color when G, B component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned R0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample red data, G0 [a] be the initial value of sub-pix green data of a position, B0 [a] be original
Blue data of not sampling in the three primary colours data of the original pixels of a position in image, R0 [b] is former
Red data of not sampling in the three primary colours data of the original pixels of b position, G0 [b] in beginning image
For the green data of not sampling in the three primary colours data of the original pixels of b position in original image,
B0 [b] is the initial value of the sub-pix blue data of b position.
(2) odd-numbered line sub-pix green data G [i, j] in Figure 10 is carried out complementary color process: divide
Go out a block of pixels comprising G1 and at least one R being adjacent and at least one B, such as, scheme
Nine grids block of pixels shown on the left of 11b, if the initial value of sub-pix green data G [i, j] is
G0 and set the original pixels [i, j] in the original image corresponding with sub-pix green data G [i, j]
Three primary colours data in non-Sample Color Data, namely red data and blue data be respectively R0
And B0;For purposes of illustration only, the center sub-pix green data in nine grids is labeled as on the left of Figure 11 b
G0, three sub-pix red datas are R1 according to default orientation priority flag, R2, R3, three
Individual sub-pix blue data is respectively labeled as B1, B2, B3, labelling according to default orientation priority
After result such as Figure 11 b on the right side of shown in.Then:
(2a) judge whether to need complementary color
Judge whether the condition needing to mend R component: R0 > max (R1, R2, R3), namely judge nine
Whether all sub-pix red datas in the lattice block of pixels of palace are both less than R0, if it is judged that be
"Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition needing to mend B component: B0 > max (B1, B2, B3), namely judge nine
Whether all sub-pix blue datas in the lattice block of pixels of palace are both less than B0, if it is judged that be
"Yes", then it represents that need to carry out B component complementary color;
(2b) complementary color position is determined
The present embodiment is designed to R1, and in tri-sub-pix red datas of R2, R3, maximum is corresponding
Position carry out complementary color.If a represents R1, maximum pair in tri-sub-pix red datas of R2, R3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix redness number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as R1=R2 and be
Maximum in these three sub-pix red data, then select position corresponding for R1 as complementary color position
Put;
The present embodiment is designed to B1, and in tri-sub-pix blue datas of B2, B3, maximum is corresponding
Position carry out complementary color.If b represents B1, maximum pair in tri-sub-pix blue datas of B2, B3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix blueness number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as B1=B2 and be
Maximum in these three sub-pix blue data, then select position corresponding for B1 as complementary color position
Put;
(2c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () works 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) complementary color, B component is needed to need not complementary color when R component
Then complementary color value size is:
G [i, j]=(G0+G0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) complementary color, R component is needed to need not complementary color when B component
Then complementary color value size is:
G [i, j]=(G0+G0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) all need not complementary color when R, B component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned G0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample green data, R0 [a] be the initial value of sub-pix red data of a position, B0 [a] be original
Blue data of not sampling in the three primary colours data of the original pixels of a position in image, G0 [b] is former
Green data of not sampling in the three primary colours data of the original pixels of b position, R0 [b] in beginning image
For the red data of not sampling in the three primary colours data of the original pixels of b position in original image,
B0 [b] is the initial value of the sub-pix blue data of b position.
(3) odd-numbered line sub-pix blue data B [i, j] in Figure 10 is carried out complementary color process: divide
Go out a block of pixels comprising B and at least one R being adjacent and at least one G, such as, scheme
Nine grids block of pixels shown on the left of 11c, if the initial value of sub-pix blue data B [i, j] is
B0 and set the original pixels [i, j] in the original image corresponding with sub-pix blue data B [i, j]
Three primary colours data in non-Sample Color Data, namely red data and green data be respectively R0
And G0;For purposes of illustration only, the center sub-pix blue data in nine grids is labeled as on the left of Figure 11 c
B0, three sub-pix green datas are respectively labeled as G1, G2, G3 according to default orientation priority
And three sub-pix red datas are respectively labeled as R1, R2 according to default orientation priority,
R3, shown on the right side of the result after labelling such as Figure 11 c.Then:
(3a) judge whether to need complementary color
Judge whether the condition needing to mend R component: R0 > max (R1, R2, R3), namely judge nine
Whether all sub-pix red datas in the lattice block of pixels of palace are both less than R0, if it is judged that be
"Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition needing to mend G component: G0 > max (G1, G2, G3), namely judge nine
Whether all sub-pix green datas in the lattice block of pixels of palace are both less than G0, if it is judged that be
"Yes", then it represents that need to carry out G component complementary color;
(3b) complementary color position is determined
The present embodiment is designed to R1, and in tri-sub-pix red datas of R2, R3, maximum is corresponding
Position carry out complementary color.If a represents R1, maximum pair in tri-sub-pix red datas of R2, R3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix redness number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as R1=R2 and be
Maximum in these three sub-pix red data, then select position corresponding for R1 as complementary color position
Put;
The present embodiment is designed to G1, and in tri-sub-pix green datas of G2, G3, maximum is corresponding
Position carry out complementary color.If b represents G1, maximum pair in tri-sub-pix green datas of G2, G3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix green number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as G2=G3 and be
Maximum in these three sub-pix green data, then select position corresponding for G2 as complementary color position
Put;
(3c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () is worked as R, G component and is 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) complementary color, G component is needed to need not complementary color when R component
Then complementary color value size is:
B [i, j]=(B0+B0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) complementary color, R component is needed to need not complementary color when G component
Then complementary color value size is:
B [i, j]=(B0+B0 [b])/2
G [b]=(G0+G0 [b])/2
(iv) all need not complementary color when R, G component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned B0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample blue data, R0 [a] be the initial value of sub-pix red data of a position, G0 [a] be original
Green data of not sampling in the three primary colours data of the original pixels of a position in image, B0 [b] is
Blue data of not sampling in the three primary colours data of the original pixels of b position, R0 [b] in original image
For the red data of not sampling in the three primary colours data of the original pixels of b position in original image,
G0 [b] is the initial value of the sub-pix green data of b position.
[even number line complementary color processing scheme]:
(4) even number line sub-pix red data R [i, j] in Figure 10 is carried out complementary color process: divide
Go out a block of pixels comprising R and at least one B being adjacent and at least one G, such as, scheme
Nine grids block of pixels shown on the left of 12a, if the initial value of sub-pix red data R [i, j] is
R0 and set the original pixels [i, j] in the original image corresponding with sub-pix red data R [i, j]
Three primary colours data in non-Sample Color Data, namely green data and blue data be respectively G0
And B0;For purposes of illustration only, the center sub-pix red data in nine grids is labeled as on the left of Figure 12 a
R0, three sub-pix green datas are respectively labeled as G1, G2, G3 according to default orientation priority
And three sub-pix blue datas are respectively labeled as B1, B2 according to default orientation priority,
B3, shown on the right side of the result after labelling such as Figure 12 a.Then:
(4a) judge whether to need complementary color
Judge whether the condition needing to mend G component: G0 > max (G1, G2, G3), namely judge nine
Whether all sub-pix green datas in the lattice block of pixels of palace are both less than G0, if it is judged that be
"Yes", then it represents that need to carry out G component complementary color;
Judge whether the condition needing to mend B component: B0 > max (B1, B2, B3), namely judge nine
Whether all sub-pix blue datas in the lattice block of pixels of palace are both less than B0, if it is judged that be
"Yes", then it represents that need to carry out B component complementary color;
(4b) complementary color position is determined
The present embodiment is designed to G1, and in tri-sub-pix green datas of G2, G3, maximum is corresponding
Position carry out complementary color.If a represents G1, maximum pair in tri-sub-pix green datas of G2, G3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix green number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as G1=G2 and be
Maximum in these three sub-pix green data, then select position corresponding for G1 as complementary color position
Put;
The present embodiment is designed to B1, and in tri-sub-pix blue datas of B2, B3, maximum is corresponding
Position carry out complementary color.If b represents B1, maximum pair in tri-sub-pix blue datas of B2, B3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix blueness number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as B2=B3 and be
Maximum in these three sub-pix blue data, then select position corresponding for B2 as complementary color position
Put;
(4c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () works 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) complementary color, B component is needed to need not complementary color when G component
Then complementary color value size is:
R [i, j]=(R0+R0 [a])/2
G [a]=(G0+G0 [a])/2
(iii) complementary color, G component is needed to need not complementary color when B component
Then complementary color value size is:
R [i, j]=(R0+R0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) all need not complementary color when G, B component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned R0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample red data, G0 [a] be the initial value of sub-pix green data of a position, B0 [a] be original
Blue data of not sampling in the three primary colours data of the original pixels of a position in image, R0 [b] is former
Red data of not sampling in the three primary colours data of the original pixels of b position, G0 [b] in beginning image
For the green data of not sampling in the three primary colours data of the original pixels of b position in original image,
B0 [b] is the initial value of the sub-pix blue data of b position.
(5) even number line sub-pix green data G [i, j] in Figure 10 is carried out complementary color process: divide
Go out a block of pixels comprising G1 and at least one R being adjacent and at least one B, such as, scheme
Nine grids block of pixels shown on the left of 12b, if the initial value of sub-pix green data G [i, j] is
G0 and set the original pixels [i, j] in the original image corresponding with sub-pix green data G [i, j]
Three primary colours data in non-Sample Color Data, namely red data and blue data be respectively R0
And B0;For purposes of illustration only, the center sub-pix green data in nine grids is labeled as on the left of Figure 12 b
G0, three sub-pix red datas are R1 according to default orientation priority flag, R2, R3, three
Individual sub-pix blue data is respectively labeled as B1, B2, B3, labelling according to default orientation priority
After result such as Figure 12 b on the right side of shown in.Then:
(5a) judge whether to need complementary color
Judge whether the condition needing to mend R component: R0 > max (R1, R2, R3), namely judge nine
Whether all sub-pix red datas in the lattice block of pixels of palace are both less than R0, if it is judged that be
"Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition needing to mend B component: B0 > max (B1, B2, B3), namely judge nine
Whether all sub-pix blue datas in the lattice block of pixels of palace are both less than B0, if it is judged that be
"Yes", then it represents that need to carry out B component complementary color;
(5b) complementary color position is determined
The present embodiment is designed to R1, and in tri-sub-pix red datas of R2, R3, maximum is corresponding
Position carry out complementary color.If a represents R1, maximum pair in tri-sub-pix red datas of R2, R3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix redness number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as R1=R2 and be
Maximum in these three sub-pix red data, then select position corresponding for R1 as complementary color position
Put;
The present embodiment is designed to B1, and in tri-sub-pix blue datas of B2, B3, maximum is corresponding
Position carry out complementary color.If b represents B1, maximum pair in tri-sub-pix blue datas of B2, B3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix blueness number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as B1=B2 and be
Maximum in these three sub-pix blue data, then select position corresponding for B1 as complementary color position
Put;
(5c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () works 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) complementary color, B component is needed to need not complementary color when R component
Then complementary color value size is:
G [i, j]=(G0+G0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) complementary color, R component is needed to need not complementary color when B component
Then complementary color value size is:
G [i, j]=(G0+G0 [b])/2
B [b]=(B0+B0 [b])/2
(iv) all need not complementary color when R, B component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned G0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample green data, R0 [a] be the initial value of sub-pix red data of a position, B0 [a] be original
Blue data of not sampling in the three primary colours data of the original pixels of a position in image, G0 [b] is former
Green data of not sampling in the three primary colours data of the original pixels of b position, R0 [b] in beginning image
For the red data of not sampling in the three primary colours data of the original pixels of b position in original image,
B0 [b] is the initial value of the sub-pix blue data of b position.
(6) even number line sub-pix blue data B [i, j] in Figure 10 is carried out complementary color process: divide
Go out a block of pixels comprising B and at least one R being adjacent and at least one G, such as, scheme
Nine grids block of pixels shown on the left of 12c, if the initial value of sub-pix blue data B [i, j] is
B0 and set the original pixels [i, j] in the original image corresponding with sub-pix blue data B [i, j]
Three primary colours data in non-Sample Color Data, namely red data and green data be respectively R0
And G0;For purposes of illustration only, the center sub-pix blue data in nine grids is labeled as on the left of Figure 12 c
B0, three sub-pix green datas are respectively labeled as G1, G2, G3 according to default orientation priority
And three sub-pix red datas are respectively labeled as R1, R2 according to default orientation priority,
R3, shown on the right side of the result after labelling such as Figure 12 c.Then:
(6a) judge whether to need complementary color
Judge whether the condition needing to mend R component: R0 > max (R1, R2, R3), namely judge nine
Whether all sub-pix red datas in the lattice block of pixels of palace are both less than R0, if it is judged that be
"Yes", then it represents that need to carry out R component complementary color;
Judge whether the condition needing to mend G component: G0 > max (G1, G2, G3), namely judge nine
Whether all sub-pix green datas in the lattice block of pixels of palace are both less than G0, if it is judged that be
"Yes", then it represents that need to carry out G component complementary color;
(6b) complementary color position is determined
The present embodiment is designed to R1, and in tri-sub-pix red datas of R2, R3, maximum is corresponding
Position carry out complementary color.If a represents R1, maximum pair in tri-sub-pix red datas of R2, R3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix redness number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as R1=R2 and be
Maximum in these three sub-pix red data, then select position corresponding for R1 as complementary color position
Put;
The present embodiment is designed to G1, and in tri-sub-pix green datas of G2, G3, maximum is corresponding
Position carry out complementary color.If b represents G1, maximum pair in tri-sub-pix green datas of G2, G3
The position answered, if having more than one position is maximum simultaneously, then by these three sub-pix green number
According to numbering sequencing (corresponding orientation priority) select complementary color position, such as G2=G3 and be
Maximum in these three sub-pix green data, then select position corresponding for G2 as complementary color position
Put;
(6c) determine complementary color value size (namely complementary color process after sub-pix color data values size, or
Claim updated value)
I () is worked as R, G component and is 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) complementary color, G component is needed to need not complementary color when R component
Then complementary color value size is:
B [i, j]=(B0+B0 [a])/2
R [a]=(R0+R0 [a])/2
(iii) complementary color, R component is needed to need not complementary color when G component
Then complementary color value size is:
B [i, j]=(B0+B0 [b])/2
G [b]=(G0+G0 [b])/2
(iv) all need not complementary color when R, G component, then without calculating complementary color value, directly adopt
With initial value;
Above-mentioned B0 [a] is not adopting in the three primary colours data of the original pixels of a position in original image
Sample blue data, R0 [a] be the initial value of sub-pix red data of a position, G0 [a] be original
Green data of not sampling in the three primary colours data of the original pixels of a position in image, B0 [b] is
Blue data of not sampling in the three primary colours data of the original pixels of b position, R0 [b] in original image
For the red data of not sampling in the three primary colours data of the original pixels of b position in original image,
G0 [b] is the initial value of the sub-pix green data of b position.
Second embodiment of the invention is by each pixel (such as shown in Fig. 3) to display floater
" red-green-blue " three sub-pix color data corresponding to sub-pix are carried out at above-mentioned complementary color
The data obtained after reason are referred to Figure 10, simply compared to Figure 10 for, each sub-pix face
Color data value is the updated value after complementary color processes;Afterwards, three sub-pixs in each pixel are exported
After corresponding complementary color processes, sub-pix color data is addressed display.Refer to Fig. 3 and Figure 10,
Described addressing display packing is: for tri-color physics of the RGB in the physical picture element P1 in Fig. 3
For sub-pix, then can be utilized respectively first sub-pix redness of the first row in Figure 10 (odd-numbered line)
Data (R), first sub-pix green data (G) and first sub-pix of the second row (even number line)
Blue data (B) is driven respectively;For tri-face of the BRG in the physical picture element P2 in Fig. 3
For color physics sub-pix, then can be utilized respectively first sub-picture of the first row in Figure 10 (odd-numbered line)
Element blue data (B) and first sub-pix red data (R) of the second row (even number line), first
Sub-pix green data (G) is driven respectively;The driving of other each physical picture elements by that analogy,
Will not enumerate at this.
It addition, it is noted that the complementary color in above-mentioned first embodiment and the second embodiment processes
Scheme is to use nine grids block of pixels (3 × 3 block of pixels) to illustrate as an example, and nine grids picture
Element block is preferably by the center sub-pix number of colours processing target sub-pix color data as complementary color
According to the surrounding being adjacent eight sub-pix color data composition, in which case, then to figure
The first row of 8 and Figure 10 Central Asia pixel color data, first row, last column, last string are not
Carry out complementary color process;Namely it is the first row in Fig. 8 and Figure 10, first row, last column, last
Sub-pix color data on string carries out (that is, edge sub-pixel color data) not as complementary color
Process target sub-pix color data.Certainly, in other circumstances, for example with 2 × 2 block of pixels,
Triangular pixel block or not using target sub-pix color data as 3 × 3 block of pixels at center, then
Edge sub-pixel color data can be processed target sub-pix color data as complementary color.Furthermore,
It should be noted that each sub-pix color data in Fig. 8 and Figure 10 is carried out complementary color process,
No matter whether edge sub-pixel color data is done complementary color and processed target sub-pix color data, it is
Whole data value all will be referred to as sub-pix color data after complementary color processes.
Refer to Figure 13 a and Figure 13 b, its a kind of image procossing dress provided for the embodiment of the present invention
The functional block diagram put.Specifically, as depicted in fig. 13 a, the image processing apparatus 130 of the present embodiment
Be suitable to provide destination image data to show to carry out picture to display floater 100, described display floater
100 include multiple physical picture element (such as shown in Fig. 2 or Fig. 3), each described physical picture element bag
Include the physics sub-pix of multiple different colours.Specifically, image processing apparatus 130 includes: sub-picture
Element color data acquisition module 131 and complementary color processing module 133.
Wherein, sub-pix color data acquisition module 131 is used for obtaining because original image is carried out Asia
Pixel down-sampling and obtain corresponding to multiple sub-pix number of colours of physical picture element each described
According to, described original image includes multiple original pixels, and each described original pixels includes corresponding
Multiple bases data.In the present embodiment, the RGB three primary colours data that multiple bases data are the most above-mentioned,
It may also be more multiple bases data.
Complementary color processing module 133 is for the plurality of sub-pix color to the plurality of physical picture element
Data carry out complementary color process and obtain corresponding to sub-after multiple complementary colors of physical picture element process each described
Pixel color data is to generate described destination image data.Described complementary color processing module 133 is further
Including: block of pixels divides submodule 1331 and complementary color processes submodule 1333.
Block of pixels divides submodule 1331 for carrying out any one target sub-pix color data
Complementary color process time, mark off comprise described target sub-pix color data and with described target sub-pix
The block of pixels of multiple sub-pix color data that color data is adjacent;Such as, block of pixels divides submodule
Block 1331 is specifically for marking off 3 × 3 block of pixels, 2 × 2 block of pixels or triangle according to control instruction
Shape block of pixels.
Complementary color processes submodule 1333 for based on the multiple pending sub-pix in described block of pixels
Color data and the multiple original pixels the most corresponding with the plurality of pending sub-pix color data
Multiple bases data in non-Sample Color Data judge whether to need carry out complementary color and enter at needs
Complementary color position and complementary color value size, wherein said multiple pending sub-pix colors are determined during row complementary color
Data include described target sub-pix color data and are different from described target sub-pix color data
The sub-pix color data of color type.
As illustrated in fig. 13b, complementary color process submodule 1333 can also be refined as including: complementary color judges
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 original pixels that described target sub-pix color data is corresponding
Multiple bases data in one specify non-Sample Color Data whether more than in described block of pixels the most all with
The non-Sample Color Data of described appointment is the sub-pix color data of same color type, and is judging
Result is to determine during "Yes" to need to carry out a color component complementary color, wherein said color component and institute
State and specify the color type of non-Sample Color Data identical;Complementary color position determination unit 13332 is used for
Determine the complementary color position of described color component;And complementary color value computing unit 13334 is used for calculating institute
State the institute that the complementary color position of the updated value of target sub-pix color data and described color component is corresponding
State the updated value of sub-pix color data in block of pixels.
Additionally, complementary color position determination unit 13332 can also be refined as including: based on brightness really
Stator unit 13332a, based on determination of distance subelement 13332b and based on orientation priority
Really stator unit 13332c.Wherein, it is used for obtaining based on brightness stator unit 13332a really
All in described block of pixels is the sub-pix of same color type with the non-Sample Color Data of described appointment
Maximum sub-pix color data in color data, and when the number of described maximum sub-pix color data
When amount is one, determine that position corresponding to described maximum sub-pix color data is divided as described color
The complementary color position of amount.Based on determination of distance subelement 13332b for when described maximum sub-pix face
When the quantity of chromatic number evidence is multiple, obtain the position middle-range that described maximum sub-pix color data is corresponding
From the minimum range sub-pix color data that described target sub-pix color data position is nearest,
And when the quantity of described minimum range sub-pix color data is one, determine described minimum range
Position corresponding to sub-pix color data is as the complementary color position of described color component.Excellent based on orientation
First level stator unit 13332c really is for when the quantity of described minimum range sub-pix color data
For time multiple, according to excellent relative to the pre-configured orientation of described target sub-pix color data position
First level determines that the position of one of described minimum range sub-pix color data correspondence is as described color
The complementary color position of component.
It is noted that the modules related in Figure 13 a and Figure 13 b, submodule, unit
And the concrete function details of subelement see at acquisition and the complementary color of aforesaid sub-pix color data
Reason process, does not repeats them here.
In sum, the above embodiment of the present invention uses specific sub-pix color data complementary color to process
Algorithm carries out complementary color process to the sub-pix color data after sub-pix down-sampling, can be effectively improved
Image resolution ratio and in the case of not affecting picture clarity eliminate sub-pix down-sampling technology draw
The color mistake risen.
Specific case used herein is former to image processing method of the present invention and image processing apparatus
Reason and embodiment are set forth, and the explanation of above example is only intended to help and understands the present invention
Method and core concept;Simultaneously for one of ordinary skill in the art, according to the present invention
Thought, the most all will change, in sum, this
Description should not be construed as limitation of the present invention, and protection scope of the present invention should be with appended
Claim is as the criterion.
Claims (15)
1. an image processing method, for providing destination image data to carry out picture to display floater
Face shows, described display floater includes multiple physical picture element, and each described physical picture element includes many
The physics sub-pix of individual different colours;It is characterized in that, described image processing method includes step:
Obtain obtain because original image is carried out sub-pix down-sampling corresponding to thing each described
Multiple sub-pix color data of reason pixel, described original image includes multiple original pixels, and each
Individual described original pixels includes corresponding multiple bases data;
The plurality of sub-pix color data of the plurality of physical picture element carries out complementary color process and obtain
Corresponding to sub-pix color data after multiple complementary colors of physical picture element process each described to generate institute
State destination image data, wherein the plurality of sub-pix color data to the plurality of physical picture element
Carry out complementary color process to include:
When any one target sub-pix color data is carried out complementary color process, mark off and comprise institute
State target sub-pix color data and the multiple sub-pixs adjacent with described target sub-pix color data
The block of pixels of color data based on the multiple pending sub-pix color data in described block of pixels
And the multiple bases of the multiple original pixels the most corresponding with the plurality of pending sub-pix color data
Non-Sample Color Data in data judges whether to need to carry out complementary color and when needs carry out complementary color
Determine that complementary color position and complementary color value size, wherein said multiple pending sub-pix color data include
Described target sub-pix color data and be different colours type with described target sub-pix color data
Sub-pix color data.
2. image processing method as claimed in claim 1, it is characterised in that described block of pixels is
3 × 3 block of pixels, and adjacent with described target sub-pix color data in described 3 × 3 block of pixels
The plurality of sub-pix color data include the color that is different from described target sub-pix color data
At least two color type of type.
3. image processing method as claimed in claim 2, it is characterised in that described 3 × 3 pixels
Block is centered by described target sub-pix color data.
4. image processing method as claimed in claim 1, it is characterised in that described block of pixels is
2 × 2 block of pixels, and adjacent with described target sub-pix color data in described 2 × 2 block of pixels
The plurality of sub-pix color data include the color that is different from described target sub-pix color data
At least two color type of type.
5. image processing method as claimed in claim 1, it is characterised in that described block of pixels is
The color class of each sub-pix color data in triangular pixel block, and described triangular pixel block
Type is different.
6. image processing method as claimed in claim 1, it is characterised in that each described thing
Reason pixel includes a first color physics sub-pix of rectangular arrangement, a second color physics
Sub-pix and two the 3rd color physics sub-pixs and said two the 3rd color physics sub-pix position
On same diagonal.
7. image processing method as claimed in claim 6, it is characterised in that described first color
Physics sub-pix is red physics sub-pix, and described second color physics sub-pix is that blue physics is sub-
Pixel, said two the 3rd color physics sub-pix is two green physics sub-pixs.
8. image processing method as claimed in claim 1, it is characterised in that described in adjacent two
The first physical picture element in physical picture element and the second physical picture element all include be triangularly arranged
First color physics sub-pix, a second color physics sub-pix and a 3rd color physics are sub-
Pixel;The described first color physics sub-pix of described first physical picture element and described second color thing
Reason sub-pix and the described 3rd color physics sub-pix of described second physical picture element be positioned at same a line,
And the described 3rd color physics sub-pix of described first physical picture element and described second physical picture element
It is adjacent that described first color physics sub-pix and described second color physics sub-pix are respectively positioned on another
OK.
9. image processing method as claimed in claim 1, it is characterised in that judge whether needs
The method carrying out complementary color includes:
Judge in the multiple bases data of original pixels corresponding to described target sub-pix color data
Non-Sample Color Data is the most all more than in described block of pixels is same with described non-Sample Color Data
The sub-pix color data of one color type, and determine that when judged result is "Yes" needs are carried out
One color component complementary color, wherein said color component and the color type of described non-Sample Color Data
Identical.
10. image processing method as claimed in claim 1, it is characterised in that determine complementary color position
The method put includes:
Obtain all in described block of pixels and that described non-Sample Color Data is same color type Asia
Maximum sub-pix color data in pixel color data, and when described maximum sub-pix color data
Quantity when being one, determine that position corresponding to described maximum sub-pix color data is as described face
The complementary color position of colouring component;
When the quantity of described maximum sub-pix color data is multiple, obtain described maximum sub-pix
In the position that color data is corresponding, target sub-pix color data position described in distance is nearest
Small distance sub-pix color data, and when the quantity of described minimum range sub-pix color data is one
Time individual, determine that position corresponding to described minimum range sub-pix color data is as described color component
Complementary color position;And
When the quantity of described minimum range sub-pix color data is multiple, according to relative to described
The pre-configured orientation priority of target sub-pix color data position determines described minimum range Asia picture
One of element color data corresponding position is as the complementary color position of described color component.
11. image processing methods as claimed in claim 1, it is characterised in that determine complementary color value
The method of size includes:
Described target sub-pix color data is updated to: at the beginning of described target sub-pix color data
With described in the multiple bases data of the original pixels that initial value is the most corresponding with all complementary color positions determined
Target sub-pix color data is the meansigma methods of the non-Sample Color Data of same color type;
Sub-pix color data corresponding for each described complementary color position is updated to: described complementary color position
Put the initial value of sub-pix color data of correspondence, corresponding former of described target sub-pix color data
Sub-pix color data corresponding with described complementary color position in the multiple bases data of beginning pixel is same face
The original pixels that the non-Sample Color Data of color type is corresponding with other possible complementary color positions is many
Sub-pix color data corresponding with described complementary color position in primary colours data be same color type not
The meansigma methods of Sample Color Data.
12. 1 kinds of image processing apparatus, for providing destination image data to carry out to display floater
Picture shows, described display floater includes multiple physical picture element, and each described physical picture element includes
The physics sub-pix of multiple different colours;It is characterized in that, described image processing apparatus includes:
Sub-pix color data acquisition module, is used for obtaining and adopts under sub-pix because carrying out original image
Sample and obtain corresponding to multiple sub-pix color data of physical picture element each described, described former
Beginning image includes multiple original pixels, and each described original pixels includes corresponding multiple bases
Data;
Complementary color processing module, for the plurality of sub-pix number of colours to the plurality of physical picture element
Obtain corresponding to picture sub-after multiple complementary colors of physical picture element process each described according to carrying out complementary color process
Element color data is to generate described destination image data;Described complementary color processing module includes:
Block of pixels divides submodule, for carrying out any one target sub-pix color data
Complementary color process time, mark off comprise described target sub-pix color data and with described target sub-pix
The block of pixels of multiple sub-pix color data that color data is adjacent;
Complementary color processes submodule, for based on the multiple pending sub-pix in described block of pixels
Color data and the multiple original pixels the most corresponding with the plurality of pending sub-pix color data
Multiple bases data in non-Sample Color Data judge whether to need carry out complementary color and enter at needs
Complementary color position and complementary color value size, wherein said multiple pending sub-pix colors are determined during row complementary color
Data include described target sub-pix color data and are different from described target sub-pix color data
The sub-pix color data of color type.
13. image processing apparatus as claimed in claim 12, it is characterised in that described block of pixels
Divide submodule for marking off 3 × 3 block of pixels, 2 × 2 block of pixels or triangle according to control instruction
Shape block of pixels.
14. image processing apparatus as claimed in claim 12, it is characterised in that at described complementary color
Reason submodule includes:
Complementary color judging unit, for judging the original pixels that described target sub-pix color data is corresponding
Multiple bases data in the non-Sample Color Data of appointment whether more than all and institute in described block of pixels
State the sub-pix color data specifying non-Sample Color Data to be same color type, and judge knot
Determine and need to carry out a color component complementary color when fruit is for "Yes", wherein said color component and described
The color type specifying non-Sample Color Data is identical;
Complementary color position determination unit, for determining the complementary color position of described color component;
Complementary color value computing unit, for calculate described target sub-pix color data updated value and
The renewal of the sub-pix color data in the described block of pixels that the complementary color position of described color component is corresponding
Value.
15. image processing apparatus as claimed in claim 14, it is characterised in that described complementary color position
Put and determine that unit includes:
Based on brightness stator unit really, be used for obtaining in described block of pixels all with described appointment not
Sample Color Data is the maximum sub-pix number of colours in the sub-pix color data of same color type
According to, and when the quantity of described maximum sub-pix color data is one, determine described maximum sub-picture
Position corresponding to element color data is as the complementary color position of described color component;
Based on determination of distance subelement, for when the quantity of described maximum sub-pix color data being
Time multiple, obtain target Asia picture described in distance in the position that described maximum sub-pix color data is corresponding
The minimum range sub-pix color data that element color data position is nearest, and when described narrow spacing
From the quantity of sub-pix color data be one time, determine described minimum range sub-pix color data
Corresponding position is as the complementary color position of described color component;
Based on orientation priority stator unit really, for when described minimum range sub-pix number of colours
According to quantity be multiple time, pre-according to relative to described target sub-pix color data position
If orientation priority determines the position conduct that one of described minimum range sub-pix color data is corresponding
The complementary color position of described color component.
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 true CN105989799A (en) | 2016-10-05 |
CN105989799B 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) |
Cited By (4)
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 |
CN113763486A (en) * | 2020-06-01 | 2021-12-07 | 北京达佳互联信息技术有限公司 | Dominant hue extraction method, device, electronic device and storage medium |
CN116974111A (en) * | 2023-09-22 | 2023-10-31 | 长春希达电子技术有限公司 | Triangular arrangement structure, calculation method thereof and display equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006003742A (en) * | 2004-06-18 | 2006-01-05 | Toshiba Lighting & Technology Corp | Image display device and image display program |
CN101373575A (en) * | 2007-08-24 | 2009-02-25 | 佳能株式会社 | Display method of emission display apparatus |
US20130307868A1 (en) * | 2012-05-17 | 2013-11-21 | Geun-Young Jeong | Data rendering method, data rendering device, and display panel using the same |
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 |
-
2015
- 2015-02-12 CN CN201510075267.1A patent/CN105989799B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006003742A (en) * | 2004-06-18 | 2006-01-05 | Toshiba Lighting & Technology Corp | Image display device and image display program |
CN101373575A (en) * | 2007-08-24 | 2009-02-25 | 佳能株式会社 | Display method of emission display apparatus |
US20130307868A1 (en) * | 2012-05-17 | 2013-11-21 | Geun-Young Jeong | Data rendering method, data rendering device, and display panel using the same |
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 |
Cited By (6)
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 |
CN113763486A (en) * | 2020-06-01 | 2021-12-07 | 北京达佳互联信息技术有限公司 | Dominant hue extraction method, device, electronic device and storage medium |
CN113763486B (en) * | 2020-06-01 | 2024-03-01 | 北京达佳互联信息技术有限公司 | Dominant hue extraction method, device, electronic equipment and storage medium |
CN116974111A (en) * | 2023-09-22 | 2023-10-31 | 长春希达电子技术有限公司 | Triangular arrangement structure, calculation method thereof and display equipment |
CN116974111B (en) * | 2023-09-22 | 2024-01-05 | 长春希达电子技术有限公司 | Triangular arrangement structure, calculation method thereof and display equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105989799B (en) | 2018-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6887961B2 (en) | Display device and its driving method | |
CN103903549B (en) | Display packing | |
US9576519B2 (en) | Display method and display device | |
CN103903524B (en) | Display packing | |
CN106530994B (en) | A kind of method and display device for eliminating display figure coloured silk side | |
US10467944B2 (en) | Method for rendering pixel, apparatus for rendering pixel, and display device | |
CN103325320B (en) | LED display screen with same-color chips arrayed diagonally and method for reusing pixels | |
CN101305408B (en) | A method and apparatus processing pixel signals for driving a display and a display using the same | |
CN104112763A (en) | Pixel arrangement structure, display device and display method thereof | |
CN204463787U (en) | LED structure, display unit and display control unit | |
EP3070702A1 (en) | Display panel, display method thereof, and display apparatus | |
US10297182B2 (en) | Pixel array having sub-pixel groups and driving method thereof and display panel | |
CN105989799A (en) | Image processing method and image processing device | |
WO2008145027A1 (en) | Method of displaying a low dynamic range image in a high dynamic range | |
CN104794998A (en) | Display drive method, device and display device | |
CN105989801B (en) | LED display methods, LED display unit array, display control unit | |
CN103915044B (en) | Display packing | |
TW201447427A (en) | Displaying device, pixel array, and color development compensating method | |
CN1598907A (en) | Method and apparatus for displaying image and computer-readable recording medium for storing computer program | |
EP3174037A1 (en) | Image display method and display device | |
CN106328031A (en) | Display panel and display device having the same | |
CN101489143A (en) | Image processing method, image data conversion method and apparatus thereof | |
CN105869557A (en) | Display apparatus | |
CN107656717A (en) | A kind of display methods and image processing module, display device | |
CN104464684B (en) | Method for rendering picture of display |
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 |
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. |
|
CP03 | Change of name, title or address |