CN1791229A - Method for adjusting color and processor - Google Patents

Method for adjusting color and processor Download PDF

Info

Publication number
CN1791229A
CN1791229A CN 200410102182 CN200410102182A CN1791229A CN 1791229 A CN1791229 A CN 1791229A CN 200410102182 CN200410102182 CN 200410102182 CN 200410102182 A CN200410102182 A CN 200410102182A CN 1791229 A CN1791229 A CN 1791229A
Authority
CN
China
Prior art keywords
color
color attribute
kind form
signal
attribute
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.)
Pending
Application number
CN 200410102182
Other languages
Chinese (zh)
Inventor
梅琮阳
虞嘉磊
郑旭晃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiangshuo Science & Technology Co Ltd
Original Assignee
Xiangshuo Science & Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiangshuo Science & Technology Co Ltd filed Critical Xiangshuo Science & Technology Co Ltd
Priority to CN 200410102182 priority Critical patent/CN1791229A/en
Publication of CN1791229A publication Critical patent/CN1791229A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

The invention provides a color regulation method, which comprises: checking color attribute and lightness of a pixel to obtain the color attribute of a first A-type format; if the said color attribute within a special range, converting it into a color attribute of a first B-type format contained a first lightness signal and color signal; regulating the color attribute into one of a second B-type format contained a second lightness signal and color signal; reversing the color attribute of second B-type format into one with a second A-type format as the color attribute of said pixel.

Description

Adjust the method and the processor of color
Technical field
The present invention relates to a kind of method and processor of adjusting color, particularly relate to a kind of color attribute with a pixel, by a first kind form that does not comprise independent luminance signal, be converted to one comprise the second kind form of a luminance signal and a color signal after, method of being adjusted again and processor.
Background technology
In the technology of show image, the color of adjusting pixel (pixel) is unusual important techniques.No matter be because signal transmits in limited transmitting bandwidth, and make its distortion to some extent on color, though or image does not have distortion but must adjust for user's needs or hobby, all needs the color attribute of processed pixels so that display system has preferable performance performance.Not agnate and Different Culture often has cognitions different on the aesthetic feeling, therefore in order to satisfy user and audience, display system is often promoted color representation with ad hoc approach and corresponding device, for example comprises fine setting human body complexion (skinOtonecorrection), strengthens the reinforcement (bluestretch) of greenery patches color (green enhancement) and sky blueness etc.General display system is that employing one comprises the color (being rgb format) that the color attribute form of redness, green and blue three compositions is expressed pixel, yet the attribute of brightness (luminance signal) is dispersed in the middle of R, G, three numerical value of B (representing red, green and blue respectively).Therefore, in known technology, can only adjust a pixel usually in R, G, three chromas (hue) on degree of B and saturation (saturation), and, but can't be handled and adjust in fact influencing the very huge brightness of vision; Make known technology doubly and merit half for the adjustment thing of pixel color.
Summary of the invention
Therefore main purpose of the present invention is to provide one to adjust the method for color and the processor of operating the method, form with the color attribute (color attribute) of a pixel, by a first kind form that does not comprise independent luminance signal, be converted to one comprise the second kind form of a luminance signal and a color signal after, adjust luminance signal and color signal more respectively, to overcome the problem in the above-mentioned known technology.
The present invention discloses a kind of method of adjusting color.This method comprises the color attribute of checking a pixel and brightness and obtains the color attribute of one first first kind form; When the color attribute that is checked through this first first kind form during between a particular range, color attribute with this first first kind form of this pixel, according to the rule of the color attribute of a second kind form, be converted to the color attribute that comprises one first luminance signal (luminance signal) and one first second kind form of one first color signal; The color attribute of this first second kind form is adjusted into a color attribute that comprises the second second kind form of one second luminance signal and one second color signal; And the color attribute of this second second kind form is reversed to the color attribute of one second first kind form, and the color attribute of this second first kind form of changing according to the color attribute of this second second kind form is made as the color attribute of this pixel.
The present invention has also disclosed a kind of processor of adjusting color.This processor comprises an inspection unit, is used for checking whether the color attribute of a pixel and brightness meet a particular range; One converting unit, it is coupled to this inspection unit, and the color attribute of the first first kind form that is used for meeting the pixel of this particular range is converted to the color attribute of the one first second kind form that comprises a luminance signal and a color signal; One adjustment unit, it is coupled to this converting unit, and the color attribute that is used for adjusting this first second kind form is the color attribute of one second second kind form; And an inverse transform unit, it is coupled to this adjustment unit, is used for the color attribute of this second second kind form is converted to the color attribute of a first kind form.
Because the present invention is only according to the color attribute of the first kind form of an object pixel with the color attribute of pixel, adjust luminance signal and color signal more respectively after being converted to the color attribute of a second kind form that comprises a luminance signal and a color signal, therefore making the present invention to adjust effectively influences the very huge luminance signal of visual effect, promotes the usefulness that display system is adjusted color.
Description of drawings
Fig. 1 is the method flow diagram of adjustment color of the present invention.
Fig. 2 is the schematic diagram of first embodiment of the processor of adjustment color of the present invention.
Fig. 3 is the schematic diagram of second embodiment of the processor of adjustment color of the present invention.
The reference numeral explanation
100~150 steps
200,300 processors
210,310 inspection units
220,320 converting units
230,330 adjustment units
240,340 inverse transform unit
Embodiment
Because in the appreciation of human eye for colors of image, brightness (luminanee signal) is one of important element, therefore promptly meet one when being predefined for scope to be adjusted in the present invention in the color attribute of checking a pixel and brightness, the brightness part that is about to this pixel independently captures out, the form of color attribute that also is about to this pixel is by a first kind form that does not include independent luminance signal, be adjusted into the color attribute of a second kind form that includes a luminance signal and a color signal, respectively at needed color effect, adjust the part of luminance signal or the part of color signal again.See also Fig. 1.Fig. 1 is the method flow diagram of adjustment color of the present invention.Wherein, what is called is predefined for specific color range of attributes to be adjusted and can comprises, for example be set at when finely tuning (skin-tonecorrection) attractive in appearance to meet for human body complexion when system system, this predetermined color attribute scope of adjusting is the human body complexion scope; Or be set at when strengthening (green enhancement) for the color of greenery patches (green plants) when system system, this predetermined color attribute scope of adjusting is the green plants Color Range.
Step 100: beginning;
Step 110: check the color attribute of a pixel and brightness and obtain the color attribute of one first first kind form;
Step 120:, the color attribute of this first first kind form of this pixel is converted to the color attribute of the one first second kind form that comprises one first luminance signal and one first color signal when the color attribute that is checked through this first first kind form during between a particular range;
Step 130: the color attribute of this first second kind form is adjusted into a color attribute that comprises the second second kind form of one second luminance signal and one second color signal;
Step 140: the color attribute of this second second kind form is reversed to the color attribute of one second first kind form, and the color attribute of this second first kind form is made as the color attribute of this pixel;
Step 150: finish.
On the implementation, suppose that the color attribute form that display system is adopted originally is a rgb format, then display system can adopt following transition matrix T to carry out computing, be converted to the color attribute (Y represents luminance signal, and U and V are the color signal) of the yuv format that comprises luminance signal and color signal with color attribute with the rgb format that does not comprise independent luminance signal of pixel:
T = a 1 a 2 a 3 b 1 b 2 b 3 c 1 c 2 c 3
Wherein, a1, a2 are respectively coefficient relevant with the Y signal in R, G and the B signal with a3; B1, b2 are respectively coefficient relevant with the U signal in R, G and the B signal with b3; And c1, c2 are respectively coefficient relevant with the V signal in R, G and the B signal with c3.
Suppose that system of present system is set at the brightness of adjustment carry out to(for) human body complexion.For instance, find the color attribute [R1 of its rgb format when in step 110, checking a pixel, G1, B1] when meeting default human body complexion scope, judge that this pixel is the demonstration human body complexion thereby need be adjusted, the regulation rule of being scheduled in this hypothesis is the lightness that increases human body complexion.Step 120 transfers the color attribute of the rgb format of this pixel to the foregoing color attribute that comprises the yuv format of luminance signal and color signal:
Y 1 U 1 V 1 = T · R 1 G 1 B 1
Wherein, Y1 is with the color attribute of the rgb format of pixel [R1, G1, B1] in the brightness luminance signal that partly captures out, U1 and V1 then are the one group color-difference signal (chrominance signals) of color attribute [R1, G1, B1] beyond brightness of rgb format.
Then, step 130 is promptly adjusted the color attribute [Y1, U1, V1] of yuv format according to pre-defined rule, promptly increase the lightness of human body complexion pixel, for example can be made as and directly luminance signal be heightened a predetermined value, and the color attribute of adjusted yuv format is
[Y1′,U1′,V1′]:
[Y1′,U1′,V1′]=[Y1+ΔY,U1,V1]
Next, step 140 is utilized the inverse matrix T of transition matrix T again -1, the color attribute of adjusted yuv format [Y1 ', U1 ', V1 '] is changed back rgb format [R1 ', G1 ', B1 '], and the color attribute of this adjusted rgb format [R1 ', G1 ', B1 '] is made as the color attribute that this is adjusted pixel:
R 1 ′ G 1 ′ B 1 ′ = T - 1 · Y 1 ′ U 1 ′ V 1 ′
Above for method embodiment of the present invention in, adjust yuv format color attribute the visual actual needs of principle and design, for example luminance signal can increase certain value Δ Y as above-mentioned; Or adjust a fixed ratio, for example make Y '=Y * (1+m%).Same, in the part of color-difference signal similar adjustment principle can be arranged also.And except adopting the color attribute of [Y, U, V] form, the present invention also can utilize the color attribute of [Y, Cb, Cr] form, and the corresponding transition matrix of arranging in pairs or groups can realize that the present invention adjusts the method for color.
Method of the present invention also tolerable user is refused this adjustment automatically, promptly after the pre-defined rule that the pixel basis that meets the specific color range of attributes sets is adjusted color attribute, allows the user to send a cancellation signal and recover the color attribute setting originally of this pixel to cancel this adjustment.For instance, when receiving the cancellation signal that the user sends, the color attribute of the rgb format that method of the present invention can be adjusted this [R1 ', G1 ', B1 '] is changed back the color attribute of yuv format again:
Y 1 ′ U 1 ′ V 1 ′ = T · R 1 ′ G 1 ′ B 1 ′ ;
According to known adjustment principle (supposing rule as described above), the color attribute of adjusted yuv format is oppositely recalled to original value again for luminance signal being increased a predetermined value:
[Y1″,U1″,V1″]=[Y1′-ΔY,U1,V1]=[Y1,U1,V1];
Promptly can utilize the inverse matrix T ' of transition matrix T this moment, with the color attribute of the yuv format after the reduction [Y1 ", U1 ", V1 "], i.e. [Y1, U1, V1], convert the form of color attribute of rgb format to after, be made as the color attribute of this pixel:
R 1 ′ ′ G 1 ′ ′ B 1 ′ ′ = T - 1 · Y 1 ′ ′ U 1 ′ ′ V 1 ′ ′ = T - 1 · Y 1 U 1 V 1 = R 1 G 1 B 1 ;
The color attribute that so is reducible this pixel is set.
The present invention adjusts the method for color and can be implemented by a processor.See also Fig. 2.Fig. 2 is the schematic diagram of first embodiment 200 of the processor of adjustment color of the present invention.Processor 200 comprises an inspection unit 210; One converting unit 220, it is coupled to inspection unit 210; One adjustment unit 230, it is coupled to converting unit 220; And an inverse transform unit 240, it is coupled to adjustment unit 230.Inspection unit 210 is used for checking the color attribute form that does not contain independent luminance signal of a pixel, is made as the color attribute of a first kind form, whether meets a particular range, i.e. step 110 in execution graph 1 method flow diagram; Converting unit 220 is used for according to a predetermined transformation rule (a for example transition matrix), the format conversion of color attribute that will meet the pixel of this particular range is the form that comprises a color attribute of a luminance signal and a color signal, be made as the color attribute of a second kind form, i.e. step 120 in execution graph 1 method flow diagram.The color attribute that adjustment unit 230 is used for adjusting this first second kind form becomes the color attribute of one second second kind form, i.e. step 130 in execution graph 1 method flow diagram; 240 of inverse transform unit are used for exporting after color attribute with this second second kind form is converted to the color attribute of a corresponding first kind form, are made as the new color attribute of this pixel.
See also Fig. 3.Fig. 3 is the schematic diagram of second embodiment 300 of the processor of adjustment color of the present invention.Processor 300 comprises an inspection unit 310; One converting unit 320, it is coupled to inspection unit 310; One adjustment unit 330, it is coupled to converting unit 320; And an inverse transform unit 340, it is coupled to adjustment unit 330 and converting unit 320.Processor of the present invention 300 among Fig. 3 is adjusted the function except carrying out the color identical with the processor 200 of Fig. 2, in the time of also can after finishing the color adjustment, receiving a cancellation signal again, the color attribute input converting unit 320 of the second first kind form that inverse transform unit 340 is exported reverts back the color attribute of this second first kind form the color attribute of the first first kind form originally.Promptly convert the color attribute of this second first kind form to behind the second kind form (promptly converting the color attribute of the second second kind form to), oppositely adjust back the color attributes of the first second kind form by adjustment unit 330 by converting unit 320; After importing the color attribute of the first second kind form of this reduction into inverse transform unit 340 again, be converted to the color attribute of the first first kind form, i.e. Yuan Ben color attribute.The degree of freedom that like this then the present invention can successfully provide user's one cancellation or the default color of refusal to adjust.
Combine it, the processor that the invention provides a kind of color attribute of adjusting pixel with and method, form with the color attribute of pixel, by a form that does not comprise the color attribute of independent luminance signal, be converted to a form that includes the color attribute of luminance signal and color signal, optionally adjusting the brightness and the color of pixel respectively, improved in the known technology can't be respectively at the brightness of pixel and color and the shortcoming of adjusting has been promoted the performance of display on display color.The present invention also provides concrete enforcement embodiment, and actual judgement and the flow process of adjusting the pixel color attribute have been described.The present invention also provides the user degree of freedom that one cancellation color is adjusted, with avoid pixel that non-institute desire adjusts by rigid adjustment (for example a pixel be human body complexion but only for general body surface but not be positioned at the block that shows human body).Wherein, can manually select or setting by the user about scope, the judgment mode of revising color attribute and the rule of adjusting color attribute; And be applicable to that color correction person of the present invention except the increase of the compensation of human body complexion, the lightness of sky color, also may extend to other any specific demand.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (8)

1. method of adjusting color, it comprises the following step:
Check the color attribute of a pixel and obtain the color attribute of one first first kind form;
When the color attribute that is checked through this first first kind form during,, be converted to the color attribute of the one first second kind form that comprises one first luminance signal and one first color signal with the color attribute of this first first kind form of this pixel between a particular range;
The color attribute of this first second kind form is adjusted into a color attribute that comprises the second second kind form of one second luminance signal and one second color signal; And
The color attribute of this second second kind form is reversed to the color attribute of one second first kind form, and the color attribute of this second first kind form of changing according to the color attribute of this second second kind form is made as the color attribute of this pixel.
2. the method for claim 1, it also comprises the following step:
According to a cancellation signal, the color attribute of this pixel is made as the color attribute of this first first kind form.
3. method as claimed in claim 2, it also comprises the following step:
According to this cancellation signal, this pixel is changed back the color attribute of this second second kind form by the color attribute of this second first kind form;
The color attribute adjustment of this second second kind form is returned the color attribute of this first second kind form; And
Transfer the color attribute of this first second kind form the color attribute of this first first kind form to, and the color attribute of this first first kind form that the color attribute of this first second kind form is changed is made as the color attribute of this pixel.
4. the method for claim 1, wherein this color signal is one group of color-difference signal.
5. the processor that can adjust the color of pixel, it comprises:
One inspection unit is used for checking whether the color attribute of a pixel meets a particular range;
One converting unit, it is coupled to this inspection unit, and the color attribute of first kind form that is used for meeting the pixel of this particular range is converted to the color attribute of the one first second kind form that comprises a luminance signal and a color signal;
One adjustment unit, it is coupled to this converting unit, and the color attribute that is used for adjusting this first second kind form is the color attribute of one second second kind form; And
One inverse transform unit, it is coupled to this adjustment unit, is used for the color attribute of this second second kind form is converted to the color attribute of a first kind form.
6. processor as claimed in claim 5, wherein this adjustment unit is used for adjusting the luminance signal that color attribute comprised and the color signal of this second kind form.
7. processor as claimed in claim 5, wherein this chroma signal is one group of color-difference signal.
8. processor as claimed in claim 5, wherein this converting unit also is used for according to a cancellation signal, and the color attribute of the first kind form that this inverse transform unit is exported is converted to the color attribute of a second kind form; And this adjustment unit also is used for adjusting according to this cancellation signal the color attribute of this second kind form that this converting unit exports.
CN 200410102182 2004-12-15 2004-12-15 Method for adjusting color and processor Pending CN1791229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410102182 CN1791229A (en) 2004-12-15 2004-12-15 Method for adjusting color and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410102182 CN1791229A (en) 2004-12-15 2004-12-15 Method for adjusting color and processor

Publications (1)

Publication Number Publication Date
CN1791229A true CN1791229A (en) 2006-06-21

Family

ID=36788662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410102182 Pending CN1791229A (en) 2004-12-15 2004-12-15 Method for adjusting color and processor

Country Status (1)

Country Link
CN (1) CN1791229A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316370B (en) * 2007-05-30 2010-08-25 中华映管股份有限公司 Image color regulation method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316370B (en) * 2007-05-30 2010-08-25 中华映管股份有限公司 Image color regulation method and device

Similar Documents

Publication Publication Date Title
CN103714520B (en) Digital video image strengthening system and its method are realized based on FPGA
CN103069809B (en) Expanded images dynamic range
EP3251336B1 (en) Method and device for matching colors between color pictures of different dynamic range
CN101873503B (en) Method and device for adjusting image property
CN106897981A (en) A kind of enhancement method of low-illumination image based on guiding filtering
US7986351B2 (en) Luma adaptation for digital image processing
US8064693B2 (en) Methods of and apparatus for adjusting colour saturation in an input image
CN102638688A (en) Method and apparatus for brightness-controlling image conversion
US8045062B2 (en) Contour free point operation for video skin tone correction
CN110785989A (en) Method and apparatus for gamut mapping
CN104978945B (en) The enhanced method of image saturation and its device
CN104935902A (en) Image color enhancement method and device, and electronic equipment
CN103763537A (en) Method and device for dynamically regulating display image quality
CN105898252A (en) Television color adjustment method and device
WO2008072162A2 (en) Video processing device and method of color gamut mapping
WO2023241339A1 (en) Color cast correction method and apparatus, device, storage medium and program product
CN1791229A (en) Method for adjusting color and processor
US7257251B2 (en) Chrominance smoothing
EP1895781B1 (en) Method of and apparatus for adjusting colour saturation
CN101431687B (en) Dynamic contrast and color management method and apparatus
TWI697873B (en) Image saturation adjusting method and device
CN106162113A (en) Colour darkens the imageing sensor of white double-colored pixel unitary design
US20060114266A1 (en) Processor and Related Method for Adjusting Color Attributes
CN110533622B (en) Automatic parameter configuration method in picture synthesis
US8014593B2 (en) Image color compensating apparatus and methods thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication