CN101453546B - Image saturation detection and regulation apparatus - Google Patents

Image saturation detection and regulation apparatus Download PDF

Info

Publication number
CN101453546B
CN101453546B CN2007101962969A CN200710196296A CN101453546B CN 101453546 B CN101453546 B CN 101453546B CN 2007101962969 A CN2007101962969 A CN 2007101962969A CN 200710196296 A CN200710196296 A CN 200710196296A CN 101453546 B CN101453546 B CN 101453546B
Authority
CN
China
Prior art keywords
image
adjustment
count value
color
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007101962969A
Other languages
Chinese (zh)
Other versions
CN101453546A (en
Inventor
谢俊兴
郭嘉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN2007101962969A priority Critical patent/CN101453546B/en
Publication of CN101453546A publication Critical patent/CN101453546A/en
Application granted granted Critical
Publication of CN101453546B publication Critical patent/CN101453546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a device and a method for adjusting the color saturation of images. The device for adjusting the color saturation of the images comprises a first color supersaturation value calculating unit, a parameter adjusting unit, a saturation adjusting unit and a second color supersaturation value calculating unit. The device for adjusting the color saturation of the images utilizes a defined supersaturation region to detect the number of supersaturated pixels in an input image and the number of supersaturated pixels in an adjusted output image, and makes the parameter adjusting unit dynamically adjust the gain value of the saturation according to the two numbers of the supersaturated pixels, so as to maintain the consistency of the image.

Description

Image saturation detects and adjusting device
Technical field
The present invention relates to the image processing apparatus of a kind of image adjusting device, particularly a kind of color saturation.
Background technology
The color saturation of image adjustment is used in TV (Television, TV), video signal interface (Video signal), static number camera (Digital Still Camera, DSC) in scanner (Scanner), printer (Printer), monitor (Monitor), video/audio system (Video Audio system), the multimedia system digital display interfaces such as (multimedia system), in order to adjust the color saturation of image of these interfaces.Generally the adjustment for color saturation of image is to utilize the mean value of saturation to handle or adopt the foundation of the histogram (Histogram) of colourity (CHROMA) as the saturation of adjusting input picture as standard mostly.But the content of image may be any picture, and the picture that possible saturation is very high also may be the very low picture of saturation.If not reliable saturation detector, then same group of setting can only be adapted to some picture.When our image switching, fixing set point can't be useful on the image of different pictures level simultaneously, causes the saturation of image can't obtain consistency, causes the distortion of output image.
Therefore, how the color saturation of image adjusting device effectively detects and dynamically to adjust the saturation of picture, makes the saturation of image obtain consistency, and real is urgent problem.
Summary of the invention
At the problems referred to above, the object of the present invention is to provide a kind of device of dynamic adjustment color saturation, make image output obtain conforming saturation.
For reaching above-mentioned purpose, color saturation of image adjusting device of the present invention comprises one first color supersaturation value computing unit, a parameter adjustment unit, a saturation adjustment unit and one second color supersaturation value computing unit.The first color supersaturation value computing unit receives earlier image input data, and calculates these image input data according to a supersaturation zone of predefined and be positioned at the pixel quantity in this supersaturation zone as original supersaturation value.The parameter adjustment unit produces a color saturation according to original supersaturation value with feedback supersaturation value and adjusts parameter then.Then the saturation adjustment unit is adjusted parameter according to this color saturation and is adjusted the color saturation of this view data, and exports an adjusted view data.
The pixel quantity that present embodiment utilizes a defined supersaturation zone to judge that received image signal falls within this supersaturation zone judges whether progressively to increase or to reduce yield value as the supersaturation value, to obtain more keeping the consistency of picture near the output effect of original color saturation.
Description of drawings
Fig. 1 becomes the distributed areas schematic diagram of YUV image for the RGB image transitions.
Fig. 2 is the system block diagrams that shows a kind of color saturation adjusting device of the present invention.
Fig. 3 is that flow chart is adjusted in the saturation gain of parameter adjustment of the present invention unit.
Fig. 4 becomes the distributed areas schematic diagram of HSI image for the RGB image transitions.
Accompanying drawing number
11 first color coordinate conversion unit
12 color saturation value computing units
15 second color coordinate conversion unit
20 color saturation adjusting devices
The 22a first color supersaturation value computing unit
The 22b second color supersaturation value computing unit
23 parameter adjustment unit
Embodiment
Below with reference to graphic explanation color saturation of image adjusting device of the present invention and method of adjustment.
Please refer to Fig. 1, Fig. 1 becomes the distributed areas schematic diagram of YUV image for the RGB image transitions.As shown in the drawing, when image became the YUV hue coordinate by the rgb color Coordinate Conversion, the distribution of YUV image can fall within the quadrangle ABCD, and wherein the longitudinal axis is the U/V value, and transverse axis is the Y value.After generally the RGB image transitions being become the YUV image, the pixel distribution of YUV image can not exceed the border of quadrangle ABCD, and more near the pixel on quadrangle ABCD border, element is saturated more mutually to represent those.The present invention is for adjustment saturation that can be more suitable, at first defined a less quadrangle A ' B ' C ' D ', when being positioned at quadrangle A ' B ' C ' D ' external pixels, then as the supersaturation pixel, and the pixel quantity that calculates its supersaturation pixel is as first count value, if again via the adjusted image of color saturation of image adjusting device, its saturated pixel can increase again, and the pixel quantity that calculates its supersaturation pixel is as second count value, this color saturation of image adjusting device can be according to these two count values, adjust saturation and adjust parameter, so, as long as the quantity of supersaturation pixel is controlled in certain scope, then can avoids saturation too high or not enough.Color saturation adjusting device of the present invention is not limited to the distribution of YUV image, also can be used for other coordinate systems, for example the HSI image coordinate system.
Fig. 2 is the system block diagrams that shows an embodiment of a kind of color saturation adjusting device of the present invention.This color saturation adjusting device 20 comprises one first color coordinate conversion unit 11, one first color supersaturation value computing unit 22a, a parameter adjustment unit 23, a saturation adjustment unit 14, one second color supersaturation value computing unit 22b and one second color coordinate conversion unit 15.Wherein first color coordinate conversion unit 11, saturation adjustment unit 14 and second color coordinate conversion unit 15 are identical with the function mode of known technology, so no longer repeat to give unnecessary details.This first color supersaturation value computing unit 22a receives YUV view data S, calculates this YUV view data according to the supersaturation zone (quadrangle A ' B ' C ' D ' external pixels and inside, quadrangle ABCD border) of predefined and falls within the pixel quantity in this supersaturation zone as original supersaturation value SrcCnt (first count value).And parameter adjustment unit 23 receives an original supersaturation value SrcCnt and a feedback supersaturation value DstCnt (second count value), and produces color saturation adjustment parameter F gain according to this two supersaturation value.Afterwards, saturation adjustment unit 14 receives color saturation and adjusts parameter F gain, and adjusts the color saturation that parameter F gain adjusts YUV view data S according to this color saturation, uses producing an adjusted YUV view data Sc.The second last color coordinate conversion unit 15 is converted to the output of RGB image with adjusted YUV view data Sc.The second color supersaturation value computing unit 22b receives adjusted YUV view data Sc on the other hand, and calculates this adjusted YUV view data according to the supersaturation zone and fall within the pixel quantity in this supersaturation zone as feedback supersaturation value DstCnt.
And the first color supersaturation value computing unit 22a is identical with the method that the second color supersaturation value computing unit 22b calculates the supersaturation value.With reference to figure 2, when the y of pixel value during less than y0 or greater than y3, then looking this pixel is the supersaturation pixel; And when the y of this pixel value is between y0 and y1, then can according to the y value of this pixel calculate line segment with
Figure S2007101962969D00032
Two U/V values, as long as the U/V value of this pixel surpasses the scope of two U/V values being calculated, then looking this pixel is the supersaturation pixel; And when the y of this pixel value is between y1 and y2, then can calculate line segment according to the y value of this pixel
Figure S2007101962969D00033
The U/V value, as long as the U/V value of this pixel surpasses the U/V ± Offset that is calculated, then looking this pixel is the supersaturation pixel, wherein Offset is the distance of P3 to B '; And when the y of this pixel value is between y2 and y3, then can according to the y value of this pixel calculate line segment and two U/V values, as long as the U/V value of this pixel surpasses the scope of two U/V values being calculated, then looking this pixel is the supersaturation pixel.So,, get final product the pixel quantity that correct calculating falls within the supersaturation zone as long as define the equation of each line segment.
Parameter adjustment of the present invention unit 23 is adjusted the parameter F gain except produce saturation with reference to original supersaturation value SrcCnt, also simultaneously with reference to feedback supersaturation value DstCnt.For example, when if original supersaturation value SrcCnt is lower than one first supersaturation critical value, heighten color saturation and adjust parameter F gain, and when the supersaturation value DstCnt of second color supersaturation value computing unit 22b feedback is lower than the first critical supersaturation value, further heightens color saturation and adjust parameter F gain.Otherwise, when if the supersaturation value SrcCnt that parameter adjustment unit 23 receives is higher than the second critical supersaturation value, turn down color saturation and adjust parameter F gain, and when the supersaturation value DstCnt of feedback is higher than the second critical supersaturation value, further turn down color saturation adjustment parameter F gain.In addition, also can adopt the supersaturation value DstCnt of feedback and the difference of original supersaturation value SrcCnt to adjust parameter F gain, for example, when difference during greater than a critical value, then reduce parameter F gain, otherwise, when difference during, then increase parameter F gain less than a critical value.
Fig. 3 is that flow chart is adjusted in the saturation gain of parameter adjustment of the present invention unit.Parameter adjustment unit 23 reads the original supersaturation value SrcCnt of the first color supersaturation value computing unit 22a and the feedback supersaturation value DstCnt of the second color supersaturation value computing unit 22b carries out saturation gain adjustment, and gain Fgain is adjusted in output.
Step S302: beginning.
Step S304: whether more original supersaturation value SrcCnt is greater than an image pixel quantity maximum of T _ src.If original supersaturation value SrcCnt greater than this pixel quantity maximum of T _ src, then skips to step S312; Otherwise skip to next step S306.
Step S306: calculate the difference Diff of feedback supersaturation value DstCnt and original supersaturation value SrcCnt, and calculate prediction gain PdGain.
Diff=DstCnt-SrcCnt
PdGain=MinGain+Diff*AdG
Step S308: relatively whether difference Diff is less than a noise critical value Tn1.If difference Diff then skips to step S316 less than this noise critical value Tn1; Otherwise skip to next step S310.
Step S310: relatively feed back supersaturation value DstCnt whether between a low edge value Lbd and high boundary value Ubd.If feedback supersaturation value DstCnt then skips to step S318 between a low edge value Lbd and high boundary value Ubd; Otherwise skip to next step S312.
Step S312: whether relatively feed back supersaturation value DstCnt less than low edge value Lbd.If feedback supersaturation value DstCnt then skips to step S320 less than low edge value Lbd; Otherwise skip to next step S314.
Step S314: calculate reference gain value Gain, and skip to step S322.Wherein Gstep is a gain step value.
Gain=Fgain+Gstep
Step S316: calculate reference gain value Gain, and skip to step S322.
Gain=PdGain
Step S318: calculate reference gain value Gain, and skip to step S322.
Gain=Fgain
Step S320: calculate reference gain value Gain, and skip to step S322.
Gain=Fgain-Gstep
Step S322: yield value Fgain and reference gain value Gain according to the last time calculate present yield value Fgain.
Fgain=Fun(Gain,Fgain)
Step S324: relatively whether yield value Fgain is greater than maxgain value MaxGain.If yield value Fgain greater than maxgain value MaxGain, then skips to step S328, otherwise skips to next step S326.
Step S326: relatively whether yield value Fgain is less than lowest gain value MinGain.If yield value Fgain less than lowest gain value MinGain, then skips to step S330, otherwise skips to next step S332.
Step S328: yield value Fgain is set at maxgain value MaxGain, and skips to step S332.
Step S330: yield value Fgain is set at lowest gain value MinGain, and skips to step S332.
Step S332: finish.
So, according to above-mentioned method, color saturation adjusting device of the present invention can carry out saturation gain adjustment according to the original supersaturation value SrcCnt of the first color supersaturation value computing unit 22a and the feedback supersaturation value DstCnt of the second color supersaturation value computing unit 22b simultaneously.
Fig. 4 becomes the distributed areas schematic diagram of HSI image for the RGB image transitions, and wherein parallel axes I is brightness, and vertical axis S is a saturation, and the scope of brightness I is 0 to 255.As shown in the drawing, when image became the HSI hue coordinate by the rgb color Coordinate Conversion, the distribution of HSI image can fall within the triangle ABC.After generally the RGB image transitions being become the HSI image, the pixel distribution of HSI image can not exceed triangle ABC.But if the HSI image then may have some pixels and can exceed triangle ABC after degree of supersaturation is adjusted.As aforementioned, at first set a triangle A ' B ' C ', when pixel is positioned at the triangle A ' B ' C ' outside then as the supersaturation pixel, and color saturation adjusting device of the present invention can be adjusted the reference that anteposition is positioned at the triangle A ' B ' C ' outside after the pixel quantity in the triangle A ' B ' C ' outside and image adjustment pixel quantity is used as adjusting yield value Fgain according to image.So,, then can avoid saturation too high or not enough as long as the quantity of supersaturation pixel is controlled in certain scope.
Though more than with embodiment the present invention is described, therefore do not limit scope of the present invention, only otherwise break away from main idea of the present invention, the sector person can carry out various distortion or change.

Claims (24)

1. color saturation adjusting device comprises:
One first computing unit is used for calculating the pixel quantity that one first image is positioned at a supersaturation zone, as one first count value;
One parameter adjustment unit is used for producing one according to this first count value and one second count value and adjusts parameter;
One saturation adjustment unit is used for adjusting the saturation of this first image according to this adjustment parameter, and exports one second image; And
One second computing unit is used for calculating the pixel quantity that this second image is positioned at this supersaturation zone, as second count value of new generation,
When wherein this second count value was greater than one first critical value, this parameter adjustment unit reduced this adjustment parameter, and this second count value is less than than low one second critical value of this first critical value the time, and this parameter adjustment unit increases this adjustment parameter.
2. adjusting device as claimed in claim 1, other comprises:
One first color coordinate conversion unit is used for according to one first color conversion function one input picture being converted to this first image.
3. adjusting device as claimed in claim 2, other comprises:
One second color coordinate conversion unit is used for according to one second color conversion function, is an output image with this second image transitions.
4. adjusting device as claimed in claim 3, wherein this first, second image is corresponding to the YUV coordinate system.
5. adjusting device as claimed in claim 3, wherein this first, second image is corresponding to the HSI coordinate system.
6. adjusting device as claimed in claim 1, wherein this supersaturation zone is relevant with the pairing image coordinate system of this first, second image.
7. color saturation adjusting device comprises:
One first computing unit is used for calculating the pixel quantity that one first image is positioned at a supersaturation zone, as one first count value;
One parameter adjustment unit is used for producing one according to this first count value and one second count value and adjusts parameter;
One saturation adjustment unit is used for adjusting the saturation of this first image according to this adjustment parameter, and exports one second image; And
One second computing unit is used for calculating the pixel quantity that this second image is positioned at this supersaturation zone, as second count value of new generation,
When wherein the difference of this second count value and first count value was greater than a critical value, this parameter adjustment unit reduced this adjustment parameter, and the difference of this second count value and first count value is during less than this critical value, and this parameter adjustment unit increases this adjustment parameter.
8. adjusting device as claimed in claim 7, other comprises:
One first color coordinate conversion unit is used for according to one first color conversion function one input picture being converted to this first image.
9. adjusting device as claimed in claim 8, other comprises:
One second color coordinate conversion unit is used for according to one second color conversion function, is an output image with this second image transitions.
10. adjusting device as claimed in claim 9, wherein this first, second image is corresponding to the YUV coordinate system.
11. adjusting device as claimed in claim 9, wherein this first, second image is corresponding to the HSI coordinate system.
12. adjusting device as claimed in claim 7, wherein this supersaturation zone is relevant with the pairing image coordinate system of this first, second image.
13. a color saturation method of adjustment comprises:
Set a supersaturation zone;
Calculate the pixel quantity that one first image is positioned at this supersaturation zone, as one first count value;
Produce one according to this first count value and one second count value and adjust parameter;
Adjust the saturation of this first image according to this adjustment parameter, and export one second image; And
Calculate the pixel quantity that this second image is positioned at this supersaturation zone, as second count value of new generation,
When wherein this second count value is greater than one first critical value, reduce this adjustment parameter, this second count value increases this adjustment parameter less than than low one second critical value of this first critical value the time.
14. color saturation method of adjustment as claimed in claim 13, wherein this first image is produced via one first color coordinate conversion function by an input picture.
15. color saturation method of adjustment as claimed in claim 14, wherein this second image produces an output image by one second color coordinate conversion function.
16. color saturation method of adjustment as claimed in claim 15, wherein this first, second image is corresponding to the YUV coordinate system.
17. color saturation method of adjustment as claimed in claim 15, wherein this first, second image is corresponding to the HSI coordinate system.
18. color saturation method of adjustment as claimed in claim 13, wherein this supersaturation zone is relevant with the pairing image coordinate system of this first, second image.
19. a color saturation method of adjustment comprises:
Set a supersaturation zone;
Calculate the pixel quantity that one first image is positioned at this supersaturation zone, as one first count value;
Produce one according to this first count value and one second count value and adjust parameter;
Adjust the saturation of this first image according to this adjustment parameter, and export one second image; And
Calculate the pixel quantity that this second image is positioned at this supersaturation zone, as second count value of new generation,
When wherein the difference of this second count value and first count value is greater than a critical value, reduce this adjustment parameter, the difference of this second count value and first count value increases this adjustment parameter during less than this critical value.
20. color saturation method of adjustment as claimed in claim 19, wherein this first image is produced via one first color coordinate conversion function by an input picture.
21. color saturation method of adjustment as claimed in claim 20, wherein this second image produces an output image by one second color coordinate conversion function.
22. color saturation method of adjustment as claimed in claim 21, wherein this first, second image is corresponding to the YUV coordinate system.
23. color saturation method of adjustment as claimed in claim 21, wherein this first, second image is corresponding to the HSI coordinate system.
24. color saturation method of adjustment as claimed in claim 19, wherein this supersaturation zone is relevant with the pairing image coordinate system of this first, second image.
CN2007101962969A 2007-12-07 2007-12-07 Image saturation detection and regulation apparatus Active CN101453546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101962969A CN101453546B (en) 2007-12-07 2007-12-07 Image saturation detection and regulation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101962969A CN101453546B (en) 2007-12-07 2007-12-07 Image saturation detection and regulation apparatus

Publications (2)

Publication Number Publication Date
CN101453546A CN101453546A (en) 2009-06-10
CN101453546B true CN101453546B (en) 2011-08-31

Family

ID=40735547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101962969A Active CN101453546B (en) 2007-12-07 2007-12-07 Image saturation detection and regulation apparatus

Country Status (1)

Country Link
CN (1) CN101453546B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855970A (en) * 2019-11-27 2020-02-28 上海富瀚微电子股份有限公司 Image saturation processing method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790101B (en) * 2010-04-01 2013-01-09 昆山锐芯微电子有限公司 Method and device for adjusting image saturation
CN103618887B (en) * 2013-11-29 2016-08-17 深圳Tcl新技术有限公司 Image processing method and device
CN108574836B (en) * 2017-03-10 2020-01-10 上海顺久电子科技有限公司 Method and device for weakening saturation or pockmark phenomenon in image
CN110248170B (en) * 2018-03-09 2022-04-05 华为技术有限公司 Image color adjusting method and device
CN114967191B (en) * 2022-04-18 2023-09-22 信利光电股份有限公司 Color coordinate control method for display module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496132A (en) * 2002-08-23 2004-05-12 三星电子株式会社 Method for adjusting colour saturation using saturation control
EP0944244B1 (en) * 1998-03-09 2006-11-15 Xerox Corporation Method and apparatus for reducing the complexity of color correction using subsampling
CN1881405A (en) * 2005-06-17 2006-12-20 祥硕科技股份有限公司 Color image enhancing device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0944244B1 (en) * 1998-03-09 2006-11-15 Xerox Corporation Method and apparatus for reducing the complexity of color correction using subsampling
CN1496132A (en) * 2002-08-23 2004-05-12 三星电子株式会社 Method for adjusting colour saturation using saturation control
CN1881405A (en) * 2005-06-17 2006-12-20 祥硕科技股份有限公司 Color image enhancing device and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2006-229811A 2006.08.31
JP特开2006-92168A 2006.04.06

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855970A (en) * 2019-11-27 2020-02-28 上海富瀚微电子股份有限公司 Image saturation processing method and device
CN110855970B (en) * 2019-11-27 2022-04-01 上海富瀚微电子股份有限公司 Image saturation processing method and device

Also Published As

Publication number Publication date
CN101453546A (en) 2009-06-10

Similar Documents

Publication Publication Date Title
CN101453546B (en) Image saturation detection and regulation apparatus
US8334932B2 (en) Image processing device, image display device, and image processing method
US20060066756A1 (en) Video signal processor circuit and television receiver
TWI387318B (en) Image correction circuit, image correction method and image display
WO1998020670A2 (en) System for converting computer graphics to television format with scaling requiring no frame buffers
US8290261B2 (en) Image processing apparatus and image processing method
US20080259007A1 (en) Method for dynamically adjusting brightness of image
US20080018797A1 (en) Method and apparatus for adjusting a saturation level of original image data
CN115100989A (en) Image color processing device, method and system
US20080043145A1 (en) Image Processing Apparatus, Image Processing Method, and Image Display Apparatus
JP2009194616A (en) Image processing apparatus
US7567297B2 (en) Television visual artwork generation system and method
JP3474120B2 (en) Scan converter and scan conversion method
JP5676924B2 (en) Projection apparatus and projection method
US20090086090A1 (en) Picture signal processing apparatus and picture signal processing method
CN101661737A (en) Method for switching between wide screen and general screen of liquid crystal display
CN101163211B (en) Regulation means of image fidelity factor
TWI697873B (en) Image saturation adjusting method and device
JP7273460B2 (en) Video processing device, video processing method, television receiver, control program, and recording medium
US9185358B2 (en) Imaging apparatus
EP0416619A2 (en) Image processing with horizontal blanking width correction
JP2002341849A (en) Image quality adjustment device
JP2002006825A (en) Video signal correcting device
US20240127397A1 (en) Image processing apparatus, image processing method, and storage medium
US8073249B2 (en) Image adjustment apparatus and method 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
C14 Grant of patent or utility model
GR01 Patent grant