CN100456326C - Image processing method for face ageing - Google Patents

Image processing method for face ageing Download PDF

Info

Publication number
CN100456326C
CN100456326C CNB2006100535312A CN200610053531A CN100456326C CN 100456326 C CN100456326 C CN 100456326C CN B2006100535312 A CNB2006100535312 A CN B2006100535312A CN 200610053531 A CN200610053531 A CN 200610053531A CN 100456326 C CN100456326 C CN 100456326C
Authority
CN
China
Prior art keywords
face
pixel
elderly
space
brightness value
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
CNB2006100535312A
Other languages
Chinese (zh)
Other versions
CN1928922A (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CNB2006100535312A priority Critical patent/CN100456326C/en
Publication of CN1928922A publication Critical patent/CN1928922A/en
Application granted granted Critical
Publication of CN100456326C publication Critical patent/CN100456326C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The disclosed image processing method for aged face comprises: re-sampling to rebuild face image for the elderly; converting the image from RGB space into YUV space, taking Laplace modeling to face wrinkle and applying result on the earlier face, and converting the result from YUV space into RGB space. This invention is fast and low cost.

Description

A kind of image processing method that is used for face ageing
Technical field
The present invention relates to image processing method, particularly relate to a kind of image processing method that is used for face ageing.
Background technology
One of 20th century mankind's outstanding achievement computer technology has been brought human society into the information age.Computer technology has all brought revolutionary variation for every field.Along with going deep into of computer utility, computer graphics important effect of play more and more in recreation and making video, handle by stunt, people can produce many role or the scenes that can't imitate by actor simply, make picture more true to nature and natural.These stunts at many recreation and film with having obtained application, such as " The Lord of the Rings ", " Troy " etc.These stunts are advanced to the digital entertainment epoch with human society.And make the flourish power and source of digital entertainment is exactly to be the Digital Image Processing/computer graphics and the multimedia technology of carrier with the computing machine.
The ageing of people's face is the problem that often will face in image or the game making, and under the situation, people reach such effect by making up usually, the length that expends time in, and the effect instability usually makes the people feel true inadequately.The facial image that obtains ageing by digital image processing method is a kind of low cost, method fast, old man's face generally has more wrinkle and spot, at this characteristics, face ageing is carried out modeling, by the old human face photo in the sample, the ageing of more convenient realization target people face is handled.The method that face ageing is carried out in traditional Digital Image Processing generally need a people by youth to old process photo, by the subtracting each other or relatively obtain the ageing operating value of front and back photo, and this class photo is difficult to obtain in practice.
Summary of the invention
The object of the present invention is to provide a kind of Laplce of employing to operate the image processing method that to color of image gradient modeling is used for face ageing.
The technical scheme that the present invention solves its technical matters employing is as follows:
1. image processing method that is used for face ageing, the step of this method is as follows:
1) at first, facial image is resampled, realize reconstruction, and old man's image that the young man is rebuild is transformed into yuv space by rgb space old everybody face;
2) secondly, people's face wrinkle is carried out Laplce's modeling;
3) last, modeling result is applied to young man's face, and the result is converted to rgb space by yuv space.
2. described facial image is resampled, realizes reconstruction, and old man's image that the young man rebuilds is transformed into yuv space by rgb space is old everybody face:
1) by young man's face old man's face is resampled, realize reconstruction the elderly's face.Resampling comprises two parts:
A) the elderly and youngster's face are carried out the unique point mark
B) label alignment the elderly face and the young man's face that provides by unique point, the elderly's face that the elderly's face pixel is sampled and to be rebuild
2) at first calculate the brightness value (Y) of each pixel in the YUV color space, by formula carry out (1).
Y=0.299R+0.587G+0.114B
U=-0.147R-0.289G+0.436B (1)
V=0.615R-0.515G-0.100B
Wherein, Y is the Y component in the yuv space, and R, G, B are respectively the numerical value of three components of pixel in 16 RGB images.
3. describedly people's face wrinkle carried out Laplce's modeling be:
Extract the local laplace model of each pixel in the elderly's face and the young man's image respectively at level and vertical both direction.During modeling, carry out the calculating of horizontal direction, carry out the calculating of vertical direction according to formula (3) according to formula (2).
g x = e - a + c 2 - ( e 1 - a 1 + c 1 2 ) - ( e 2 - a 2 + c 2 2 ) - - - ( 2 )
Wherein: g xRepresent the local laplace model of horizontal direction, the e representative waits to ask the brightness value of pixel, and a represents the pixel brightness value on the e left side, and c represents the pixel brightness value on e the right, similarly, and e 1, e 2, a 1, a 2, c 1And c 2Expression and front e, a, the elderly's face of c correspondence and the pixel in young man's face.
g y = e - b + d 2 - ( e 1 - b 1 + d 1 2 ) - ( e 2 - b 2 + d 2 2 ) - - - ( 3 )
Wherein, g yRepresent the local laplace model of horizontal direction, b is the brightness value of the pixel above the e, and d is the pixel brightness value below the e, similarly, and b 1, b 2, d 1And d 2Expression and front b, the elderly's face of d correspondence and the pixel in young man's face.
4. described modeling result is applied to young man's face, and the result is converted to rgb space by yuv space is:
1) value of e is calculated according to formula (4)
e = e 1 + e 2 + a + b + c + d 4 - a 1 + b 1 + c 1 + d 1 4 - a 2 + b 2 + c 2 + d 2 4 - - - ( 4 )
2) e is carried out iteration and upgrade computing, up to ε i<0.01, ε wherein iBe iteration error, calculate according to formula (5)
ϵ i = Σ n = 1 N intensity ( n ) i - intensity ( n ) i - 1 - - - ( 5 )
Wherein, N is the number of pixel, and n is the sequence number of pixel, and i is meant number of iterations, the brightness value of n pixel of intensity (n) expression.
3) according to formula (6) image is converted to rgb space by yuv space.
R=Y+1.140V
G=Y-0.395U-0.581V (6)
B=Y+2.032U。
In Digital Image Processing and computer vision, Laplace operator is widely used in rim detection in digital picture for people's wrinkle and spot, and the part that graded in the image is violent is carried out modeling.Laplce's operation can be the color gradient field model with image transitions, and wrinkle and spot that this can handle the elderly face just carry out modeling to it.In digital picture, people's face wrinkle and spot show as the variation of brightness in the image, therefore, realize the ageing operation by the modeling to brightness.
The beneficial effect that the present invention has is: it is applicable to image or game making, old man's face generally has more wrinkle and spot, at this characteristics, face ageing is carried out modeling, by the old human face photo in the sample, the ageing of more convenient realization target people face is handled.In addition, the present invention do not need a people by youth to old variation photo, data are obtained conveniently.Therefore, the facial image that obtains ageing by the present invention is a kind of low cost, method fast.
Description of drawings
Fig. 1 is human face characteristic point (a) and the topological structure (b) thereof that the present invention adopts;
Fig. 2 is the synoptic diagram that a pixel is carried out the local modeling of Laplce;
Embodiment
When implementing the image processing method of face ageing, the specific implementation flow process is as follows:
The first step: prepare data.At first prepare an old human face photo (source human face photo) and a human face photo (target human face photo) that needs ageing according to the ageing needs.
Second step: human face characteristic point is demarcated.According to shown in Figure 1, on source human face photo and target human face photo, demarcate corresponding human face characteristic point (Fig. 1 (a)) respectively, and set up corresponding topological structure (Fig. 1 (b)).
The 3rd step: utilize unique point and topological structure thereof, calculate the relative position of pixel in the target people face, realize index, people from source face is sampled, realize the foundation of people from source face and target people face corresponding relation with this index to pixel in the target people face.
The 4th step: color space is transformed into YUV by RGB.Mode according to definition in the formula (1) is carried out the conversion of color space.
Y=0.299R+0.587G+0.114B
U=-0.147R-0.289G+0.436B(1)
V=0.615R-0.515G-0.100B
Wherein, Y is the Y component in the yuv space, and R, G, B are respectively the numerical value of three components of pixel in 16 RGB images.
The 5th step: to the local Laplce's modeling of wrinkle variation carrying out.Carry out local Laplce's modeling of wrinkle mapping according to formula (2)-(4), carry out local message that modeling adopts as shown in Figure 2.
Extract the local laplace model of each pixel in the elderly's face (Fig. 2 (a)) and the young man's image (Fig. 2 (a)) respectively at level and vertical both direction.During modeling, carry out the calculating of horizontal direction, carry out the calculating of vertical direction according to formula (3) according to formula (2).
g x = e - a + c 2 - ( e 1 - a 1 + c 1 2 ) - ( e 2 - a 2 + c 2 2 ) - - - ( 2 )
Wherein: g xRepresent the local laplace model of horizontal direction, the e representative waits to ask the brightness value of pixel, and a represents the pixel brightness value on the e left side, and c represents the pixel brightness value on e the right, similarly, and e 1, e 2, a 1, a 2, c 1And c 2Expression and front e, a, the elderly's face of c correspondence and the pixel in young man's face.
g y = e - b + d 2 - ( e 1 - b 1 + d 1 2 ) - ( e 2 - b 2 + d 2 2 ) - - - ( 3 )
Wherein, g yRepresent the local laplace model of horizontal direction, b is the brightness value of the pixel above the e, and d is the pixel brightness value below the e, similarly, and b 1, b 2, d 1And d 2Expression and front b, the elderly's face of d correspondence and the pixel in young man's face.
The 6th step: carry out interative computation until convergence.
1) value of e (Fig. 2 (c)) is calculated according to formula (4).
e = e 1 + e 2 + a + b + c + d 4 - a 1 + b 1 + c 1 + d 1 4 - a 2 + b 2 + c 2 + d 2 4 - - - ( 4 )
2) e is carried out iteration and upgrade computing, up to ε i<0.01, ε wherein iBe iteration error, calculate according to formula (5).
ϵ i = Σ n = 1 N intensity ( n ) i - intensity ( n ) i - 1 - - - ( 5 )
Wherein, N is the number of pixel, and n is the sequence number of pixel, and i is meant number of iterations, the brightness value of n pixel of intensity (n) expression.
The 7th step: result of calculation is changed back the RGB color space according to formula (6).
R=Y+1.140V
G=Y-0.395U-0.581V (6)
B=Y+2.032U
Therefore, the data of this method are obtained conveniently, and computation complexity is also lower, realize simple and fast, can reduce the cost of manufacture of image, recreation etc.

Claims (1)

1. image processing method that is used for face ageing is characterized in that the step of this method is as follows:
1) at first, facial image is resampled, realize reconstruction, and old man's image that the young man is rebuild is transformed into yuv space by rgb space old everybody face;
Described facial image is resampled, realizes reconstruction, and old man's image that the young man rebuilds is transformed into yuv space by rgb space is old everybody face:
A) by young man's face old man's face is resampled, realizes reconstruction the elderly's face,
Resampling comprises two parts:
A) the elderly and youngster's face are carried out the unique point mark
B) label alignment the elderly face and the young man's face that provides by unique point, the elderly's face that the elderly's face pixel is sampled and to be rebuild
B) at first calculate the brightness value (Y) of each pixel in the YUV color space, by formula carry out (1)
Y=0.299R+0.587G+0.114B
U=-0.147R-0.289G+0.436B (1)
V=0.615R-0.515G-0.100B
Wherein, Y is the Y component in the yuv space, and R, G, B are respectively the numerical value of three components of pixel in 16 RGB images;
2) secondly, people's face wrinkle is carried out Laplce's modeling;
Describedly people's face wrinkle carried out Laplce's modeling be:
Extract the local laplace model of each pixel in the elderly's face and the young man's image respectively at level and vertical both direction, during modeling, carry out the calculating of horizontal direction, carry out the calculating of vertical direction according to formula (3) according to formula (2)
g x = e - a + c 2 - ( e 1 - a 1 + c 1 2 ) - ( e 2 - a 2 + c 2 2 ) - - - ( 2 )
Wherein: g xRepresent the local laplace model of horizontal direction, the e representative waits to ask the brightness value of pixel, and a represents the pixel brightness value on the e left side, and c represents the pixel brightness value on e the right, similarly, and e 1, e 2, a 1, a 2, c 1And c 2Expression and front e, a, the elderly's face of c correspondence and the pixel in young man's face,
g y = e - b + d 2 - ( e 1 - b 1 + d 1 2 ) - ( e 2 - b 2 + d 2 2 ) - - - ( 3 )
Wherein, g yRepresent the local laplace model of horizontal direction, b is the brightness value of the pixel above the e, and d is the pixel brightness value below the e, similarly, and b 1, b 2, d 1And d 2Expression and front b, the elderly's face of d correspondence and the pixel in young man's face;
3) last, modeling result is applied to young man's face, and the result is converted to rgb space by yuv space;
Described modeling result is applied to young man's face, and the result is converted to rgb space by yuv space is:
A) value of e is calculated according to formula (4)
e = e 1 + e 2 + a + b + c + d 4 - a 1 + b 1 + c 1 + d 1 4 - a 2 + b 2 + c 2 + d 2 4 - - - ( 4 )
B) e is carried out iteration and upgrade computing, up to ε i<0.01, ε wherein iBe iteration error, calculate according to formula (5)
ϵ i = Σ n = 1 N intensity ( n ) i - intensity ( n ) i - I - - - ( 5 )
Wherein, N is the number of pixel, and n is the sequence number of pixel, and i is meant number of iterations, the brightness value of n pixel of intensity (n) expression,
C) according to formula (6) image is converted to rgb space by yuv space,
R=Y+1.140V
G=Y-0.395U-0.581V (6)
B=Y+2.032U。
CNB2006100535312A 2006-09-22 2006-09-22 Image processing method for face ageing Expired - Fee Related CN100456326C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100535312A CN100456326C (en) 2006-09-22 2006-09-22 Image processing method for face ageing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100535312A CN100456326C (en) 2006-09-22 2006-09-22 Image processing method for face ageing

Publications (2)

Publication Number Publication Date
CN1928922A CN1928922A (en) 2007-03-14
CN100456326C true CN100456326C (en) 2009-01-28

Family

ID=37858877

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100535312A Expired - Fee Related CN100456326C (en) 2006-09-22 2006-09-22 Image processing method for face ageing

Country Status (1)

Country Link
CN (1) CN100456326C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636736A (en) * 2015-03-03 2015-05-20 上海博超联石智能科技有限公司 High-definition face detecting method based on libjpeg base

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006053853A (en) * 2004-08-16 2006-02-23 Fuji Photo Film Co Ltd Authentication system
JP2006081846A (en) * 2004-09-17 2006-03-30 Inforward Inc Method and apparatus for estimating facial wrinkle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006053853A (en) * 2004-08-16 2006-02-23 Fuji Photo Film Co Ltd Authentication system
JP2006081846A (en) * 2004-09-17 2006-03-30 Inforward Inc Method and apparatus for estimating facial wrinkle

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
人脸表情的识别、重建与合成. 宋明黎.浙江大学博士学位论文. 2005
人脸表情的识别、重建与合成. 宋明黎.浙江大学博士学位论文. 2005 *
面向移动设备的快速人脸纹理映射. 宋明黎,赵琦,卜佳俊,陈纯.计算机辅助设计与图形学学报,第17卷第12期. 2005
面向移动设备的快速人脸纹理映射. 宋明黎,赵琦,卜佳俊,陈纯.计算机辅助设计与图形学学报,第17卷第12期. 2005 *

Also Published As

Publication number Publication date
CN1928922A (en) 2007-03-14

Similar Documents

Publication Publication Date Title
CN106373187B (en) Two dimensional image based on AR is converted to the implementation method of three-dimensional scenic
CN103473806B (en) A kind of clothes 3 D model construction method based on single image
CN102663766B (en) Non-photorealistic based art illustration effect drawing method
CN102938142B (en) Based on the indoor LiDAR missing data complementing method of Kinect
CN102332170B (en) Method and system for generating computer sketch images
CN104966320B (en) A kind of pattern-painting automatic generation method based on three rank Bezier curves
CN106528174B (en) Flash rendering method and rendering engine based on cocos2dx
CN105096358A (en) Line enhanced simulation method for pyrography artistic effect
CN104063888B (en) A kind of wave spectrum artistic style method for drafting based on feeling of unreality
CN108550157B (en) Non-shielding processing method for teaching blackboard writing
CN102521860A (en) Skeletal animation implementation method
CN105488844A (en) Method for displaying real-time shadow of massive models in three-dimensional scene
CN104392479A (en) Method of carrying out illumination coloring on pixel by using light index number
CN104794308B (en) Domain image based on Image Edge-Detection is converted to CIF document methods
CN111159872B (en) Three-dimensional assembly process teaching method and system based on human-machine engineering simulation analysis
CN100456326C (en) Image processing method for face ageing
CN101789030A (en) Virtual geographical environment (VGE) symbolic model and map symbol sharing system and method based on same
Xu Face reconstruction based on multiscale feature fusion and 3d animation design
CN115587930B (en) Image color style migration method, device and medium
CN106780700B (en) Game personalized 3D coloring method based on VR technology
CN104091318B (en) A kind of synthetic method of Chinese Sign Language video transition frame
CN105427363A (en) Storage method of bone animation file
CN104915992A (en) A real-time shadow volume rendering method based on femur CT images
CN103729866B (en) Water color style non-photorealistic rendering method and device
Mizuno et al. Improvement of the virtual printing scheme for synthesizing Ukiyo-e

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

Granted publication date: 20090128

Termination date: 20170922

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