CN106034231B - The method of adjustment and its system of color saturation of image - Google Patents
The method of adjustment and its system of color saturation of image Download PDFInfo
- Publication number
- CN106034231B CN106034231B CN201510106360.4A CN201510106360A CN106034231B CN 106034231 B CN106034231 B CN 106034231B CN 201510106360 A CN201510106360 A CN 201510106360A CN 106034231 B CN106034231 B CN 106034231B
- Authority
- CN
- China
- Prior art keywords
- saturation
- pixel
- gain
- adjusted
- saturation degree
- 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
Links
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
The present invention relates to image processing techniques, the method for adjustment and its system of a kind of color saturation of image are disclosed.In the present invention, the saturation degree of pixel in hue regions to be adjusted is adjusted, it can strengthen or weaken local color saturation degree, to meet different application and user's request, and carry out saturation degree adjustment using default gain curve, saturation degree can be seamlessly transitted, to ensure preferable image effect.In addition, before being adjusted according to local saturation gain, saturation degree shrink process is carried out to each pixel, effectively to eliminate the slight colour cast of the chrominance noise of low saturation and black and white region.
Description
Technical field
The present invention relates to the method for adjustment and its system of image processing techniques, more particularly to color saturation of image.
Background technology
In camera system, in addition to a small number of special digital cameras can use full color filtered sensor, most of CCD
(Charge Coupled Device, " charge coupling device ") or CMOS (Complementary Metal-Oxide
Semiconductor, " CMOS complementary metal-oxide-semiconductor ") imaging sensor, in order to simplify technique, reduce cost, adopt
With color filter array (Color Filter Array, CFA).The video image of imaging sensor collection, generally all can be through
The processing such as white balance correction, demosaicing, colour correction is crossed, with the color video frequency image normally shown.Pass through above-mentioned place
The usual color of video image of reason is not bright-coloured enough, it is necessary to further do saturation degree adjustment.It was found by the inventors of the present invention that in video
Noise is inevitably introduced in collection, after noise reduction process, is also easy to produce in gray area (when especially brightness is relatively low) low full
With the colourity low-frequency noise of degree;After the processing of image white balance under some colour temperatures and scene, it is also possible to the light of black and white region occur
Micro- colour cast;The false color phenomenon of low saturation also occurs in demosaicing processing at image border.If directly image is carried out
The enhancing processing of saturation degree, while image color vividness is strengthened, can also strengthen above-mentioned phenomenon, directly affect the master of image
See effect.Therefore, in order to preferably carry out saturation degree adjustment processing to the video image of camera system collection, to obtain color
Color bright-coloured coloured image, need a kind of method and system of color saturation adjustment badly.
The content of the invention
It is an object of the invention to provide a kind of method of adjustment of color saturation of image and its system, can meet difference
Application and user's request, and saturation degree seamlessly transits, and ensure that preferable image effect.
In order to solve the above technical problems, embodiments of the present invention disclose a kind of adjustment side of color saturation of image
Method, method comprise the following steps:
Judge whether pixel is in hue regions to be adjusted according to the tone of each pixel;
If pixel is in hue regions to be adjusted, obtained according to default gain curve relative with the tone of pixel
The local saturation gain answered, wherein default gain curve represents that tone increases with local saturation in hue regions to be adjusted
The relation of benefit;
The saturation degree of pixel is adjusted according to the local saturation gain of acquisition.
Embodiments of the present invention also disclose a kind of adjustment system of color saturation of image, and system includes:
First judging unit, for judging whether pixel is in tone zone to be adjusted according to the tone of each pixel
Domain;
Acquiring unit, if confirming that pixel is in hue regions to be adjusted for the first judging unit, according to default
Gain curve obtains the local saturation gain corresponding with the tone of pixel, wherein default gain curve represents to be adjusted
Hue regions in tone and local saturation gain relation;And
Local saturation adjustment unit, the saturation for the local saturation gain that is obtained according to acquiring unit to pixel
Degree is adjusted.
Compared with prior art, the main distinction and its effect are embodiment of the present invention:
In the present invention, the saturation degree of the pixel in hue regions to be adjusted is adjusted, can strengthened
Or weaken local color saturation degree, to meet different application and user's request, and carried out using default gain curve
Saturation degree adjusts, and saturation degree can be seamlessly transitted, to ensure preferable image effect.
Further, before being adjusted according to local saturation gain, saturation degree shrink process is carried out to each pixel,
Effectively to eliminate the slight colour cast of the chrominance noise of low saturation and black and white region.
Further, after carrying out saturation degree shrink process to each pixel, first each pixel is carried out at global saturation degree
After reason, further according to progress local saturation processing is needed, more preferably image effect can be obtained.
Further, corresponding to different application and user's request to the pixel in multiple discontinuous hue regions
Saturation degree adjustment is carried out, preferable image effect can be obtained.
Further, the local saturation gain at the default gain curve both ends is arranged to 1, can caused through adjusting
The saturation degree of whole each pixel and the saturation degree of unjustified each pixel seamlessly transit, and are imitated with obtaining preferable image
Fruit.
Further, the symmetrical region centered on the first tone is set to carry out local saturation adjustment, to ensure part
The continuity of saturation degree adjustment.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the method for adjustment of color saturation of image in first embodiment of the invention;
Fig. 2 is a kind of schematic flow sheet of the method for adjustment of color saturation of image in second embodiment of the invention;
Fig. 3 is a kind of schematic diagram of color saturation adjustment structure in second embodiment of the invention;
Fig. 4 is UV spaces schematic diagram in second embodiment of the invention;
Fig. 5 A are that tone and the curve map of local saturation gain relationship are represented in second embodiment of the invention;
Fig. 5 B are UV spaces schematic diagrames in second embodiment of the invention;
Fig. 6 is the local saturation adjustment schematic diagram in two regions in second embodiment of the invention;
Fig. 7 is a kind of schematic flow sheet of the method for adjustment of color saturation of image in second embodiment of the invention;
Fig. 8 is a kind of structural representation of the adjustment system of color saturation of image in third embodiment of the invention;
Fig. 9 is a kind of structural representation of the adjustment system of color saturation of image in four embodiment of the invention.
Embodiment
In the following description, in order that reader more fully understands the application and proposes many ins and outs.But this
Even if the those of ordinary skill in field is appreciated that without these ins and outs and many variations based on following embodiment
And modification, each claim of the application technical scheme claimed can also be realized.
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with implementation of the accompanying drawing to the present invention
Mode is described in further detail.
First embodiment of the invention is related to a kind of method of adjustment of color saturation of image.Fig. 1 is that the image color is satisfied
With the schematic flow sheet of the method for adjustment of degree.As shown in figure 1, the method for adjustment of the color saturation of image comprises the following steps:
In a step 101, judge whether pixel is in hue regions to be adjusted according to the tone of each pixel.If
Pixel is in hue regions to be adjusted, then into step 102, otherwise terminates this flow.It is appreciated that tone to be adjusted
Region is local hue regions.
In a step 102, the local saturation corresponding with the tone of pixel is obtained according to default gain curve to increase
Benefit, wherein default gain curve represents tone and the relation of local saturation gain in hue regions to be adjusted.
It is appreciated that in various embodiments of the present invention, can be arranged as required to hue regions to be adjusted and
Gain curve.
For example, default gain curve can be the curve of elliptic curve, hyperbola or arbitrary shape, as long as making each pixel
The saturation degree of point can seamlessly transit.Preferably, the local saturation gain at default gain curve both ends is arranged to
1.The local saturation gain at default gain curve both ends is arranged to 1, can be with further such that adjusted each pixel
Saturation degree and the saturation degree of unjustified each pixel seamlessly transit, to obtain preferable image effect.
Furthermore, it is to be understood that in the other embodiment of the present invention, the saturation degree at gain curve both ends can also be increased
Benefit is disposed proximate to 1 value, can equally obtain preferable image effect.
As optional embodiment, above-mentioned hue regions to be adjusted can include multiple discontinuous hue regions, often
Individual hue regions correspond to a gain curve.Can be with identical corresponding to the gain curve of each hue regions, can not also phase
Together.Saturation degree tune is carried out to the pixel in multiple discontinuous hue regions corresponding to different application and user's request
It is whole, preferable image effect can be obtained.For example, some image models (pattern of missing old times or old friends, simple and elegant pattern and black can be corresponded to
White mode etc.) set multiple hue regions to be adjusted, or select multiple hue regions to be adjusted by user.
Furthermore, it is to be understood that in some instances, can also be as needed only to the pixel in single hue regions
Point carries out saturation degree adjustment.
As another optional embodiment, hue regions to be adjusted can be the symmetrical area centered on the first tone
Domain.Preferably, default gain curve is also correspondingly centered on the local saturation gain corresponding with first tone
Symmetrical curve.Local saturation adjustment is carried out to the pixel in the symmetrical region centered on the first tone, without
It is that local saturation adjustment only is carried out to the pixel with first tone, it is ensured that the continuity of local saturation adjustment
And flatness.
Furthermore, it is to be understood that in the other embodiment of the present invention, hue regions to be adjusted can also be asymmetric
Region, it is configured according to being actually needed.
Then into step 103, the saturation degree of pixel is adjusted according to the local saturation gain of acquisition.
Hereafter this flow is terminated.
In a preference, above-mentioned image is YUV image.Then in image Y-component represent monochrome information, U V component represent
Chroma component information.As shown in figure 4, any pixel A color can further be calculated by chroma component information U and V
Color tone θ and saturation degree R.
In the method for present embodiment, the saturation degree of the pixel in hue regions to be adjusted is adjusted
It is whole, it can strengthen or weaken local color saturation degree, to meet different application and user's request, and use default gain
Curve carries out saturation degree adjustment, saturation degree can be seamlessly transitted, to ensure preferable image effect.
Second embodiment of the invention is related to a kind of method of adjustment of color saturation of image.Fig. 3 is that the image color is satisfied
With the schematic flow sheet of the method for adjustment of degree.
Second embodiment is improved on the basis of first embodiment, is mainly theed improvement is that:In basis
Before local saturation gain is adjusted, saturation degree shrink process is carried out to each pixel, effectively to eliminate the color of low saturation
Spend the slight colour cast in noise and black and white region.Specifically:
It is as shown in Fig. 2 further comprising the steps of before step 101:
In step 201, judge whether the saturation degree of each pixel is more than a predetermined threshold value.If the saturation degree of pixel
More than predetermined threshold value, then into step 202;If the saturation degree of pixel is less than predetermined threshold value, into step 203.It can manage
Solution, the predetermined threshold value are rule of thumb configured.
In step 202, the saturation degree of pixel is subtracted into predetermined threshold value using the first saturation degree as pixel.
In step 203, using zero as pixel the first saturation degree.
Then in step 103, the first saturation degree of pixel is adjusted according to the local saturation gain of acquisition.
Preferably, after carrying out saturation degree shrink process to each pixel, global saturation degree processing first is carried out to each pixel
Afterwards, further according to progress local saturation processing is needed, more preferably image effect can be obtained.Specifically:
Before step 101, after the first saturation degree of each pixel is set up in step 201-203, in addition to it is following
Step:
The first saturation degree of each pixel is adjusted according to default global saturation degree gain, to obtain each pixel
The second saturation degree.
Then in step 103, the second saturation degree of pixel is adjusted according to the local saturation gain of acquisition.
It can see by upper, color saturation of image can be adjusted flexibly using the above method and make it that image color is bright-coloured, reached
To preferable subjective effect.Further the above method will be described in detail by taking YUV image and elliptic curve as an example below.
Fig. 3 shows preferable color saturation adjustment structure, and it includes 301 image input modules, 302 saturation degrees are shunk
(Shrink) module, 303 global saturation degree adjusting modules, 304 local saturation adjusting modules and 305 image output modules.
The image of input is generally what is gathered by camera system or other image capturing systems, by white balance correction, goes
YUV image after the processing such as mosaic processing, image color correction, colour space transformation.Y-component represents a width in YUV image
The monochrome information of image, U V component represent image chroma component information.Wherein can further it be counted by chroma component information
Calculate the tone (θ) and saturation degree (R) for the color for obtaining any pixel A, as Fig. 4 U shown in V floor map.Point A to original
The azimuth θ of point O lines and V axles represents the tone of the color;Point A to origin O distance represent the color saturation of the point
R.Then seen by the calculating of the saturation degree R of each pixel in the image of 301 image input modules input shown in formula (1).
By the contraction of saturation degree, the chrominance noise of low saturation and the slight colour cast in black and white region can be effectively eliminated.
Exterior arrangement needs the level of saturation r1 (i.e. predetermined threshold value) suppressed, then 302 saturation degrees shrink module output Rout(i.e. first
Saturation degree) calculating see formula (2).
Because the generally global saturation degree of image of camera system collection is relatively low, color is not bright-coloured enough, or passes through color school
Color supersaturation after just.Therefore, it is necessary to global color saturation adjustment.It is to carry out gain in global saturation degree adjustment actually
The process of control.Setting needs the global saturation degree gain gain adjusted.It is then full after 303 global saturation degree adjusting module outputs
See formula (3) with degree calculating.Wherein R'outEquivalent to the second saturation degree.
R'out=Rin'*gain(3)
Adjusted for the saturation degree of the overall situation, can obtain the more bright-coloured image of global color, but for different applications,
And the different subjective demands of terminal user, have the needs of some color color saturations of local directed complete set, at this time with regard to need into
Row local saturation adjusts.As shown in Figure 5A, tone θ and local saturation are fitted with elliptic curve (i.e. default gain curve)
Spend gain g relation.Determine to need the color adjusted, and its tone θ first0Corresponding saturation degree gain g0.In order to ensure part
The continuity of saturation degree adjustment, it must be determined that one with tone θ0Centered on symmetrical region (OBAC as shown in Figure 5A, toneAnd toneAnd toneThe saturation degree at place is g1), to cause saturation degree to seamlessly transit, this
Sample could make it that the adjustment of local saturation is not excessively lofty, ensure preferable image subjective effect.It is appreciated that in the present invention
Other embodiment in, region OBAC can also be non-symmetrical region.
Its oval central point as shown in Figure 5A is in origin.Therefore its rectangular coordinate system general equation expression formula, see formula
(4)。
d×x2+e×x*y+f×y2=1 (4)
Due to parameterPass through exterior arrangement, therefore, the A (x on ellipsea,ya),B(xb,yb),C(xc,yc) point
Coordinate know that formula (5) is shown in its calculating.
xa=g0×cos(θ0)
ya=g0×sin(θ0)
So, elliptic parameter d, e, f can be obtained by the ternary linear function group shown in solution formula (6).
For arbitrfary point D (v in Fig. 5 Bd,ud), need to calculate its gain gd.Pass through the chroma component information u of D pointsd,vd, can
So that this tone θ is calculateddSine, cosine value, see shown in formula (7).
Other tone θdCorresponding gain gdNeed to meet elliptic equation, such as formula (8).
Fig. 5 B arbitrfary points D (v can be calculated in connection solution formula (7-8)d,ud) gain gd, see shown in formula (9).
Obtain gd, you can D (v are further calculatedd,ud) point local saturation adjustment output valve, see formula (10).
R"out=gd×R"in (10)
So as to which (the v' after saturation correction is calculatedd,u'd), see formula (11).
u'd=R "out×sin(θd) (11)
vd=R "out×cos(θd)
Local saturation adjusts the part that can also realize two regions (OBAC and OEDF as shown in Figure 6) or more region
Saturation degree adjusts function.As shown in Figure 6, there is provided the local saturation adjustment in two regions.Pass through arrange parameterPicture tone can be adjusted by 304 local saturation adjusting modulesThe part in region 1
Color saturation.Pass through arrange parameterPicture tone can be adjusted by 304 local saturation adjusting modulesThe local color saturation degree in region 2.
305 image output modules export the YUV image after saturation degree adjustment or pass through what YUV changed to rgb color space
RGB image, so that follow-up further image procossing or image storage or image are shown.
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 be camera system collection, by white balance correction,
YUV image after the processing such as demosaicing processing, image color correction, colour space transformation.It is appreciated that the present invention its
In his embodiment, saturation degree adjustment can also be carried out to the image of extended formatting.
Step 702 is shunk module by saturation degree and performed.Exterior arrangement needs the low saturation rank r1 suppressed, passes through saturation
The shrink process of degree, to realize the chrominance noise or black and white that suppress the caused low saturation during image variants
The slight colour cast in region.
Step 703 is performed by global saturation degree adjusting module.By the global gain gain of exterior arrangement, realize that YUV schemes
As the gain control of color saturation, colour vividness expected from arrival.
Step 704 is performed by local saturation adjusting module.Pass through and configureRealize that the part in single region is satisfied
Handled with degree adjustment, to obtain more preferable color subjective effect.It is appreciated that in other embodiments of the invention, can also
Realize the local saturation adjustment processing of multizone.
Step 705 is performed by image output module.YUV image after saturation degree is adjusted exports handles mould to successive image
Block carries out associated picture processing.
Therefore, the above method is using saturation degree adjustment step by step, to reach the mesh that color saturation of image is adjusted flexibly
's.By image saturation shrink process, suppress colourity low-frequency noise and the slight colour cast of gray area;Pass through global saturation degree
Adjustment is handled so that image color is bright-coloured;Handled by subregional local saturation adjustment, enhancing or decrease local color are satisfied
And degree, meet no application, and the subjective demand of different terminals user.
It is appreciated that these are only the preference of the present invention, it can add or delete therein according to being actually needed
Module or step simultaneously correspondingly change configuration therein.For example, when the image to extended formatting carries out color saturation adjustment, then
Handled using the relevant parameter under the picture format, or saturation degree tune is carried out using other gain curves such as hyperbola
It is whole etc..
The each method embodiment of the present invention can be realized in a manner of software, hardware, firmware etc..No matter the present invention be with
Software, hardware or firmware mode realize that instruction code may be stored in the addressable memory of any kind of computer
In (it is such as permanent or revisable, it is volatibility or non-volatile, it is solid-state or non-solid, it is fixed or
Replaceable medium of person etc.).Equally, memory may, for example, be programmable logic array (Programmable Array
Logic, referred to as " PAL "), random access memory (Random Access Memory, referred to as " RAM "), programmable read-only deposit
Reservoir (Programmable Read Only Memory, referred to as " PROM "), read-only storage (Read-Only Memory, letter
Claim " ROM "), Electrically Erasable Read Only Memory (Electrically Erasable Programmable ROM, referred to as
" EEPROM "), disk, CD, digital versatile disc (Digital Versatile Disc, referred to as " DVD ") etc..
Third embodiment of the invention is related to a kind of adjustment system of color saturation of image.Fig. 8 is that the image color is satisfied
With the structural representation of the adjustment system of degree.As shown in figure 8, the adjustment system of the color saturation of image includes:
First judging unit, for judging whether pixel is in tone zone to be adjusted according to the tone of each pixel
Domain.It is appreciated that hue regions to be adjusted are local hue regions.
Acquiring unit, if confirming that pixel is in hue regions to be adjusted for the first judging unit, according to default
Gain curve obtains the local saturation gain corresponding with the tone of pixel, wherein default gain curve represents to be adjusted
Hue regions in tone and local saturation gain relation.And
Local saturation adjustment unit, the saturation for the local saturation gain that is obtained according to acquiring unit to pixel
Degree is adjusted.
It is appreciated that in various embodiments of the present invention, can be arranged as required to hue regions to be adjusted and
Gain curve.
For example, default gain curve can be the curve of elliptic curve, hyperbola or arbitrary shape, as long as making each pixel
The saturation degree of point can seamlessly transit.Preferably, the local saturation gain at default gain curve both ends is arranged to
1.Be 1 by the local saturation gain at default gain curve both ends, can with further such that adjusted each pixel it is full
Seamlessly transitted with the saturation degree of degree and unjustified each pixel, to obtain preferable image effect.
Furthermore, it is to be understood that in the other embodiment of the present invention, the saturation degree at gain curve both ends can also be increased
Benefit is disposed proximate to 1 value, can equally obtain preferable image effect.
As optional embodiment, above-mentioned hue regions to be adjusted include multiple discontinuous hue regions, Mei Gese
Region is adjusted to correspond to a gain curve.It is able to can also be differed with identical corresponding to the gain curve of each hue regions.Phase
Saturation degree adjustment should be carried out to the pixel in multiple discontinuous hue regions in different application and user's request, can be with
Obtain preferable image effect.For example, some image models (pattern of missing old times or old friends, simple and elegant pattern and white-black pattern can be corresponded to
Etc.) set multiple hue regions to be adjusted, or select multiple hue regions to be adjusted by user.
Furthermore, it is to be understood that in some instances, can also be as needed only to the pixel in single hue regions
Point carries out saturation degree adjustment.
As another optional embodiment, hue regions to be adjusted can be the symmetrical area centered on the first tone
Domain.Preferably, default gain curve is also correspondingly centered on the local saturation gain corresponding with the first tone
Symmetrical curve.Local saturation adjustment is carried out to the pixel in the symmetrical region centered on the first tone, rather than
Only to first tone pixel carry out local saturation adjustment, it is ensured that local saturation adjustment continuity and
Flatness.
Furthermore, it is to be understood that in the other embodiment of the present invention, hue regions to be adjusted can also be asymmetric
Region, it is configured according to being actually needed.
In the system of present embodiment, local saturation adjustment unit is to the pixel in hue regions to be adjusted
The saturation degree of point is adjusted, and can strengthen or weaken local color saturation degree, to meet different application and user's request, and
And saturation degree adjustment is carried out using default gain curve, saturation degree can smoothly be filtered, to ensure preferable image
Effect.
In a preference, above-mentioned image is YUV image.Then in image Y-component represent monochrome information, U V component represent
Chroma component information.As shown in figure 4, any pixel A color can further be calculated by chroma component information U and V
Color tone θ and saturation degree R.
First embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be implemented with first
Mode is worked in coordination implementation.The relevant technical details mentioned in first embodiment are still effective in the present embodiment, in order to
Reduce and repeat, repeat no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the first implementation
In mode.
Four embodiment of the invention is related to a kind of adjustment system of color saturation of image.Fig. 9 is that the image color is satisfied
With the structural representation of the adjustment system of degree.
4th embodiment is improved on the basis of the 3rd embodiment, is mainly theed improvement is that:In basis
Before local saturation gain is adjusted, saturation degree shrink process is carried out to each pixel, effectively to eliminate the color of low saturation
Spend the slight colour cast in noise and black and white region.Specifically:
As shown in figure 9, said system also includes:
Second judging unit, for judging whether the saturation degree of each pixel is more than a predetermined threshold value.
First saturation degree shrinks unit, if the saturation degree for confirming pixel for the second judging unit is more than predetermined threshold value,
The saturation degree of pixel is subtracted into predetermined threshold value using the first saturation degree as pixel.And
Second saturation degree shrinks unit, if the saturation degree for confirming pixel for the second judging unit is less than predetermined threshold value,
Using zero as pixel the first saturation degree.
The local saturation gain that then above-mentioned local saturation adjustment unit is used to be obtained according to acquiring unit is to pixel
The first saturation degree be adjusted.
Preferably, after carrying out saturation degree shrink process to each pixel, global saturation degree processing first is carried out to each pixel
Afterwards, further according to progress local saturation processing is needed, more preferably image effect can be obtained.Specifically:
Said system also includes global saturation degree adjustment unit, for according to default global saturation degree gain to each pixel
First saturation degree of point is adjusted, to obtain the second saturation degree of each pixel.
Then above-mentioned local saturation adjustment unit is used to the second of pixel be satisfied according to the local saturation gain of acquisition
It is adjusted with degree.
Second embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be implemented with second
Mode is worked in coordination implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, in order to
Reduce and repeat, repeat no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the second implementation
In mode.
To sum up, the present invention realizes a kind of color saturation of image method of adjustment and system.Method using the present invention is led to
Saturation degree adjustment step by step is crossed, the purpose that color saturation of image is adjusted flexibly can be reached.Image can be suppressed simultaneously to adopt
The chrominance noise of caused low saturation or the slight colour cast in black and white region in collection and processing procedure, obtain better image master
See effect.
It should be noted that each unit or module mentioned in each equipment embodiment of the present invention are all logic unit or mould
Block, physically, a logic unit or module can be a physical location or module or a physical location or
A part for module, it can also be realized with the combination of multiple physical locations or module, the thing of these logic units or module in itself
Reason implementation is not most important, and the combination for the function that these logic units or module are realized, which is only, solves institute of the present invention
The key of the technical problem of proposition.In addition, in order to protrude the innovative part of the present invention, the above-mentioned each equipment embodiment of the present invention is simultaneously
The unit or module less close with solving technical problem relation proposed by the invention are not introduced, this is not intended that above-mentioned
Simultaneously other units or module is not present in equipment embodiment.
It should be noted that in the claim and specification of this patent, such as first and second or the like relation
Term is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily requires or imply
Any this actual relation or order be present between these entities or operation.Moreover, term " comprising ", "comprising" or its
Any other variant is intended to including for nonexcludability so that process, method, article including a series of elements or
Equipment not only includes those key elements, but also the other element including being not expressly set out, or also include for this process,
Method, article or the intrinsic key element of equipment.In the absence of more restrictions, wanted by what sentence " including one " limited
Element, it is not excluded that other identical element in the process including the key element, method, article or equipment also be present.
Although by referring to some of the preferred embodiment of the invention, the present invention is shown and described,
It will be understood by those skilled in the art that can to it, various changes can be made in the form and details, without departing from this hair
Bright spirit and scope.
Claims (8)
1. a kind of method of adjustment of color saturation of image, it is characterised in that the described method comprises the following steps:
Judge whether the pixel is in hue regions to be adjusted according to the tone of each pixel;
If the pixel is in hue regions to be adjusted, the tone with the pixel is obtained according to default gain curve
Corresponding local saturation gain, wherein the default gain curve represent in the hue regions to be adjusted tone with
The relation of local saturation gain;And
The saturation degree of the pixel is adjusted according to the local saturation gain of acquisition;
Before the step of described " judging whether the pixel is in hue regions to be adjusted according to the tone of each pixel "
It is further comprising the steps of:
Judge whether the saturation degree of each pixel is more than a predetermined threshold value;
If the saturation degree of the pixel is more than the predetermined threshold value, the saturation degree of the pixel is subtracted into the predetermined threshold value
Using the first saturation degree as the pixel;
If the saturation degree of the pixel is less than the predetermined threshold value, using zero as the pixel the first saturation degree;
In the step of described " being adjusted according to the local saturation gain of acquisition to the saturation degree of the pixel ", according to obtaining
The local saturation gain taken is adjusted to the first saturation degree of the pixel.
2. the method for adjustment of color saturation of image according to claim 1, it is characterised in that described " according to each picture
The tone of vegetarian refreshments judges whether the pixel is in hue regions to be adjusted " the step of before, it is described " to judge each pixel
Saturation degree whether be more than a predetermined threshold value " the step of after, it is further comprising the steps of:
The first saturation degree of each pixel is adjusted according to default global saturation degree gain, to obtain the of each pixel
Two saturation degrees;
In the step of described " being adjusted according to the local saturation gain of acquisition to the saturation degree of the pixel ", according to obtaining
The local saturation gain taken is adjusted to the second saturation degree of the pixel.
3. the method for adjustment of color saturation of image according to claim 1 or 2, it is characterised in that described to be adjusted
Hue regions include multiple discontinuous hue regions, and each hue regions correspond to a gain curve.
4. the method for adjustment of color saturation of image according to claim 1 or 2, it is characterised in that the default increasing
The local saturation gain at beneficial curve both ends is arranged to 1.
5. the method for adjustment of color saturation of image according to claim 1 or 2, it is characterised in that described to be adjusted
Hue regions are the symmetrical region centered on the first tone, and the default gain curve is with relative with first tone
Symmetrical curve centered on the local saturation gain answered.
6. the adjustment system of a kind of color saturation of image, it is characterised in that the system includes:
First judging unit, for judging whether the pixel is in tone zone to be adjusted according to the tone of each pixel
Domain;
Acquiring unit, if confirming that the pixel is in hue regions to be adjusted for first judging unit, according to pre-
If gain curve obtain the local saturation gain corresponding with the tone of the pixel, wherein the default gain song
Line represents tone and the relation of local saturation gain in the hue regions to be adjusted;And
Local saturation adjustment unit, for the local saturation gain that is obtained according to the acquiring unit to the pixel
Saturation degree is adjusted;
The system also includes:
Second judging unit, for judging whether the saturation degree of each pixel is more than a predetermined threshold value;
First saturation degree shrinks unit, if it is described pre- to confirm that the saturation degree of the pixel is more than for second judging unit
If threshold value, the saturation degree of the pixel is subtracted into the predetermined threshold value using the first saturation degree as the pixel;And
Second saturation degree shrinks unit, if it is described pre- to confirm that the saturation degree of the pixel is less than for second judging unit
If threshold value, using zero as the pixel the first saturation degree;
The local saturation gain that the local saturation adjustment unit is used to be obtained according to the acquiring unit is to the pixel
First saturation degree of point is adjusted.
7. the adjustment system of color saturation of image according to claim 6, it is characterised in that the system also includes complete
Office's saturation degree adjustment unit, for being adjusted according to default global saturation degree gain to the first saturation degree of each pixel,
To obtain the second saturation degree of each pixel;
Second saturation of the local saturation adjustment unit for the local saturation gain according to acquisition to the pixel
Degree is adjusted.
8. the adjustment system of the color saturation of image according to claim 6 or 7, it is characterised in that described to be adjusted
Hue regions include multiple discontinuous hue regions, and each hue regions correspond to a gain curve;
The local saturation gain at the default gain curve both ends is arranged to 1;
The hue regions to be adjusted are symmetrical region centered on the first tone, the default gain curve be with
Symmetrical curve centered on the corresponding local saturation gain of first tone.
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 CN106034231A (en) | 2016-10-19 |
CN106034231B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686374B (en) * | 2016-12-08 | 2018-09-25 | 广州视源电子科技股份有限公司 | Detection method, system and the device of screen color saturation degree |
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 |
CN110855970B (en) * | 2019-11-27 | 2022-04-01 | 上海富瀚微电子股份有限公司 | Image saturation processing method and device |
CN112581390B (en) * | 2020-12-11 | 2024-03-19 | 深圳开立生物医疗科技股份有限公司 | Image color enhancement method, device, equipment and readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7042520B2 (en) * | 2002-08-23 | 2006-05-09 | Samsung Electronics Co., Ltd. | Method for color saturation adjustment with saturation limitation |
CN100568982C (en) * | 2006-05-10 | 2009-12-09 | 广达电脑股份有限公司 | Image processor and method thereof |
CN101141653B (en) * | 2006-09-05 | 2010-04-07 | 帆宣***科技股份有限公司 | Image regulation device |
-
2015
- 2015-03-11 CN CN201510106360.4A patent/CN106034231B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106034231A (en) | 2016-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106034231B (en) | The method of adjustment and its system of color saturation of image | |
CN1812592B (en) | Method and apparatus for processing image data of a color filter array | |
US20050185836A1 (en) | Image data processing in color spaces | |
CN101472048B (en) | Image pickup apparatus, color noise reduction method, and color noise reduction program | |
US8311355B2 (en) | Skin tone aware color boost for cameras | |
US8724894B1 (en) | Colorization of digital imagery | |
RU2556022C2 (en) | Colour image forming apparatus | |
CN101006731B (en) | Image processing device and method, and imaging device | |
FI115942B (en) | Procedure for interpolating and sharpening images | |
US20080075394A1 (en) | Edge adaptive demosaic system and method | |
CN107534735A (en) | Image processing method, device and the terminal of terminal | |
US7333678B1 (en) | Edge adaptive demosaic system and method | |
CN113168669B (en) | Image processing method, device, electronic equipment and readable storage medium | |
CN104247409A (en) | Image processing device, image processing method, and program | |
CN108122201A (en) | A kind of Bayer interpolation slide fastener effect minimizing technology | |
CN105389786B (en) | Image processing method and device | |
CN104471929B (en) | Color image sensor and camera head | |
US8471933B2 (en) | Image processing apparatus, image processing method and computer program | |
CN104412581A (en) | Color imaging element and imaging device | |
KR20210018136A (en) | Method and apparatus for image processing | |
CN105430357B (en) | The demosaicing methods and device of imaging sensor | |
KR101650842B1 (en) | Image processing apparatus, image processing method and recording medium storing program to execute the method | |
KR20170074891A (en) | A method and device for estimating a color mapping between two different color-graded versions of a sequence of pictures | |
US8385671B1 (en) | Digital camera and method | |
CN103259960B (en) | The interpolation method of data and device, image output method and device |
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 |