CN106034231A - Adjusting method and system for image color saturation - Google Patents

Adjusting method and system for image color saturation Download PDF

Info

Publication number
CN106034231A
CN106034231A CN201510106360.4A CN201510106360A CN106034231A CN 106034231 A CN106034231 A CN 106034231A CN 201510106360 A CN201510106360 A CN 201510106360A CN 106034231 A CN106034231 A CN 106034231A
Authority
CN
China
Prior art keywords
saturation
pixel
adjusted
gain
local
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
Application number
CN201510106360.4A
Other languages
Chinese (zh)
Other versions
CN106034231B (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.)
SHANGHAI FULHAN MICROELECTRONICS Co Ltd
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
SHANGHAI FULHAN MICROELECTRONICS Co Ltd
Hangzhou Hikvision Digital 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 SHANGHAI FULHAN MICROELECTRONICS Co Ltd, Hangzhou Hikvision Digital Technology Co Ltd filed Critical SHANGHAI FULHAN MICROELECTRONICS Co Ltd
Priority to CN201510106360.4A priority Critical patent/CN106034231B/en
Publication of CN106034231A publication Critical patent/CN106034231A/en
Application granted granted Critical
Publication of CN106034231B publication Critical patent/CN106034231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention, which relates to the image processing technology, discloses an adjusting method and system for image color saturation. The saturation of a pixel point in a to-be-adjusted hue region is adjusted, thereby increasing or weakening the local color saturation and thus meeting different application and user requirements; and saturation adjustment is carried out by using a preset gain curve, so that the smooth saturation transition is realized and thus the good image effect is guaranteed. In addition, before adjustment based on a local saturation gain, saturation shrinkage processing is carried out on all pixel points, thereby effectively eliminating the low-saturation chrominance noises and a slight color cast in a black-white region.

Description

The method of adjustment of color saturation of image and system thereof
Technical field
The present invention relates to image processing techniques, particularly to the method for adjustment of color saturation of image and be System.
Background technology
In camera system, in addition to digital camera that minority is special can use full color filtered sensor, Most of CCD (Charge Coupled Device, " Charge Coupled Device (CCD) ") or CMOS (Complementary Metal-Oxide Semiconductor, " complementary metal oxide is partly led Body ") imageing sensor, for Simplified flowsheet, reduces cost, all uses color filter array (Color Filter Array, CFA).The video image that imageing sensor gathers, the most all can be through white balance school Just, demosaicing, colour correction etc. processes, with the color video frequency image normally shown.By upper The usual color of video image stating process is the most bright-coloured, needs to do saturation further and adjusts.The present invention's Inventor finds, inevitably introduces noise, after noise reduction process, in Lycoperdon polymorphum Vitt in video acquisition Region (when especially brightness is relatively low) is easily generated the colourity low-frequency noise of low saturation;Image white balance processes After under some colour temperature and scene, it is also possible to the slight colour cast in black and white region occurs;Demosaicing processes Also the false color phenomenon of low saturation is there will be at image border.If directly image to be carried out the increasing of saturation Strength is managed, and while strengthening image color vividness, also can strengthen above-mentioned phenomenon, directly affect image Subjective effect.Therefore, in order to preferably the video image of camera system collection is carried out saturation Adjustment process, to obtain bright coloured image, need badly a kind of color saturation adjust method and System.
Summary of the invention
It is an object of the invention to provide method of adjustment and the system thereof of a kind of color saturation of image, permissible Meet different application and user's request, and saturation seamlessly transits, it is ensured that preferably image effect.
For solving above-mentioned technical problem, embodiments of the present invention disclose a kind of color saturation of image Method of adjustment, method comprises the following steps:
Tone according to each pixel judges whether pixel is in hue regions to be adjusted;
If pixel is in hue regions to be adjusted, obtain and pixel according to default gain curve The local saturation gain that tone is corresponding, the gain curve wherein preset represents hue regions to be adjusted Middle tone and the relation of local saturation gain;
The saturation of pixel is adjusted by the local saturation gain according to obtaining.
Embodiments of the present invention also disclose the adjustment system of a kind of color saturation of image, system bag Include:
First judging unit, to be adjusted for judging whether pixel is according to the tone of each pixel Hue regions;
For the first judging unit, acquiring unit, if confirming that pixel is in hue regions to be adjusted, root Obtain the local saturation gain corresponding with the tone of pixel according to default gain curve, wherein preset Gain curve represent the relation of tone and local saturation gain in hue regions to be adjusted;And
Local saturation adjustment unit, is used for the local saturation gain according to acquiring unit acquisition to pixel The saturation of point is adjusted.
Compared with prior art, the main distinction and effect thereof are embodiment of the present invention:
In the present invention, the saturation of the pixel being in hue regions to be adjusted is adjusted, Can strengthen or weaken local color saturation, to meet different application and user's request, and use The gain curve preset carries out saturation adjustment, so that saturation seamlessly transits, to ensure preferably Image effect.
Further, before being adjusted according to local saturation gain, each pixel is carried out saturation Shrink process, effectively to eliminate chrominance noise and the slight colour cast in black and white region of low saturation.
Further, after each pixel is carried out saturation shrink process, first each pixel is carried out the overall situation After saturation processes, carry out local saturation process further according to needs, it is possible to obtain more preferably image effect.
Further, corresponding to different application and user's request to being in multiple discontinuous hue regions Pixel carry out saturation adjustment, it is possible to obtain preferably image effect.
Further, the local saturation gain at described default gain curve two ends is set to 1, can So that the saturation of adjusted each pixel is smoothed with the saturation of unjustified each pixel Cross, to obtain preferable image effect.
Further, the symmetrical region centered by the first tone is set and carries out local saturation adjustment, with Ensure the seriality that local saturation adjusts.
Accompanying drawing explanation
Fig. 1 is that in first embodiment of the invention, the flow process of the method for adjustment of a kind of color saturation of image is shown It is intended to;
Fig. 2 is that in second embodiment of the invention, the flow process of the method for adjustment of a kind of color saturation of image is shown It is intended to;
Fig. 3 is the schematic diagram that in second embodiment of the invention, a kind of color saturation adjusts structure;
Fig. 4 is UV space schematic diagram in second embodiment of the invention;
Fig. 5 A is the curve representing tone and local saturation gain relationship in second embodiment of the invention Figure;
Fig. 5 B is UV space schematic diagram in second embodiment of the invention;
Fig. 6 is that the local saturation in two regions in second embodiment of the invention adjusts schematic diagram;
Fig. 7 is that in second embodiment of the invention, the flow process of the method for adjustment of a kind of color saturation of image is shown It is intended to;
Fig. 8 is that the structure of the adjustment system of a kind of color saturation of image in third embodiment of the invention is shown It is intended to;
Fig. 9 is that the structure of the adjustment system of a kind of color saturation of image in four embodiment of the invention is shown It is intended to.
Detailed description of the invention
In the following description, many technology are proposed in order to make reader be more fully understood that the application thin Joint.But, even if it will be understood by those skilled in the art that do not have these ins and outs and based on The many variations of following embodiment and amendment, it is also possible to realize the required guarantor of each claim of the application The technical scheme protected.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this Bright embodiment is described in further detail.
First embodiment of the invention relates to the method for adjustment of a kind of color saturation of image.Fig. 1 is this figure Schematic flow sheet as the method for adjustment of color saturation.As it is shown in figure 1, this color saturation of image Method of adjustment comprises the following steps:
In a step 101, judge whether pixel is in color to be adjusted according to the tone of each pixel Adjust region.If pixel is in hue regions to be adjusted, then enters step 102, otherwise terminate this stream Journey.It is appreciated that hue regions to be adjusted is for local hue regions.
In a step 102, the local corresponding with the tone of pixel is obtained according to default gain curve Saturation gain, the gain curve wherein preset represents that in hue regions to be adjusted, tone is with the most saturated The relation of degree gain.
It is appreciated that in various embodiments of the present invention, color to be adjusted can be arranged as required to Adjust region and gain curve.
Such as, the gain curve preset can be the curve of elliptic curve, hyperbola or arbitrary shape, only The saturation enabling each pixel seamlessly transits.Preferably, by default gain curve two ends Local saturation gain be set to 1.The local saturation gain at default gain curve two ends is arranged It is 1, can be further such that the saturation of adjusted each pixel and unjustified each pixel Saturation seamlessly transits, to obtain preferable image effect.
Furthermore, it is to be understood that in other embodiments of the present invention, it is also possible to by gain curve two ends Saturation gain be disposed proximate to 1 value, preferable image effect can be obtained equally.
As optional embodiment, above-mentioned hue regions to be adjusted can include multiple discontinuous tone Region, each hue regions is corresponding to a gain curve.Gain curve corresponding to each hue regions Can be identical, it is also possible to differ.Multiple discontinuous to being in corresponding to different application and user's request Pixel in hue regions carries out saturation adjustment, it is possible to obtain preferably image effect.Such as, may be used To arrange multiple corresponding to some image model (pattern of missing old times or old friends, simple and elegant pattern and white-black pattern etc.) Hue regions is adjusted, or is selected multiple hue regions to be adjusted by user.
Furthermore, it is to be understood that in some instances, it is also possible to the most only to being in single tone zone Pixel in territory carries out saturation adjustment.
As another optional embodiment, hue regions to be adjusted can be centered by the first tone Symmetrical region.Preferably, the gain curve preset is the most correspondingly with the office corresponding with this first tone Symmetrical curve centered by portion's saturation gain.To being in the symmetrical region centered by the first tone Pixel carries out local saturation adjustment rather than the pixel with this first tone only carries out local Saturation adjusts, it is ensured that the seriality of local saturation adjustment and flatness.
Furthermore, it is to be understood that in other embodiments of the present invention, hue regions to be adjusted also may be used To be non-symmetrical region, it is configured according to actual needs.
Then into step 103, the saturation of pixel is carried out by the local saturation gain according to obtaining Adjust.
Hereafter process ends.
In a preference, above-mentioned image is YUV image.Then in image, Y-component represents monochrome information, U V component represent chroma component information.As shown in Figure 4, can be entered by chroma component information U and V One step is calculated tone θ and saturation R of the color of any pixel A.
Saturation in the method for present embodiment, to the pixel being in hue regions to be adjusted It is adjusted, can strengthen or weaken local color saturation, to meet different application and user's request, And use the gain curve preset to carry out saturation adjustment, so that saturation seamlessly transits, with Ensure preferable image effect.
Second embodiment of the invention relates to the method for adjustment of a kind of color saturation of image.Fig. 3 is this figure Schematic flow sheet as the method for adjustment of color saturation.
Second embodiment is improved on the basis of the first embodiment, and main improvements exist In: before being adjusted according to local saturation gain, each pixel is carried out saturation shrink process, Effectively to eliminate chrominance noise and the slight colour cast in black and white region of low saturation.Specifically:
As in figure 2 it is shown, further comprising the steps of before step 101:
In step 201, it is judged that whether the saturation of each pixel is more than a predetermined threshold value.If pixel The saturation of point more than predetermined threshold value, then enters step 202;If the saturation of pixel is less than presetting threshold Value, then enter step 203.It is appreciated that this predetermined threshold value is rule of thumb configured.
In step 202., the saturation of pixel is deducted predetermined threshold value to satisfy as the first of pixel And degree.
In step 203, using zero as the first saturation of pixel.
The most in step 103, according to the local saturation gain obtained, the first saturation of pixel is entered Row sum-equal matrix.
Preferably, after each pixel is carried out saturation shrink process, first each pixel is carried out the overall situation full After processing with degree, carry out local saturation process further according to needs, it is possible to obtain more preferably image effect. Specifically:
Before step 101, after step 201-203 sets up the first saturation of each pixel, Further comprising the steps of:
First saturation of each pixel is adjusted, to obtain according to default overall saturation gain Second saturation of each pixel.
The most in step 103, according to the local saturation gain obtained, the second saturation of pixel is entered Row sum-equal matrix.
By upper it will be seen that use said method that color saturation of image can be adjusted flexibly make image color Bright-coloured, reach preferable subjective effect.Hereinafter will be right as a example by YUV image and elliptic curve further Said method is described in detail.
Fig. 3 show preferred color saturation adjust structure, it include 301 image input modules, 302 Saturation shrinks (Shrink) module, 303 overall situation saturation adjusting modules, 304 local saturation tune Mould preparation block and 305 image output module.
The image of input is generally gathered by camera system or other image capturing systems, through white balance Correction, demosaicing process, the YUV image after the process such as image color correction, colour space transformation. In YUV image, Y-component represents the monochrome information of piece image, U V component represent the chromatic component of image Information.The color of the color of any pixel A wherein can be calculated further by chroma component information Adjust (θ) and saturation (R), as Fig. 4 U shown in V floor map.Point A is to initial point O line and V Azimuth θ of axle represents the tone of this color;The distance of some A to initial point O represents that the color of this point is satisfied With degree R.Then seen by the calculating of saturation R of each pixel in the image of 301 image input module inputs Shown in formula (1).
R = U 2 + V 2 - - - ( 1 )
By the contraction of saturation, can effectively eliminate the chrominance noise of low saturation and the light of black and white region Micro-colour cast.Exterior arrangement needs level of saturation r1 (i.e. predetermined threshold value) of suppression, then 302 saturation Shrink module output RoutFormula (2) is shown in the calculating of (the i.e. first saturation).
R out = R in - r 1 R in &GreaterEqual; r 1 0 R in < r 1 - - - ( 2 )
The image generally overall situation saturation gathered due to camera system is relatively low, and color is the most bright-coloured, or logical Cross color supersaturation after colour correction.Accordingly, it would be desirable to the color saturation of the overall situation adjusts.The overall situation is saturated Degree adjusts the process being by gain control on actually.Set the overall saturation gain gain needing to adjust. Then the saturation computation after 303 overall situation saturation adjusting module outputs is shown in formula (3).Wherein R'outBe equivalent to Second saturation.
R'out=Rin'*gain(3)
Saturation for the overall situation adjusts, and can obtain the image that overall situation color is the most bright-coloured, but for not Same application and the different subjective demands of terminal use, have some color color saturation of local directed complete set Needs, be at this time accomplished by carrying out local saturation adjustment.As shown in Figure 5A, with elliptic curve (i.e. The gain curve preset) carry out the relation of matching tone θ and local saturation gain g.First needs are determined The color adjusted, and tone θ0Corresponding saturation gain g0.In order to ensure what local saturation adjusted Seriality, it must be determined that one with tone θ0Centered by symmetrical region (OBAC as shown in Figure 5A, ToneAnd toneAnd toneThe saturation at place is g1), so that saturated Degree seamlessly transits, and the adjustment that the most just can make local saturation is the loftiest, it is ensured that preferably image Subjective effect.Being appreciated that in other embodiments of the invention, region OBAC can also be non-right Claim region.
Its central point of ellipse as shown in Figure 5A is at initial point.Therefore its rectangular coordinate system general equation expression formula, See formula (4).
d×x2+e×x*y+f×y2=1 (4)
Due to parameterBy exterior arrangement, therefore, the A (x on ellipsea,ya),B(xb,yb),C(xc,yc) The coordinate of point knows, formula (5) is shown in its calculating.
x b = g 1 &times; cos ( &theta; 0 + &PartialD; )
y b = g 1 &times; sin ( &theta; 0 + &PartialD; )
xa=g0×cos(θ0)
ya=g0×sin(θ0)
x c = g 1 &times; cos ( &theta; 0 + &PartialD; )
y c = g 1 &times; sin ( &theta; 0 + &PartialD; ) - - - ( 5 )
So, elliptic parameter d, e, f can be obtained by the ternary linear function group shown in solution formula (6).
d &times; x a 2 + e &times; x a * y a + f &times; y a 2 = 1 d &times; x b 2 + e &times; x b * y b + f &times; y b 2 = 1 d &times; x c 2 + e &times; x c * y c + f &times; y c 2 = 1 - - - ( 6 )
For D (v in arbitrfary point in Fig. 5 Bd,ud), need to calculate its gain gd.Chromatic component by D point Information ud,vd, this tone θ can be calculateddSine, cosine value, see shown in formula (7).
cos ( &theta; d ) = v d u d 2 + v d 2
sin ( &theta; d ) = u d u d 2 + v d 2 - - - ( 7 )
Additionally tone θdCorresponding gain gdNeed to meet elliptic equation, such as formula (8).
d &times; x d 2 + e &times; x d &times; y d + f &times; y d = 1 x d = g d &times; cos ( &theta; d ) y d = g d &times; sin ( &theta; d ) - - - ( 8 )
Connection solution formula (7-8) can be calculated Fig. 5 B arbitrfary point D (vd,ud) gain gd, see formula (9) Shown in.
g d = 1 | d &times; cos 2 ( &theta; d ) + e &times; cos ( &theta; d ) &times; sin ( &theta; d ) + f &times; sin 2 ( &theta; d ) | &theta; d &Element; [ &theta; 0 - &PartialD; , &theta; 0 + &PartialD; ] 1 &theta; d &NotElement; [ &theta; 0 - &PartialD; , &theta; 0 + &PartialD; ] - - - ( 9 )
Obtain gd, D (v can be calculated furtherd,ud) local saturation put adjusts output valve, sees public affairs Formula (10).
R"out=gd×R"in (10)
Such that it is able to be calculated (the v' after saturation correctiond,u'd), see formula (11).
u'd=R "out×sin(θd) (11)
vd=R "out×cos(θd)
Local saturation adjust can also realize two regions (OBAC and OEDF as shown in Figure 6) or The local saturation of more multizone adjusts function.As shown in Figure 6, it is provided that the local saturation in two regions Adjust.By arranging parameterImage can be adjusted by 304 local saturation adjusting modules ToneThe local color saturation in region 1.By arranging parameterCan To be adjusted picture tone by 304 local saturation adjusting modulesThe local color in region 2 Color saturation.
305 image output module export the YUV image after saturations adjust or through YUV to RGB The RGB image of color space conversion, stores or image for follow-up further image procossing or image Display.
Above-mentioned each module can carry out color saturation adjustment to image as shown in Figure 7.
Step 701 is performed by image input module.The image of input is that camera system gathers, Jing Guobai Balance correction, demosaicing process, the YUV after the process such as image color correction, colour space transformation Image.It is appreciated that in other embodiments of the invention, it is also possible to the image of extended formatting is carried out Saturation adjusts.
Step 702 is shunk module by saturation and is performed.Exterior arrangement needs low saturation rank r1 of suppression, By the shrink process of saturation, low saturated with realize that suppression produces during image variants The chrominance noise of degree or the slight colour cast in black and white region.
Step 703 is performed by overall situation saturation adjusting module.By global gain gain of exterior arrangement, Realize the gain control of YUV image color saturation, arrive intended colour vividness.
Step 704 is performed by local saturation adjusting module.By configuringRealize single district The local saturation adjustment in territory processes, to obtain more preferable color subjective effect.It is appreciated that at this In other bright embodiments, it is also possible to the local saturation adjustment realizing multizone processes.
Step 705 is performed by image output module.By saturation adjust after YUV image export to after Continuous image processing module carries out associated picture process.
Therefore, said method uses saturation step by step to adjust, and satisfies to reach image color is adjusted flexibly Purpose with degree.By image saturation shrink process, suppression colourity low-frequency noise and gray area light Micro-colour cast;Processed by overall situation saturation adjustment so that image color is bright-coloured;By subregional local Saturation adjustment processes, and strengthens or weaken local color saturation, meets no application, and different The subjective demand of terminal use.
It is appreciated that the preference that these are only the present invention, can add according to actual needs or delete Except module therein or step and correspondingly revise configuration therein.Such as, the image of extended formatting is entered When row color saturation adjusts, then use the relevant parameter under this picture format to process, or use Other gain curves such as hyperbola carries out saturation adjustment etc..
The each method embodiment of the present invention all can realize in modes such as software, hardware, firmwares.No matter The present invention is to realize with software, hardware or firmware mode, and instruction code may be stored in any class In the addressable memorizer of computer of type (the most permanent or revisable, volatibility or non- Volatibility, solid-state or non-solid, fixing or removable medium etc.).Equally, Memorizer can e.g. programmable logic array (Programmable Array Logic, be called for short " PAL "), random access memory (Random Access Memory, be called for short " RAM "), Programmable read only memory (Programmable Read Only Memory is called for short " PROM "), Read only memory (Read-Only Memory is called for short " ROM "), electrically erasable are read-only Memorizer (Electrically Erasable Programmable ROM is called for short " EEPROM "), Disk, CD, digital versatile disc (Digital Versatile Disc is called for short " DVD ") etc..
Third embodiment of the invention relates to the adjustment system of a kind of color saturation of image.Fig. 8 is this figure Structural representation as the adjustment system of color saturation.As shown in Figure 8, this color saturation of image Adjustment system includes:
First judging unit, to be adjusted for judging whether pixel is according to the tone of each pixel Hue regions.It is appreciated that hue regions to be adjusted is for local hue regions.
For the first judging unit, acquiring unit, if confirming that pixel is in hue regions to be adjusted, root Obtain the local saturation gain corresponding with the tone of pixel according to default gain curve, wherein preset Gain curve represent the relation of tone and local saturation gain in hue regions to be adjusted.And
Local saturation adjustment unit, is used for the local saturation gain according to acquiring unit acquisition to pixel The saturation of point is adjusted.
It is appreciated that in various embodiments of the present invention, color to be adjusted can be arranged as required to Adjust region and gain curve.
Such as, the gain curve preset can be the curve of elliptic curve, hyperbola or arbitrary shape, only The saturation enabling each pixel seamlessly transits.Preferably, by default gain curve two ends Local saturation gain be set to 1.It is 1 by the local saturation gain at default gain curve two ends, Can be further such that the saturation of saturation and unjustified each pixel of adjusted each pixel Seamlessly transit, to obtain preferable image effect.
Furthermore, it is to be understood that in other embodiments of the present invention, it is also possible to by gain curve two ends Saturation gain be disposed proximate to 1 value, preferable image effect can be obtained equally.
As optional embodiment, above-mentioned hue regions to be adjusted includes multiple discontinuous tone zone Territory, each hue regions is corresponding to a gain curve.Gain curve corresponding to each hue regions can With identical, it is also possible to differ.Corresponding to different application and user's request to being in multiple discontinuous color The pixel in region is adjusted to carry out saturation adjustment, it is possible to obtain preferably image effect.For example, it is possible to Corresponding to some image model (pattern of missing old times or old friends, simple and elegant pattern and white-black pattern etc.), multiple color is set Tune region is adjusted, or is selected multiple hue regions to be adjusted by user.
Furthermore, it is to be understood that in some instances, it is also possible to the most only to being in single tone zone Pixel in territory carries out saturation adjustment.
As another optional embodiment, hue regions to be adjusted can be centered by the first tone Symmetrical region.Preferably, the gain curve preset is the most correspondingly with the local corresponding with the first tone Symmetrical curve centered by saturation gain.To the picture being in the symmetrical region centered by the first tone Vegetarian refreshments carries out local saturation adjustment rather than only carries out the pixel with this first tone the fullest Adjust with degree, it is ensured that the seriality of local saturation adjustment and flatness.
Furthermore, it is to be understood that in other embodiments of the present invention, hue regions to be adjusted also may be used To be non-symmetrical region, it is configured according to actual needs.
In the system of present embodiment, local saturation adjustment unit is to being in hue regions to be adjusted In the saturation of pixel be adjusted, can strengthen or weaken local color saturation, to meet not Same application and user's request, and use the gain curve preset to carry out saturation adjustment, can make Obtain the smooth filtration of saturation, to ensure preferable image effect.
In a preference, above-mentioned image is YUV image.Then in image, Y-component represents monochrome information, U V component represent chroma component information.As shown in Figure 4, can be entered by chroma component information U and V One step is calculated tone θ and saturation R of the color of any pixel A.
First embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be with First embodiment is worked in coordination enforcement.The relevant technical details mentioned in first embodiment is in this enforcement In mode still effectively, in order to reduce repetition, repeat no more here.Correspondingly, present embodiment carries To relevant technical details be also applicable in the first embodiment.
Four embodiment of the invention relates to the adjustment system of a kind of color saturation of image.Fig. 9 is this figure Structural representation as the adjustment system of color saturation.
4th embodiment is improved on the basis of the 3rd embodiment, and main improvements exist In: before being adjusted according to local saturation gain, each pixel is carried out saturation shrink process, Effectively to eliminate chrominance noise and the slight colour cast in black and white region of low saturation.Specifically:
As it is shown in figure 9, said system also includes:
Second judging unit, for judging that whether the saturation of each pixel is more than a predetermined threshold value.
First saturation shrinks unit, if confirming that the saturation of pixel is more than pre-for the second judging unit If threshold value, the saturation of pixel is deducted predetermined threshold value using the first saturation as pixel.And
Second saturation shrinks unit, if confirming that the saturation of pixel is less than pre-for the second judging unit If threshold value, using zero as the first saturation of pixel.
The most above-mentioned local saturation adjustment unit is for the local saturation gain obtained according to acquiring unit First saturation of pixel is adjusted.
Preferably, after each pixel is carried out saturation shrink process, first each pixel is carried out the overall situation full After processing with degree, carry out local saturation process further according to needs, it is possible to obtain more preferably image effect. Specifically:
Said system also includes overall situation saturation adjustment unit, for according to the overall saturation gain preset First saturation of each pixel is adjusted, to obtain the second saturation of each pixel.
The most above-mentioned local saturation adjustment unit is used for according to the local saturation gain obtained pixel The second saturation be adjusted.
Second embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be with Second embodiment is worked in coordination enforcement.The relevant technical details mentioned in second embodiment is in this enforcement In mode still effectively, in order to reduce repetition, repeat no more here.Correspondingly, present embodiment carries To relevant technical details be also applicable in the second embodiment.
To sum up, present invention achieves a kind of color saturation of image method of adjustment and system.Use the present invention Method adjusted by saturation step by step, can reach to be adjusted flexibly the purpose of color saturation of image. The chrominance noise of the low saturation caused during simultaneously can suppressing image variants or black and white district The slight colour cast in territory, it is thus achieved that better image subjective effect.
It should be noted that each unit or the module mentioned in the present invention each equipment embodiment are all logics Unit or module, physically, a logical block or module can be a physical location or module, Can also be a physical location or a part for module, it is also possible to multiple physical locations or the group of module Closing and realize, the Physical realization of these logical blocks or module itself is not most important, and these are patrolled The combination of the function that volume unit or module are realized is only the pass solving technical problem proposed by the invention Key.Additionally, for the innovative part highlighting the present invention, the above-mentioned each equipment embodiment of the present invention is not The unit the closest with solving technical problem relation proposed by the invention or module being introduced, this is not Show that the said equipment embodiment does not exist other unit or module.
It should be noted that in the claim and description of this patent, such as the first and second grades it The relational terms of class is used merely to separate an entity or operation with another entity or operating space, And not necessarily require or imply and there is the relation of any this reality or suitable between these entities or operation Sequence.And, term " includes ", " comprising " or its any other variant are intended to nonexcludability Comprise, so that include that the process of a series of key element, method, article or equipment not only include that A little key elements, but also include other key elements being not expressly set out, or also include for this process, The key element that method, article or equipment are intrinsic.In the case of there is no more restriction, by statement " bag Include one " key element that limits, it is not excluded that including the process of described key element, method, article or setting Other identical element is there is also in Bei.
Although by referring to some of the preferred embodiment of the invention, the present invention has been shown and Describe, but it will be understood by those skilled in the art that and can in the form and details it be made respectively Plant and change, without departing from the spirit and scope of the present invention.

Claims (10)

1. the method for adjustment of a color saturation of image, it is characterised in that described method includes following Step:
Tone according to each pixel judges whether described pixel is in hue regions to be adjusted;
If described pixel is in hue regions to be adjusted, obtain with described according to default gain curve The local saturation gain that the tone of pixel is corresponding, wherein said default gain curve represents described Tone and the relation of local saturation gain in hue regions to be adjusted;
The saturation of described pixel is adjusted by the local saturation gain according to obtaining.
The method of adjustment of color saturation of image the most according to claim 1, it is characterised in that Described " judging whether described pixel is in hue regions to be adjusted according to the tone of each pixel " Step before further comprising the steps of:
Judge that whether the saturation of each pixel is more than a predetermined threshold value;
If the saturation of described pixel is more than described predetermined threshold value, the saturation of described pixel is deducted Described predetermined threshold value is using the first saturation as described pixel;
If the saturation of described pixel is less than described predetermined threshold value, using zero as the first of described pixel Saturation;
Described " saturation of described pixel is adjusted by the local saturation gain according to obtaining " In step, the first saturation of described pixel is adjusted by the local saturation gain according to obtaining.
The method of adjustment of color saturation of image the most according to claim 2, it is characterised in that Described " judging whether described pixel is in hue regions to be adjusted according to the tone of each pixel " Step before, after the step of described " judging that the saturation of each pixel is whether more than a predetermined threshold value ", Further comprising the steps of:
First saturation of each pixel is adjusted, to obtain according to default overall saturation gain Second saturation of each pixel;
Described " saturation of described pixel is adjusted by the local saturation gain according to obtaining " In step, the second saturation of described pixel is adjusted by the local saturation gain according to obtaining.
The method of adjustment of color saturation of image the most according to any one of claim 1 to 3, It is characterized in that, described hue regions to be adjusted includes multiple discontinuous hue regions, each tone Region is corresponding to a gain curve.
The method of adjustment of color saturation of image the most according to any one of claim 1 to 3, It is characterized in that, the local saturation gain at described default gain curve two ends is set to 1.
The method of adjustment of color saturation of image the most according to any one of claim 1 to 3, It is characterized in that, described hue regions to be adjusted is the symmetrical region centered by the first tone, described The gain curve preset is right centered by the local saturation gain corresponding with described first tone Claim curve.
7. the adjustment system of a color saturation of image, it is characterised in that described system includes:
First judging unit, treats for judging whether described pixel is according to the tone of each pixel The hue regions adjusted;
For described first judging unit, acquiring unit, if confirming that described pixel is in tone to be adjusted Region, obtains the local saturation corresponding with the tone of described pixel according to default gain curve and increases Benefit, wherein said default gain curve represents that in described hue regions to be adjusted, tone is saturated with local The relation of degree gain;And
Local saturation adjustment unit, for the local saturation gain pair obtained according to described acquiring unit The saturation of described pixel is adjusted.
The adjustment system of color saturation of image the most according to claim 7, it is characterised in that Described system also includes:
Second judging unit, for judging that whether the saturation of each pixel is more than a predetermined threshold value;
First saturation shrinks unit, if confirming the saturated of described pixel for described second judging unit The saturation of described pixel, more than described predetermined threshold value, is deducted described predetermined threshold value using as described by degree First saturation of pixel;And
Second saturation shrinks unit, if confirming the saturated of described pixel for described second judging unit Degree is less than described predetermined threshold value, using zero as the first saturation of described pixel;
Described local saturation adjustment unit increases for the local saturation obtained according to described acquiring unit First saturation of described pixel is adjusted by benefit.
The adjustment system of color saturation of image the most according to claim 8, it is characterised in that Described system also includes overall situation saturation adjustment unit, is used for according to the overall saturation gain preset respectively First saturation of pixel is adjusted, to obtain the second saturation of each pixel;
Described local saturation adjustment unit is used for according to the local saturation gain obtained described pixel Second saturation of point is adjusted.
10. according to the adjustment system of the color saturation of image according to any one of claim 7 to 9, It is characterized in that, described hue regions to be adjusted includes multiple discontinuous hue regions, each tone Region is corresponding to a gain curve;
The local saturation gain at described default gain curve two ends is set to 1;
Described hue regions to be adjusted is the symmetrical region centered by the first tone, described default increasing Benefit curve is the symmetrical curve centered by the local saturation gain corresponding with described first tone.
CN201510106360.4A 2015-03-11 2015-03-11 The method of adjustment and its system of color saturation of image Active CN106034231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510106360.4A CN106034231B (en) 2015-03-11 2015-03-11 The method of adjustment and its system of color saturation of image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510106360.4A CN106034231B (en) 2015-03-11 2015-03-11 The method of adjustment and its system of color saturation of image

Publications (2)

Publication Number Publication Date
CN106034231A true CN106034231A (en) 2016-10-19
CN106034231B CN106034231B (en) 2018-02-09

Family

ID=57149778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510106360.4A Active CN106034231B (en) 2015-03-11 2015-03-11 The method of adjustment and its system of color saturation of image

Country Status (1)

Country Link
CN (1) CN106034231B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686374A (en) * 2016-12-08 2017-05-17 广州视源电子科技股份有限公司 Method, system and device for detecting color saturation of screens
CN110248170A (en) * 2018-03-09 2019-09-17 华为技术有限公司 Image color method of adjustment and device
CN110855970A (en) * 2019-11-27 2020-02-28 上海富瀚微电子股份有限公司 Image saturation processing method and device
WO2020118925A1 (en) * 2018-12-11 2020-06-18 惠科股份有限公司 Driving method and driving system for display module, and display apparatus
CN112581390A (en) * 2020-12-11 2021-03-30 深圳开立生物医疗科技股份有限公司 Image color enhancement method, device, equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040041951A1 (en) * 2002-08-23 2004-03-04 Samsung Electronics Co., Ltd. Method for color saturation adjustment with saturation limitation
CN101072363A (en) * 2006-05-10 2007-11-14 广达电脑股份有限公司 Image processing device and method
CN101141653A (en) * 2006-09-05 2008-03-12 帆宣系统科技股份有限公司 Image regulation device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040041951A1 (en) * 2002-08-23 2004-03-04 Samsung Electronics Co., Ltd. Method for color saturation adjustment with saturation limitation
CN101072363A (en) * 2006-05-10 2007-11-14 广达电脑股份有限公司 Image processing device and method
CN101141653A (en) * 2006-09-05 2008-03-12 帆宣系统科技股份有限公司 Image regulation device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686374A (en) * 2016-12-08 2017-05-17 广州视源电子科技股份有限公司 Method, system and device for detecting color saturation of screens
CN106686374B (en) * 2016-12-08 2018-09-25 广州视源电子科技股份有限公司 Detection method, system and the device of screen color saturation degree
CN110248170A (en) * 2018-03-09 2019-09-17 华为技术有限公司 Image color method of adjustment and device
CN110248170B (en) * 2018-03-09 2022-04-05 华为技术有限公司 Image color adjusting method and device
WO2020118925A1 (en) * 2018-12-11 2020-06-18 惠科股份有限公司 Driving method and driving system for display module, and display apparatus
US11475854B2 (en) 2018-12-11 2022-10-18 HKC Corporation Limited Driving method of display module, driving system thereof, and display device
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
CN112581390A (en) * 2020-12-11 2021-03-30 深圳开立生物医疗科技股份有限公司 Image color enhancement method, device, equipment and readable storage medium
CN112581390B (en) * 2020-12-11 2024-03-19 深圳开立生物医疗科技股份有限公司 Image color enhancement method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN106034231B (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN106034231A (en) Adjusting method and system for image color saturation
CN104079908B (en) Infrared with visible image signal processing method and implement device thereof
CN1812592B (en) Method and apparatus for processing image data of a color filter array
US7376288B2 (en) Edge adaptive demosaic system and method
US8120665B2 (en) Image processing method and apparatus, digital camera, and recording medium recording image processing program
US8311355B2 (en) Skin tone aware color boost for cameras
US8605164B2 (en) Image processing apparatus, control method therefor, and storage medium
EP1580982A2 (en) Image data processing in color spaces
JP4861667B2 (en) Image processing apparatus and image processing method
US8724894B1 (en) Colorization of digital imagery
CN103905802B (en) A kind of demosaicing methods based on P pattern colour filter array and device
CN104539919B (en) Demosaicing method and device of image sensor
CN103327220B (en) With green channel for the denoising method guided on low-light (level) Bayer image
US7333678B1 (en) Edge adaptive demosaic system and method
CN113168669B (en) Image processing method, device, electronic equipment and readable storage medium
CN111161188B (en) Method for reducing image color noise, computer device and readable storage medium
CN104471929B (en) Color image sensor and camera head
JP2015103906A (en) Image processing device, imaging system, image processing method, and program
CN108122201A (en) A kind of Bayer interpolation slide fastener effect minimizing technology
CN102790885A (en) Image processing apparatus and image processing method, learning apparatus and learning method, program, and recording medium
US8471933B2 (en) Image processing apparatus, image processing method and computer program
CN105578081A (en) Imaging method, image sensor, imaging device and electronic device
CN105430357A (en) Demosaicing method and device for image sensor
CN106993175A (en) Produce the method that the pixel used for realizing auto kine bias function computing screens scope
TWI282519B (en) Color interpolation method with directed weights

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