CN100571405C - Adjust the saturation in the zone in the image and the method and the relevant apparatus of contrast - Google Patents

Adjust the saturation in the zone in the image and the method and the relevant apparatus of contrast Download PDF

Info

Publication number
CN100571405C
CN100571405C CNB2007101477982A CN200710147798A CN100571405C CN 100571405 C CN100571405 C CN 100571405C CN B2007101477982 A CNB2007101477982 A CN B2007101477982A CN 200710147798 A CN200710147798 A CN 200710147798A CN 100571405 C CN100571405 C CN 100571405C
Authority
CN
China
Prior art keywords
pixel
value
zone
image
difference degree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2007101477982A
Other languages
Chinese (zh)
Other versions
CN101137069A (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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Publication of CN101137069A publication Critical patent/CN101137069A/en
Application granted granted Critical
Publication of CN100571405C publication Critical patent/CN100571405C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

One adjusts the method for the saturation in the zone in the image, the value of an initial saturation that comprises this pixel in difference degree of a pixel of calculating this zone in this image and this zone in this difference degree and this image, calculate the value of this pixel in this zone in this image, with the purpose of the saturation of reaching this pixel in this zone of adjusting in this image through adjusted saturation.This difference degree is the luminance difference of pointing out between the pixel groups of an adjacent domain of this pixel in this pixel and this zone, this pixel groups comprises the pixel in this adjacent domain of this pixel in this zone in this image, and the calculating of wherein said difference degree comprises: to the pixel in the described pixel groups in the mode of different weights on average to obtain an average brightness value; And with the original brightness value comparison of described average brightness value and described pixel to produce described difference degree.

Description

Adjust the saturation in the zone in the image and the method and the relevant apparatus of contrast
Technical field
The invention provides the saturation in the zone in a kind of adjustment one image and the method for contrast, more particularly, provide luminance difference degree between the pixel groups of a kind of brightness of the pixel according to this zone in this image and this pixel adjacent domain to adjust the brightness and contrast and the saturation of saturation of this pixel to adjust this zone.
Background technology
When high-res (High Definition, HD) product of Ying Yonging is healed and is become popular, the image quality that is shown on the electronic installation also becomes even more important.Most electronic product all has different Preferences to meet different users's demand.In order to the product of show image, as TV, projector, perhaps computer monitor all has the interface of adjustment usually and adjusts contrast, saturation for the user, and perhaps other parameters are so that the picture that shows can more meet user's requirement.
In the middle of traditional design, when adjusting the contrast of a picture, some statistics in one image can be used to calculate, meet the adjustment factor table of comparisons of this image or adjust saturation and produce one, the brightness value of image that corresponds to of each pixel just can be adjusted the factor table of comparisons or adjusts saturation and find the corresponding adjustment factor from this then, and multiply by this adjustment factor, to obtain an adjusted brightness value of image.And in the middle of traditional design, the mode of adjusting the picture saturation also is similar.Therefore, if there is better adjustment mode to adjust the contrast and the saturation of picture, electronic installation will show better, more high-quality picture is given the user.
Summary of the invention
The invention provides the method for the saturation in the zone in a kind of adjustment one image.This image is shown in an electronic system.This electronic system comprises a storage element in order to store the information of this image.This method comprises a difference degree of a pixel of calculating this zone in this image, this difference degree is pointed out the luminance difference between the pixel groups of an adjacent domain of this pixel in this pixel and this zone, and this pixel groups comprises the pixel in this adjacent domain of this pixel in this zone in this image; And according to the value of an initial saturation of this pixel in this difference degree of this pixel in this zone in this image and this zone in this image, calculate the value of this pixel in this zone in this image through adjusted saturation, with the purpose of the saturation of reaching this pixel in this zone of adjusting in this image, the calculating of wherein said difference degree comprises: to the pixel in the described pixel groups in the mode of different weights on average to obtain an average brightness value; And with the original brightness value comparison of described average brightness value and described pixel to produce described difference degree.
The present invention provides the method for the contrast in the zone in a kind of adjustment one image in addition.This method comprises a difference degree of a pixel of calculating this zone in this image, and this difference degree is pointed out the luminance difference between the pixel groups of an adjacent domain of this pixel in this pixel and this zone; Determine an overall gain according to this zone in the described image; And according to this difference degree, this overall gain of this pixel in this zone in this image, an and original brightness value of this pixel in this zone in this image, this pixel of calculating this zone in this image is through adjusted brightness value, wherein to adjust the contrast in this zone, the calculating of wherein said difference degree comprises through adjusted brightness value output for this pixel: to the pixel in the described pixel groups in the mode of different weights on average to obtain an average brightness value; And with the original brightness value comparison of described average brightness value and described pixel to produce described difference degree.
The present invention provides in addition that a kind of this electronic installation comprises a storage element in order to show the electronic installation of an image, in order to store the information of this image; One display unit is in order to show this image; An and processor, in order to adjust the saturation in the zone in this image, will adjust the display unit that image after the saturation is shown in this electronic installation, this processor comprises a difference calculation mechanism, be used for calculating a difference degree of a pixel in this zone in this image, this difference degree is pointed out the luminance difference between the pixel groups of an adjacent domain of this pixel in this pixel and this zone, and this pixel groups comprises the pixel in this adjacent domain of this pixel in this zone in this image; And one adjust calculation element, in order to value according to an initial saturation of this pixel in this difference degree of this pixel in this zone in this image and this zone in this image, calculate the value of this pixel in this zone in this image through adjusted saturation, purpose with the saturation of reaching this pixel in this zone of adjusting in this image, wherein said difference calculation mechanism to the pixel in the described pixel groups in the mode of different weights on average obtaining an average brightness value, and with the original brightness value comparison of described average brightness value and described pixel to produce described difference degree.
Description of drawings
Fig. 1 is the flow chart of one first embodiment according to the present invention in order to the method for the saturation of adjusting the zone in the image.
Fig. 2 is the detailed step flow chart of Fig. 1 calculated difference degree.
Fig. 3 is the flow chart of one second embodiment according to the present invention in order to the method for the contrast of adjusting the zone in the image.
Fig. 4 is the detailed step flow chart of Fig. 3 calculated difference degree.
Fig. 5 is the schematic diagram according to the electronic installation of this first embodiment of the present invention.
Drawing reference numeral:
101~105,1021~1029,301~305,3021~3029 steps
500 electronic installations
510 storage elements
520 display units
530 processors
531 difference calculation mechanism
532 adjust calculation element
533 overall gain determination devices
5311 weighted average devices
5312 comparison means
53111 multipliers
53112 adding devices
53113,53121 devision devices
53122 adjusting devices
53123 difference degree generation devices
Embodiment
Please refer to Fig. 1.Fig. 1 is the flow chart of one first embodiment according to the present invention in order to the method 100 of the saturation of adjusting the zone in the image.Mentioned image can comprise single area or a plurality of zone among the present invention.The mentioned zone of the present invention is rectangle not necessarily, but can have any shape.Be to utilize brightness (brightness between pixel in this zone and the pixel groups in this pixel adjacent domain according to the spirit of the method 100 of the first embodiment of the present invention, luminance, or intensity) difference is adjusted this regional saturation.In addition, mentioned brightness and the saturation of the present invention can RGB, HSV or YC bC rRepresent and define etc. different color spaces.Being converted to of variant color space has in this field to be known the knowledgeable usually and is had the knack of, in repeating no more herein.
In method 100, we have a regional A in the setting of image, and a pixel P is arranged among the regional A Xy, and select pixel P XyA pairing pixel groups P MnThe step of method 100 is described as follows:
Step 101: beginning;
Step 102: calculating pixel P XyDifference degree;
Step 103: the overall gain that determines regional A;
Step 104: according to this difference degree, this overall gain, and this pixel P XyThe initial saturation value, calculate this pixel P XyThrough adjusted intensity value;
Step 105: finish.
In step 103, obtaining of overall gain can be according to the characteristic of regional A.For instance, the size of overall gain can decide according to the average saturation of regional A.
Therefore, method 100 can be represented with following formula (1), (2) or (3):
S modified=S original×C global_gain×D (1)
S modified=S original×[1+(C global_gain-1)×D] (2)
S modified=S original×D (3)
S wherein ModifiedRepresent pixel P XyThrough adjusted intensity value, S OriginalRepresent pixel P XyOriginal intensity value, C Global_gainRepresent this regional overall gain, and D represent pixel P XyDifference degree.
In formula (1), adjusted intensity value S ModifiedCan be along with overall gain C Global_gainAnd adjust.
In formula (2), as overall gain C Global_gainBe made as adjusted intensity value S at 1 o'clock ModifiedCan remain unchanged.Therefore, in formula (2), as overall gain C Global_gainBe made as adjusted saturation S at 1 o'clock ModifiedValue can be ignored the size of difference degree D.
In formula (3), adjusted intensity value S ModifiedCan be not along with overall gain C Global_gainAdjust and only along with difference degree D adjusts.
In step 102, pixel P XyDifference degree according to pixel P XyWith pixel groups P MnBetween the difference of brightness produce.Please refer to Fig. 2.Fig. 2 is the detailed step flow chart of step 102.Be described as follows:
Step 1021: beginning;
Step 1022: with a pre-defined rule, selected pixel P XyPixel groups P in the adjacent domain Mn
Step 1023: with pixel groups P MnIn the brightness value of each pixel multiply by a predetermined weight factor respectively;
Step 1024: with pixel groups P MnIn the added luminance of all weightings to produce an addition result;
Step 1025: with this addition result divided by this pixel groups P MnThe number of middle pixel is to obtain an average brightness value M Mn
Step 1026: with pixel P XyOriginal brightness value B OriginalDivided by average brightness value M MnTo produce a brightness changing value V;
Step 1027: adjust brightness changing value V to produce an adjusted brightness changing value F;
Step 1028: produce difference degree: D=1+C according to following formula Local_gain* F, wherein D represents difference degree, C Local_gainRepresent local gain, F to represent adjusted brightness changing value;
Step 1029: finish.
In step 1022~1025, weighting-average process only is used in pixel groups P MnIn pixel on to produce an average brightness value.
In step 1026~1028, pixel P XyOriginal brightness value B OriginalWith average brightness value M MnMake comparisons to produce difference degree D.
In step 1022, pixel groups P MnCan select wherein pixel according to a pre-defined rule.For instance, pixel groups P MnCan comprise pixel P XyPixel on every side such as P (x-1, y-1), P (x-1, y+1), P (x+1, y-1), and P (x+1, y+1)Deng.
In step 1023, pixel groups P MnIn each pixel P IjCorresponding brightness value B IjMultiply by corresponding weight factor a all respectively Ij
In step 1026, with pixel P XyOriginal brightness value B OriginalDivided by average brightness value M MnWith the mode that produces a brightness changing value can following formula (4) or (5) represent:
V=B original/M mn (4)
V=B original/(M mn+C anti_noise) (5)
Wherein V represents brightness changing value, B OriginalRepresent pixel P XyOriginal brightness value, M MnRepresent average brightness value and C Anti_noiseRepresent a constant (in order to antinoise).
At noise problem, formula (5) has added constant C Anti_noiseWith the influence of reducing noise for regional A.
In step 1027, adjust brightness changing value V in order to limit the brightness changing value in a suitable scope.The method of adjusting can be takes the logarithm brightness changing value V and becomes adjusted brightness changing value F as F=log (V).Therefore, adjusted brightness changing value F just can be limited among the suitable scope.
Therefore,, just can contrast, strengthen the saturation of regional A in the image according to this locality according to said method.
Please refer to Fig. 3.Fig. 3 is the flow chart of one second embodiment according to the present invention in order to the method 300 of the contrast of adjusting the zone in the image.Mentioned image can comprise single area or a plurality of zone among the present invention.The present invention not necessarily wants rectangle in mentioned zone, but can have any shape.The spirit of method 300 according to a second embodiment of the present invention is to utilize the overall gain (global gain) of this locality gain (local gain) and this image in this zone, adjusts the contrast in this zone.Method 300 is utilized difference (the local part of using that gains) and (2) this regional light characteristic (part that overall gain is used) of brightness between the pixel groups of a pixel and its adjacent domain in (1) these zones, adjusts the contrast in this zone.In addition, mentioned brightness and the saturation of the present invention can RGB, HSV or YC bC rRepresent and define etc. different color spaces.Being converted to of variant color space has in this field to be known the knowledgeable usually and is had the knack of, in repeating no more herein.
In method 300, we have a regional A in the setting of image, and a pixel P is arranged among the regional A Xy, and select pixel P XyA pairing pixel groups P MnThe step of method 300 is described as follows:
Step 301: beginning;
Step 302: calculating pixel P XyDifference degree;
Step 303: the overall gain that determines regional A;
Step 304: according to this difference degree, this overall gain, and this pixel P XyThe original brightness value, calculate this pixel P XyThrough adjusted brightness value;
Step 305: finish.
In step 303, obtaining of overall gain can be according to the characteristic of regional A.For instance, the size of overall gain can decide according to the average brightness of regional A.
Therefore, method 300 can be represented with following formula (6) or (7):
B modified=B original×C global_gain×D (6)
B modified=B original×[1+(C global_gain-1)×D] (7)
B wherein ModifiedRepresent pixel P XyThrough adjusted brightness value, B OriginalRepresent pixel P XyOriginal brightness value, C Global_gainRepresent this regional overall gain, and D represent pixel P XyDifference degree.
In formula (6), adjusted brightness value B ModifiedCan be along with overall gain C Global_gainAnd adjust.
In formula (7), as overall gain C Global_gainBe made as adjusted brightness value B at 1 o'clock ModifiedCan remain unchanged.Therefore, in formula (7), as overall gain C Global_gainBe made as adjusted brightness value B at 1 o'clock ModifiedValue can be ignored the size of difference degree D.
In step 302, pixel P XyDifference degree according to pixel P XyWith pixel groups P MnBetween the difference of brightness produce.Please refer to Fig. 4.Fig. 4 is the detailed step flow chart of step 302.Be described as follows:
Step 3021: beginning;
Step 3022: with a pre-defined rule, selected pixel P XyPixel groups P in the adjacent domain Mn
Step 3023: with pixel groups P MnIn the brightness value of each pixel multiply by a predetermined weight factor respectively;
Step 3024: with pixel groups P MnIn the added luminance of all weightings to produce an addition result;
Step 3025: with this addition result divided by this pixel groups P MnThe number of middle pixel is to obtain an average brightness value M Mn
Step 3026: with pixel P XyOriginal brightness value B OriginalDivided by average brightness value M MnTo produce a brightness changing value V;
Step 3027: adjust brightness changing value V to produce an adjusted brightness changing value F;
Step 3028: produce difference degree: D=1+C according to following formula Local_gain* F, wherein D represents difference degree, C Local_gainRepresent local gain, F to represent adjusted brightness changing value;
Step 3029: finish.
In step 3022~3025, weighting-average process only is used in pixel groups P MnIn pixel on produced an average brightness value.
In step 3026~3028, pixel P XyOriginal brightness value B OriginalWith average brightness value M MnMake comparisons to produce difference degree D.
In step 3022, pixel groups P MnCan select wherein pixel according to a pre-defined rule.For instance, pixel groups P MnCan comprise pixel P XyPixel on every side such as P (x-1, y-1), P (x-1, y+1), P (x+1, y-1), and P (x+1, y+1)Deng.
In step 3023, pixel groups P MnIn each pixel P IjCorresponding brightness value B IjMultiply by corresponding weight factor a all respectively Ij
In step 3026, with pixel P XyOriginal brightness value B OriginalDivided by average brightness value M MnWith the mode that produces a brightness changing value can following formula (8) or (9) represent:
V=B original/M mn (8)
V=B original/(M mn+C anti_noise) (9)
Wherein V represents brightness changing value, B OriginalRepresent pixel P XyOriginal brightness value, M MnRepresent average brightness value and C Anti_noiseRepresent a constant (in order to antinoise).
At noise problem, formula (9) has added constant C Anti_noiseWith the influence of reducing noise for regional A.
In step 3027, adjust brightness changing value V in order to limit the brightness changing value in a suitable scope.The method of adjusting can be takes the logarithm brightness changing value V and becomes adjusted brightness changing value F as F=log (V).Therefore, adjusted brightness changing value F just can be limited among the suitable scope.
Therefore,, just can contrast, strengthen the contrast of regional A in the image according to this locality according to said method.
Please refer to Fig. 5.Fig. 5 is the schematic diagram according to the electronic installation 500 of this first embodiment of the present invention.Electronic installation 500 comprises a storage element 510, one display units 520 and a processor 530.Electronic installation 500 can a TV, computer, mobile phone, (Personal DigitalAssistant PDA) realizes personal digital assistant.Storage element 510 is provided with the information that is used for storing image.Display unit 520 setting is used for show image.Processor 530 is provided with the saturation that is used for promoting the regional A in the image.
Processor 530 comprises a difference calculation mechanism 531, and adjusts a calculation element 532 and an overall gain determination device 533.Difference calculation mechanism 531 is used for the pixel P among the A of zoning XyDifference degree D.Adjust calculation element 532 and be used for calculating pixel P XyThrough adjusted intensity value S ModifiedOverall gain determination device 533 usefulness decide the overall gain C of the regional A in the image Global_gain
Difference calculation mechanism 531 comprises a weighted average device 5311 and a comparison means 5312.Weighted average device 5311 is used for to pixel groups P MnIn the pixel brightness value weighted average to produce average brightness value M MnComparison means 5312 is used for the original brightness value B of compared pixels Pxy OriginalWith average brightness value M MnTo produce difference degree D.
Weighted average device 5311 comprises a multiplier 53111, an adding device 53112, and a devision device 53113.Multiplier 53111 is used for to pixel groups P MnIn each pixel brightness value be multiplied by corresponding weight factor respectively.Adding device 53112 is used for pixel groups P MnIn added luminance after all pixel weightings to produce an addition result.Devision device 53113 is used for this addition result divided by this pixel groups P MnIn number of pixels to produce this average brightness value M Mn
Comparison means 5312 comprises a devision device 53121, an adjusting device 53122, and a difference degree generation device 53123.Devision device 53121 is used for pixel P XyOriginal brightness value B OriginalDivided by average brightness value M MnOr average brightness value M MnWith the antinoise constant producing a brightness changing value V, as shown in the formula V=(B Original/ M Mn) or V=[B Original/ (M Mn+ C Anti-noise)].Adjusting device 53122 is used for adjusting brightness changing value V producing an adjusted luminance difference value F, as shown in the formula: F=log (V).Difference degree generation device 53123 is used for producing difference degree D, as shown in the formula: D=1+C Local_gain* F, wherein D represents difference degree, C Local_gainRepresent local gain, F to represent adjusted brightness changing value.
Adjust pixel P among the calculation element 532 zoning A XyThrough adjusted intensity value S Modified, computational methods can be selected following formula:
(10)S modified=S original×D
(11)S modified=S original×C global_gain×D
(12)S modified=S original×[1+(C global_gain-1)×D]
S wherein ModifiedRepresent adjusted intensity value, S OriginalRepresent original intensity value, C Global_gainRepresent overall gain, and D represents difference degree.
In sum, this locality that the invention provides according to a zone contrasts the method that promotes this regional saturation with this regional saturation characteristic.In addition, the present invention more provide according to the contrast of this locality in a zone with promote the contrast in this zone with this regional light characteristic.Above-mentioned two methods all can provide the user to improve the quality of picture efficiently.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to claim scope of the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (25)

1. method of adjusting the saturation in the zone in the image, described image is shown in an electronic system, and described electronic system comprises a storage element in order to store the information of described image, and described method comprises:
Calculate a difference degree of a pixel in the described zone in the described image, described difference degree is the luminance difference of pointing out between the pixel groups of an adjacent domain of the pixel described in described pixel and the described zone, and described pixel groups comprises the pixel in the described adjacent domain of the described pixel in the described zone in the described image; And
Value according to an initial saturation of the described pixel in the described difference degree of the described pixel in the described zone in the described image and the described zone in the described image, calculate the value of the described pixel in the described zone in the described image through adjusted saturation, purpose with the saturation of reaching the described pixel in the described zone of adjusting in the described image
The calculating of wherein said difference degree comprises: to the pixel in the described pixel groups in the mode of different weights on average to obtain an average brightness value; And with the original brightness value comparison of described average brightness value and described pixel to produce described difference degree.
2. the method for claim 1 wherein on average comprises to obtain described average brightness value the mode of the pixel in the described pixel groups with different weights:
Brightness value to each pixel in the described pixel groups multiply by a predetermined weight factor respectively;
All pixels in the described pixel groups are added up and add overall result to produce one via multiply by brightness value after the weight factor; And
With described add overall result divided by in the described pixel groups comprise the number of pixel to produce described average brightness value.
3. the method for claim 1 wherein comprises described average brightness value and the comparison of described original brightness value to produce described difference degree:
With described original brightness value divided by described average brightness value to produce a brightness changing value;
Adjust described brightness changing value and be defined in an adjusted brightness changing value in the suitable scope with generation; And
Produce described difference degree: D=1+C * F according to following formula, wherein D represents described difference degree, and C represents a local gain, and F represents described adjusted brightness changing value.
4. the method for claim 1 wherein comprises described average brightness value and the comparison of described original brightness value to produce described difference degree:
With described original brightness value divided by the described average brightness value and an antinoise factor and to produce a brightness changing value;
Adjust described brightness changing value and be defined in an adjusted brightness changing value in the suitable scope with generation; And
Produce described difference degree: D=1+L * F according to following formula, wherein D represents described difference degree, and L represents a local gain, and F represents described adjusted brightness changing value.
5. the method for claim 1, wherein according to the value of the described initial saturation of the described pixel in the described difference degree of the described pixel in the described zone in the described image and the described zone in the described image, calculate the value of the described pixel in the described zone in the described image through adjusted saturation, comprise according to following formula with the purpose of the saturation of reaching the described pixel in the described zone of adjusting in the described image and to calculate the value of the described pixel in the described zone in the described image through adjusted saturation: M=S * D, wherein M represents the value of described pixel through adjusted saturation, S represents the value of the initial saturation of described pixel, and D represents described difference degree.
6. the method for claim 1, other comprises the described zone at described image, determines an overall gain, with the described pixel in the described zone that is used for the calculating described image value through adjusted saturation.
7. method as claimed in claim 6, wherein according to the value of the described initial saturation of the described pixel in the described difference degree of the described pixel in the described zone in the described image and the described zone in the described image, calculate the value of the described pixel in the described zone in the described image through adjusted saturation, with the purpose of the saturation of reaching the described pixel in the described zone of adjusting in the described image is described difference degree according to the described pixel in the described zone in the described image, described overall gain, and the value of the described initial saturation of the described pixel in the described zone in the described image, calculate the value of the described pixel in described zone in the described image, with the purpose of the saturation of reaching the described pixel in the described zone of adjusting in the described image through adjusted saturation.
8. method as claimed in claim 7, wherein according to the described difference degree of the described pixel in the described zone in the described image, described overall gain, and the value of the described initial saturation of the described pixel in the described zone in the described image, calculate the value of the described pixel in the described zone in the described image through adjusted saturation, comprise according to following formula with the purpose of the saturation of reaching the described pixel in the described zone of adjusting in the described image and to calculate the value of the described pixel in the described zone in the described image: M=S * G * D through adjusted saturation, wherein M represents the value of described pixel through adjusted saturation, G represents described overall gain, and D represents described difference degree, and S represents the original intensity value of described pixel.
9. method as claimed in claim 7, wherein according to the described difference degree of the described pixel in the described zone in the described image, described overall gain, and the value of the described initial saturation of the described pixel in the described zone in the described image, calculate the value of the described pixel in the described zone in the described image through adjusted saturation, comprise according to following formula with the purpose of the saturation of reaching the described pixel in the described zone of adjusting in the described image and to calculate the value of the described pixel in the described zone in the described image through adjusted saturation: M=S * [1+ (G-1) * D], wherein M represents the value of described pixel through adjusted saturation, G represents described overall gain, and D represents described difference degree, and S represents the original intensity value of described pixel.
10. method of adjusting the contrast in the zone in the image comprises:
Calculate a difference degree of a pixel in the described zone in the described image, described difference degree is pointed out the luminance difference between the pixel groups of an adjacent domain of the pixel described in described pixel and the described zone;
Determine an overall gain according to the described zone in the described image; And
According to the described difference degree of the described pixel in the described zone in the described image, described overall gain, an and original brightness value of the described pixel in the described zone in the described image, the described pixel of calculating the described zone in the described image is through adjusted brightness value, to adjust the contrast in described zone, the calculating of described difference degree comprises through adjusted brightness value output for wherein said pixel: to the pixel in the described pixel groups in the mode of different weights on average to obtain an average brightness value; And with the original brightness value comparison of described average brightness value and described pixel to produce described difference degree.
11. method as claimed in claim 10 wherein on average comprises to obtain described average brightness value the mode of the pixel in the described pixel groups with different weights:
Brightness value to each pixel in the described pixel groups multiply by a predetermined weight factor respectively;
All pixels in the described pixel groups are added up and add overall result to produce one via multiply by brightness value after the weight factor; And
With described add overall result divided by in the described pixel groups comprise the number of pixel to produce described average brightness value.
12. method as claimed in claim 10 wherein comprises described average brightness value and the comparison of described original brightness value to produce described difference degree:
With described original brightness value divided by described average brightness value to produce a brightness changing value;
Adjust described brightness changing value and be defined in an adjusted brightness changing value in the suitable scope with generation; And
Produce described difference degree: D=1+C * F according to following formula, wherein D represents described difference degree, and C represents a local gain, and F represents described adjusted brightness changing value.
13. method as claimed in claim 10 wherein comprises described average brightness value and the comparison of described original brightness value to produce described difference degree:
With described original brightness value divided by the described average brightness value and an antinoise factor and to produce a brightness changing value;
Adjust described brightness changing value and be defined in an adjusted brightness changing value in the suitable scope with generation; And
Produce described difference degree: D=1+L * F according to following formula, wherein D represents described difference degree, and L represents a local gain, and F represents described adjusted brightness changing value.
14. method as claimed in claim 10, wherein according to the described difference degree of the described pixel in the described zone in the described image, described overall gain, and the described original brightness value of the described pixel in the described zone in the described image, the described pixel of calculating the described zone in the described image comprises according to following formula through adjusted brightness value calculates the described pixel in the described zone in the described image through adjusted brightness value: M=I * G * D, wherein I represents the original brightness value of described pixel, M represents described pixel through adjusted brightness value, G represents described overall gain, and D represents described difference degree.
15. method as claimed in claim 10, wherein according to the described difference degree of the described pixel in the described zone in the described image, described overall gain, and the described original brightness value of the described pixel in the described zone in the described image, the described pixel of calculating the described zone in the described image comprises according to following formula through adjusted brightness value calculates the described pixel in the described zone in the described image through adjusted brightness value: M=I * [1+ (G-1) * D], wherein I represents the original brightness value of described pixel, M represents described pixel through adjusted brightness value, G represents described overall gain, and D represents described difference degree.
16. one kind in order to show the electronic installation of an image, described electronic installation comprises:
One storage element is in order to store the information of described image;
One display unit is in order to show described image; And
One processor, in order to adjusting the saturation in the zone in the described image, will adjust the display unit that image after the saturation is shown in described electronic installation, described processor comprises:
One difference calculation mechanism, be used for calculating a difference degree of a pixel in the described zone in the described image, described difference degree is pointed out the luminance difference between the pixel groups of an adjacent domain of the pixel described in described pixel and the described zone, and described pixel groups comprises the pixel in the described adjacent domain of the described pixel in the described zone in the described image; And
One adjusts calculation element, in order to value according to an initial saturation of the described pixel in the described difference degree of the described pixel in the described zone in the described image and the described zone in the described image, calculate the value of the described pixel in the described zone in the described image through adjusted saturation, purpose with the saturation of reaching the described pixel in the described zone of adjusting in the described image
Wherein said difference calculation mechanism to the pixel in the described pixel groups in the mode of different weights on average obtaining an average brightness value, and with the original brightness value comparison of described average brightness value and described pixel to produce described difference degree.
17. electronic installation as claimed in claim 16, wherein said difference calculation mechanism comprises:
One weighted average device is used for to the pixel in the described pixel groups in the mode of different weights on average to obtain an average brightness value; And
One comparison means is used for described average brightness value and an original brightness value comparison to produce described difference degree.
18. electronic installation as claimed in claim 17, wherein said weighted average device comprises:
One multiplier is used for respectively the brightness value of each pixel in the described pixel groups be multiply by a predetermined weight factor;
One adds overall apparatus, is used for all pixels in the described pixel groups are added up and add overall result to produce one via multiply by brightness value after the weight factor; And
One devision device, be used for described add overall result divided by in the described pixel groups comprise the number of pixel to produce described average brightness value.
19. electronic installation as claimed in claim 17, wherein said comparison means comprises:
One devision device is used for described original brightness value divided by described average brightness value to produce a brightness changing value;
One adjusting device is used for adjusting described brightness changing value and is defined in an adjusted brightness changing value in the suitable scope with generation; And
One difference degree generation device is used for producing described difference degree: D=1+C * F according to following formula, and wherein D represents described difference degree, and C represents a local gain, and F represents described adjusted brightness changing value.
20. electronic installation as claimed in claim 17, wherein said comparison means comprises:
One devision device, be used for described original brightness value divided by the described average brightness value and an antinoise factor and to produce a brightness changing value;
One adjusting device is used for adjusting described brightness changing value and is defined in an adjusted brightness changing value in the suitable scope with generation; And
One difference degree generation device is used for producing described difference degree: D=1+L * F according to following formula, and wherein D represents described difference degree, and L represents a local gain, and F represents described adjusted brightness changing value.
21. electronic installation as claimed in claim 16, wherein said adjustment calculation element calculates the value of the described pixel in the described zone in the described image through adjusted saturation: M=S * D according to following formula, wherein M represents the value of described pixel through adjusted saturation, S represents the value of the initial saturation of described pixel, and D represents described difference degree.
22. electronic installation as claimed in claim 16, other comprises an overall gain determination device, be used for determining an overall gain, with the described pixel in the described zone that is used for calculating described image value through adjusted saturation at the described zone of described image.
23. electronic installation as claimed in claim 22, wherein said adjustment calculation element is according to the described difference degree of the described pixel in the described zone in the described image, described overall gain, and the value of the described initial saturation of the described pixel in the described zone in the described image, calculate the value of the described pixel in described zone in the described image, with the purpose of the saturation of reaching the described pixel in the described zone of adjusting in the described image through adjusted saturation.
24. electronic installation as claimed in claim 23, wherein said adjustment calculation element calculates the value of the described pixel in the described zone in the described image through adjusted saturation according to following formula: M=S * G * D, wherein M represents the value of described pixel through adjusted saturation, G represents described overall gain, and D represents described difference degree, and S represents the original intensity value of described pixel.
25. electronic installation as claimed in claim 16, wherein said adjustment calculation element calculates the value of the described pixel in the described zone in the described image through adjusted saturation: M=S * [1+ (G-1) * D] according to following formula, wherein M represents the value of described pixel through adjusted saturation, G represents described overall gain, and D represents described difference degree, and S represents the original intensity value of described pixel.
CNB2007101477982A 2006-09-01 2007-08-29 Adjust the saturation in the zone in the image and the method and the relevant apparatus of contrast Expired - Fee Related CN100571405C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US82429806P 2006-09-01 2006-09-01
US60/824,298 2006-09-01

Publications (2)

Publication Number Publication Date
CN101137069A CN101137069A (en) 2008-03-05
CN100571405C true CN100571405C (en) 2009-12-16

Family

ID=39160854

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101477982A Expired - Fee Related CN100571405C (en) 2006-09-01 2007-08-29 Adjust the saturation in the zone in the image and the method and the relevant apparatus of contrast

Country Status (1)

Country Link
CN (1) CN100571405C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790101B (en) * 2010-04-01 2013-01-09 昆山锐芯微电子有限公司 Method and device for adjusting image saturation
CN102567974A (en) * 2010-12-16 2012-07-11 方正国际软件(北京)有限公司 Method and system for adjusting local color of image
CN110197470A (en) * 2019-06-27 2019-09-03 北京金山云网络技术有限公司 Image processing method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN101137069A (en) 2008-03-05

Similar Documents

Publication Publication Date Title
CN104715445B (en) Image processing method and system
US7856141B2 (en) Method for adjusting saturation and contrast of an area of an image and apparatus thereof
CN109493814B (en) Picture compensation method, picture compensation device, display device and computer readable storage medium
CN1531331A (en) Image processor, image processing method and processing program
CN107293265B (en) Display screen picture adjusting method, display terminal and readable storage medium
CN108962185B (en) Method for reducing display image brightness, device thereof and display device
US20090167768A1 (en) Selective frame rate display of a 3D object
US7602988B2 (en) Method for adjusting saturation and contrast of an area of an image and apparatus thereof
CN113010063B (en) File previewing method and device, electronic equipment and storage medium
JP2010517435A (en) Arbitrary power function using logarithmic lookup table
CN109298912B (en) Theme color adjusting method and device, storage medium and electronic equipment
KR102589356B1 (en) Display apparatus and controlling method thereof
US20220172322A1 (en) High resolution real-time artistic style transfer pipeline
CN109493831B (en) Image signal processing method and device
CN109599054A (en) The control method and device of display panel brightness
CN100571405C (en) Adjust the saturation in the zone in the image and the method and the relevant apparatus of contrast
CN112037160B (en) Image processing method, device and equipment
CN113507598A (en) Video picture display method, device, terminal and storage medium
CN112750086A (en) Image processing method and device, electronic equipment and storage medium
CN112783460B (en) Display control method and device, electronic equipment and readable storage medium
CN110766606B (en) Image processing method and electronic equipment
US9135865B2 (en) Image display apparatus and image optimization method thereof
CN115439386A (en) Image fusion method and device, electronic equipment and storage medium
CN110992903B (en) Display screen backlight brightness adjusting method and device, computer equipment and medium
CN115775541A (en) Backlight compensation method and device of display screen, chip and 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091216