CN102223547B - Image color enhancement device and method - Google Patents

Image color enhancement device and method Download PDF

Info

Publication number
CN102223547B
CN102223547B CN201110162580.0A CN201110162580A CN102223547B CN 102223547 B CN102223547 B CN 102223547B CN 201110162580 A CN201110162580 A CN 201110162580A CN 102223547 B CN102223547 B CN 102223547B
Authority
CN
China
Prior art keywords
saturation
gain
colourity
gain function
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110162580.0A
Other languages
Chinese (zh)
Other versions
CN102223547A (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.)
Huzhou Xiantong Technology Co.,Ltd.
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201110162580.0A priority Critical patent/CN102223547B/en
Publication of CN102223547A publication Critical patent/CN102223547A/en
Application granted granted Critical
Publication of CN102223547B publication Critical patent/CN102223547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention relates to an image color enhancement device and a method; the device comprises a color space conversion module for converting the input image data to an HSV (hue, saturation and value) space from an RGB (red, green, blue) space; a gain function generating module based on chroma for receiving a chroma adjustment range set by a user to generate a gain function based on chroma of the chromaticity division ; a gain function generating module based on saturation for generating a gain function based on saturation in the chroma adjustment range set by the user; and a saturation enhancement module for enhancing the saturation by utilizing the gain function based on chroma and the gain function based on saturation. In the invention, the transitional gain functions in different chromaticity divisions are adopted, threshold values for the divisions with too high and too low saturation component are set, proper enhancement is only carried out to the middle-stage part of the saturation component, so as to realize to protect the saturation component, enable a video image to be softer and play a good role in protecting the visual sense of people.

Description

Image color enhancement device and method
Technical field
The present invention relates to technical field of image processing, more particularly, relate to image color enhancement device and method in a kind of video image reprocessing.
Background technology
Coloured image has comprised more information than gray level image, and for the mankind's visual experience and the processing of later image and analysis, coloured image all has an enormous advantage.In process from image source to graphic display terminal, circuit noise, loss etc. all can cause the decline of picture quality, and in order to improve visual effect, color image enhancement has very large meaning.
Common Algorithm of color image enhancement has two classes: a class is not carry out the conversion in space, these three components of RGB is carried out to identical scaling and translation, thereby reach the object that tone is constant.Another kind method is carried out space conversion by coloured image exactly, and image is transformed into substantially incoherent tone space from the closely-related RGB of color component, as HSV or HSI space, does corresponding processing, and then goes back to rgb space.Front a kind of method computation complexity is low, rear a kind of good but the enhancing effect of image does not have.
Coloured image, in computer, generally adopts RGB model to represent, if respectively R, G, tri-color components of B are carried out to contrast enhancing, because computing is independently, the linear transform coefficient that can not guarantee three is identical, therefore cannot keep tone constant.Because HSV space is more adapted to human vision property, therefore enhancing system is in HSV space, keep colourity H constant, saturation S, brightness V are strengthened to processing, effect is more remarkable.
Yet, although in hsv color space, the enhancing of luminance component V is not changed to the colour information of original image, only brightness size aspect having been produced to impact, the image after strengthening seems a bit different to spectators' color sensation.But the enhancing along with brightness, to image saturation also there is variation in impression to people, if saturation component S is not strengthened after highlighting, image quality is poorer by the effect becoming when not strengthening, therefore when brightness strengthens, need to also will carry out suitable and necessary enhancing to saturation component S.
By above luminance component V being analyzed and is learnt, enhancing along with luminance component V, the very bad control of degree to the enhancing of saturation component S, strengthen too by force or all very inharmonious with luminance component V too, the effect of video image will be very poor, not only the object of enhancing can not be reached, the quality of video image can be reduced on the contrary.From above-mentioned to the description in hsv color space, we can learn, when saturation component S original value original just too little or when too large, with regard to there is no need, again saturation component S is strengthened, if the saturation component S of complete section is carried out to the same enhancing, the problem that there will be " as hard as crossing ", is easy to make video image distortion.
Summary of the invention
The technical problem to be solved in the present invention is, a kind of image color enhancement device that colourity subregion is strengthened and method are provided, and more flexible user arbitrarily strengthens arbitrary part of color, while avoiding figure image intensifying simultaneously " as hard as crossing " make image quality decrease.
First aspect present invention, provides a kind of image color enhancement device, comprising: color-space conversion module, is transformed into HSV space by the view data of input from rgb space; Gain function generation module based on colourity, receives between the colourity regulatory region of user's setting, generates the gain function based on colourity of this colourity subregion; Gain function generation module based on saturation, between the colourity regulatory region arranging this user in, generate the gain function based on saturation; Saturation strengthens module, utilizes described gain function based on colourity and described gain function based on saturation to strengthen saturation.According in the image color enhancement device described in first aspect present invention, the described gain function generation module based on colourity further comprises: colourity subregion function storaging unit, for generating and storing the gain function of different colourity subregions; And each in the gain function of described different colourity subregions comprises and is positioned at this colourity subregion: functional value monotonic increase to the first gain function, functional value based on colourity of the default gain threshold based on colourity is the default gain threshold based on colourity the second gain function based on colourity and functional value starts the 3rd gain function based on colourity of monotone decreasing from the default gain threshold based on colourity; And the first gain function selected cell, for search the corresponding gain function based on colourity between the colourity regulatory region that user arranges from described colourity subregion function storaging unit.
According in the image color enhancement device described in first aspect present invention, described gain coefficient based on saturation generates computing module and further comprises: saturation function memory cell, for the gain function based on saturation in generating and storing between the colourity regulatory region that user arranges; And the described gain function based on saturation comprises and is positioned at default minimum saturation threshold value to maximum saturation threshold range: first gain function, the functional value based on saturation of functional value since 0 monotonic increase to the default gain threshold based on saturation is the default gain threshold based on saturation the second gain function based on saturation and functional value is from the 3rd gain function based on saturation of the default gain threshold monotone decreasing to 0 based on saturation; And the second gain function selected cell, for search the corresponding gain function based on saturation between the colourity regulatory region that user arranges from described saturation function memory cell.
According in the image color enhancement device described in first aspect present invention, described color-space conversion module is first transformed into yuv space by the view data of input from rgb space, re-uses cordic algorithm it is transformed into HSV space from yuv space.
Second aspect present invention, provides a kind of image color Enhancement Method, comprises the following steps: color space conversion step, is transformed into HSV space by the view data of input from rgb space; Gain function based on colourity generates step, receives between the colourity regulatory region of user's setting, generates the gain function based on colourity of this colourity subregion; Gain function based on saturation generates step, between the colourity regulatory region arranging this user in, generate the gain function based on saturation; Saturation strengthens step, utilizes described gain function based on colourity and described gain function based on saturation to strengthen saturation.
According in the image color Enhancement Method described in second aspect present invention, the described gain function based on colourity generates step and further comprises: colourity subregion function storing step, generates and stores the gain function of different colourity subregions; And each in the gain function of described different colourity subregions comprises and is positioned at this colourity subregion: functional value monotonic increase to the first gain function, functional value based on colourity of the default gain threshold based on colourity is the default gain threshold based on colourity the second gain function based on colourity and functional value starts the 3rd gain function based on colourity of monotone decreasing from the default gain threshold based on colourity; And first gain function select step, for searching the corresponding gain function based on colourity between the colourity regulatory region that user arranges.
According in the image color Enhancement Method described in second aspect present invention, described gain coefficient based on saturation generates step and further comprises: saturation function storing step, the gain function based on saturation in generating and storing between the colourity regulatory region that user arranges; And the described gain function based on saturation comprises and is positioned at default minimum saturation threshold value to maximum saturation threshold range: first gain function, the functional value based on saturation of functional value since 0 monotonic increase to the default gain threshold based on saturation is the default gain threshold based on saturation the second gain function based on saturation and functional value is from the 3rd gain function based on saturation of the default gain threshold monotone decreasing to 0 based on saturation; And second gain function select step, for searching the corresponding gain function based on saturation between the colourity regulatory region that user arranges.
According in the image color Enhancement Method described in second aspect present invention, described color space conversion step is first transformed into yuv space by the view data of input from rgb space, re-uses cordic algorithm it is transformed into HSV space from yuv space.
Implement image color enhancement device of the present invention and method; there is following beneficial effect: the present invention is by adopting the saturation gain function of different colourity subregions; and to the too large and too little region division of saturation component threshold value; only the interstage of saturation component is partly carried out to suitable enhancing; realized the protection to saturation component; make video pictures softer, also people's vision is played a very good protection.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the module diagram of image color enhancement device in the preferred embodiment of the present invention;
Fig. 2 is the schematic diagram of HSV spatial model;
Fig. 3 is the concrete structure figure of the gain function generation module based on colourity in the preferred embodiment of the present invention;
Fig. 4 is the gain function schematic diagram of a colourity subregion in the preferred embodiment of the present invention;
Fig. 5 is the concrete structure figure of the gain function generation module based on saturation in the preferred embodiment of the present invention;
The schematic diagram of the gain function based on saturation that Fig. 6 provides for the preferred embodiment of the present invention;
Fig. 7 is the flow chart of image color Enhancement Method in the preferred embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.
Referring to Fig. 1, is the module diagram of image color enhancement device in the preferred embodiment of the present invention.As shown in Figure 1, the image color enhancement device that this embodiment provides at least comprises that color-space conversion module 10, the gain function generation module 20 based on colourity, the gain function generation module 30 based on saturation and saturation strengthen module 40.
Wherein, color-space conversion module 10 is transformed into HSV space by the view data of input from rgb space.Gain function generation module 20 based on colourity, receives between the colourity regulatory region of user's setting, generates the gain function based on colourity of this colourity subregion.Gain function generation module 30 based on saturation, between the colourity regulatory region arranging this user in, generate the gain function based on saturation.Saturation strengthens module 40, utilizes described gain function based on colourity and described gain function based on saturation to strengthen saturation.
Below each functional module of the present invention is described, and in conjunction with each little module, the superiority of setting forth these apparatus and method is described, illustrate that image color enhancement device has great effect in actual applications simultaneously.
(1) color-space conversion module 10
Color-space conversion module 10 is transformed into HSV space by the view data of input from rgb space.HSV model is comprised of colourity H, saturation S, these three components of brightness V, more approaching to the perception of color with the mankind.The advantage of this model is: on the one hand eliminated brightness composition V in image with the contacting of colouring information, on the other hand, colourity H and saturation S and people's visual experience is closely related.
First, image is transformed into HSV space from rgb space, basic transfer process is as described below, and the following Fig. 2 of model.Certainly, image is transformed into HSV space from rgb space has many methods to realize, but in this module, in order accelerating system to move, improves operational efficiency, and what this module adopted is with classical cordic algorithm.First coloured image from being transformed into the yuv space of television set receiving system, so both can carry out some other direct processing to signal, also can be as pass through algorithm process in this module, signal is transformed to HSV space from yuv space, the data flow of output can be used for later experiment, to the various processing of later signal, is all suitable convenience.
Then, the precise meaning that each several part in HSV spatial model is once described again at this, is all absolutely necessary to the understanding of model and even later processing.Refer to Fig. 2, at the V=0 of conical tip place, H and S, without definition, represent black, circular cone end face center V=1, and S=0, H definition, represents white.From this to initial point, represent gradually dark grey of brightness, have the grey of different gray scales, for these S=0, the value of H is without definition.Color on the circumference of circular cone end face, V=1, S=1, this color is pure color.
(2) the gain coefficient computing module 20 based on colourity
When video image is processed, iff saturation component is done and strengthened, bring sometimes dangerous consequence.Although picture is clear, color is also more saturated, often differs too much with raw video image, even there will be the situation of distortion.
So the present invention preferably, to colourity H subregion, then adopts different processing modes to different regions, also generate the gain function based on colourity, the gain function based on colourity of different chroma areas is distinguished to some extent.
By above known to the analysis in hsv color space, colourity H, according to a circle distribution, is also the corresponding chromatic component that has of each sector region correspondence.So, just can implement relevant enhancement measures according to the difference of these components.Referring to Fig. 3, is the concrete structure figure of the gain function generation module based on colourity in the preferred embodiment of the present invention.As shown in Figure 3, the gain function generation module 20 based on colourity further comprises: colourity subregion function storaging unit 21 and the first gain function selected cell 22.
Wherein, colourity subregion function storaging unit 21, for generating and storing the gain function gain ' of different colourity subregions.In this colourity subregion function storaging unit 21, store a plurality of saturation gain functions for different colourity subregions.As Fig. 6, it is the saturation gain function schematic diagram of a colourity subregion in the preferred embodiment of the present invention.In Fig. 6, only show the saturation gain function based on colourity that colourity is arranged in H0 to H1.Outside H0 to H1, also may there are a plurality of saturation gain functions based on colourity.The Enhancement Method of Fig. 6 is generalized to other region in chromatic component, can adopts different Enhancement Method and strengthen coefficient different chromatic components.
If it is relatively strong that other saturation component outside colourity H0 to H1 scope strengthens, and saturation between colourity H0 to H1 does not have respective change, so just there will be transition inharmonious, color sensation will be bad.The obvious tomography of transition portion between colourity like this, the stereovision of picture is had a greatly reduced quality, therefore the employing method of this module is similar to saturation gain coefficient, what adopt is the method for slow transition, allow chromatic component also form one and be similar to above-mentioned adaptive approach, be the formed gain coefficient to colourity H.
For the saturation that makes this colourity be arranged in H0 to H1 strengthens also, realize and seamlessly transitting, at this, each in the saturation gain function of different colourity subregions is comprised and is positioned at this colourity subregion: functional value monotonic increase is to the first gain function based on colourity of the default gain threshold based on colourity, as the oblique line rising gradually between colourity H0 and a certain colourity median; Functional value is the default gain threshold based on colourity the second gain function based on colourity, if the functional value in interstage is the function of max gain '; And functional value starts the 3rd gain function based on colourity of monotone decreasing from the default gain threshold based on colourity.The oblique line declining gradually between this colourity median and colourity H1 for example.Gain function by this colourity subregion shown in Fig. 4 just can be arranged in H0 to H1 saturation realization enhancing significantly to colourity, and has the process seamlessly transitting.Wherein, gain threshold based on colourity can adopt the parameter of acquiescence; also can be arranged by user; thereby the region needing protection is protected; need to strengthen the chroma areas that Amplitude Ratio is larger; want emphasis to strengthen, this is so-called colourity control namely, and this module will solve this difficult problem exactly.Such as people's the colour of skin, or such as gold, other does not need to do the color region that saturation strengthens, and will implement protection strategy, otherwise can become along with these color regions of enhancing of brightness quite bad.In this module, the chroma areas that just can need protection at these arranges protective barrier, i.e. the gain threshold based on colourity of this colourity subregion.The interstage that is to say, if while doing saturation enhancing in this section of protected region, only need to be done tiny enhancing, or does not strengthen, and keeps original saturation.Should can be set to as required max-thresholds by the gain threshold based on colourity, as max_gain ' in Fig. 4.Should also can be set to as required minimum threshold by the gain threshold based on colourity.
In addition, the saturation gain function of different colourity subregions can also adopt with Fig. 4 in the reverse function of figure the saturation in colourity subregion is gained, in this region, only need to do tiny enhancing, or while not strengthening.The gain coefficient of close this colourity subregion internal edge is by the gain coefficient higher than zone line.This chroma areas that for example will strengthen is people's the colour of skin, and people's colour of skin scope to be embodied on chromatic component be between another colourity interval, we do with other colourity and strengthen difference enhancement method in the time of just can strengthening the saturation in this colourity interval, allow its (saturation S) only to do trickle enhancing or do not strengthen, keep original condition.
Therefore, by the above-mentioned saturation to each colourity subregion, strengthen respectively, just can adopt different enhancing coefficients to different chromatic components.
(2) the gain function generation module 30 based on saturation
After the colourity of image is carried out to subregion, just need to the saturation in this colourity subregion be strengthened.Yet by the introduction in background, existing saturation component being strengthened, the known enhancing to saturation component S, need not strengthen in full section, therefore of the present invention need partly be carried out suitable enhancing to the interstage of saturation component S.The gain function generative process of the gain function generation module 30 based on saturation is as follows.
According to above known with the analysis of saturation component S; we are when gain coefficient; if allow all gain coefficients of saturation component S be same coefficients; so sometimes not only can not play the effect of enhancing; can destroy on the contrary the original character of image; making image worse, spectators' vision can not had to protective effect, can be even damage sometimes.So, the present invention solves this problem with regard to wanting a way, gain coefficient computing module 30 based on saturation can be according to the attribute of saturation component S, design adaptive gain coefficient, also each saturation component S is had to a gain coefficient matching, strengthen like this effect can than with one, strengthen that coefficient will be good a lot, image quality also has the improvement of matter.
Referring to Fig. 5, is the concrete structure figure of the gain function generation module based on saturation in the preferred embodiment of the present invention.As shown in Figure 5, the gain function generation module 30 based on saturation that this embodiment provides further comprises: saturation function memory cell 31 and the second gain function selected cell 32.
Wherein, saturation function memory cell 31, for the gain function gain based on saturation in generating and storing between the colourity regulatory region that user arranges.Refer to Fig. 6, the schematic diagram of the gain function based on saturation providing for the preferred embodiment of the present invention.As shown in Figure 6, the gain function based on saturation is provided with minimum saturation threshold value s to saturation component S 0with maximum saturation threshold value s 1.This minimum saturation threshold value s 0with maximum saturation threshold value s 1can adopt default parameters, or be arranged by user.When saturation component S original value is less than this minimum saturation threshold value s 0or be greater than maximum saturation threshold value s 1time, saturation component S original value is original just too little or when too large, with regard to there is no need, again saturation component S is strengthened, therefore, minimum saturation threshold value s 0with maximum saturation threshold value s 1outside saturation gain coefficient be 0.Minimum saturation threshold value s 0with maximum saturation threshold value s 1can arrange neatly to meet the different needs.
Due to everyone, and even some specific crowd is not the same to the vision response of color, and as for the ethnic group of Asia, people are for the colour of skin, more acceptant yellow; And especially for Chinese, our vision mechanism can more easily be selected those more bright-coloured color and lusters etc.According to the enhancing effect wanted, a maximum gain threshold value based on saturation can be first set, i.e. maximum gain factor max_gain, this maximum gain factor has determined the top that our saturation component S strengthens.The gain coefficient of the mid portion of saturation component S can be set to maximum gain coefficient, so just can guarantee that most saturation component S is enhanced.
Therefore, at minimum saturation threshold value s 0with maximum saturation threshold value s 1inside, has designed the gain function of monotonically increasing first based on saturation, from minimum saturation threshold value s 0to functional value between a certain median from the 0 oblique line section that rises to gradually the default gain threshold max gain based on saturation; The invariable second gain function based on saturation, its functional value is the default gain threshold max gain based on saturation; And the 3rd gain function based on saturation of monotone decreasing, from this median to maximum saturation threshold value s 1between functional value from max gain, drop to gradually 0 oblique line section.Like this, just from the lower gain coefficient based on saturation of value (if saturation is minimum saturation threshold value s 0time be 0) to the higher gain coefficient based on saturation of value (as saturation for certain median time), or from the higher gain coefficient based on saturation of value (as saturation for certain median time) to the lower gain coefficient based on saturation of value (if saturation is minimum saturation threshold value s 1time be 0) enhancing process in added suitable transition, rather than sharply rise or decline, be unlikely to the enhancing process of saturation component S to produce inharmonious, saturation component S is strengthened and has reached good protection effect.
The second gain function selected cell 22, for searching the corresponding gain function based on saturation between the colourity regulatory region that user arranges from described saturation function memory cell.
Therefore, by the above-mentioned saturation segmentation to complete section, strengthen, make the gain coefficient of the extra high part of component value can be for less, it is also less that the gain coefficient of low especially part can arrange, from component median, to the corresponding gain coefficient of component two end portions, there is a transition, rather than sharply rise or decline, available segment function is described.Certainly, another benefit of this algorithm is that these parameters can arrange flexibly.Therefore the above-mentioned gain function generation module 30 based on saturation can carry out self adaptation adjusting to saturation component S, to the too large and too little region division of saturation component S threshold value, strengthen the protection to its whole saturation component S.And in enhancing process; to from high value to low value; or added suitable transition the enhancing process from low value to high value; be unlikely to the enhancing process of saturation component S to produce inharmonious; saturation component S is strengthened and reached good protection effect; so just can make video pictures softer, also people's vision be played a very good protection.
(3) saturation strengthens module 40
And, as from the foregoing, after saturation component S and chromatic component H are done to corresponding analyzing and processing, can produce two corresponding saturation gain functions: gain and gain '.So, finally in saturation, strengthen in module 40, produce comprehensive gain coefficient, i.e. a gain*gain '.
So the final result to the enhancing of color is also that last saturation component S is:
S′=S*gain*gain′
Like this, just formed a color Strengthening Management system, can carry out adaptability enhancing to the different saturation in colourity subregions different in video image, can manage the outside in system by different parameters, and not needing update routine, this is also a characteristic part of the present invention.
Referring to Fig. 7, is the flow chart of image color Enhancement Method in the preferred embodiment of the present invention.As shown in Figure 7, the image color Enhancement Method that the present embodiment provides, comprises the following steps:
First, in step S1, the view data of input is transformed into HSV space from rgb space.The present invention can first be transformed into yuv space by the view data of input from rgb space, re-uses cordic algorithm it is transformed into HSV space from yuv space.The function of this step S1 is consistent with the description of the function of color-space conversion module 10 in device.
In step S2, receive between the colourity regulatory region of user's setting subsequently, generate the gain function gain ' based on colourity of this colourity subregion.This step further comprises: colourity subregion function storing step, generates and stores the gain function of different colourity subregions; And each in the gain function of described different colourity subregions comprises and is positioned at this colourity subregion: functional value monotonic increase to the first gain function, functional value based on colourity of the default gain threshold based on colourity is the default gain threshold based on colourity the second gain function based on colourity and functional value starts the 3rd gain function based on colourity of monotone decreasing from the default gain threshold based on colourity; And first gain function select step, for searching the corresponding gain function based on colourity between the colourity regulatory region that user arranges.The function of step S2 is consistent with the description of the function of the gain function generation module 20 based on colourity in device.
Subsequently, in step S3, between the colourity regulatory region arranging this user in, generate the gain function gain based on saturation.Step S3 can further comprise: saturation function storing step, the gain function based on saturation in generating and storing between the colourity regulatory region that user arranges; And the described gain function based on saturation comprises and is positioned at default minimum saturation threshold value to maximum saturation threshold range: first gain function, the functional value based on saturation of functional value since 0 monotonic increase to the default gain threshold based on saturation is the default gain threshold based on saturation the second gain function based on saturation and functional value is from the 3rd gain function based on saturation of the default gain threshold monotone decreasing to 0 based on saturation; And second gain function select step, for searching the corresponding gain function based on saturation between the colourity regulatory region that user arranges.The function of step S3 is consistent with the description of the function of the gain function generation module 30 based on saturation in device.
Finally in step S4, utilize gain function gain ' based on colourity and the product of the described gain function gain based on saturation to strengthen saturation.Be S '=S*gain*gain '.Step S4 is consistent with the description of the function of saturation enhancing module 40 in device.
In sum, image color enhancement device of the present invention passes through to adopt the saturation gain function of different colourity subregions with method, and uses the mode of transition, makes picture softer, avoid the tomography of the transition portion appearance between colourity, retained the stereovision of picture.Simultaneously in this colourity subregion; to the too large and too little region division of saturation component threshold value, only the interstage of saturation component is partly carried out to suitable enhancing, realized the protection to saturation component; make video pictures softer, also people's vision is played a very good protection.
Image color enhancement device of the present invention and method are described according to specific embodiment, but it will be understood by those skilled in the art that when not departing from the scope of the invention, can carry out various variations and be equal to replacement.In addition,, for adapting to the specific occasion of the technology of the present invention, can carry out many modifications and not depart from its protection range the present invention.Therefore, the present invention is not limited to specific embodiment disclosed herein, and comprises all embodiment that drop into claim protection range.

Claims (2)

1. an image color enhancement device, is characterized in that, comprising:
Color-space conversion module, is transformed into HSV space by the view data of input from rgb space;
Gain function generation module based on colourity, receives between the colourity regulatory region of user's setting, generates the gain function based on colourity of this colourity subregion;
Gain function generation module based on saturation, between the colourity regulatory region arranging this user in, generate the gain function based on saturation;
Saturation strengthens module, according to described gain function and a described comprehensive gain coefficient of gain function generation based on saturation based on colourity, and utilize described comprehensive gain coefficient to strengthen saturation, after strengthening, the expression formula of saturation is: S '=S*gain*gain ', wherein S is initial saturation, and S' is saturation after strengthening, and gain ' is the gain function based on colourity, gain is the gain function based on saturation, and gain*gain ' is comprehensive gain coefficient;
The described gain function generation module based on colourity further comprises:
Colourity subregion function storaging unit, for generating and storing the gain function of different colourity subregions; And each in the gain function of described different colourity subregions comprises and is positioned at this colourity subregion: functional value monotonic increase to the first gain function, functional value based on colourity of the default gain threshold based on colourity is the default gain threshold based on colourity the second gain function based on colourity and functional value starts the 3rd gain function based on colourity of monotone decreasing from the default gain threshold based on colourity;
The first gain function selected cell, for searching the corresponding gain function based on colourity between the colourity regulatory region that user arranges from described colourity subregion function storaging unit;
The described gain coefficient generation module based on saturation further comprises:
Saturation function memory cell, for the gain function based on saturation in generating and storing between the colourity regulatory region that user arranges; And the described gain function based on saturation comprises and is positioned at default minimum saturation threshold value to maximum saturation threshold range: first gain function, the functional value based on saturation of functional value since 0 monotonic increase to the default gain threshold based on saturation is the default gain threshold based on saturation the second gain function based on saturation and functional value is from the 3rd gain function based on saturation of the default gain threshold monotone decreasing to 0 based on saturation;
The second gain function selected cell, for searching the corresponding gain function based on saturation between the colourity regulatory region that user arranges from described saturation function memory cell;
Described color-space conversion module is first transformed into yuv space by the view data of input from rgb space, re-uses cordic algorithm it is transformed into HSV space from yuv space.
2. an image color Enhancement Method, is characterized in that, comprises the following steps:
Color space conversion step, is transformed into HSV space by the view data of input from rgb space;
Gain function based on colourity generates step, receives between the colourity regulatory region of user's setting, generates the gain function based on colourity of this colourity subregion;
Gain function based on saturation generates step, between the colourity regulatory region arranging this user in, generate the gain function based on saturation;
Saturation strengthens step, according to described gain function and a described comprehensive gain coefficient of gain function generation based on saturation based on colourity, and utilize described comprehensive gain coefficient to strengthen saturation, after strengthening, the expression formula of saturation is: S '=S*gain*gain ', wherein S is initial saturation, and S' is saturation after strengthening, and gain ' is the gain function based on colourity, gain is the gain function based on saturation, and gain*gain ' is comprehensive gain coefficient;
The described gain function based on colourity generates step and further comprises:
Colourity subregion function storing step, generates and stores the gain function of different colourity subregions; And each in the gain function of described different colourity subregions comprises and is positioned at this colourity subregion: functional value monotonic increase to the first gain function, functional value based on colourity of the default gain threshold based on colourity is the default gain threshold based on colourity the second gain function based on colourity and functional value starts the 3rd gain function based on colourity of monotone decreasing from the default gain threshold based on colourity;
The first gain function is selected step, for searching the corresponding gain function based on colourity between the colourity regulatory region that user arranges;
The described gain coefficient based on saturation generates step and further comprises:
Saturation function storing step, the gain function based on saturation in generating and storing between the colourity regulatory region that user arranges; And the described gain function based on saturation comprises and is positioned at default minimum saturation threshold value to maximum saturation threshold range: first gain function, the functional value based on saturation of functional value since 0 monotonic increase to the default gain threshold based on saturation is the default gain threshold based on saturation the second gain function based on saturation and functional value is from the 3rd gain function based on saturation of the default gain threshold monotone decreasing to 0 based on saturation;
The second gain function is selected step, for searching the corresponding gain function based on saturation between the colourity regulatory region that user arranges;
Described color space conversion step is first transformed into yuv space by the view data of input from rgb space, re-uses cordic algorithm it is transformed into HSV space from yuv space.
CN201110162580.0A 2011-06-16 2011-06-16 Image color enhancement device and method Active CN102223547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110162580.0A CN102223547B (en) 2011-06-16 2011-06-16 Image color enhancement device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110162580.0A CN102223547B (en) 2011-06-16 2011-06-16 Image color enhancement device and method

Publications (2)

Publication Number Publication Date
CN102223547A CN102223547A (en) 2011-10-19
CN102223547B true CN102223547B (en) 2014-03-12

Family

ID=44779954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110162580.0A Active CN102223547B (en) 2011-06-16 2011-06-16 Image color enhancement device and method

Country Status (1)

Country Link
CN (1) CN102223547B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663806B (en) * 2012-03-02 2014-12-10 西安交通大学 Artistic-vision-based cartoon stylized rendering method of image
CN102663697B (en) * 2012-04-01 2014-04-30 大连海事大学 Enhancement method of underwater color video image
CN103248793B (en) * 2013-05-14 2016-08-10 旭曜科技股份有限公司 The colour of skin optimization method of gamut conversion system and device
CN104217697B (en) * 2013-06-05 2018-10-09 中兴通讯股份有限公司 Screen display method, apparatus and system
CN103780797B (en) 2014-01-23 2016-08-31 北京京东方光电科技有限公司 The method and apparatus that a kind of image color strengthens
CN104243946B (en) * 2014-09-26 2017-04-19 深圳市华星光电技术有限公司 Image color enhancement method and device for display
CN104284168B (en) * 2014-10-17 2017-07-21 深圳市华星光电技术有限公司 image color enhancement method and system
CN108629738B (en) * 2017-03-16 2022-04-01 斑马智行网络(香港)有限公司 Image processing method and device
CN112866802B (en) * 2019-11-27 2022-03-15 深圳市万普拉斯科技有限公司 Video processing method, video processing device, storage medium and computer equipment
CN112911366B (en) * 2019-12-03 2023-10-27 海信视像科技股份有限公司 Saturation adjustment method and device and display equipment
CN112581390B (en) * 2020-12-11 2024-03-19 深圳开立生物医疗科技股份有限公司 Image color enhancement method, device, equipment and readable storage medium
CN116528060B (en) * 2023-07-04 2023-09-19 长春希达电子技术有限公司 Dark light image enhancement device, method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477598A (en) * 2002-07-20 2004-02-25 ���ǵ�����ʽ���� Self-adaptive enhancing image colour method and equipment
CN1496132A (en) * 2002-08-23 2004-05-12 ���ǵ�����ʽ���� Method for adjusting colour saturation using saturation control
CN1510929A (en) * 2002-12-20 2004-07-07 ���ǵ�����ʽ���� Colour signal correcting unit and metod, image processing system therewith
CN101115211A (en) * 2007-08-30 2008-01-30 四川长虹电器股份有限公司 Color independent reinforcement processing method
CN101123733A (en) * 2007-04-13 2008-02-13 四川长虹电器股份有限公司 Chroma signal processing method
CN101621702A (en) * 2009-07-30 2010-01-06 北京海尔集成电路设计有限公司 Method and device for automatically adjusting chroma and saturation

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1279764C (en) * 2003-11-10 2006-10-11 华亚微电子(上海)有限公司 System and method for reinforcing color saturation of video image
KR100612494B1 (en) * 2004-06-07 2006-08-14 삼성전자주식회사 Apparatus and method for saturation comtrolling of color image
CN101340510B (en) * 2008-08-07 2010-06-23 中兴通讯股份有限公司 Method for video enhancement and apparatus thereof
CN101668108A (en) * 2008-09-05 2010-03-10 比亚迪股份有限公司 Method and system for adjusting color saturation of image

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477598A (en) * 2002-07-20 2004-02-25 ���ǵ�����ʽ���� Self-adaptive enhancing image colour method and equipment
CN1496132A (en) * 2002-08-23 2004-05-12 ���ǵ�����ʽ���� Method for adjusting colour saturation using saturation control
CN1510929A (en) * 2002-12-20 2004-07-07 ���ǵ�����ʽ���� Colour signal correcting unit and metod, image processing system therewith
CN101123733A (en) * 2007-04-13 2008-02-13 四川长虹电器股份有限公司 Chroma signal processing method
CN101115211A (en) * 2007-08-30 2008-01-30 四川长虹电器股份有限公司 Color independent reinforcement processing method
CN101621702A (en) * 2009-07-30 2010-01-06 北京海尔集成电路设计有限公司 Method and device for automatically adjusting chroma and saturation

Also Published As

Publication number Publication date
CN102223547A (en) 2011-10-19

Similar Documents

Publication Publication Date Title
CN102223547B (en) Image color enhancement device and method
KR100834762B1 (en) Method and apparatus for gamut mapping for cross medias
KR101538912B1 (en) Tone and gamut mapping methods and apparatus
Zhang et al. Skin color enhancement based on favorite skin color in HSV color space
CN100470588C (en) Method of image color enhancement
CN101621704B (en) Method and device for color enhancement for graphic images
US7443453B2 (en) Dynamic image saturation enhancement apparatus
KR20070026701A (en) Dominant color extraction using perceptual rules to produce ambient light derived from video content
KR20090087084A (en) Gamut adaptation
US8064693B2 (en) Methods of and apparatus for adjusting colour saturation in an input image
KR20070090224A (en) Method of electronic color image saturation processing
CN102187657A (en) Contrast enhancement of images
US20080056566A1 (en) Video processing
CN104360829B (en) The method and apparatus for adjusting screen color temp
US8045062B2 (en) Contour free point operation for video skin tone correction
WO2022120799A9 (en) Image processing method and apparatus, electronic device, and storage medium
TWI707307B (en) Image adjusting method
US8284316B2 (en) Real-time image processing circuit capable of enhancing brightness contrast and color saturation
EP1895781B1 (en) Method of and apparatus for adjusting colour saturation
CN105631812B (en) Control method and control device for color enhancement of display image
US9852531B2 (en) Electronic apparatus and method for controlling the same
WO2021069282A1 (en) Perceptually improved color display in image sequences on physical displays
KR20160007319A (en) Electronic apparatus and Method for controlling the electronic apparatus thereof
US12087249B2 (en) Perceptual color enhancement based on properties of responses of human vision system to color stimulus
CN111031301A (en) Method for adjusting color gamut space, storage device and display terminal

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240612

Address after: 313009, No. 585-555, Shiyuan West Road, Dongqian Street, Nanxun District, Huzhou City, Zhejiang Province (self declared)

Patentee after: Huzhou Xiantong Technology Co.,Ltd.

Country or region after: China

Address before: 518067, Room 333, Building B, Beijing Guanghaijing Garden, Dongbin Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Wang Hongjian

Country or region before: China