WO2011095116A1 - Method and apparatus for image optimization editing - Google Patents
Method and apparatus for image optimization editing Download PDFInfo
- Publication number
- WO2011095116A1 WO2011095116A1 PCT/CN2011/070765 CN2011070765W WO2011095116A1 WO 2011095116 A1 WO2011095116 A1 WO 2011095116A1 CN 2011070765 W CN2011070765 W CN 2011070765W WO 2011095116 A1 WO2011095116 A1 WO 2011095116A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- correction
- optimized
- module
- contrast
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000005457 optimization Methods 0.000 title claims abstract description 14
- 238000012937 correction Methods 0.000 claims abstract description 121
- 238000006243 chemical reaction Methods 0.000 claims abstract description 17
- 230000009466 transformation Effects 0.000 claims description 10
- 230000001131 transforming effect Effects 0.000 claims 2
- 238000012545 processing Methods 0.000 abstract description 3
- 230000000694 effects Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 238000013507 mapping Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001066 destructive effect Effects 0.000 description 1
- 238000002845 discoloration Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009738 saturating Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/68—Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
Definitions
- the present invention relates to the field of image processing technologies, and in particular, to an image editing and editing method and apparatus. Background technique
- an automatic color mode is adopted, that is, an image color is analyzed to correct a color shift problem existing in the original image.
- the background is a light yellow image
- the background color may turn white after optimized editing with the automatic color method.
- the light yellow background may be due to the long discoloration of the image, or the background color of the image itself may be pale yellow, such as an artistic photo. If the background color of the image itself is light yellow, after the optimized editing with the automatic color method, a new color cast problem will occur.
- the embodiment of the invention provides an image editing and editing method and device.
- the technical solution is as follows:
- an optimized editing method for an image comprising:
- HSV conversion is performed on each point corresponding to the curve correction image to obtain converted color H, purity S and brightness
- the H, V, and the weighted S values are RGB-converted to obtain a saturation correction image.
- an image editing apparatus comprising:
- a curve adjustment module configured to perform curve adjustment on the image to be optimized to obtain a curve correction image
- a first transform module configured to perform HSV conversion on each point corresponding to the curve correction image, to obtain values of the converted color H, the purity S, and the brightness V;
- the second transform module is configured to perform weighting on the obtained S values, and perform RGB transform on the H, V and the weighted S values to obtain a saturation corrected image.
- the contrast correction is combined to improve the exposure quality of the image to further optimize the image display quality.
- FIG. 1 is a flowchart of an optimized editing method for an image according to Embodiment 1 of the present invention
- Embodiment 2 is a flowchart of an optimized editing method for an image provided by Embodiment 2 of the present invention
- FIG. 3 is a schematic structural diagram of an apparatus for optimizing an image of a first embodiment according to Embodiment 3 of the present invention
- FIG. 4 is a schematic structural diagram of a second image optimization editing apparatus according to Embodiment 3 of the present invention.
- FIG. 5 is a schematic structural diagram of an apparatus for optimizing editing of a third image according to Embodiment 3 of the present invention.
- FIG. 6 is a schematic structural diagram of a fourth image optimization editing apparatus according to Embodiment 3 of the present invention.
- FIG. 7 is a schematic structural diagram of a fifth image optimization editing apparatus according to Embodiment 3 of the present invention. detailed description
- this embodiment provides an optimized editing method for an image, and the method is specifically as follows:
- HSV represents a color model
- H represents color
- S represents purity
- V represents brightness
- the method provided by the embodiment further combines contrast correction, thereby further improving the display quality of the image.
- This embodiment does not specifically limit which combination mode is adopted.
- the specific combination mode can be divided into the following cases:
- Case 1 Before the curve of the image to be optimized is adjusted, the method further includes: performing contrast correction on the image to be optimized, and obtaining a contrast correction image; correspondingly, performing curve adjustment on the image to be optimized, specifically comprising: performing curve on the obtained contrast correction image Adjustment.
- the method before the curve adjustment of the image to be optimized, the method further includes: performing contrast correction on the image to be optimized to obtain a contrast correction image; and correspondingly, performing RGB transformation on the 11 and V and the weighted S value to obtain After the saturation correction image, the method further includes: superimposing the contrast correction image and the saturation correction image.
- Case 3 After performing RGB transformation on the H, V, and weighted S values to obtain a saturation correction image, the method further includes: performing contrast correction on the image to be optimized to obtain a contrast correction image; and contrast-correcting the image and saturating Correct the image for overlay.
- Case 4 Optionally, after performing RGB transformation on the H, V, and weighted S values to obtain the saturation correction image, the method further includes: performing contrast correction on the saturation correction image.
- the method provided in this embodiment performs curve adjustment and saturation correction on the image to be optimized, so that the color of the image is more vivid, and the color tone of the image is not damaged, and the contrast quality is improved to improve the image quality of the image. Optimize the effect of image display quality.
- the embodiment provides an optimized editing method for an image, which combines curve adjustment, saturation correction and contrast correction to improve the image quality of the image to be optimized while improving the image quality of the image to be more vivid, and Does not cause damage to the hue of the image.
- an optimized editing method for an image which combines curve adjustment, saturation correction and contrast correction to improve the image quality of the image to be optimized while improving the image quality of the image to be more vivid, and Does not cause damage to the hue of the image.
- the contrast correction is performed on the image first, and then the contrast correction image is combined with the curve adjustment and the saturation correction.
- the optimized editing method of the image provided in this embodiment is described in detail. Referring to Figure 2, the method flow is as follows:
- the contrast correction of a 24-bit bitmap is a dot matrix in which RGB channels exist.
- Each point on the image has three values of R, G, and B, which represent the values of the red component, the green component, and the blue component at that point.
- R ( i, j ), G (i, j), B (i, j) respectively represent the three components of red, green and blue at the position (i, j). Value.
- I(x, y) The combination of the R, G, and B components at this point is represented by I(x, y).
- RCounter [256]; II RCounter [256] is an array of 256 elements, RCounter [0] is the first element to access
- the R value corresponding to each point of the statistics may be first sorted from the smallest to the largest, and the R value of the first 1% position is taken as the brightness value of the darker point / For the same reason, take the R value at the 50% position as the brightness value of the uniform point, and take the R value at the 99% position as the brightness value of the brighter point / 3 ⁇ 4 3 ⁇ 4 .
- Gamma l. Of; Among them, 0.5, 0.8 and 1.2 are all empirical coefficients. According to different image optimization standards, the empirical coefficient can be adjusted. This embodiment does not specifically limit this. In actual application, other methods can be used. Empirical coefficient.
- mapping value F (X) is obtained by the following procedure, and the implementation process of the G channel, the B channel, and the R channel is the same, and will not be described here.
- F (X) +(, / ⁇ - J*pow(v/(/ ⁇ ), Gamma) ⁇ If / X ⁇ / 3 ⁇ 4 , then the mapped value F (X) high Iinfact ) *P.w (v/ (I h , h - I, nM , ), Gamma), where pow (v/ ( I h , . h - I, nM , ), Gamma) represents the Gamma times of v / ( I hlgh - I low ) Square, * indicates that the multiplication operation maps the RGB values using the above mapping relationship F(X) for each RGB point on the image to be optimized, thereby obtaining a contrast corrected image.
- the curve adjustment is a common method for digital picture correction. This embodiment does not limit the specific adjustment mode.
- the curve adjustment of the R channel is taken as an example for description.
- the value range of R is [0 255]
- the definition field is [0 255]
- the value range is [0 255]
- the curve image is over (127 127) points, at [0 127)
- the interval is a concave function
- the curve of the convex function is (127 255) as an example.
- [F (X) - X] / X is in the range of 0.95 to 1.05.
- the HSV conversion of the points in the RGB model can be implemented by the prior art. This embodiment does not specifically limit this. In the specific implementation, it can be implemented by programming, and is only illustrated by the following procedure:
- the specific weighting value may be determined according to the actual situation.
- the weighting value may be adjusted according to the standard of the image optimization, which is not specifically limited in this embodiment.
- Snew is in the range of 1S to 1.05S.
- the RGB transform is performed on H, Snew and V.
- the conversion of the HSV model into the RGB model is also a prior art. This embodiment does not limit the specific conversion mode. , can be realized by programming, only the following program is taken as an example:
- the reversal film correction effect is I inversion (i, j)
- the contrast correction effect is I to 3 ⁇ 4 (i, j)
- the method provided by the embodiment by combining the contrast correction and the weaker reversal film correction algorithm, can not only improve the image quality of the image, but also improve the color of the image, so that the color of the image is more vivid and does not have a hue on the image. Cause damage.
- Embodiment 3 by combining the contrast correction and the weaker reversal film correction algorithm, can not only improve the image quality of the image, but also improve the color of the image, so that the color of the image is more vivid and does not have a hue on the image. Cause damage.
- the embodiment provides an apparatus for image optimization editing, and the apparatus includes:
- a curve adjustment module 301 configured to perform curve adjustment on the image to be optimized to obtain a curve correction image
- the first transform module 302 is configured to perform HSV conversion on each point corresponding to the curve correction image to obtain values of the converted color 11, purity S and brightness V;
- the second transform module 303 is configured to perform weighting on the obtained S values, and perform RGB transform on the H, V, and weighted S values to obtain a saturation corrected image.
- the device further includes:
- a first contrast correction module 304 configured to perform contrast correction on the optimized image before the curve adjustment module adjusts the image to be optimized, to obtain a contrast correction image
- the curve adjustment module 301 is specifically configured to perform curve adjustment on the obtained contrast correction image to obtain a curve correction image.
- the apparatus further includes:
- the first contrast correction module 304 is configured to perform contrast correction on the image to be optimized before the curve adjustment module 301 performs curve adjustment on the image to be optimized, to obtain a contrast correction image;
- the first superimposing module 305 is configured to perform RGB transform on the H, V and the weighted S values in the second transform module 303 to obtain the saturation corrected image, and then obtain the contrast corrected image and the second transform by the first contrast correction module 304.
- the saturation correction image obtained by the module 303 is superimposed.
- the device further includes:
- the second contrast correction module 306 is configured to perform RGB transformation on the H, V and the weighted S values in the second transformation module 303 to obtain a saturation correction image, and then perform contrast correction on the image to be optimized to obtain a contrast correction image;
- the superimposing module 307 is configured to superimpose the contrast correction image obtained by the second contrast correction module 306 and the saturation correction image obtained by the second transform module 303.
- the device further includes:
- the third contrast correction module 308 is configured to perform RGB conversion on the H, V and the weighted S values by the second transform module 303 to obtain a saturation correction image, and then perform contrast correction on the saturation correction image.
- the device provided in this embodiment only performs the above functions when implementing optimized editing of an image.
- the division of the modules is exemplified.
- the above function assignments may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
- the apparatus for image optimization editing provided by this embodiment is the same as the method embodiment of the image optimization editing. The specific implementation process is described in detail in the method embodiment, and details are not described herein again.
- the apparatus provided in this embodiment combines the contrast adjustment, the curve adjustment and the saturation adjustment to improve the original image exposure quality and color, so that the color is more vivid and does not cause damage to the color tone of the image.
- the serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
- All or part of the steps in the embodiments of the present invention may be implemented by using software, and the corresponding software program may be stored in a readable storage medium, such as an optical disk or a hard disk.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
Claims
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
BR112012014666-1A BR112012014666B1 (en) | 2010-02-08 | 2011-01-28 | METHOD AND APPARATUS FOR EDITING OPTIMIZATION IN AN IMAGE |
RU2012125065/08A RU2535482C2 (en) | 2010-02-08 | 2011-01-28 | Method and apparatus for editing with image optimisation |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101122281A CN101742340B (en) | 2010-02-08 | 2010-02-08 | Method and device for optimizing and editing image |
CN201010112228.1 | 2010-02-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011095116A1 true WO2011095116A1 (en) | 2011-08-11 |
Family
ID=42465106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/070765 WO2011095116A1 (en) | 2010-02-08 | 2011-01-28 | Method and apparatus for image optimization editing |
Country Status (4)
Country | Link |
---|---|
CN (1) | CN101742340B (en) |
BR (1) | BR112012014666B1 (en) |
RU (1) | RU2535482C2 (en) |
WO (1) | WO2011095116A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101742340B (en) * | 2010-02-08 | 2012-05-30 | 腾讯科技(深圳)有限公司 | Method and device for optimizing and editing image |
CN102169585A (en) * | 2011-03-31 | 2011-08-31 | 汉王科技股份有限公司 | Method and device for detecting image color cast |
CN102568437B (en) | 2012-01-20 | 2014-07-30 | 华为终端有限公司 | Image displaying method and equipment |
CN103294429A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Display method and device |
TWI510101B (en) * | 2013-09-12 | 2015-11-21 | Au Optronics Corp | Method for adjusting saturation degree and color adjusting system |
CN104954767B (en) * | 2014-03-26 | 2017-08-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104505035A (en) * | 2014-12-18 | 2015-04-08 | 深圳市华星光电技术有限公司 | Conversion method and conversion system of RGB (Red, Green, Blue) data |
CN111615714B (en) * | 2018-06-27 | 2023-12-15 | 华为技术有限公司 | Color adjustment method of RGB data |
CN109447958B (en) * | 2018-10-17 | 2023-04-14 | 腾讯科技(深圳)有限公司 | Image processing method, image processing device, storage medium and computer equipment |
EP3924933A1 (en) * | 2019-03-21 | 2021-12-22 | Huawei Technologies Co., Ltd. | Image processor |
CN109859299B (en) * | 2019-03-27 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Portrait picture processing method and device, computer readable storage medium and computer equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2838169Y (en) * | 2005-09-08 | 2006-11-15 | 上海广电(集团)有限公司中央研究院 | Image color enhancing device |
CN1929551A (en) * | 2005-09-07 | 2007-03-14 | 逐点半导体(上海)有限公司 | Image contrast reinforcing means and method |
US7583838B2 (en) * | 2003-08-25 | 2009-09-01 | Samsung Electronics Co., Ltd. | Color saturation adjusting apparatus and method used for a display system |
CN101742340A (en) * | 2010-02-08 | 2010-06-16 | 腾讯科技(深圳)有限公司 | Method and device for optimizing and editing image |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5450217A (en) * | 1994-05-23 | 1995-09-12 | Xerox Corporation | Image-dependent color saturation correction in a natural scene pictorial image |
JP2005006049A (en) * | 2003-06-12 | 2005-01-06 | Konica Minolta Medical & Graphic Inc | Method for adjusting color, program for implementing the same, recording medium for storing the same program, and image output system |
JP2006261968A (en) * | 2005-03-16 | 2006-09-28 | Ricoh Co Ltd | Luminance adjusting device, image processing device, luminance adjustment method, computer program and recording medium |
RU2320011C1 (en) * | 2006-07-05 | 2008-03-20 | Самсунг Электроникс Ко., Лтд. | Method for automatic correction of red-eye effect |
-
2010
- 2010-02-08 CN CN2010101122281A patent/CN101742340B/en active Active
-
2011
- 2011-01-28 RU RU2012125065/08A patent/RU2535482C2/en active
- 2011-01-28 WO PCT/CN2011/070765 patent/WO2011095116A1/en active Application Filing
- 2011-01-28 BR BR112012014666-1A patent/BR112012014666B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7583838B2 (en) * | 2003-08-25 | 2009-09-01 | Samsung Electronics Co., Ltd. | Color saturation adjusting apparatus and method used for a display system |
CN1929551A (en) * | 2005-09-07 | 2007-03-14 | 逐点半导体(上海)有限公司 | Image contrast reinforcing means and method |
CN2838169Y (en) * | 2005-09-08 | 2006-11-15 | 上海广电(集团)有限公司中央研究院 | Image color enhancing device |
CN101742340A (en) * | 2010-02-08 | 2010-06-16 | 腾讯科技(深圳)有限公司 | Method and device for optimizing and editing image |
Also Published As
Publication number | Publication date |
---|---|
BR112012014666A2 (en) | 2016-04-05 |
CN101742340A (en) | 2010-06-16 |
BR112012014666B1 (en) | 2021-09-08 |
RU2535482C2 (en) | 2014-12-10 |
CN101742340B (en) | 2012-05-30 |
RU2012125065A (en) | 2014-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011095116A1 (en) | Method and apparatus for image optimization editing | |
US8929654B2 (en) | Spectral image processing | |
US8547450B2 (en) | Methods and systems for automatic white balance | |
US8311355B2 (en) | Skin tone aware color boost for cameras | |
TW200530949A (en) | Image data processing in color spaces | |
CN101983510B (en) | The System and method for of adaptive local white balance adjusting | |
US8717460B2 (en) | Methods and systems for automatic white balance | |
CN101355634B (en) | Method and system for regulating image chromaticity | |
CN101212693A (en) | White balancing method and image adjusting device | |
TW201444336A (en) | Method and device of skin tone optimization in color gamut mapping system | |
US8994848B2 (en) | Method and system for handling mixed illumination in video and photography | |
US20050201634A1 (en) | System and process for automatic exposure correction in an image | |
US7750919B2 (en) | Apparatus and method for enhancing device-adaptive color | |
CN112200747B (en) | Image processing method and device and computer readable storage medium | |
US20130093915A1 (en) | Multi-Illuminant Color Matrix Representation and Interpolation Based on Estimated White Points | |
JP2010021791A (en) | Image capturing apparatus, and image processing method therefor, and program | |
TWI415480B (en) | Image processing method and image processing system | |
US20170180694A1 (en) | Method of encoding raw color coordinates provided by a camera representing colors of a scene having two different illuminations | |
CN115550575B (en) | Image processing method and related device | |
TW201929529A (en) | Generating a monochrome image | |
WO2007032324A1 (en) | Imaging device, image processing device, image processing method, and image processing program | |
TWI383333B (en) | Method and system for adjusting saturation of image | |
JP2008085975A (en) | Imaging element characteristic evaluating method and imaging element characteristics evaluating apparatus | |
CN117408872B (en) | Color image data conversion method, device, equipment and storage medium | |
JPH09130815A (en) | Method and device for processing picture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11739395 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 4236/CHENP/2012 Country of ref document: IN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012125065 Country of ref document: RU |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112012014666 Country of ref document: BR |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14/12/2012) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11739395 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 112012014666 Country of ref document: BR Kind code of ref document: A2 Effective date: 20120615 |