CN104994363B - A kind of U.S. face method, device and intelligent terminal based on dress ornament - Google Patents

A kind of U.S. face method, device and intelligent terminal based on dress ornament Download PDF

Info

Publication number
CN104994363B
CN104994363B CN201510388263.9A CN201510388263A CN104994363B CN 104994363 B CN104994363 B CN 104994363B CN 201510388263 A CN201510388263 A CN 201510388263A CN 104994363 B CN104994363 B CN 104994363B
Authority
CN
China
Prior art keywords
character
skin
brightness
saturation degree
colour
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
CN201510388263.9A
Other languages
Chinese (zh)
Other versions
CN104994363A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510388263.9A priority Critical patent/CN104994363B/en
Publication of CN104994363A publication Critical patent/CN104994363A/en
Application granted granted Critical
Publication of CN104994363B publication Critical patent/CN104994363B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention discloses a kind of U.S. face method, device and intelligent terminal based on dress ornament.Its method includes:The characteristic information of character costume in image is obtained, U.S. face is carried out to personage according to the characteristic information is handled.Personage is beautified by the characteristic information of character costume, the overall visual effect of imaging is improved.

Description

A kind of U.S. face method, device and intelligent terminal based on dress ornament
Technical field
The present invention relates to camera work field, more particularly to a kind of U.S. face method, device and intelligent terminal based on dress ornament.
Background technology
In photographic process, the dress ornament of personage receives very important influence to overall visual impression, for example, wear gorgeous Clothes, but the colour of skin of personage itself is partially dark, will seem that its skin is obscure all the more, and imaging results give people inaesthetic vision print As in order to meet the sense of loving to make up and wearing beautiful clothes of people, it is an important approach to carry out beautification to personage during image procossing.
The content of the invention
It is an object of the invention to propose a kind of U.S. face method and apparatus based on dress ornament, believed by the feature of character costume Breath beautifies to personage's row, improves the overall visual effect of imaging.
For up to this purpose, the present invention uses following technical scheme:
On the one hand, the present invention proposes a kind of U.S. face method based on dress ornament, including:
Obtain the characteristic information of character costume in image;
U.S. face is carried out to personage according to the characteristic information to handle.
On the other hand, the present invention proposes a kind of U.S. face device based on dress ornament, including:
Acquiring unit, the characteristic information for obtaining character costume in image;
Beautify unit, handled for carrying out U.S. face to personage according to the characteristic information.
The beneficial effect that the technical scheme that the present invention is provided is brought:
By obtaining the characteristic information of character costume in image, U.S. face is carried out to personage according to the characteristic information and handled, The technical scheme that the present invention is provided can be beautified based on the characteristic information of character costume to personage, and the entirety for improving imaging is regarded Feel effect.
Brief description of the drawings
Fig. 1 is the method flow diagram of one embodiment of U.S. face method of the invention.
Fig. 2 is the method flow diagram of second embodiment of U.S. face method of the invention.
Fig. 3 is the block diagram of one embodiment of U.S. face device of the invention.
Fig. 4 is the block diagram of second embodiment of U.S. face device of the invention.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.
Embodiment one
Referring to Fig. 1, Fig. 1 is the method flow diagram of one embodiment of U.S. face method of the invention.
In the first embodiment, this method includes:
S101, obtains the characteristic information of character costume in image;
Image information is obtained by camera, character costume image information is extracted, people is obtained from the dress ornament image information The characteristic information of thing dress ornament, it is preferable that brightness and saturation degree including character costume color.
Color has the feature of three dimensions, tone, brightness and saturation degree, and tone refers to the basic colors of color, and this is basic Color has in seven, and brightness is the shading value of the three primary colors (red, green, blue) of the basic colors, and saturation degree refers to the basic colors The purity of bright-coloured degree, also referred to as color.The visual effect of color presentation can be changed by adjusting these three dimension values respectively.
S102, carries out U.S. face to personage according to the characteristic information and handles.
Preferably, U.S. face processing is carried out to personage according to the characteristic information is specially:
According to the brightness of the brightness regulation character facial colour of skin of the character costume color;
And/or, the saturation degree of the character facial colour of skin is adjusted according to the saturation degree of the character costume color.
To sum up, the characteristic information of character costume is obtained, U.S. face is carried out to personage according to the characteristic information is handled;The present invention The technical scheme of offer is beautified by the characteristic information of character costume to personage, improves the overall visual effect of imaging.
Embodiment two
Referring to Fig. 2, Fig. 2 is the method flow diagram of second embodiment of U.S. face method of the invention.
Exemplified by being adjusted to figure skin, in a second embodiment, this method includes:
S201, obtains the character costume region and character facial region in image;
After character costume region and character facial region is obtained, while into step S202 and step S205, according to The brightness of character costume color and saturation degree carry out brightness and the regulation of saturation degree beautification to the skin in character facial region.
S202, obtains brightness and the character facial region skin brightness of character costume regional color;
S203, if the brightness of the character costume regional color, which is more than or equal to, presets highlighted threshold values, the character facial skin The brightness of color is less than or equal to preset low bright threshold values, improves the brightness of the character facial region colour of skin;
S204, if the brightness of the dress ornament regional color of the personage is less than or equal to preset low bright threshold values, the character facial The brightness of the region colour of skin, which is more than or equal to, presets highlighted threshold values, reduces the brightness of the character facial region colour of skin;
It is described preset highlighted threshold values be:2*y_picture, it is described preset low bright threshold values be:0.5*y_picture;Wherein, The y_picture is the mean flow rate of whole picture.
S205, obtains the saturation degree of character costume regional color and the saturation degree of the character facial region colour of skin;
S206, if the saturation degree of the character costume regional color, which is more than or equal to, presets high saturation threshold values, personage's face The saturation degree of the portion region colour of skin is less than or equal to preset low saturation threshold values, improves the saturation degree of the character facial region colour of skin;
S207, if the saturation degree of the dress ornament regional color of the personage is less than or equal to preset low saturation threshold values, the personage The saturation degree of the face area colour of skin, which is more than or equal to, presets high saturation threshold values, reduces the saturation degree of the character facial region colour of skin;
It is described preset high saturation threshold values be:2*s_picture;It is described preset low saturation threshold values be:0.5*s_picture; The s_picture is the average staturation of whole picture.
The brightness of above-mentioned character costume regional color and saturation degree, and character facial area skin brightness and saturation degree Height be using the average value of whole picture as judgment standard;Above-mentioned regulation is fine setting, causes character facial by regulation The brightness of the colour of skin and saturation degree are with the brightness of character costume color and the residual quantity of saturation degree in certain scope.
Preferably.Character image after beautification can also be stored.
To sum up, the characteristic information of character costume is obtained, this feature information includes brightness and the saturation degree of character costume color, Compare the brightness and saturation degree of the brightness and saturation degree of character costume regional color with the character facial region colour of skin, according to what is compared As a result the character facial colour of skin is beautified;The technical scheme that the present invention is provided is by the characteristic information of character costume to personage's face Portion's colour of skin is beautified so that the softer color of picture is more rich, improves the overall visual effect of imaging.
Embodiment three
Referring to Fig. 3, Fig. 3 is the block diagram of one embodiment of U.S. face device of the invention.
In the third embodiment, the device includes:
Acquiring unit 01, the characteristic information for obtaining character costume in image.
Preferably, this feature information includes brightness and the saturation degree of character costume color.
Beautify unit 02, handled for carrying out U.S. face to personage according to the characteristic information.
Preferably, brightness and the saturation degree of the character facial colour of skin are adjusted according to the brightness of character costume color and saturation degree.
To sum up, the characteristic information of character costume is obtained, U.S. face is carried out to personage according to the characteristic information is handled;The present invention The technical scheme of offer is beautified by the characteristic information of character costume to personage, improves the overall visual effect of imaging.
Example IV
Referring to Fig. 4, Fig. 4 is the block diagram of second embodiment of U.S. face device of the invention.
Exemplified by being adjusted to figure skin, on the basis of three embodiments, in fourth embodiment, described U.S. in the device Changing unit 02 includes brightness adjusting unit 021 and saturation degree adjustment unit 022;
The brightness adjusting unit 021, for the brightness regulation character facial colour of skin according to the character costume color Brightness;
The saturation degree adjustment unit 022, for adjusting character facial skin according to the saturation degree of the character costume color The saturation degree of color.
To realize the regulation to figure skin, it is preferable that the acquiring unit 01, specifically for determining character costume area Domain;Obtain character costume regional color brightness, and/or character costume regional color saturation degree;
The brightness adjusting unit 021, specifically for determining character facial region;Obtain the bright of the character facial region colour of skin Degree;If the brightness of the character costume regional color be more than or equal to preset highlighted threshold values, the character facial region colour of skin it is bright Degree is less than or equal to preset low bright threshold values, improves the brightness of the character facial region colour of skin;If the dress ornament region color of the personage Color brightness is less than or equal to preset low bright threshold values, and the brightness of the character facial region colour of skin, which is more than or equal to, presets highlighted threshold values, Reduce the brightness of the character facial region colour of skin.
The saturation degree adjustment unit 022, specifically for determining character facial region;Obtain the character facial region colour of skin Saturation degree;If the saturation degree of the character costume regional color, which is more than or equal to, presets high saturation threshold values, the character facial region The saturation degree of the colour of skin is less than or equal to preset low saturation threshold values, improves the saturation degree of the character facial region colour of skin;If the people The saturation degree of the dress ornament regional color of thing is less than or equal to preset low saturation threshold values, and the saturation degree of the character facial region colour of skin is big In equal to default high saturation threshold values, the saturation degree of the character facial region colour of skin is reduced.
It is preferred that, the default highlighted threshold values is:2*y_picture, it is described preset low bright threshold values be:
0.5*y_picture;It is described preset high saturation threshold values be:2*s_picture;It is described to preset low saturation threshold values:
0.5*s_picture.Wherein, the y_picture is the mean flow rate of whole picture, and the s_picture is The average staturation of whole picture,
The brightness of character costume regional color and saturation degree, and character facial region skin brightness and saturation degree Height is using the average value of whole picture as judgment standard.
According to the characteristic information of character costume, beautify subelement -- brightness adjusting unit 021 and saturation degree adjustment unit 022 Character costume color is adjusted from different dimensions respectively, to reach visual effect that the softer color of picture is more rich.
Described device also includes memory cell 03, for being stored to the character image after beautification.
To sum up, obtain character costume color brightness and saturation degree, compare character costume color brightness and saturation degree with The brightness of the character facial colour of skin and saturation degree, beautify according to result of the comparison to the character facial colour of skin;What the present invention was provided Technical scheme is beautified by the characteristic information of character costume to the character facial colour of skin so that picture is softer, and color is richer Richness, improves the overall visual effect of imaging.
Embodiment five
The embodiment is a kind of embodiment of intelligent terminal of the invention.
The intelligent terminal includes the U.S. face device based on dress ornament described in any one of apparatus above embodiment three and four.
The intelligent terminal includes camera, mobile phone, flat board, notebook, the equipment that desktop computer etc. can photograph.
To sum up, the intelligent terminal provided by the present embodiment, user is automatic to obtain during being taken pictures or being photographed The characteristic information in character costume region in image, this feature information includes brightness and the saturation degree of character costume regional color, root U.S. face is carried out to personage according to this feature information to handle, and specifically includes brightness and the saturation degree of the regulation character facial region colour of skin;Make Obtain the softer color of picture more rich, improve the overall visual effect of imaging.
The technical principle of the present invention is described above in association with specific embodiment.These descriptions are intended merely to explain the present invention's Principle, and limiting the scope of the invention can not be construed in any way.Based on explanation herein, the technology of this area Personnel, which would not require any inventive effort, can associate other embodiments of the present invention, and these modes are fallen within Within protection scope of the present invention.

Claims (7)

1. a kind of U.S. face method based on dress ornament, it is characterised in that including:
The characteristic information of character costume in image is obtained, the characteristic information of the character costume includes the brightness of character costume color And saturation degree;
U.S. face is carried out to personage according to the characteristic information to handle;
Wherein, it is described to be specially to the U.S. face processing of personage's progress according to the characteristic information:
According to the brightness of the brightness regulation character facial colour of skin of the character costume color;
And/or, the saturation degree of the character facial colour of skin is adjusted according to the saturation degree of the character costume color.
2. according to the method described in claim 1, it is characterised in that the characteristic information of character costume is specially in acquisition image: Determine character costume region;Obtain the brightness of character costume regional color;
The brightness of the brightness regulation character facial colour of skin according to the character costume color is specially:
Determine character facial region;
Obtain the brightness of the character facial region colour of skin;
If the brightness of the character costume regional color be more than or equal to preset highlighted threshold values, the character facial region colour of skin it is bright Degree is less than or equal to preset low bright threshold values, improves the brightness of the character facial region colour of skin;
If the brightness of the dress ornament regional color of the personage is less than or equal to preset low bright threshold values, the character facial region colour of skin Brightness, which is more than or equal to, presets highlighted threshold values, reduces the brightness of the character facial region colour of skin.
3. according to the method described in claim 1, it is characterised in that the characteristic information of character costume is specially in acquisition image: Determine character costume region;Obtain the saturation degree of character costume regional color;
It is described according to the saturation degree of the character costume color adjust the character facial colour of skin saturation degree be specially:
Determine character facial region;
Obtain the saturation degree of the character facial region colour of skin;
If the saturation degree of the character costume regional color, which is more than or equal to, presets high saturation threshold values, the character facial region colour of skin Saturation degree be less than or equal to preset low saturation threshold values, improve the character facial region colour of skin saturation degree;
If the saturation degree of the dress ornament regional color of the personage is less than or equal to preset low saturation threshold values, character facial region skin The saturation degree of color, which is more than or equal to, presets high saturation threshold values, reduces the saturation degree of the character facial region colour of skin.
4. according to the method in claim 2 or 3, it is characterised in that described to preset highlighted threshold values and be:2*y_picture, institute Stating default low bright threshold values is:0.5*y_picture;It is described preset high saturation threshold values be:2*s_picture is described default low full It is with threshold values:0.5*s_picture;
Wherein, the y_picture is the mean flow rate of whole picture;The s_picture is the average saturation of whole picture Degree.
5. a kind of U.S. face device based on dress ornament, it is characterised in that including:
Acquiring unit, the characteristic information for obtaining character costume in image;
Beautify unit, handled for carrying out U.S. face to personage according to the characteristic information;
Wherein, the beautification unit includes:
Brightness adjusting unit, the brightness for the brightness regulation character facial colour of skin according to the character costume color;
Saturation degree adjustment unit, the saturation degree for adjusting the character facial colour of skin according to the saturation degree of the character costume color.
6. device according to claim 5, it is characterised in that
The acquiring unit, specifically for determining character costume region;Obtain the brightness of character costume regional color, and/or people The saturation degree of thing dress ornament regional color;
The brightness adjusting unit, specifically for determining character facial region;Obtain the brightness of the character facial region colour of skin;If institute The brightness for stating character costume regional color is more than or equal to and presets highlighted threshold values, and the brightness of the character facial region colour of skin is less than etc. In default low bright threshold values, the brightness of the character facial region colour of skin is improved;If the brightness of the dress ornament regional color of the personage Less than or equal to default low bright threshold values, the brightness of the character facial region colour of skin, which is more than or equal to, presets highlighted threshold values, and reduction is described The brightness of the character facial region colour of skin;
The saturation degree adjustment unit, specifically for determining character facial region;Obtain the saturation degree of the character facial region colour of skin; If the saturation degree of the character costume regional color, which is more than or equal to, presets high saturation threshold values, the character facial region colour of skin it is full It is less than or equal to preset low saturation threshold values with degree, improves the saturation degree of the character facial region colour of skin;If the dress ornament of the personage The saturation degree of regional color is less than or equal to preset low saturation threshold values, and the saturation degree of the character facial region colour of skin is more than or equal in advance If high saturation threshold values, the saturation degree of the character facial region colour of skin is reduced.
7. a kind of intelligent terminal, it is characterised in that the intelligent terminal include as described in claim any one of 5-6 based on clothes The U.S. face device of decorations.
CN201510388263.9A 2015-07-02 2015-07-02 A kind of U.S. face method, device and intelligent terminal based on dress ornament Expired - Fee Related CN104994363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510388263.9A CN104994363B (en) 2015-07-02 2015-07-02 A kind of U.S. face method, device and intelligent terminal based on dress ornament

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510388263.9A CN104994363B (en) 2015-07-02 2015-07-02 A kind of U.S. face method, device and intelligent terminal based on dress ornament

Publications (2)

Publication Number Publication Date
CN104994363A CN104994363A (en) 2015-10-21
CN104994363B true CN104994363B (en) 2017-10-20

Family

ID=54306112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510388263.9A Expired - Fee Related CN104994363B (en) 2015-07-02 2015-07-02 A kind of U.S. face method, device and intelligent terminal based on dress ornament

Country Status (1)

Country Link
CN (1) CN104994363B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991696B (en) * 2017-03-09 2020-01-24 Oppo广东移动通信有限公司 Backlight image processing method, backlight image processing device and electronic device
CN107025635B (en) 2017-03-09 2020-01-24 Oppo广东移动通信有限公司 Depth-of-field-based image saturation processing method and device and electronic device
CN106991654B (en) * 2017-03-09 2021-02-05 Oppo广东移动通信有限公司 Human body beautifying method and device based on depth and electronic device
CN106937049B (en) * 2017-03-09 2020-11-27 Oppo广东移动通信有限公司 Depth-of-field-based portrait color processing method and device and electronic device
CN107093168A (en) * 2017-03-10 2017-08-25 厦门美图之家科技有限公司 Processing method, the device and system of skin area image
CN107424117B (en) * 2017-07-17 2021-03-30 Oppo广东移动通信有限公司 Image beautifying method and device, computer readable storage medium and computer equipment
CN113763287A (en) * 2021-09-27 2021-12-07 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242775A (en) * 1999-02-19 2000-09-08 Fuji Photo Film Co Ltd Method and device for processing image, and recording medium
JP2012501505A (en) * 2008-09-01 2012-01-19 ミツビシ エレクトリック ビジュアル ソリューションズ アメリカ, インコーポレイテッド System and method for image enhancement
JP2010177821A (en) * 2009-01-27 2010-08-12 Sony Corp Imaging apparatus and imaging method
JP4748271B2 (en) * 2009-01-28 2011-08-17 株式会社ニコン Electronic camera and image processing program
CN103413270A (en) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 Method and device for image processing and terminal device
CN103716547A (en) * 2014-01-15 2014-04-09 厦门美图之家科技有限公司 Smart mode photographing method

Also Published As

Publication number Publication date
CN104994363A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN104994363B (en) A kind of U.S. face method, device and intelligent terminal based on dress ornament
CN106780311B (en) Rapid face image beautifying method combining skin roughness
WO2017059732A1 (en) Display device for adjusting display colour gamut and method for adjusting display colour gamut therefor
CN104320578B (en) A kind of method that self-timer sheen compensation is carried out based on screen intensity
CN104076928B (en) A kind of method for adjusting text importing image
CN104735362B (en) Photographic method and device
CN107680556B (en) A kind of display power-economizing method, device and display
CN105513013B (en) A kind of picture of mobile telephone hair style synthetic method
CN109447910A (en) A kind of low-luminance color image enchancing method based on fuzzy theory
CN107180415A (en) Skin landscaping treatment method and device in a kind of image
WO2012155525A1 (en) Method, device and apparatus for processing video images
CN104599297B (en) A kind of image processing method for going up blush automatically to face
CN104967784B (en) Mobile terminal calls the method and mobile terminal of the substrate features pattern of camera function
KR20070026701A (en) Dominant color extraction using perceptual rules to produce ambient light derived from video content
CN110634169A (en) Image processing apparatus and method
EP1583032A3 (en) Luminance Correction
CN105701773B (en) A kind of method and device of quick processing image
CN104935902B (en) Image color Enhancement Method, device and electronic equipment
CN106033529A (en) Image processing method and electronic apparatus
CN103714520A (en) Digital video image enhancement achieving system and method based on FPGA
CN106846240B (en) Method, device and equipment for adjusting fusion materials
CN102568010A (en) Method for extracting color and changing theme coloring by utilizing traditional camera
CN108200420A (en) Picture adjustment methods, device, readable storage medium storing program for executing and terminal
CN107820069A (en) A kind of video monitoring equipment ISP adjustment methods
CN104392420B (en) A kind of method of the rapid Optimum colour of skin

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171020