Nothing Special   »   [go: up one dir, main page]

CN101873503A - Method and device for adjusting image property - Google Patents

Method and device for adjusting image property Download PDF

Info

Publication number
CN101873503A
CN101873503A CN200910253944A CN200910253944A CN101873503A CN 101873503 A CN101873503 A CN 101873503A CN 200910253944 A CN200910253944 A CN 200910253944A CN 200910253944 A CN200910253944 A CN 200910253944A CN 101873503 A CN101873503 A CN 101873503A
Authority
CN
China
Prior art keywords
image
brightness
regulated
adjusted
contrast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910253944A
Other languages
Chinese (zh)
Other versions
CN101873503B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Software Co Ltd filed Critical Hangzhou Hikvision Software Co Ltd
Priority to CN 200910253944 priority Critical patent/CN101873503B/en
Publication of CN101873503A publication Critical patent/CN101873503A/en
Application granted granted Critical
Publication of CN101873503B publication Critical patent/CN101873503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

The invention discloses a method and a device for adjusting image property, wherein the method comprises the following steps that: obtaining the image property parameters of a YUV image; and adjusting the image property parameters according to a preset strategy, and obtaining the adjusted image property. After being applied, the method and the device provided by the embodiment for adjusting the image property omit two times of module conversion of YUV to RGB and RGB to HSV, prevent the problems of excessive calculation and to many consumed resources when the image property of the YUV image is adjusted, so that the occupied resources during the adjustment are very few because the property of the YUV image data is directly adjusted, thereby greatly improving the adjustment efficiency. In addition, the embodiment increases methods for dynamically adjusting the brightness of the image and improves the video effect of image adjustment. Through test and comparison, the adjustment effect of the invention is better than the method for adjusting the color property after converting through a color model.

Description

A kind of method and apparatus of regulating image attributes
Technical field
The present invention relates to the image attributes technical field, particularly a kind of method and apparatus of regulating image attributes.
Background technology
For image attributes better is described, below color model is done a simple declaration earlier:
The YUV model: the colour coding method that a kind of television system adopted, be used to solve the compatibling problem of color television set and black and white television set, be one of color model commonly used at present.Y, U, V represent luminance signal and blue difference signal and red color difference signal respectively.YUV is mainly used in the transmission of optimizing colour-video signal, makes its compatible backward old-fashioned black-and-white TV.Compare with rgb video signal transmission, its biggest advantage is only need take few frequency range (RGB requirement three independently vision signal transmit simultaneously).Wherein " Y " represents brightness (Luminance or Luma), just GTG value; That " U " and " V " represents then is colourity (Chrominance or Chroma), and effect is to describe colors of image and saturation, is used to specify color of pixel." brightness " sees through the RGB input signal and sets up, and method is that the specific part with rgb signal is superimposed together." colourity " has then defined two the aspect-tones and the saturation of color.
The RGB model: the color model that a kind of three primary colors colour mixture principle produces, three primary colors are red, green, blue, are represented by R, G, B respectively, the occurring in nature shades of colour can be mixed by the different proportion addition by three primary colors.
The HSV model: a kind of color model that relatively meets human-eye visual characteristic has the advantage that light tone is separated.H, S, V represent carrier chrominance signal, saturation signal and luminance signal respectively.
Image attributes is regulated: image attributes comprises brightness, contrast, and the color harmony saturation can reach the purpose that the image vision characteristic is regulated by image attributes is regulated.
At present, regulate, generally adopt the method for color model conversion to realize, that is, at first the YUV modular form is converted to the RGB model, and then is converted to the HSV model, then the hsv color model is carried out color attribute and regulate at the image attributes that the YUV model carries out.
As seen, by the conversion of YUV model conversion for twice color model of HSV model needs, the conversion of each color model all needs very big amount of calculation, need expend a lot of resources.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus of regulating image attributes, and is excessive to avoid when regulating the image attributes of YUV image amount of calculation, the problem that consumes resources is many.
The embodiment of the invention provides a kind of method of regulating image attributes, comprising:
Obtain the image attributes parameter of YUV image;
Described image attributes parameter is regulated the image attributes after obtaining to regulate according to predetermined strategy.
Wherein, described image attributes parameter comprises following one of them or combination in any:
Brightness, contrast, saturation and colourity.
Wherein, when the image attributes parameter is brightness, the Y component in the YUV image is regulated; Then the step that described image attributes parameter is regulated according to predetermined strategy comprises:
When brightness Y when the direction that increases is regulated,
Y′=Y+B
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and B is the value of brightness regulation;
When brightness Y when the direction that reduces is regulated,
Y′=min(Y,Y″)
Wherein, Y is the brightness value before image is adjusted, and Y is the adjusted brightness value of brightness, Y " is the maximum after the brightness regulation.
Wherein, when the image attributes parameter is contrast, the Y component in the YUV image is regulated; Then the step that described image attributes parameter is regulated according to predetermined strategy comprises:
When contrast when the direction that increases is regulated,
Y′=Y*C
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and C is the contrast adjustment value;
When contrast when the direction that reduces is regulated,
Y′=A+(Y-A)*C
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and C is the contrast adjustment value, and A is a radix value.
Wherein, when the image attributes parameter is saturation, U in the YUV image and V component are regulated; Then the step that described image attributes parameter is regulated according to predetermined strategy comprises:
U′=((U-128)*S)+128
V′=((V-128)*S)+128
Wherein, U is the blue difference signal value before image is adjusted, and U ' is adjusted blue difference signal value, and V is the red color difference signal value before image is adjusted, and V ' is adjusted red color difference signal value, and S is the saturation regulated value.
Wherein, when the image attributes parameter is colourity, U in the YUV image and V component are regulated; Then the step that described image attributes parameter is transferred according to predetermined strategy comprises:
U′=(U-128)*cosθ+(V-128)*sinθ+128
V′=(V-128)*cosθ-(U-128)*sinθ+128
Wherein, U is the blue difference signal value before image is adjusted, and U ' is adjusted blue difference signal value, and V is the red color difference signal value before image is adjusted, and V ' is adjusted red color difference signal value, and θ is the colourity regulated quantity.
Wherein, described method further comprises: practical adjustments amount and slide block regulated quantity are the non-linear increasing relation, and the variation of B value increases with the regulated quantity of brightness, reduces thereupon reducing.
Wherein, brightness regulation to image is carried out self adaptation to the mean picture brightness before regulating, if the integral body of image before regulating is brighter, then the odds ratio of practical adjustments amount and slide block regulated quantity is bigger, if image overall brightness before regulating is less, then the ratio of practical adjustments amount and slide block regulated quantity is also smaller.
Wherein, described method further comprises:
The regulated quantity of described saturation is carried out adaptive change to image brightness, and the practical adjustments amount of saturation reduces along with the increase of brightness, increases along with the increase of contrast, reduces when the brightness and contrast reduces simultaneously thereupon.
The embodiment of the invention also provides a kind of device of regulating image attributes, comprising:
Parameter acquisition module is used to obtain the image attributes parameter of YUV image;
Adjustment module is used for described image attributes parameter is regulated according to predetermined strategy, the image attributes after obtaining to regulate.
Wherein, described image attributes parameter comprises following one of them or combination in any:
Brightness, contrast, saturation and colourity.
Wherein, further comprise:
The brightness adaptation module, when being used for the brightness regulation to image, if the integral body of image is brighter, then regulated quantity is bigger, if integral image brightness is less, then regulated quantity is also less.
Wherein, further comprise:
The comprehensive adjustment module, the regulated quantity that is used to control described saturation reduces along with the increase of brightness, increases along with the increase of contrast, and when reducing simultaneously along with the brightness and contrast and reduce.
Use the adjusting image attributes method and apparatus that the embodiment of the invention provides, saved twice module converts of YUV~RGB and RGB~HSV, avoid when regulating the image attributes of YUV image amount of calculation excessive, the problem that consumes resources is many, because can directly carry out attribute at the YUV view data regulates, accent makes resource that adjustment process takies seldom, has improved the efficient of regulating greatly.
Have, the embodiment of the present application has increased the method for the brightness of image self being carried out dynamic adjustments again, has improved the video effect of image adjustment, and through test comparison, regulating effect of the present invention is better than through carrying out the control method of color attribute after the color model conversion.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of flow chart of regulating the image attributes method according to the embodiment of the invention;
Fig. 2 is a schematic diagram of regulating image attributes according to the employing slide block of the embodiment of the invention;
Fig. 3 is according to the schematic diagram that concerns between the B value of the embodiment of the invention and the brightness adjustment;
Fig. 4 is according to the schematic diagram that concerns between the C value of the embodiment of the invention and the contrast adjustment amount;
Fig. 5 is the schematic diagram that concerns according to the color harmony saturation of the embodiment of the invention;
Fig. 6 is the schematic diagram that concerns according to the regulated quantity S of the saturation of the embodiment of the invention and saturation slide block adjusting position and brightness, contrast;
Fig. 7 is the apparatus structure schematic diagram according to the adjusting image attributes of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Referring to Fig. 1, it is a kind of flow chart of regulating the image attributes method according to the embodiment of the invention.Specifically comprise:
Step 101 is obtained the image attributes parameter of YUV image;
Concrete, the image attributes parameter comprises following one of them or combination in any: brightness, contrast, saturation and colourity;
Step 102 is regulated according to predetermined strategy described image attributes parameter, the image attributes after obtaining to regulate.
Use the adjusting image attributes method that the embodiment of the invention provides, saved twice module converts of YUV~RGB and RGB~HSV, avoid when regulating the image attributes of YUV image amount of calculation excessive, the problem that consumes resources is many, because can directly carry out attribute at the YUV view data regulates, accent makes resource that adjustment process takies seldom, has improved the efficient of regulating greatly.
Have, the embodiment of the present application has increased the method for the brightness of image self being carried out dynamic adjustments again, has improved the video effect of image adjustment, and through test comparison, regulating effect of the present invention is better than through carrying out the control method of color attribute after the color model conversion.
The mode that a kind of possible image attributes to the YUV image is regulated can adopt the regulative mode of slide block, as shown in Figure 2, can design a slider bar respectively at brightness, contrast, saturation and colourity, when slide block is in the centre position of slider bar, show and regulate, when slide block is moved to the left, show that this component is to the direction adjusting that reduces, when slide block is wanted to move right, show that this component is to the direction adjusting that increases.Among Fig. 2, regulated quantity is divided into 100 grades, the centre position is 50, and this position shows to be regulated this moment.Regulating maximum magnitude left is 0, and regulating maximum magnitude to the right is 100, about the adjusting grade all be 50.Reset button is used for after brightness, contrast, saturation and colourity are regulated four sliding shoes being returned to the centre position.
Respectively brightness regulation, contrast adjustment, saturation adjusting and colourity are regulated below and be elaborated.
Actual to the adjusting of brightness is that the Y component in the YUV image is regulated.At this moment, the step of in the step 102 described image attributes parameter being regulated according to predetermined strategy comprises:
When brightness Y when the direction that increases is regulated,
Y′=Y+B (1)
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and B is the value of brightness regulation;
When brightness Y when the direction that reduces is regulated,
Y′=min(Y,Y″) (2)
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, Y " is the maximum after the brightness regulation.
For the situation that brightness Y regulates to the direction that reduces, the tonal range of default image is 0~255 before regulating, and regulating the back tonal range is 0~Y ", the value B=|255-Y of brightness regulation ".
When brightness was regulated to the direction that increases, the variation of B value increased with the regulated quantity of brightness, reducing and reduce with regulated quantity.When brightness was regulated to the direction that reduces, the variation of B value increased with the regulated quantity of brightness, reducing and reduce with regulated quantity.The relation of regulated quantity and B value is non-linear monotonically increasing.The B value is relevant with the attribute of image own in addition, be designed in the embodiment of the present application the mean flow rate of image is carried out self adaptation, earlier the mean picture brightness before regulating is carried out self adaptation during also promptly to the brightness regulation of image, if the integral body brighter (just mean flow rate bigger) of image before regulating, then practical adjustments amount and slide block regulated quantity is bigger frequently, if image overall brightness before regulating is less, then the ratio of practical adjustments amount and slide block regulated quantity is also smaller.Just the brightness regulation curve carries out self adaptation to the original brightness value of image.
Referring to Fig. 3, it is according to the schematic diagram that concerns between the B value of the embodiment of the invention and the brightness adjustment.Among Fig. 3, abscissa is the regulated quantity of brightness slide block, and scope is 0-100, and ordinate is the practical adjustments amount, and scope is 0-255, i.e. B in the corresponding adjusting of the value of the ordinate formula, and abscissa is actual regulated quantity.Dotted line is the regulating effect of integral image brightness when big among the figure, and solid line is the overall brightness regulating effect hour of image.
Adjusting reality to contrast also is that the Y component in the YUV image is regulated.At this moment, the step of in the step 102 described image attributes parameter being regulated according to predetermined strategy comprises:
When contrast when the direction that increases is regulated,
Y′=Y*C (3)
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and C is the contrast adjustment value;
When contrast when the direction that reduces is regulated,
Y′=A+(Y-A)*C (4)
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and C is the contrast adjustment value, and A is a radix value.In actual applications, A can get arbitrary value, and A can get 30 in a preferred embodiment.
The variation of above-mentioned C value increases with the regulated quantity of contrast, reduce thereupon reducing, but discord contrast adjustment amount is proportional, but more hour in the contrast adjustment amount, gray scale (also being brightness Y) increases soon more, and when the contrast adjustment amount was big more, it is slow more that gray scale increases.The C value is influenced by brightness adjustment, and when brightness adjustment was big, the C value reduced thereupon.Equally, the C value has been carried out self adaptation to the overall brightness of image, at the difference of image averaging gray scale, and C value big or small different.
Referring to Fig. 4, it is according to the schematic diagram that concerns between the C value of the embodiment of the invention and the contrast adjustment amount.Among Fig. 4, abscissa is represented the regulated quantity of contrast slide block, and scope is 0-100, ordinate is represented the practical adjustments effect of contrast, and scope is 0-2, and solid line a is that integral image brightness is less, when brightness is regulated to the direction that reduces, the relation of contrast slide block regulated quantity and actual contrast regulated value.Dotted line b is that integral image brightness is bigger, when brightness is regulated to the direction that reduces, and the relation of contrast slide block regulated quantity and actual contrast regulated value.
Need to prove that the embodiment of the present application combines brightness and contrast's adjusting, brightness regulation and contrast adjustment are combined, interact, to reach better regulating effect.
When preventing that the integral image gray scale is big, the brightness and contrast regulates the excessive phenomenon of adjusting that causes to the direction that increases simultaneously, and the safeguard measure when being provided with this kind situation suppresses excessively to regulate phenomenon.Braking measure is, regulates and regulated quantity when all bigger to the direction that increases simultaneously the brightness and contrast, reduces brightness and contrast's practical adjustments amount.
The adjusting of saturation is a mould of regulating the vector of carrier chrominance signal U, V component composition, and the big more saturation of mould is big more, otherwise more little.
The relation of color harmony saturation as shown in Figure 5, among Fig. 5, U is a blue difference signal, V is a red color difference signal, the value of angle θ is the regulated quantity of tone, the mould of vectorial b is the regulated quantity of saturation.Adjustment process to saturation and colourity elaborates again below.
Actual to the adjusting of saturation is that U in the YUV image and V component are regulated.At this moment, the step of in the step 102 described image attributes parameter being regulated according to predetermined strategy comprises:
U′=((U-128)*S)+128 (5)
V′=((V-128)*S)+128 (6)
Wherein, U is the blue difference signal value before image is adjusted, and U ' is adjusted blue difference signal value, and V is the red color difference signal value before image is adjusted, and V ' is adjusted red color difference signal value, and S is the saturation regulated value.Wherein, 128 is central value.
In the YUV image space, the change of Y component can cause the change of colourity, and in order to obtain better effect, the regulated quantity of the saturation of image is influenced by brightness and contrast's regulated quantity, the regulated quantity of saturation reduces along with the increase of brightness, increases along with the increase of contrast; And reduce along with reducing of brightness and contrast.That is to say that the regulated quantity of saturation is carried out adaptive change to image brightness, the practical adjustments amount of saturation reduces along with the increase of brightness, increases along with the increase of contrast, reduces when the brightness and contrast reduces simultaneously thereupon.
Referring to Fig. 6, it is the schematic diagram that concerns according to the regulated quantity S of the saturation of the embodiment of the invention and saturation slide block adjusting position and brightness, contrast.Among Fig. 6, abscissa is represented the position of saturation adjusting slider, and ordinate is represented the practical adjustments amount of saturation.The adjustable range of abscissa is 0~100,50 centers when regulating for slide block, and this moment, saturation was not regulated.The adjustable range of ordinate is 0~2.0 for to be adjusted to minimum with saturation, and this moment, saturation was 0, and promptly image does not have colouring information.Among Fig. 6, solid line a is in initial position for brightness and contrast's adjusting slider, when being unadjusted state, regulate the position of saturation slide block and the relation of actual saturation separately, dotted line b is that the brightness and contrast is when the direction that reduces is regulated, regulate the position of saturation slide block and the relation of actual saturation, dotted line c be brightness or contrast when the direction that increases is regulated, regulate the position of saturation slide block and the relation of actual saturation.
In the adjusting of tone, adopt the regulative mode of colour circle in the embodiment of the invention.
Adjusting reality to colourity also is that U in the YUV image and V component are regulated.At this moment, the step of in the step 102 described image attributes parameter being regulated according to predetermined strategy comprises:
U′=(U-128)*cosθ+(V-128)*sinθ+128 (7)
V′=(V-128)*cosθ-(U-128)*sinθ+128 (8)
Wherein, U is the blue difference signal value before image is adjusted, and U ' is adjusted blue difference signal value, and V is the red color difference signal value before image is adjusted, and V ' is adjusted red color difference signal value, and θ is the colourity regulated quantity.Wherein, 128 is central value.
Use the method that the embodiment of the invention provides, each width of cloth picture is handled, also just can be handled, therefore be not subjected to the restriction of the scope of application of picture and video each two field picture of video, both be applicable to picture adjusting pattern, also be applicable to video adjusting pattern.
The embodiment of the invention also provides a kind of device of regulating image attributes, referring to Fig. 7, specifically comprises:
Parameter acquisition module 701 is used to obtain the image attributes parameter of YUV image;
Adjustment module 702 is used for described image attributes parameter is regulated according to predetermined strategy, the image attributes after obtaining to regulate.
Above-mentioned image attributes parameter comprises following one of them or combination in any: brightness, contrast, saturation and colourity.
Said apparatus may further include:
The brightness adaptation module, when being used for the brightness regulation to image, if the integral body of image is brighter, then regulated quantity is bigger, if integral image brightness is less, then regulated quantity is also less.
Said apparatus can further include:
The comprehensive adjustment module, the regulated quantity that is used to control described saturation reduces along with the increase of brightness, increases along with the increase of contrast, and when reducing simultaneously along with the brightness and contrast and reduce.
Use the adjusting image attributes device that the embodiment of the invention provides, saved twice module converts of YUV~RGB and RGB~HSV, avoid when regulating the image attributes of YUV image amount of calculation excessive, the problem that consumes resources is many, because can directly carry out attribute at the YUV view data regulates, make resource that adjustment process takies seldom, improved the efficient of regulating greatly.
Have, the embodiment of the present application has increased the method for the brightness of image self being carried out dynamic adjustments again, has improved the video effect of image adjustment, and through test comparison, regulating effect of the present invention is better than through carrying out the control method of color attribute after the color model conversion.
For device embodiment, because it is substantially similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Need to prove, in this article, such as term " comprise ", " comprising " or its any other variant be intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Do not having under the situation of more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the said method execution mode is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, here the alleged storage medium that gets, as: ROM/RAM, magnetic disc, CD etc.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (13)

1. a method of regulating image attributes is characterized in that, comprising:
Obtain the image attributes parameter of YUV image;
Described image attributes parameter is regulated the image attributes after obtaining to regulate according to predetermined strategy.
2. according to the described method of claim 1, it is characterized in that described image attributes parameter comprises following one of them or combination in any:
Brightness, contrast, saturation and colourity.
3. according to the described method of claim 2, it is characterized in that, when the image attributes parameter is brightness, the Y component in the YUV image is regulated; Then the step that described image attributes parameter is regulated according to predetermined strategy comprises:
When brightness Y when the direction that increases is regulated,
Y′=Y+B
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and B is the value of brightness regulation;
When brightness Y when the direction that reduces is regulated,
Y′=min(Y,Y″)
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, Y " is the maximum after the brightness regulation.
4. according to the described method of claim 2, it is characterized in that, when the image attributes parameter is contrast, the Y component in the YUV image is regulated; Then the step that described image attributes parameter is regulated according to predetermined strategy comprises:
When contrast when the direction that increases is regulated,
Y′=Y*C
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and C is the contrast adjustment value;
When contrast when the direction that reduces is regulated,
Y′=A+(Y-A)*C
Wherein, Y is the brightness value before image is adjusted, and Y ' is the adjusted brightness value of brightness, and C is the contrast adjustment value, and A is a radix value.
5. according to the described method of claim 2, it is characterized in that, when the image attributes parameter is saturation, U in the YUV image and V component are regulated; Then the step that described image attributes parameter is regulated according to predetermined strategy comprises:
U′=((U-128)*S)+128
V′=((V-128)*S)+128
Wherein, U is the blue difference signal value before image is adjusted, and U ' is adjusted blue difference signal value, and V is the red color difference signal value before image is adjusted, and V ' is adjusted red color difference signal value, and S is the saturation regulated value.
6. according to the described method of claim 2, it is characterized in that, when the image attributes parameter is colourity, U in the YUV image and V component are regulated; Then the step that described image attributes parameter is transferred according to predetermined strategy comprises:
U′=(U-128)*cosθ+(V-128)*sinθ+128
V′=(V-128)*cosθ-(U-128)*sinθ+128
Wherein, U is the blue difference signal value before image is adjusted, and U ' is adjusted blue difference signal value, and V is the red color difference signal value before image is adjusted, and V ' is adjusted red color difference signal value, and θ is the colourity regulated quantity.
7. according to the arbitrary described method of claim 2~4, it is characterized in that described method further comprises: practical adjustments amount and slide block regulated quantity are the non-linear increasing relation, and the variation of B value increases with the regulated quantity of brightness, reduces thereupon reducing.
8. according to the arbitrary described method of claim 2~4, it is characterized in that, brightness regulation to image is carried out self adaptation to the mean picture brightness before regulating, if the integral body of image before regulating is brighter, then the odds ratio of practical adjustments amount and slide block regulated quantity is bigger, if image overall brightness before regulating is less, then the ratio of practical adjustments amount and slide block regulated quantity is also smaller.
9. according to the described method of claim 5, it is characterized in that described method further comprises:
The regulated quantity of described saturation is carried out adaptive change to image brightness, and the practical adjustments amount of saturation reduces along with the increase of brightness, increases along with the increase of contrast, reduces when the brightness and contrast reduces simultaneously thereupon.
10. a device of regulating image attributes is characterized in that, comprising:
Parameter acquisition module is used to obtain the image attributes parameter of YUV image;
Adjustment module is used for described image attributes parameter is regulated according to predetermined strategy, the image attributes after obtaining to regulate.
11., it is characterized in that described image attributes parameter comprises following one of them or combination in any according to the described device of claim 10:
Brightness, contrast, saturation and colourity.
12. according to the described device of claim 11, it is characterized in that, further comprise:
The brightness adaptation module, when being used for the brightness regulation to image, if the integral body of image is brighter, then regulated quantity is bigger, if integral image brightness is less, then regulated quantity is also less.
13. according to the described method of claim 12, it is characterized in that, further comprise:
The comprehensive adjustment module, the regulated quantity that is used to control described saturation reduces along with the increase of brightness, increases along with the increase of contrast, and when reducing simultaneously along with the brightness and contrast and reduce.
CN 200910253944 2009-12-09 2009-12-09 Method and device for adjusting image property Active CN101873503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910253944 CN101873503B (en) 2009-12-09 2009-12-09 Method and device for adjusting image property

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910253944 CN101873503B (en) 2009-12-09 2009-12-09 Method and device for adjusting image property

Publications (2)

Publication Number Publication Date
CN101873503A true CN101873503A (en) 2010-10-27
CN101873503B CN101873503B (en) 2013-02-13

Family

ID=42998120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910253944 Active CN101873503B (en) 2009-12-09 2009-12-09 Method and device for adjusting image property

Country Status (1)

Country Link
CN (1) CN101873503B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102280096A (en) * 2011-07-15 2011-12-14 杭州米加科技有限公司 Method for combining image scaling and color space switching
CN104883552A (en) * 2015-05-22 2015-09-02 深圳市载德光电技术开发有限公司 YUV (Luma and Chroma) coded format-based image adjusting method and system
CN105893885A (en) * 2016-03-28 2016-08-24 努比亚技术有限公司 Adjustment method and device for input interface
CN106210687A (en) * 2015-05-28 2016-12-07 中华映管股份有限公司 Transparent display and image adjusting method thereof
CN107247551A (en) * 2017-06-30 2017-10-13 京东方科技集团股份有限公司 Brightness adjusting method and device
CN107909553A (en) * 2017-11-02 2018-04-13 青岛海信电器股份有限公司 A kind of image processing method and equipment
CN108200420A (en) * 2018-01-16 2018-06-22 奇酷互联网络科技(深圳)有限公司 Picture adjustment methods, device, readable storage medium storing program for executing and terminal
CN110288570A (en) * 2019-05-31 2019-09-27 东南大学 A kind of weak iridescent image detection method of the rotor winding of view-based access control model attention mechanism
CN111182351A (en) * 2020-03-17 2020-05-19 惠州Tcl移动通信有限公司 Video playing processing method and device, storage medium and terminal
CN111416950A (en) * 2020-03-26 2020-07-14 腾讯科技(深圳)有限公司 Video processing method and device, storage medium and electronic equipment
TWI825410B (en) * 2020-04-28 2023-12-11 大陸商深圳市思坦科技有限公司 Image processing methods, devices, photographic equipment and storage media

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100534201C (en) * 2005-11-22 2009-08-26 逐点半导体(上海)有限公司 Color space conversion apparatus and conversion method
CN101009851B (en) * 2007-01-19 2010-07-07 北京中星微电子有限公司 Image processing method and its device
CN101340510B (en) * 2008-08-07 2010-06-23 中兴通讯股份有限公司 Method for video enhancement and apparatus thereof

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102280096B (en) * 2011-07-15 2013-09-18 杭州米加科技有限公司 Method for combining image scaling and color space switching
CN102280096A (en) * 2011-07-15 2011-12-14 杭州米加科技有限公司 Method for combining image scaling and color space switching
CN104883552A (en) * 2015-05-22 2015-09-02 深圳市载德光电技术开发有限公司 YUV (Luma and Chroma) coded format-based image adjusting method and system
CN106210687A (en) * 2015-05-28 2016-12-07 中华映管股份有限公司 Transparent display and image adjusting method thereof
CN105893885A (en) * 2016-03-28 2016-08-24 努比亚技术有限公司 Adjustment method and device for input interface
WO2019001005A1 (en) * 2017-06-30 2019-01-03 京东方科技集团股份有限公司 Method and device for adjusting brightness
CN107247551A (en) * 2017-06-30 2017-10-13 京东方科技集团股份有限公司 Brightness adjusting method and device
CN107909553A (en) * 2017-11-02 2018-04-13 青岛海信电器股份有限公司 A kind of image processing method and equipment
CN107909553B (en) * 2017-11-02 2021-10-26 海信视像科技股份有限公司 Image processing method and device
CN108200420A (en) * 2018-01-16 2018-06-22 奇酷互联网络科技(深圳)有限公司 Picture adjustment methods, device, readable storage medium storing program for executing and terminal
CN110288570A (en) * 2019-05-31 2019-09-27 东南大学 A kind of weak iridescent image detection method of the rotor winding of view-based access control model attention mechanism
CN111182351A (en) * 2020-03-17 2020-05-19 惠州Tcl移动通信有限公司 Video playing processing method and device, storage medium and terminal
CN111416950A (en) * 2020-03-26 2020-07-14 腾讯科技(深圳)有限公司 Video processing method and device, storage medium and electronic equipment
CN111416950B (en) * 2020-03-26 2023-11-28 腾讯科技(深圳)有限公司 Video processing method and device, storage medium and electronic equipment
TWI825410B (en) * 2020-04-28 2023-12-11 大陸商深圳市思坦科技有限公司 Image processing methods, devices, photographic equipment and storage media

Also Published As

Publication number Publication date
CN101873503B (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN101873503B (en) Method and device for adjusting image property
CN103843058B (en) Apparatus and method for the dynamic range transform of image
CN104364820B (en) Brightness with color constraint changes image procossing
CN101715141B (en) Method and equip for joint enhancement of lightness, color and contrast of images and video
CN102611897B (en) Method and system for carrying out vision perception high-fidelity transformation on color digital image
US10129511B2 (en) Image processing apparatus, image projection apparatus, and image processing method
KR100834762B1 (en) Method and apparatus for gamut mapping for cross medias
US8860747B2 (en) System and methods for gamut bounded saturation adaptive color enhancement
CN109937444A (en) Display device
KR101379367B1 (en) Gamut adaptation
CN101621702B (en) Method and device for automatically adjusting chroma and saturation
CN102638688A (en) Method and apparatus for brightness-controlling image conversion
CN109155060A (en) Image processing apparatus, image processing method and program
CN104935902A (en) Image color enhancement method and device, and electronic equipment
CN101383138B (en) Color regulating method, system and display
CN101764913A (en) Color replacement method base on HSV space
US20090268961A1 (en) Color-saturation control method
US20100156956A1 (en) Grayscale characteristic for non-crt displays
CN109346015B (en) Color display method based on energy-saving idea
CN114999363A (en) Color shift correction method, device, equipment, storage medium and program product
CN102164289B (en) Method and/or apparatus for implementing a color management module
TWI383333B (en) Method and system for adjusting saturation of image
JP2012513634A (en) Method for changing image data signal, device for changing image data signal, and display device
Safaee-Rad et al. Comparative performance analysis of two picture adjustment methods: HSV vs. YCbCr
JP2024516300A (en) Content-optimized ambient light HDR video adaptation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HANGZHOU HAIKANG WEISHI SOFTWARE CO., LTD.

Effective date: 20120905

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120905

Address after: Hangzhou City, Zhejiang province 310012 Binjiang District East Road Haikang Science Park No. 700, No. 1

Applicant after: Hangzhou Hikvision Digital Technology Co., Ltd.

Address before: Ma Cheng Road Hangzhou City, Zhejiang province 310012 No. 36

Applicant before: Hangzhou Haikang Weishi Software Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant