CN100504911C - Method for automatically extracting face area from three-dimensional scanning original data of head and shoulder - Google Patents

Method for automatically extracting face area from three-dimensional scanning original data of head and shoulder Download PDF

Info

Publication number
CN100504911C
CN100504911C CNB2007100715377A CN200710071537A CN100504911C CN 100504911 C CN100504911 C CN 100504911C CN B2007100715377 A CNB2007100715377 A CN B2007100715377A CN 200710071537 A CN200710071537 A CN 200710071537A CN 100504911 C CN100504911 C CN 100504911C
Authority
CN
China
Prior art keywords
face
face area
shoulder
data
connection sheet
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.)
Active
Application number
CNB2007100715377A
Other languages
Chinese (zh)
Other versions
CN101131729A (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 CNB2007100715377A priority Critical patent/CN100504911C/en
Publication of CN101131729A publication Critical patent/CN101131729A/en
Application granted granted Critical
Publication of CN100504911C publication Critical patent/CN100504911C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a kind of method to abstract automatically the area of the face from the initial 3D-scan data of head and shoulder, and its steps is: (1) curved face reconfiguration of 3D face: with the method of sub mesh creating piecewise smooth triangular mesh curved face with the initial 3D data of head and shoulder; (2) calculating the Gaussian curvature: calculating the discrete Gaussian curvature of every apex basing on the triangular mesh data which is gotten during curved face reconfiguration; (3) abstracting the area of the face. The beneficial effect of the invention is abstracting the core of the face from the 3D data of the head and shoulder automatically and accurately.

Description

Automatically extract the method for face area in a kind of three-dimensional scanning original data of from the beginning shoulder
Technical field
The present invention relates to the extraction method of face area in a kind of the shoulder three-dimensional scanning original data, relate in particular to a kind of with Gaussian curvature be communicated with the method that the sheet search groups is combined into core technology, automatically extracts face's nucleus from three-dimensional scanning original data.
Background technology
Development along with the three-dimensional acquisition technology, three-dimensional data becomes the 4th kind of multimedia data type after sound, image and video just gradually, three-dimensional face model particularly is in the internet, aspect such as home entertaining, computer animation, video display amusement and security monitoring is with a wide range of applications.The three-dimensional face data that major applications needs are nucleuses of front face.
But people's face data that existing three-dimensional face data acquisition equipment obtains not only comprise the positive zone of people's face, also comprise the neighboring area except that people's face, as zones such as neck, shoulder, hairs.These region shape instabilities belong to interfere information not in the know, effect and accuracy that the influence great majority are used.Adopting manual method to remove that information not in the know can cause using can't robotization, lacks practicality (as the recognition of face in the security monitoring) in some cases.Existing automatic cutting technique requires the assistance of two dimensional image, is difficult to be directly used in three-dimensional face model.
Summary of the invention
The invention provides a kind ofly based on curvature be communicated with that sheet is search, full automatic face area extracting method, what mainly solve is the automatic problem of pretreatment of head shoulder three-dimensional scanning original data during large-scale three dimensional people face is used.
Automatically extract the method for face area in a kind of three-dimensional scanning original data of from the beginning shoulder, its step is as follows:
(1), the surface reconstruction of three-dimensional face: adopt the thought of subdivision mesh, original three-dimensional head shoulder data (coordinate point set) are made up piecewise smooth triangular mesh curved surface;
(2), the calculating of Gaussian curvature: the discrete Gaussian curvature of on the triangular mesh data that surface reconstruction obtains, calculating each summit;
(3), human face region extracts: (this step divides three little steps to finish)
At first be the calculating that is communicated with sheet: the Gaussian curvature based on the 2nd step calculated is divided into a plurality of connection sheets by certain threshold value with original three-dimensional face data;
Next is that rough human face region is selected: in the connection sheet of cutting apart, select to comprise the rough calculation result of the connection sheet of people's face nucleus maximum as human face region by certain rule;
Be the accurate extraction of human face region at last:, cut out accurate face nucleus by the connection sheet of rough selection and original three-dimensional face data.
The method of the subdivision mesh described in the step (1) comprises that network topology estimation, grid optimization and piecewise smooth surface optimize three steps.
The computing method of the Gaussian curvature that adopts in the step (2) are to one of the calculating of Gaussian curvature on the continuous curve surface formula approximate, that employing is following:
∫ ∫ A KdA = 2 π - Σ i = 0 n - 1 α i - - - ( 1 )
K = 2 π - Σ i = 0 n - 1 α i 1 3 A - - - ( 2 )
When in the step (3) original three-dimensional face data being divided into a plurality of connection sheet, carry out the expansion of connected relation according to 1 ring neighborhood of grid.
In the step (3), what described threshold values was got is the mean-Gaussian curvature of all grid vertexes.
The rough selective rule of face area need calculate three amount: TR in the step (3) m(upper right point), BL m(lower-left point) and Span m, it is as follows that it calculates used formula:
TR m ( x , y , z ) = ( max ( p i ( x ) ) , max ( p i ( y ) ) , max p i ( z ) ) ) p i ∈ P m - - - ( 3 )
BL m ( x , y , z ) = ( min ( p i ( x ) ) , min ( p i ( y ) ) , min ( p i ( z ) ) ) p i ∈ P m - - - ( 4 )
Span m=‖TR m-BL m‖ (5)
If rough selective rule is Span M1〉=th b, Span M2〉=th b, then select Span less as face area, otherwise select bigger as face area.
Th in the rough selection of face area in the step (3) bValue be taken as 180.
Used cutting radius was the center of gravity of the rough connection sheet the selected distance apart from the center of gravity solstics to the set when face area accurately extracted in the step (3).
The problem of face area cutting can be defined as follows in the three-dimensional data of head shoulder: the data P={p of a given initial three-dimensional head shoulder i, p wherein i={ x i, y i, z iBe the three-dimensional coordinate that i is ordered, suppose how automatically to extract the subclass P ' { p of P without any about the attitude of raw data P and the information of direction i', this subclass only comprises the zone of front face.
To correctly distinguish human face region, need analyze and add up the character of people's face curved surface.Curvature has been expressed the intrinsic characteristic of curved surface, and its tolerance and the orientation independent of curved surface, is fit to very much to be used for the feature of analytic surface.Because curvature is only just meaningful for curved surface, meaningless to the coordinate points set, we intend reconstruct three-dimension curved surface from P, calculate on the curved surface every Gaussian curvature then, seek to extract the method for human face region by the distribution situation of analyzing this curved surface Gaussian curvature.
Say on directly perceived, although human face region causes the curve form more complicated because of eye, nose, mouth and eye socket, move towards, move towards to neck to the both sides trend with from chin from cheek to hair but examine from forehead, the common feature of these three directions is that curve form has a change procedure from smooth to bending.Gaussian curvature is to weigh this variation tendency well to measure.Therefore, at first reconstruct curved surface information from P is calculated the curvature on each summit on the surface of reconstruct; Big young pathbreaker's data according to curvature are divided into different connection sheets then, search for the zone that comprises maximum front face again from be communicated with sheet, and are last
The front face of maximum is communicated with sheet to be adjusted and obtains face area result accurately.
The effect that the present invention is useful is to cut out face's nucleus in the three-dimensional data that can from the beginning take on automatically, exactly.
Description of drawings
Fig. 1 is the process flow diagram that face area of the present invention extracts;
Fig. 2 is the data and the corresponding surface reconstruction result of three-dimensional head shoulder of the present invention;
Fig. 3 is a Gaussian curvature result of calculation of the present invention;
Fig. 4 is the result of calculation of connection sheet of the present invention;
Fig. 5 is that face area of the present invention extracts the result;
Embodiment:
Face area extracts automatically in the data of head shoulder
As shown in Figure 1, concrete steps are as follows:
1, surface reconstruction
The purpose of surface reconstruction is the information of reconstructed surface from the information that the three-dimensional coordinate point set comprises, and our method adopts the thought of subdivision mesh, and the reconstruct triangular mesh mainly is divided into three steps:
(1) topological structure of the former curved surface of estimation.This step is at first determined an initial estimation of model geometric, makes up the grid larger, that number of vertices is more, with the preliminary topology of determining model.
(2) grid optimization.Adopt the grid optimization technology to reduce summit and triangle number that previous step makes up grid, whole process by optimize energy function with balance summit, triangle number and and the degree of former surface fitting between relation.The free variable of energy function comprises the position on number of vertices, annexation and summit in the optimizing process.
(3) piecewise smooth surface optimization.The work in this step itself also is an optimizing process based on the optimization result in second step.It changes the quantity and the position of summit quantity, annexation, position and sharp features.The optimization in this step also realizes automatic detection and the recovery to sharp features.As Fig. 2, the curved surface after the reconstruct.
2, the calculating of Gaussian curvature
On continuous curve surface, establish the border of simply connected region D on the curved surface
Figure C200710071537D00091
Be piecewise smooth closed curve, promptly ∂ D = C 1 ∪ C 2 · · · ∪ C n , each C iBe smooth, establish α iBe
Figure C200710071537D00093
The exterior angle, summit, Gaussian curvature adopts formula (1) to calculate.
∫ ∫ D KdA + ∫ ∂ D k g ds + Σ α i = 2 π - - - ( 1 )
Wherein K is the Gaussian curvature of arbitrfary point, k gIt is the geodesic curvature on border.
The data of the three-dimensional head shoulder after curved surface reconstruct, its data manifestation mode is a 3D grid, its main element comprises the set of three-dimensional coordinate point and the annexation of the set mid point represented with triangle, comprises limit and triangle surface.A vertex v and its adjacent vertex collection in the given grid
Figure C200710071537D0009135834QIETU
,, make α to i=0...n-1 i=∠ v iVv (i+1) %nBe two continuous limit e of vertex v i=vv i, e I+1=vv (i+1) %nThe angle of opening, % is a modulo operator, (1) formula can be converted into (2) formula under the discrete case.
∫ ∫ A KdA = 2 π - Σ i = 0 n - 1 α i - - - ( 2 )
Wherein A is the leg-of-mutton total area of adjacent vertex v, and in the small neighbourhood of v, K keeps approximate constant, can be used as the estimation of the Gaussian curvature of vertex v:
K = 2 π - Σ i = 0 n - 1 α i 1 3 A - - - ( 3 )
Press the characteristic information that the Gaussian curvature of (3) calculating has been expressed grid surface preferably, partial results is shown in figure (3), and red area represents that curvature is less, and blue region curvature is bigger.
3, face area extracts automatically
The result of calculation that Gaussian curvature has been arranged, we finish the automatic extraction of human face region by following three steps.
(1) calculating of connection sheet
From figure (3) as seen, the neighboring area of human face region has higher curvature value, and zone line has lower curvature value, and we are by setting a threshold value, and the zones of different of raw data is separated.Have benefited from the topology information that the data of the three-dimensional head shoulder behind the curve reestablishing comprise, our connection sheet growing method utilizes the syntople in the topology information to carry out regional continuation.Make M=(V M, K M, C M) people's face grid of expression trigonometric ratio, V wherein M={ v iBe the vertex set of grid, K MThe topology information of expression grid, C M={ c iRepresent the set of the Gaussian curvature value of each summit i correspondence, it is as follows to be communicated with the sheet computing method:
I is provided with a label t for each summit i, be made as 0, initial sheet number l=0, the initialization curvature threshold th of being communicated with of order c
II is from V MT of middle selection iThe vertex v of=0 correspondence i, v=v is set i, t i=1, and with v iJoin and be communicated with sheet set P 1In;
III is to adjacent vertex collection N (each adjacent vertex v v) of vertex v kIf, c k<th cAnd t k=0, with v kAdd set P 1
IV makes that vertex v is P 1In each untreated summit, the label t=1 on this summit is set, get back to the III step;
L=l+1 gets back to the II step, up to the summit that can not find a t=0.
We do not safeguard topological relation the computation process of connection sheet, promptly do not keep the triangle of grid, only preserve the point set that respectively is communicated with sheet, and the reconstruct curved surface calculates to simplify once more after the human face region extraction finishes.Fig. 4 is the connection sheet result after cutting apart.
(2) rough face area connection sheet is chosen
The computation process that is communicated with sheet is divided into a plurality of coordinate points set P with three-dimensional the data of takeing on 1... P n, as seen from Figure 4, the front face zone can condense together preferably, just as one in a plurality of connection sheets.In most cases, human face region is that all are communicated with area maximum in the sheet (counting at most); But, if growing into one, neck, shoulder and chest be communicated with sheet, then the latter is wideer, bigger than human face region.Therefore, we at first select the connection sheet of two maximums, according to the priori that is communicated with plate shape, therefrom select real human face region by certain rule then, and are as follows:
To any one given connection sheet coordinate points set P m, at first calculate TR m(upper right point), BL m(lower-left point) and Span m, as follows:
TR m ( x , y , z ) = ( max ( p i ( x ) ) , max ( p i ( y ) ) , max p i ( z ) ) ) p i ∈ P m - - - ( 4 )
BL m ( x , y , z ) = ( min ( p i ( x ) ) , min ( p i ( y ) ) , min ( p i ( z ) ) ) p i ∈ P m - - - ( 5 )
Span m=‖TR m-BL m‖ (6)
From P 1... P nIn select two of the Span maximum and be communicated with sheets, be designated as P M1, P M2, mutually Span should be arranged M1, Span M2, set a threshold value th b, use following three rules to select real human face region:
1) if Span M1<th b, Span M2<th b, P M1, P M2The middle bigger zone of Span is chosen as the front face zone;
2) if Span M1, Span M2Among both one less than thb, another is greater than th b, P M1, P M2The middle bigger zone of Span is chosen as the front face zone;
3) if Span M1〉=th b, Span M2〉=th b, P M1, P M2The middle less zone of Span is chosen as the front face zone.
Threshold value th bValue obtain by training, we are taken as 180.
(3) face area accurately extracts
Because the error that discrete curvature is calculated, the human face region of choosing roughly is irregular, and has some holes, the also main region just of extraction; But,, can obtain comparatively smooth dough sheet by adjusting once more because the connection sheet that extracts has been the core patch in front face zone.
Suppose that P ' is people's face sheet point set of selecting roughly, find the solution a center of gravity of P ' collection, be the centre of sphere then with the center of gravity, before cutting apart, once cut again on the original data set P that the center of gravity that radius is got P ' collection is concentrated distance apart from the center of gravity solstics to P ' with a ball.By such adjustment again, a comparatively smooth human face region cutting has just been finished.
Test findings of the present invention is tested on FRGC v1.0 storehouse, and this storehouse comprises the data model of 943 original head shoulders, and method of the present invention all obtains good cutting effect on all models.Fig. 5 is the part of test results synoptic diagram.
The working time of the inventive method, the sampling rate with raw data had much relations, selected 50 models at each sampling density section, calculated average working time, the result is as shown in table 1, the computing platform of experiment is a PC, Pentium IV 2.4GHz processor and 512M DDR internal memory.By table 1 as seen, the most of the time consumes in curve reestablishing, and curvature is calculated and face area extracts about 25% the time that takies.Overall operational performance can satisfy demands of applications.
Consume the averaging time of the automatic extractive technique of table 1 face area

Claims (7)

1, extract the method for face area in a kind of three-dimensional scanning original data of from the beginning shoulder automatically, its step is as follows:
(1), the surface reconstruction of three-dimensional face: adopt the method for subdivision mesh, to the original piecewise smooth triangular mesh curved surface of three-dimensional head shoulder data construct;
(2), the calculating of Gaussian curvature: the discrete Gaussian curvature of on the triangular mesh data that surface reconstruction obtains, calculating each summit;
(3), human face region extracts:
Be communicated with the calculating of sheet: the Gaussian curvature based on step (2) is calculated becomes a plurality of connection sheets by certain threshold value with the mesh segmentation that obtains in the step (1);
Rough human face region is selected: from the connection sheet of cutting apart, select to comprise the rough selection result of the connection sheet of people's face nucleus maximum as human face region by certain rule;
The accurate extraction of human face region:, cut out accurate face nucleus by the connection sheet of rough selection and original three-dimensional head shoulder data.
2, extract the method for face area in the three-dimensional scanning original data of from the beginning shoulder according to claim 1 automatically, it is characterized in that: the method for the subdivision mesh described in the step (1) comprises that network topology estimation, grid optimization and piecewise smooth surface optimize three steps.
3, extract the method for face area in the three-dimensional scanning original data of from the beginning shoulder according to claim 1 automatically, it is characterized in that: the computing method of the Gaussian curvature that adopts in the step (2) are to one of the calculating of Gaussian curvature on the continuous curve surface formula approximate, that employing is following:
∫ ∫ A KdA = 2 π - Σ i = 0 n - 1 α i - - - ( 1 )
K = 2 π - Σ i = 0 n - 1 α i 1 3 A - - - ( 2 )
α iBe the exterior angle in abutting connection with tri patch on a summit, A is in abutting connection with the tri patch total area.
4, extract the method for face area in the three-dimensional scanning original data of from the beginning shoulder according to claim 1 automatically, it is characterized in that: when in the step (3) the triangular mesh curved surface that obtains in the step (1) being divided into a plurality of connection sheet, carry out the expansion of connected relation according to 1 ring neighborhood of grid.
5, extract the method for face area in the three-dimensional scanning original data of from the beginning shoulder according to claim 1 automatically, it is characterized in that: in the operation of step (3), what described threshold value was got is the mean-Gaussian curvature of all grid vertexes.
6, the automatic method of extracting face area in the three-dimensional scanning original data of from the beginning takeing on according to claim 1 is characterized in that: the rough selective rule of face area need calculate three amounts to each connection sheet that connection sheet in the step (3) calculates in the step (3): upper right some TR m, lower-left point BL mAnd Span m, it is as follows that it calculates used formula:
TR m ( x , y , z ) = ( max ( p i ( x ) ) , max ( p i ( y ) ) , max p i ( z ) ) ) p i ∈ P m - - - ( 3 )
BL m ( x , y , z ) = ( min ( p i ( x ) ) , min ( p i ( y ) ) , min ( p i ( z ) ) ) p i ∈ P m - - - ( 4 )
Span m=‖TR m-BL m‖ (5)
P wherein mBe that step (3) is communicated with any one the connection sheet that obtains in the sheet calculating, p iIt is any one summit on this connection sheet;
Rough selective rule: at first select two to be communicated with sheet P M1And P M2, feasible corresponding Span M1And Span M2Be maximum and second largest in all connection sheets; Setting threshold th b=180, if Span M1〉=th b, Span M2〉=th b, then select P M2As face area, otherwise select P M1As face area.
7, automatically extract the method for face area in the three-dimensional scanning original data of from the beginning shoulder according to claim 1, it is characterized in that: used cutting radius was the center of gravity of the rough connection sheet the selected distance apart from the center of gravity solstics to the set when face area accurately extracted in the step (3).
CNB2007100715377A 2007-09-25 2007-09-25 Method for automatically extracting face area from three-dimensional scanning original data of head and shoulder Active CN100504911C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100715377A CN100504911C (en) 2007-09-25 2007-09-25 Method for automatically extracting face area from three-dimensional scanning original data of head and shoulder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100715377A CN100504911C (en) 2007-09-25 2007-09-25 Method for automatically extracting face area from three-dimensional scanning original data of head and shoulder

Publications (2)

Publication Number Publication Date
CN101131729A CN101131729A (en) 2008-02-27
CN100504911C true CN100504911C (en) 2009-06-24

Family

ID=39128993

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100715377A Active CN100504911C (en) 2007-09-25 2007-09-25 Method for automatically extracting face area from three-dimensional scanning original data of head and shoulder

Country Status (1)

Country Link
CN (1) CN100504911C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101839701B (en) * 2010-05-27 2012-03-21 中国科学院自动化研究所 Method for automatically partitioning tree point cloud data
CN101930537B (en) * 2010-08-18 2014-08-20 北京交通大学 Method and system for identifying three-dimensional face based on bending invariant related features
CN102073776B (en) * 2011-01-20 2012-12-19 西北大学 Zonal statistic model based facial reconstruction method
CN102567998A (en) * 2012-01-06 2012-07-11 西安理工大学 Head-shoulder sequence image segmentation method based on double-pattern matching and edge thinning
CN105894582A (en) * 2016-03-29 2016-08-24 浙江大学城市学院 Method for processing boundary filtering data in three-dimensional geological surface model
CN106570450B (en) * 2016-09-07 2019-10-18 中国科学院计算技术研究所 The detection method and its system of prenasale on three-dimensional face based on curvature distribution
CN110544255B (en) * 2019-07-26 2020-05-19 山东大学 Method and system for segmenting triangular mesh holes for 3D printing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种基于三维深度数据的脸部特征检测方法. 王跃明,吴朝晖,潘纲.浙江大学学报(工学版),第39卷第5期. 2005
一种基于三维深度数据的脸部特征检测方法. 王跃明,吴朝晖,潘纲.浙江大学学报(工学版),第39卷第5期. 2005 *

Also Published As

Publication number Publication date
CN101131729A (en) 2008-02-27

Similar Documents

Publication Publication Date Title
CN100504911C (en) Method for automatically extracting face area from three-dimensional scanning original data of head and shoulder
CN103985155B (en) Scattered point cloud Delaunay triangulation curved surface reconstruction method based on mapping method
CN104008564B (en) A kind of human face expression cloning process
CN105183405A (en) 3D printing method for user-defined surface hollow model
CN103247041A (en) Local sampling-based multi-geometrical characteristic point cloud data splitting method
CN105931298B (en) A kind of basse-taille position automatic selecting method of view-based access control model conspicuousness
CN104504376A (en) Age classification method and system for face images
CN103065353B (en) Method for extracting characteristics of three-dimensional model and system, method for searching three-dimension model and system
CN108875813A (en) A kind of three-dimensional grid model search method based on several picture
CN102567716B (en) Face synthetic system and implementation method
CN107330901B (en) Skeleton-based object component decomposition method
CN105160700B (en) A kind of cross section curve reconstructing method for reconstructing three-dimensional model
CN102184562B (en) Method and system for automatically constructing three-dimensional face animation model
CN110047139A (en) A kind of specified target three-dimensional rebuilding method and system
CN102938161A (en) Three-dimensional shape automatic partition method based on Mean Shift
CN108665530A (en) Three-dimensional modeling implementation method based on single picture
CN104899607A (en) Automatic classification method for traditional moire patterns
CN110349159A (en) 3D shape dividing method and system based on the distribution of weight energy self-adaptation
CN103383778B (en) A kind of three-dimensional cartoon human face generating method and system
CN105243137A (en) Draft-based three-dimensional model retrieval viewpoint selection method
CN110930514A (en) Three-dimensional grid model self-adaptive simplification method based on local region characteristics
CN106096615A (en) A kind of salient region of image extracting method based on random walk
CN103646428B (en) The synthetic method of a kind of 3D fluid scene
CN102289661A (en) Method for matching three-dimensional grid models based on spectrum matching
CN101908234A (en) User controlled method for generating highly structured triangular meshes

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