CN100486341C - Brightness adjusting method and device - Google Patents
Brightness adjusting method and device Download PDFInfo
- Publication number
- CN100486341C CN100486341C CNB2004100803088A CN200410080308A CN100486341C CN 100486341 C CN100486341 C CN 100486341C CN B2004100803088 A CNB2004100803088 A CN B2004100803088A CN 200410080308 A CN200410080308 A CN 200410080308A CN 100486341 C CN100486341 C CN 100486341C
- Authority
- CN
- China
- Prior art keywords
- value
- yield value
- pixel
- brightness adjusting
- receives
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 239000003086 colorant Substances 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006698 induction Effects 0.000 description 2
- 201000005569 Gout Diseases 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
Images
Landscapes
- Processing Of Color Television Signals (AREA)
Abstract
The invention relates to a brightness adjusting method and a device, wherein the method comprises the following steps: performing brightness adjustment calculation, saturation adjustment calculation and comparison calculation according to R, G, B values constituting a pixel to obtain a first gain value, a second gain value and a third gain value respectively; obtaining a final brightness gain value according to the first gain value, the second gain value and the third gain value; and adjusting R, G, B the value of the pixel according to the last brightness gain value. By using the pixel tristimulus values as the basis for adjusting the pixel brightness, the contrast degree between color systems of the digital image can be improved while the brightness of the digital image is adjusted.
Description
Technical field
The present invention relates to a kind of brightness adjusting method and device of digitized video, particularly relate to a kind of when the brightness of adjustment digitized video except that effective adjustment brightness and can strengthen the brightness adjusting method and the device of the contrast degree between each colour system of digitized video.
Background technology
Along with the arriving of digital Age, the use of digitized video replaces traditional image gradually.Digitized video is handled because of the generally use of digitized video and is come into one's own.The present invention promptly proposes in the adjustment aspect the brightness at digitized video.
Lifting digital camera earlier takes to constitute digitized video to be example, to be used for responding to the induction installation of input light when digital camera is taken at present that major part is to form with the Charged Coupled Device (ChargeCoupled Device is called for short CCD) that the array arrangement mode is arranged.On these Charged Coupled Devices, each all has a colored filter (red (R) or green (G) or blue (B)).Therefore, when irradiate light during to Charged Coupled Device, each Charged Coupled Device is then sensed the intensity of a kind of coloured light (R or G or B) according to its filter.
Therefore, the flow process of using digital camera to take to produce digitized video is: light sees through the input of digital camera camera lens.Then, the light of the Charged Coupled Device of digital camera induction input also produces corresponding induced current, and these induced currents are being represented R value or the G value or the B value of formation digitized video elementary cell (pixel).At last, the image process unit that sees through digital camera integrates these R, G, B value to produce digitized video.Wherein, each pixel all is made of a R value, a G value, a B value on the digitized video, and this is general known three primary colors.
Because each pixel is by being made of R, G, B value on the digitized video, the therefore existing image processing practice of brightness adjusting that digitized video is carried out is for finding out corresponding brightness (Y) signal and chroma (C) signal according to R, G, the B value of each pixel representative of this digitized video earlier.The adjustment of brightness then is this luminance signal of direct adjustment.Therefore, in the prior art digitized video being carried out brightness adjusting, promptly is directly the pairing luminance signal of this digitized video to be carried out adjustment.
And the existing this practice to digital image brilliance adjustment, though can do adjustment to the brightness of digitized video, but in adjustment, because the brightness of each pixel of digitized video is all done adjustment with identical yield value, therefore the degree of brightness adjusting is all identical between each pixel and each pixel, also therefore, after digitized video was with existing practice adjustment brightness, each colour system contrast degree of the digitized video after this adjustment died down because of the relation of the adjustment of brightness on the contrary.
Therefore, the present invention proposes a kind of brightness adjusting method and device, can avoid when the brightness of adjustment digitized video, causing the contrast degree between each colour system to die down, and further, the present invention can adjustment go out higher brightness and improve the degree that contrasts between each colour system of digitized video when adjustment brightness when digitized video be carried out brightness adjusting.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of brightness adjusting method and device, to avoid causing the contrast degree between each colour system to die down when the brightness of adjustment digitized video, and further, when digitized video was carried out brightness adjusting, adjustment went out higher brightness and improve the degree that contrasts between each colour system of digitized video when adjustment brightness.
To achieve these goals, the invention provides a kind of brightness adjusting method, be primarily characterized in that, the adjustment mode is: carry out brightness adjusting calculating, saturation adjustment calculating and relatively calculating according to R, the G, the B value that constitute a pixel, to obtain one first yield value, one second yield value and one the 3rd yield value respectively; Get luminance gain value to the end according to described first yield value, described second yield value and described the 3rd yield value; And R, G, the B value of adjusting described pixel according to described last luminance gain value.
Wherein, if R, G, the B value of pixel represent that with Rin, Gin, Bin then (Rin, Gin Bin) represent, then with Y in brightness adjusting calculating
Y(Rin,Gin,Bin)=C1×Rin+C2×Gin+C3×Bin
Wherein, C1, C2, C3 are defined voluntarily by the user.Calculate relatively then that (Bin) expression is promptly got maximum after relatively for Rin, Gin with Cmax.
Be similarly and achieve the above object, the present invention proposes a kind of brightness adjusting circuit, promptly is made of a plurality of adjustment calculation elements and a synthesizer.Wherein, these adjustment calculation elements receive simultaneously respectively and represent the tristimulus values of a pixel to export a plurality of yield values.Synthesizer is exported after then receiving the tristimulus values of pixel and these yield values and adjusting the tristimulus values of pixels according to these yield values.
In preferred embodiment of the present invention, these adjustment calculation elements include brightness adjusting counting circuit, saturation adjustment counting circuit and comparison counting circuit.Wherein, the brightness adjusting counting circuit receives the tristimulus values of pixel simultaneously and calculates back output first yield value.Saturation adjustment counting circuit receives the tristimulus values of pixel equally simultaneously and calculates back output second yield value.Relatively counting circuit then also receives the tristimulus values of pixel simultaneously and calculates back output the 3rd yield value.
Synthesizer then is made up of first to fourth multiplier, and this first multiplier receives first yield value, second yield value and the 3rd yield value simultaneously to export last yield value.Second multiplier then receives the R value in the pixel three primary colors simultaneously and receives last yield value to export first output valve.The 3rd multiplier receives the G value in the pixel three primary colors simultaneously and receives last yield value to export second output valve.The 4th multiplier receives the B value in the pixel three primary colors simultaneously and receives last yield value to export the 3rd output valve.And first output valve, second output valve and the 3rd output valve can constitute the pixel of above-mentioned pixel after the adjustment of brightness adjusting circuit.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the flow chart of the brightness adjusting method of preferred embodiment of the present invention;
Fig. 2 is the circuit diagram of the high luminance color caidiao opera calibration device of preferred embodiment of the present invention;
Fig. 3 is the of all kinds comparison diagram that tie up to row coordinate of digitized video behind high brightness color (HBC) calibration apparatus brightness adjusting of preferred embodiment of the present invention.
Wherein, Reference numeral is as follows:
200: high luminance color caidiao opera calibration device 205: adjustment calculation element
210: brightness adjusting counting circuit 220: saturation adjustment counting circuit
230: compare 240: the first yield values of counting circuit
260: the three yield values of 250: the second yield values
265: synthesizer 270,280,290,295: multiplier
273: gain control signal 275: last yield value
297,298,299: clamper
Embodiment
For feature of the present invention, purpose and function being had further understanding and understanding, existing conjunction with figs. is described in detail as follows:
Please refer to Fig. 1, Fig. 1 is the flow chart of the brightness adjusting method of preferred embodiment of the present invention.At first, according to the tristimulus values of each pixel on the digitized video, i.e. R, G, B value, as the foundation of adjusting each pixel intensity of digitized video, this is a step 101.Therefore, in step 101, when desire is adjusted digitized video brightness, need obtain R, G, the B value information of this each pixel of digitized video, to carry out follow-up flow process.
Then, under the R that obtains each pixel of digitized video, G, B value information situation, can do different calculating to R, G, the B value of each pixel, for example making brightness adjusting with R, G, the B value of each pixel calculates, or for example do saturation (chroma) adjustment and calculate, or for example with the calculating etc. of making comparisons of R, G, the B value of each pixel, to obtain yield value respectively with R, G, the B value of each pixel, and these yield values can determine the degree of the last brightness adjusting of each pixel, and this is a step 102.Wherein, calculate with brightness adjusting, if R, G, the B value of pixel represent with Rin, Gin, Bin, and with Rin, Gin, Bin as the gain function Y of variable (Rin, Gin Bin) can be expressed as:
Y(Rin,Gin,Bin)=C1×Rin+C2×Gin+C3×Bin,
Wherein, parameters C 1, C2, C3 define voluntarily for the user.
In like manner, the saturation adjustment is also calculated and can be defined it with R, G, the B value gain function as variable according to the user.As for relatively calculating then is the maximum of finding out in each pixel R, G, the B value, its function can Cmax (Rin, Gin Bin) represent, more than are step 102.
The purpose of above-mentioned these calculating then to be the considered pixel color be deflection R or G or B colour system, with when the brightness adjusting to its deflection colour system weighting, so that the contrast between pixel and pixel is more obvious.
Follow, synthetic with extra gain control value again according to the resulting yield value of step 102, determining a last yield value, and each pixel is to carry out adjustment according to this last yield value at last when its brightness of adjustment again, and this is a step 103.
At last, promptly be according to the resulting last yield value of step 103 R, G, the B value of each pixel of adjustment respectively, with as each pixel is carried out brightness adjusting, this is a step 104.
As for the realization of the present invention on hardware, please refer to Fig. 2, Fig. 2 is the circuit diagram of the high luminance color caidiao opera calibration device of preferred embodiment of the present invention.(high-brightness color, HBC) calibration apparatus 200 mainly includes adjustment calculation element 205 and synthesizer 265 to this high brightness color.Wherein, adjustment calculation element 205 is made up of brightness adjusting counting circuit 210, saturation adjustment counting circuit 220 and comparison counting circuit 230.This brightness adjusting counting circuit 210, saturation adjustment counting circuit 220 and comparison counting circuit 230 can receive R, G, the B value (representing with Rin, Gin, Bin) of a pixel simultaneously respectively.
And brightness adjusting counting circuit 210, saturation adjustment counting circuit 220 and after relatively counting circuit 230 receives Rin, Gin, the Bin value of these pixels, can calculate this Rin, Gin, Bin value individually, to obtain first yield value 240, second yield value 250 and the 3rd yield value 260.And each circuit calculates Rin, Gin, Bin value to obtain the mode of first yield value 240, second yield value 250 and the 3rd yield value 260 respectively, then can carry out according to going of being disclosed of Fig. 1 step 102.
Resulting first yield value 240, second yield value 250 and the 3rd yield value 260 can see through synthesizer 265 synthetic with to the end as the last yield value 275 of adjustment pixel Rin, Gin, Bin value.Wherein, the multiplier 270 of synthesizer 265 receives the gain control signal 273 of this first yield value 240, second yield value 250, the 3rd yield value 260 and outside input simultaneously to get yield value 275 to the end.And the Rin of pixel, Gin, Bin value can see through multiplier 280,290,295 and last yield value 275 back of multiplying each other respectively and export, with as the adjustment to pixel intensity.
In preferred embodiment of the present invention, for the value of exporting after avoiding Rin, Gin, Bin value to multiply each other with last yield value 275 surpasses spendable boundary, therefore, specially the output at multiplier 280,290,295 is coupled with clamper 297,298,299 respectively, can not surpass spendable boundary with restriction multiplier 280,290,295 values of being exported.For instance, be 261 as the output valve of multiplier 280, and the use boundary of pixel R value is 255, then 297 of clampers are clamped at 255 back outputs for the output valve with multiplier 280.
Output valve after clamper 297,298,299 minutes other output valve Rout, Gout, Bout are then representing pixel R, G, B value Rin, Gin, Bin through high luminance color caidiao opera calibration device 200 brightness adjustings.
Please refer to Fig. 3, Fig. 3 is the of all kinds comparison diagram that tie up to row coordinate of digitized video behind high brightness color (HBC) calibration apparatus brightness adjusting of preferred embodiment of the present invention.As shown in Figure 3, digitized video is not before making brightness adjusting through HBC, and its digitized video is limited in respectively about 200,175,100 in the intensity of the original redness (R) on the row coordinate, green (G) and blue (B).And when digitized video after HBC makes brightness adjusting, can find obviously that digitized video improves in the redness of row coordinate, green and blue intensity, and be up to respectively about 250,200,120.
Therefore, digitized video is after the present invention makes brightness adjusting, and the intensity of its each colour system all obviously improves, and also therefore, digitized video is when brightness adjusting, and except its brightness strengthened, the contrast between its each colour system also improved.
Comprehensively above-mentioned, the present invention proposes a kind of brightness adjusting method and device, and by with the tristimulus values of the pixel foundation as the brightness of adjustment digitized video, so that digitized video is when brightness is by adjustment, the contrast degree between its each colour system also improves.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (7)
1, a kind of brightness adjusting method is characterized in that, this method comprises:
Carry out brightness adjusting calculating, saturation adjustment calculating and relatively calculating respectively according to R, the G, the B value that constitute a pixel, to obtain one first yield value, one second yield value and one the 3rd yield value respectively;
Get luminance gain value to the end according to described first yield value, described second yield value and described the 3rd yield value; And
Adjust R, G, the B value of described pixel according to described last luminance gain value.
2, brightness adjusting method according to claim 1 is characterized in that, further comprises:
Except that according to described first yield value, described second yield value and described the 3rd yield value,, obtain described last luminance gain value again according to a gain control value.
3, brightness adjusting method according to claim 1 is characterized in that, if the R of described pixel, G, B value represent with Rin, Gin, Bin, and described brightness adjusting calculate with Y (Rin, Gin, Bin) expression, then
Y(Rin,Gin,Bin)=C1×Rin+C2×Gin+C3×Bin
Wherein said C1, C2, C3 define voluntarily for the user.
4, brightness adjusting method according to claim 1 is characterized in that, described R, the G that finds out described pixel, the maximum in the B value of relatively being calculated as, if and the R of described pixel, G, B value are represented with Rin, Gin, Bin, then described relatively calculating used Cmax (Rin, Gin, Bin) expression.
5, a kind of brightness adjusting circuit is characterized in that, comprising:
One brightness adjusting counting circuit receives the tristimulus values of a pixel and output one first yield value after calculating simultaneously;
One saturation adjustment counting circuit receives the tristimulus values of described pixel and output one second yield value after calculating simultaneously;
One compares counting circuit, receives the tristimulus values of described pixel simultaneously and output one the 3rd yield value after calculating; And
One synthesizer receives tristimulus values and described first yield value, described second yield value and described the 3rd yield value of described pixel, to export behind the tristimulus values of adjusting described pixel according to described first, second and the 3rd yield value.
6, brightness adjusting circuit according to claim 5 is characterized in that, described synthesizer further comprises:
One first multiplier receives described first yield value, described second yield value and described the 3rd yield value simultaneously to export a last yield value;
One second multiplier receives the R value in the described pixel three primary colors simultaneously and receives described last yield value, to export one first output valve;
One the 3rd multiplier receives the G value in the described pixel three primary colors simultaneously and receives described last yield value, to export one second output valve; And
One the 4th multiplier, receive the B value in the described pixel three primary colors simultaneously and receive described last yield value, to export one the 3rd output valve, wherein said first output valve, described second output valve and described the 3rd output valve promptly constitute the pixel of described pixel after the adjustment of described brightness adjusting circuit.
7, brightness adjusting circuit according to claim 6 is characterized in that, further comprises:
One first clamper receives described first output valve and exports with clamp;
One second clamper receives described second output valve and exports with clamp; And
One the 3rd clamper receives described the 3rd output valve and exports with clamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100803088A CN100486341C (en) | 2004-09-28 | 2004-09-28 | Brightness adjusting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100803088A CN100486341C (en) | 2004-09-28 | 2004-09-28 | Brightness adjusting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1756376A CN1756376A (en) | 2006-04-05 |
CN100486341C true CN100486341C (en) | 2009-05-06 |
Family
ID=36689243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100803088A Expired - Lifetime CN100486341C (en) | 2004-09-28 | 2004-09-28 | Brightness adjusting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100486341C (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5563666A (en) * | 1994-04-18 | 1996-10-08 | U.S. Philips Corporation | High luminance color suppression circuit |
CN1210419A (en) * | 1997-07-23 | 1999-03-10 | 索尼公司 | Video signal processing circuit |
CN1291841A (en) * | 2000-12-07 | 2001-04-18 | 康佳集团股份有限公司 | Correction method for uniform bright field of CRT projection TV |
CN1291849A (en) * | 1999-10-08 | 2001-04-18 | 三星电子株式会社 | Method and device for producing white color component and controlling brightness in display original set |
JP2003163814A (en) * | 2001-11-27 | 2003-06-06 | Sharp Corp | Color adjustment apparatus |
CN1437395A (en) * | 2002-02-08 | 2003-08-20 | 三星电子株式会社 | Method and equipment for changing brightness of image |
CN1477880A (en) * | 2002-08-23 | 2004-02-25 | ���ǵ�����ʽ���� | Adaptive contrast and brightness enhancement with color preservation |
JP2004180090A (en) * | 2002-11-28 | 2004-06-24 | Mitsubishi Electric Corp | Video signal processing device |
CN1510929A (en) * | 2002-12-20 | 2004-07-07 | ���ǵ�����ʽ���� | Colour signal correcting unit and metod, image processing system therewith |
-
2004
- 2004-09-28 CN CNB2004100803088A patent/CN100486341C/en not_active Expired - Lifetime
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5563666A (en) * | 1994-04-18 | 1996-10-08 | U.S. Philips Corporation | High luminance color suppression circuit |
CN1210419A (en) * | 1997-07-23 | 1999-03-10 | 索尼公司 | Video signal processing circuit |
CN1291849A (en) * | 1999-10-08 | 2001-04-18 | 三星电子株式会社 | Method and device for producing white color component and controlling brightness in display original set |
CN1291841A (en) * | 2000-12-07 | 2001-04-18 | 康佳集团股份有限公司 | Correction method for uniform bright field of CRT projection TV |
JP2003163814A (en) * | 2001-11-27 | 2003-06-06 | Sharp Corp | Color adjustment apparatus |
CN1437395A (en) * | 2002-02-08 | 2003-08-20 | 三星电子株式会社 | Method and equipment for changing brightness of image |
CN1477880A (en) * | 2002-08-23 | 2004-02-25 | ���ǵ�����ʽ���� | Adaptive contrast and brightness enhancement with color preservation |
JP2004180090A (en) * | 2002-11-28 | 2004-06-24 | Mitsubishi Electric Corp | Video signal processing device |
CN1510929A (en) * | 2002-12-20 | 2004-07-07 | ���ǵ�����ʽ���� | Colour signal correcting unit and metod, image processing system therewith |
Also Published As
Publication number | Publication date |
---|---|
CN1756376A (en) | 2006-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8023014B2 (en) | Method and apparatus for compensating image sensor lens shading | |
CN101193314B (en) | Image processing device and method for image sensor | |
US7860307B2 (en) | Color matching method, and image capturing device and electronic apparatus using the same | |
CN101352049B (en) | Lens shading compensation apparatus and method, and image processor using the same | |
CN101242542B (en) | An image detection method and device | |
RU2013114372A (en) | AUTOMATIC PROCESSING OF WHITE BALANCE WITH FLEXIBLE SELECTION OF COLOR SPACE | |
US20120287286A1 (en) | Image processing device, image processing method, and program | |
US20090128670A1 (en) | Apparatus and method for compensating color, and image processor, digital processing apparatus, recording medium using it | |
CN111161188B (en) | Method for reducing image color noise, computer device and readable storage medium | |
CN106534821A (en) | Image processing device and auto white balancing method | |
CN101494795A (en) | Improved solid state image sensing device, method for arranging pixels and processing signals for the same | |
US7916790B2 (en) | Pixel compensation method for an image sensor | |
US7995120B2 (en) | Image brightness compensating apparatus and method, recorded medium recorded the program performing it | |
CN100469150C (en) | color independent management method and device | |
JPH0477179A (en) | Gradation correction device for video signal | |
CN106993175A (en) | Produce the method that the pixel used for realizing auto kine bias function computing screens scope | |
CN112422940A (en) | Self-adaptive color correction method | |
CN105430357A (en) | Demosaicing method and device for image sensor | |
TW499812B (en) | Method to determine the semi-S curve tone process of digital image | |
CN100486341C (en) | Brightness adjusting method and device | |
CN103259960B (en) | The interpolation method of data and device, image output method and device | |
CN106846234B (en) | Image video enhancement method, system and equipment based on FPGA | |
CN100504440C (en) | Tone Adjustment Method Based on Image Overlapping Area in Remote Sensing Image Mosaic | |
TWI364994B (en) | Image processing method | |
CN102244713B (en) | Image processing device and method |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200414 Address after: No.1, Duhang 1st Road, Hsinchu City, Hsinchu Science Park, Taiwan, China Patentee after: MEDIATEK Inc. Address before: Hsinchu County, Taiwan, China Patentee before: MSTAR SEMICONDUCTOR Inc. |
|
TR01 | Transfer of patent right | ||
CX01 | Expiry of patent term |
Granted publication date: 20090506 |
|
CX01 | Expiry of patent term |