variational reconstruction using subdivision surfaces with ... · variational reconstruction using...

12
Computational Visual Media DOI 10.1007/s41095-017-0088-2 Vol. 3, No. 3, September 2017, 217–228 Research Article Variational reconstruction using subdivision surfaces with continuous sharpness control Xiaoqun Wu 1 ( ), Jianmin Zheng 2 , Yiyu Cai 2 , and Haisheng Li 1 c The Author(s) 2017. This article is published with open access at Springerlink.com Abstract We present a variational method for subdivision surface reconstruction from a noisy dense mesh. A new set of subdivision rules with continuous sharpness control is introduced into Loop subdivision for better modeling subdivision surface features such as semi-sharp creases, creases, and corners. The key idea is to assign a sharpness value to each edge of the control mesh to continuously control the surface features. Based on the new subdivision rules, a variational model with L 1 norm is formulated to find the control mesh and the corresponding sharpness values of the subdivision surface that best fits the input mesh. An iterative solver based on the augmented Lagrangian method and particle swarm optimization is used to solve the resulting non-linear, non-differentiable optimization problem. Our experimental results show that our method can handle meshes well with sharp/semi-sharp features and noise. Keywords variational model; subdivision surface; sharpness; surface reconstruction; L 1 norm 1 Introduction Subdivision surfaces have many nice properties such as compactness, smoothness, arbitrary topology, and local control. Various subdivision schemes have been developed. Some of them have been 1 Beijing Key Lab of Big Data Technology for Food Safety, School of Computer and Information Engineering, Beijing Technology and Business University, China. E-mail: X. Wu, [email protected] ( ); H. Li, [email protected]. 2 College of Engineering, Nanyang Technological University, Singapore. E-mail: J. Zheng, asjmzheng@ ntu.edu.sg; Y. Cai, [email protected]. Manuscript received: 2017-02-27; accepted: 2017-04-27 widely used in animation and the entertainment industry. For example, subdivision surfaces are included in the MPEG4 standard [1]. While most subdivision schemes are designed to create surfaces smooth everywhere, some special sharp subdivision rules have been introduced in order to allow modeling of sharp features such as corners, darts, and creases. Hoppe et al. [2] introduced a set of special subdivision rules to define a piecewise smooth subdivision surface. Noticing that in the real world objects are rarely perfectly sharp, DeRose et al. [3] introduced the notion of a semi-sharp feature and proposed performing a few steps of geometry preserving subdivision and then switching to classic smooth Catmull–Clark subdivision. An integer was used to determine how many iterations of geometry preserving subdivision were performed, which served to control the sharpness of the shape. Research has been conducted into using subdivision surfaces for reconstruction. It has been observed that using smooth subdivision surfaces to reconstruct shapes containing sharp features may not recover these features very well. Therefore Hoppe et al. [2] proposed to use their piecewise smooth subdivision surfaces to fit models with sharp features, which achieved very convincing reconstruction results. However, their method has two drawbacks. Firstly, the method needs to detect the sharp features before fitting, and so the reconstruction results depend on the correctness of the pre-detected sharp features. Secondly, in Hoppe et al.’s subdivision scheme, the classification of edges is binary, as sharp or smooth. This is not very effective for modeling semi-sharp features. Although DeRose et al.’s approach [3] provides a simple way to model semi-sharp features, and has 217

Upload: others

Post on 19-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

Computational Visual MediaDOI 10.1007/s41095-017-0088-2 Vol. 3, No. 3, September 2017, 217–228

Research Article

Variational reconstruction using subdivision surfaces withcontinuous sharpness control

Xiaoqun Wu1(�), Jianmin Zheng2, Yiyu Cai2, and Haisheng Li1

c© The Author(s) 2017. This article is published with open access at Springerlink.com

Abstract We present a variational method forsubdivision surface reconstruction from a noisy densemesh. A new set of subdivision rules with continuoussharpness control is introduced into Loop subdivisionfor better modeling subdivision surface features such assemi-sharp creases, creases, and corners. The key ideais to assign a sharpness value to each edge of the controlmesh to continuously control the surface features.Based on the new subdivision rules, a variational modelwith L1 norm is formulated to find the control mesh andthe corresponding sharpness values of the subdivisionsurface that best fits the input mesh. An iterativesolver based on the augmented Lagrangian methodand particle swarm optimization is used to solvethe resulting non-linear, non-differentiable optimizationproblem. Our experimental results show that ourmethod can handle meshes well with sharp/semi-sharpfeatures and noise.

Keywords variational model; subdivision surface;sharpness; surface reconstruction; L1norm

1 Introduction

Subdivision surfaces have many nice properties suchas compactness, smoothness, arbitrary topology,and local control. Various subdivision schemeshave been developed. Some of them have been

1 Beijing Key Lab of Big Data Technology for Food Safety,School of Computer and Information Engineering,Beijing Technology and Business University, China.E-mail: X. Wu, [email protected] (�); H. Li,[email protected].

2 College of Engineering, Nanyang TechnologicalUniversity, Singapore. E-mail: J. Zheng, [email protected]; Y. Cai, [email protected].

Manuscript received: 2017-02-27; accepted: 2017-04-27

widely used in animation and the entertainmentindustry. For example, subdivision surfaces areincluded in the MPEG4 standard [1]. While mostsubdivision schemes are designed to create surfacessmooth everywhere, some special sharp subdivisionrules have been introduced in order to allowmodeling of sharp features such as corners, darts,and creases. Hoppe et al. [2] introduced a setof special subdivision rules to define a piecewisesmooth subdivision surface. Noticing that in the realworld objects are rarely perfectly sharp, DeRose etal. [3] introduced the notion of a semi-sharp featureand proposed performing a few steps of geometrypreserving subdivision and then switching to classicsmooth Catmull–Clark subdivision. An integer wasused to determine how many iterations of geometrypreserving subdivision were performed, which servedto control the sharpness of the shape.

Research has been conducted into usingsubdivision surfaces for reconstruction. It hasbeen observed that using smooth subdivisionsurfaces to reconstruct shapes containing sharpfeatures may not recover these features very well.Therefore Hoppe et al. [2] proposed to use theirpiecewise smooth subdivision surfaces to fit modelswith sharp features, which achieved very convincingreconstruction results. However, their methodhas two drawbacks. Firstly, the method needs todetect the sharp features before fitting, and so thereconstruction results depend on the correctnessof the pre-detected sharp features. Secondly, inHoppe et al.’s subdivision scheme, the classificationof edges is binary, as sharp or smooth. This is notvery effective for modeling semi-sharp features.Although DeRose et al.’s approach [3] provides asimple way to model semi-sharp features, and has

217

Page 2: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

218 X. Wu, J. Zheng, Y. Cai, et al.

been extended from the cubic case [4] to arbitrarydegree for semi-sharp creases in Ref. [5], thesemethods of controlling the iterations of geometrypreserving subdivision are inconvenient for reverseengineering where such sharpness control must bedetermined. Ideally, such a sharpness parametershould be continuously controllable.

Unlike prior art, our idea is to use real numbers tocontrol the sharpness of geometric features, treatingboth the sharpness parameters and the controlpoints as unknowns and solving for them within avariational framework. In this paper, we first extendthe Loop subdivision scheme and Hoppe et al.’ssharp subdivision rules by introducing real numbersas sharpness parameters to continuously control thegeometric features of surfaces. Using the proposedsubdivision scheme, we present a variational modelfor feature-aware subdivision surface reconstructionfrom dense noisy mesh models. This model usesthe L1 norm to handle different types of noise andoutliers in a consistent way. The optimal valuesof the sharpness parameters and control points areobtained by solving a minimization problem. As aresult, our algorithm can automatically recover sharpand semi-sharp features in the input data. Overall,the contribution of the paper includes:• a new subdivision scheme with continuous

sharpness control, which can conveniently modelboth sharp and semi-sharp features, and• a variational, feature-aware subdivision

reconstruction algorithm, which is robust todifferent types of noise and works for a variety ofgeometric features.The rest of the paper is organized as follows.

Section 2 reviews related work. Section 3 introducesa new set of subdivision rules which providecontinuous sharpness control. Section 4 presentsour variational surface reconstruction. Experimentalresults are reported in Section 5, and Section 6concludes the paper.

2 Related work

Subdivision surfaces are currently one of the mostpowerful surface representations used to modelsmooth shapes. Compared to regular surface splinessuch as NURBS which need multiple patches tohandle shapes with complex topology, subdivision

surfaces cover a range of representations from“pure” patches to “pure” meshes, and can easilyhandle shapes of arbitrary topology. Also, unlikepolygonal meshes [6], subdivision surfaces generatesmooth surfaces, which is important in designingaesthetically pleasing shapes.

The first two subdivision surface schemes forarbitrary topology meshes were introduced in1978 by Catmull and Clark [7], and Doo andSabin [8]. They generalized tensor product B-splines of bidegree three and two respectively toarbitrary topologies, by extending the refinementrules to irregular parts of the control meshes. Loopsubdivision was introduced for triangular meshes byCharles Loop [9] in 1987. Since then, many othersubdivision schemes have been proposed. Examplesinclude quad/triangle subdivision [10], mid-edgesubdivision [11, 12], and

√3 subdivision [13].

Stam [14] presented a method for exact evaluationof Catmull–Clark and Loop subdivision surfaces forarbitrary parameter values. Non-uniform Catmull–Clark and Doo–Sabin surfaces that generalize non-uniform tensor product B-spline surfaces to arbitrarytopologies were proposed in Ref. [15]. Recently,a new matrix weighted rational subdivision surfacescheme, an extension of traditional subdivisionschemes, was proposed in Ref. [16]. In Ref. [17],surface subdivision and geometric partial differentialequation methods were combined for freeformsurface design. A matrix-based approach to modelingcreases on arbitrary-degree subdivision curves wasintroduced in Ref. [18].

Subdivision surface reconstruction has beeninvestigated. Most methods use smooth subdivisionrules during surface fitting, which however hasdifficulty in capturing geometric detail. Lee etal. [19] proposed a new surface representation calledthe displaced subdivision surface, which uses asubdivision surface as a smooth domain, and adisplacement function over this domain for detail.Panozzo et al. [20] presented an automatic methodfor construction of quad-based subdivision surfacesusing fitmaps. To reconstruct the surface detail,Ref. [21] starts from an interactively specified initialcontrol mesh and adaptively recovers the detailby inserting new vertices. The “MeshToSS” toolwas introduced in Ref. [22] to convert a densetriangular mesh to progressive subdivision surfaces.

Page 3: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

Variational reconstruction using subdivision surfaces with continuous sharpness control 219

Litke et al. [23] proposed a new subdivision surfacefitting algorithm with prescribed tolerance basedon a method of “quasi-interpolation”. To preservesurface detail, the natural ridge-joined connectivityof umbilics and ridge-crossing was used to provideconnectivity of the control mesh for subdivisionin Ref. [24]. Some methods attempt to improvefoot point finding and distance computation nearfeatures: different error terms such as point distanceerror, tangent distance error, and squared distanceerror are applied to improve efficiency and accuracy.A subdivision surface fitting method based onparameter correction was developed in Ref. [25];it uses a combination of point error and tangenterror for efficiency. Squared distance minimizationhas also been used in subdivision fitting [26].This method considers the geometric error basedon curvature to measure the distance from thesubdivision surface to the target.

Another direction of research in subdivisionsurfaces focuses on designing special rules for sharpfeatures. For example, to fit subdivision surfaceswith sharp features, Ref. [2] proposed a newset of subdivision rules to model tangent planediscontinuities. In Ref. [27], a direct approach wasproposed for constructing a subdivision surface froman irregular and dense triangle mesh of arbitrarytopology. A new exact evaluation method for alltypes of sharp features was given in Ref. [28]. Lavoueand Dupont [29] generalized sharp creases to semi-sharp creases by setting the number of iterationsof geometry preserving subdivision to control thesharpness of Catmull–Clark subdivision surfaces [3].A semi-sharp subdivision surface fitting approachbased on feature line approximation was developed;semi-sharp features were achieved by relaxationaccording to the curvature of the target surface.All these methods need to detect the sharp featuresfirst. The accuracy of feature detection affects thesharp features of the final reconstructed subdivisionsurface.

3 Loop subdivision with continuoussharpness control

Loop subdivision is a popular subdivision scheme fortriangular meshes [9]. The refinement step proceedsby splitting each triangular face into four sub-triangles. The subdivision masks for generating new

edge points and updating old vertex points are givenin Fig. 1; a(n) = [40− (3 + 2 cos(2π/n))2]/64 wheren is the vertex valence.

In order to introduce sharp features into theLoop subdivision surfaces, new subdivision ruleswere proposed in Ref. [2], in which tangent planecontinuity across sharp edges was relaxed. Themasks for a crease edge, a dart, and a corner aregiven in Fig. 2.

Inspired by these works, we introduce a newsubdivision scheme with continuous sharpnesscontrol. In particular, each edge e in the controlmesh is assigned a real number he ∈ [0, 1] calledthe sharpness. When he = 0, subdivision generatesa smooth edge just as in classic Loop subdivision.When he = 1, it generates a crease edge just asin Ref. [2]. When 0 < he < 1, it generates ablend between a smooth edge and a crease, providingcontinuous control of sharpness. To do so, the newedge point ev is computed by

ev = (1− he)evsmooth + heevcrease

where evsmooth and evcrease are respectively the edgepoints generated by the Loop subdivision rule andthe crease rule proposed in Ref. [2].

For a vertex v, let nv denote the number of incidentedges with he > 0. Depending on nv, the rulefor computing the new vertex point falls into the

Vertex mask

a(n)/n

a(n)/n a(n)/n

a(n)/na(n)/n 1-a(n)

1/8

3/8

1/8

3/8

Edge mask

Fig. 1 Loop subdivision masks. Left: vertex mask. Right: edgemask.

0

0

1/2 1/2

1/8

1/8 0

00 6/8 1

0 0

0

00

0

Crease edge mask Crease vertex mask Corner vertex mask

Fig. 2 Sharp feature masks. Blue lines are sharp edges. The redrectangle is the new inserted vertex.

Page 4: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

220 X. Wu, J. Zheng, Y. Cai, et al.

following different cases:• When nv < 2, the vertex is considered to be

smooth (nv = 0) or a dart (nv = 1). The newvertex point is simply computed using the smoothvertex mask.• When nv = 2, the vertex is considered to be

a crease vertex. If the two incident edges withnonzero sharpness are ej and ek, we define thesharpness of the crease vertex to be sv = (hej +hek

)/2. Thenvnew

crease = (1− sv)vsmooth + sv vcrease

where vsmooth and vcrease are the vertex pointsgenerated by the smooth and crease rules,respectively.• When nv > 2, the vertex is considered to be a

corner. Let As the set of incident edges withnonzero sharpness. Then the sharpness of thevertex is defined as sv =

∑ei∈As

hei/nv and the new

vertex point is computed byvnew

corner = (1− sv)vnewcrease + sv vcorner

where vnewcrease is the weighted average of the crease

vertices and vcorner is the corner vertex generatedby the masks in Fig. 2.After one refinement step, each old edge is replaced

by two new edges. The sharpness of the new edgesis inherited from the old edge.

Following Ref. [3], as well as using edge sharpnessduring the subdivision process, we also use a globalinteger k to control the number of iterations ofrefinement. After k iterations, the subdivision rulesare switched to the modified Loop subdivisionrules [2]. The advantage of this approach is thatthe nice property of the modified Loop subdivisionsurface is guaranteed mathematically while visuallysemi-sharp features are retained.

Using this feature-aware subdivision scheme,we can conveniently create fillets with variouscurvatures. Figure 3 shows a simple example wheredifferent shapes are generated from the same initialcontrol mesh but have different values of edgesharpness.

4 Variational subdivision surfacereconstruction

4.1 Problem

Subdivision surface reconstruction aims to constructa subdivision surface to recover the underlyingsurface, including its geometric features, from whicha set of input points has been sampled. This isactually a very challenging problem, for severalreasons. Firstly, the problem by its nature is aninverse problem. Both geometry and topology of theunderlying surface are unknown. Secondly, to definea subdivision surface, we have to specify the controlpoints and their connectivity. Their determinationinvolves two different types of problems. The formeris a continuous optimization problem, while thelatter is a combinatorial problem. Thirdly, theunderlying surface may contain sharp or semi-sharpfeatures. Automatically incorporating those featuresin the optimization process is nontrivial. Fourthly,the input data usually contains noise and outliers.The co-existence of noise, outliers, and sharp featuresmakes the problem even more difficult.

4.2 Solution overview

We now present an engineering solution to theproblem. The pipeline is shown in Fig. 4; it consistsof the four steps outlined below.

Fig. 3 Examples of different values of edge sharpness. The control mesh is drawn as a wireframe. Edges with different sharpness are drawnin different colors: gray, yellow, magenta, and red correspond to he = 0, 0.6, 0.9, 1, respectively.

Page 5: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

Variational reconstruction using subdivision surfaces with continuous sharpness control 221

0S

S s

S c

0S s

Fig. 4 Pipeline of our approach.

1. If the input is a set of discrete points withoutconnectivity information, we use some existingsoftware package to convert them into atriangular mesh. If the input data is already atriangular mesh, this step is not needed.

2. Let the input mesh or generated mesh be S0,with point data v = {v1, . . . , vn}. It may containnoise and outliers. This step removes thenoise and outliers of S0 while keeping thegeometric features. The results is a smoothedmesh Ss. Existing methods such as bilateral meshdenoising can be used for this purpose.

3. The denoised triangular mesh is simplified to acoarser one while preserving the sharp features.A feature preserving variant of the QEMmethod [30] is used to generate the coarse mesh.We denote the coarse mesh by S0

c and assumethat S0

c has point set p = {p1, . . . , pm}.4. We take S0

c as the initial control mesh for thesubdivision surface to be constructed by the newsubdivision rules given in Section 3. We fix theconnectivity of S0

c and optimize the positions ofthe control points and the edge sharpnesses toachieve the best fit to mesh S0.

In the rest of this section, we focus on Step 4, whichis the key component of surface reconstruction. Itsapproach can also be incorporated into existingsubdivision surface reconstruction algorithms toenhance their performance.4.3 Variational model

The control points p and edge sharpnesses h ={h1, . . . , hne}, where ne is the number of controlmesh edges, are sought so as to satisfy:

minp,h

E(p,h) = Es(p) + λEf(p,h)

where the energy function includes two terms: asmoothing term and an error (fidelity) term,

balanced by the fidelity parameter λ. As the valuesof the sharpnesses h are determined by optimization,our method does not depend on feature detection.4.3.1 Smoothing termTo prevent the control mesh from self-intersectionand to avoid the influence of noise, we introduce thefollowing smoothing term:

Es(p) =m∑i=1‖L(pi)‖ = Lp

where L(pi) is the discrete Laplacian at point pi, Lis the Laplacian matrix, and ‖ · ‖ is the L1 norm.We call

m∑i=1‖L(pi)‖ the total Laplacian of p. The L1

norm is used instead of L2 to discourage smoothingof creases and corners, as shown in Fig. 5.4.3.2 Error termTo compute the error, we may project the datapoints qi onto the subdivision surface S. This iscomplicated in practice as the surface S is definedas the limit of a set of refined mesh sequences usingour feature-aware subdivision scheme. Hence, we usea piecewise linear approximation S for S instead. Sis obtained by subdividing the initial control meshk times to produce a refined mesh Sk using ourfeature-aware subdivision masks, and then pullingall the vertices of Sk to the limit positions usingthe limit position masks of Ref. [2]. In this way, Scan be written as an affine combination of the initialpositions p.

To make our fitting algorithm independent of theresults of the smoothing process, we use the pointsof the input noisy mesh S0 instead of the smoothedclean mesh obtained from Step 2. To handle thepossible existence of different types of noise, we usethe L1 norm to measure the distance in this errorterm. For each data point vi ∈ S0, let the closestpoint on the approximated surface S be wi. It canbe represented by a linear combination of vertices of

Fig. 5 Smoothing alternatives. Left: use of L2 norm. Right: use oftotal Laplacian. Close-up views are shown at lower right.

Page 6: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

222 X. Wu, J. Zheng, Y. Cai, et al.

S, so the error term can be represented asEf(p,h) = ‖v−M(h)p‖

where M(h) is a matrix depending on h. Forsimplicity, we denote M(h) by M. Mp is the footpoint vector of v on S.

4.4 Numerical solver

Combining both terms gives our variationaloptimization model:

minp,h{‖Lp‖+ λ‖v−Mp‖}

p and h are values to be determined.This variational optimization problem is highly

non-linear, and also non-differentiable due to the useof the L1 norm. To solve it, we let q = Lp andz = v −Mp. The optimization model becomes aconstrained problem:

minp,h

‖q‖+ λ‖z‖

subject to q = Lp, z = v−MpWe construct the following augmented Lagrangian

functional:L(p,h, q, z;λq, λz) = ‖q‖+ λ‖z‖+ 〈λq, q− Lp〉

+ aq2 ||q− Lp||2 + 〈λz, z− (v−Mp)〉

+ az2 ||z− (v−Mp)||2

where λq and λz are the Lagrangian multipliers, 〈, 〉is the vector dot product operator, and aq and az aretwo positive numbers. We now seek a solution to thesaddle-point problem:

minp,h,q,z

maxλq,λz

L(p,h, q, z;λq, λz)

by using Algorithm 1. Algorithm 1 involvessolving several sub-problems, whose details are nowdescribed.

Initialization of h. The initial sharpness isset based on coarse detection of sharp features.Specifically, for each edge e of the initial control meshS0

c , we use a threshold θ0 to detect whether e is acandidate crease edge. Let θe be the angle betweenthe normals of the two faces containing e. If θe > θ0,he = 1; otherwise, he = 0.

p subproblem. Fixing h, q, z, we solve the followingquadratic equation:

minp〈λq, q− Lp〉+ aq

2 ||q− Lp||2

+〈λz, z− (v−Mp)〉+ az2 ||z− (v−Mp)||2

This can be converted into a linear system.

Algorithm 1 Algorithm for subdivision surface fittingThe specified error threshold is ε0.Initialize h(0) by preprocessing and p(0) using S0

c ;z(0) = q(0) = 0;λ

(0)q = λ

(0)z = 0;

l = 0, ε =∞;while ε > ε0 and l <max-iterations do

Compute (p(l+1),h(l+1), q(l+1), z(l+1)) as anapproximate minimizer of the augmented Lagrangianfunctional with the Lagrangian multipliers λ(l)

q , λ(l)z

(p(l+1),h(l+1), q(l+1), z(l+1)) ≈arg min

p,h,q,zL(p,h, q, z;λ(l)

q , λ(l)z )

using the following iterations:p(l+1) = p(l),h(l+1) = h(l), q(l+1) = q(l), z(l+1) = z(l)

for ll = 1, . . . ,K docomputep(l+1) = arg min

pL(p,h(l+1), q(l+1), z(l+1);λ(l)

q , λ(l)z )

h(l+1) = arg minhL(p(l+1),h, q(l+1), z(l+1);λ(l)

q , λ(l)z )

q(l+1) = arg minqL(p(l+1),h(l+1), q, z(l+1);λ(l)

q , λ(l)z )

z(l+1) = arg minzL(p(l+1),h(l+1), q(l+1), z;λ(l)

q , λ(l)z )

end forNow update the Lagrangian multipliers:

λ(l+1)q = λ(l)

q + aq(q− Lp)

λ(l+1)z = λ(l)

z + az(z− (v−Mp))ε = ‖p(l+1) − p(l)‖2;l ++;

end while

h subproblem. Fixing p, q, z, we find the sharpnessh which only affects the subdivision rule. Hence, theh-sub problem ismin

h〈λz, z− (v−M(h)p)〉+ az

2 ‖z− (v−M(h)p)‖2

To solve this minimization problem, we adoptparticle swarm optimization (PSO) [31], anevolutionary procedure. It starts from many randominitialization seeds. At each iteration a set ofcandidate solutions is sought, the score of eachsolution is calculated, and the solutions are updatedin the search space by shifting them towards the bestcurrent solution.

q subproblem. Fixing p,h, z, we find q by solving:min

q{‖q‖+ 〈λq, q− Lp〉+ aq

2 ‖q− Lp‖2}

After reformulation, we have

minq{m∑i=0

(‖qi‖+ aq2 ‖qi − (Lp− λq

aq)i‖2 + c)}

This problem is decomposable and has the closed

Page 7: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

Variational reconstruction using subdivision surfaces with continuous sharpness control 223

form solution:q = max{0, 1− 1

aq‖wq‖}wq

where wq = Lp− λq/aq.z subproblem. Fixing p,h, q, we find z by solving:

minz{λ‖z‖+ 〈λz, z− (v−Mp)〉+ az

2 ‖z− (v−Mp)‖2}

which also has a closed form solution:z = max{0, 1− λ

az‖wz‖}wz

where wz = v−Mp− λz/az.

5 Experiments

This section reports our experimental results ona variety of models. Our implementation usesIntel’s MKL sparse solver to solve the sparse linearsystem. The experiments were conducted on an

Intel Xeon E5-1650 CPU. Our method contains afew parameters. They were set empirically butconsistently for all the examples. Specifically, let theaverage edge lengths of the initial control mesh andthe input model be lc and ld, respectively. Thenλ = αmlc/(nld), α = 100, aq = 1, and az = 25.Our method is not very sensitive to the value of thefidelity parameter λ due to the use of L1 norm.

We first evaluate the effect of the sharpness inreconstruction. For this purpose, we fix the positionsof the control mesh and only optimize the sharpness.Figure 5 shows an example, where the sharpnessis obtained by solving the optimization problem.Edges whose sharpness is non-zero are marked inyellow. We can see that the reconstruction withthe optimized sharpness is better; sharpness providesadditional degrees of freedom for reconstruction.

(a) (b) (c)

(d) (e) (f)

Fig. 6 Rocker arm model: (a) noisy dense mesh, (b) mesh after denoising, (c) initial mesh obtained by simplification, (d) subdivision surfacereconstructed by Loop subdivision, (e) subdivision surface using the rules in Ref. [2], and (f) reconstructed subdivision surface using ourmethod. The bottom row shows close-up views of the subdivision surfaces in the row above.

Page 8: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

224 X. Wu, J. Zheng, Y. Cai, et al.

We next present an example in Fig. 6 illustratingthe whole pipeline of our method; it also provides acomparison with two other two methods. Two typesof noise, outliers with variance 0.5 le and Gaussiannoise with variance 0.1 le, where le is the meanedge length of the input mesh, have been added togenerate the noisy mesh shown in Fig. 6(a). Figure6(b) is the mesh after denoising. Figure 6(c) isan initial mesh obtained by simplification from (b).Using this initial mesh, we find the optimal positionsand sharpness to generate a subdivision surfaceshown in Fig. 6(f). Figure 6(d) is the subdivisionsurface reconstructed by classical Loop subdivision,which is much smoother and does not representthe high curvature areas well without increasing thedensity of the control mesh. Figure 6(e) is thesubdivision surface reconstructed by the approach ofRef. [2], where crease edge needs to be detected firstby computing the dihedral angles between the facesincident to edges. That approach can recover thesharp edges well if they are detected correctly, butmay have difficulty in recovering semi-sharp edges.Since our method tunes the sharpness continuously,it can handle both sharp and semi-sharp featureswell.

Figure 7 shows two further examples: a coarseCAD-like model, and a graphics model with finedetails. It can be seen that our method worksconsistently well for both types of 3D model.

Finally, two comparisons are given in Figs. 8 and 9,where the two input noisy meshes contain two typesof noise. Figures 8(b)–8(e) and 9(b)–9(e) are thereconstructed surfaces generated by smooth rules [9],piecewise smooth rules [2], the approach of Ref. [25],and our method. Figures 8(g)–8(j) and 9(g)–9(j) visualize the distributions of errors betweenthe ground truth models and the reconstructedsurfaces respectively. It can be seen that boththe smooth subdivision scheme and the sharpsubdivision scheme [2] do not recover geometricfeatures very well using the same number of controlpoints as our approach. In particular, Fig. 8(c) showsthat when sharp edges are detected incorrectly, thepiecewise smooth subdivision rules of Ref. [2] mayyield sharp edges near smooth areas of the originalmodel. In Ref. [28], methods were proposed forexact evaluation of Loop subdivision surfaces withvarious types of sharp features. These methods areimportant for high quality surface fitting. To recover

Fig. 7 Reconstruction results. Left: input models. Above: Fandiskwith 750 vertices. Below: head of David with 195,760 vertices. Right:reconstructed subdivision surfaces, using 152 and 1583 control pointsrespectively.

sharp features in reconstruction, sharp features aredetected and then the corresponding subdivisionmask is used. Thus, correctness of the detectionstep is crucial. In order to capture surface features,the method of Ref. [25] needs to adaptively addcontrol points to achieve the same level of accuracyas our method. Even so, some artifacts may still beobserved near sharp features as shown in Fig. 8(d).Our method automatically controls the sharpness ofthe control mesh and works well for both sharp andsemi-sharp features, without the need to increase thenumber of control points or accurately detect sharpedges visually and quantitatively.

Table 1 summarises the numbers of vertices, thenumbers of control points (NCP), the maximumerrors (ME), and the root mean errors (RME)for these examples. Our method produces thereconstruction results with the smallest errors.While the method of Ref. [25] can generatereconstruction results with comparable errors, itrequires many more control points. Timings for ouralgorithm are reported in Table 2.

Page 9: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

Variational reconstruction using subdivision surfaces with continuous sharpness control 225

0.06

0

(a) (b) (c) (d) (e)

(f) (g) (h) (i) (j)

Fig. 8 Vase. (a) Input noisy model corrupted by Gaussian noise (σ = 0.1 le) and 10% impulsive noise with scale 0.5 le, (b–e) subdivisionsurfaces reconstructed using Loop subdivision, the rules in Ref. [2], the method of Ref. [25], and our method, (f) ground truth model, and (g–j)error distributions for (b–e) respectively.

0.06

0

(f)

(a)

(g)

(b)

(h)

(c)

(i)

(d)

(j)

(e)

Fig. 9 Blade. (a) Input noisy model corrupted by Gaussian noise (σ = 0.1 le) and 10% impulsive noise with scale 0.5 le, (b–e) subdivisionsurfaces reconstructed using Loop subdivision, the rules in Ref. [2], the method of Ref. [25], and our method, (f) ground truth model, and (g–j)error distributions for (b–e) respectively.

Page 10: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

226 X. Wu, J. Zheng, Y. Cai, et al.

Table 1 Summary of models: number of vertices, number of controlpoints (CP), maximum error (ME), and root mean error (RME)

Model CP ME RME

Rocker arm(70,400 vertices)

(d) 275 0.0290 0.00545(e) 275 0.0191 0.00217(f) 275 0.0100 0.00104

Vase(64,000 vertices)

(b) 252 0.0543 0.00664(c) 252 0.0211 0.00235(d) 1120 0.0076 0.000476(e) 252 0.00757 0.000376

Blade(51,200 vertices)

(b) 202 0.0561 0.00842(c) 202 0.0158 0.00221(d) 502 0.00669 0.000868(e) 202 0.00668 0.000768

Table 2 Timings for our approach

Model Time

Rocker arm 20.3 minVase 18.6 minBlade 13.8 min

6 Conclusions and future work

We have described a feature-aware subdivisionsurface reconstruction algorithm. It contains threemajor technical components. Firstly, we introducea set of new subdivision rules which allows us tocontinuously control the sharpness of the resultingsubdivision surface shape. Secondly, a variationalmodel based on the L1 norm is presented toreconstruct subdivision surfaces from noisy densemeshes. Thirdly, a numerical solver based onthe augmented Lagrangian approach is used tosolve the proposed non-linear, non-differentiableoptimization problem. Our experiments demonstratethat our algorithm works well, and can automaticallyreconstruct overall smooth shapes with sharp andsemi-sharp features.

Our current approach has two limitations. Firstly,the connectivity of the mesh is fixed during theoptimization process, and only the vertex positionsand edge sharpnesses are optimized. Thus theapproach may not work well for cases where noneof the edges of the initial control mesh are alignedwith the creases in the target model. Secondly,our approach needs about 10–20 minutes tohandle models with 50k–70k vertices. Most of thecomputational time is taken in solving the sharpnessoptimization subproblem due to its nonlinearity.

In future we will investigate how to optimize theconnectivity of the mesh and how to speed up thesolver.

Acknowledgements

The main idea of this paper was presented in theComputational Visual Media Conference 2017.This research was partially supported by theNational Natural Science Foundation of China(No. 61602015), an MOE AcRF Tier 1 Grantof Singapore (RG26/15), Beijing Natural ScienceFoundation (No. 4162019), open funding projectof State Key Lab of Virtual Reality Technologyand Systems at Beihang University (No. BUAA-VR-16KF-06), and the Research Foundation forYoung Scholars of Beijing Technology and BusinessUniversity.

References

[1] MPEG-4. ISO-IEC 14496-16. Coding of audio-visualobjects: Animation framework extension (AFX).Available at http://mpeg.chiariglione.org/standards/mpeg-4/animation-framework-extension-afx.

[2] Hoppe, H.; DeRose, T.; Duchamp, T.; Halstead,M.; Jin, H.; McDonald, J.; Schweitzer, J.; Stuetzle,W. Piecewise smooth surface reconstruction. In:Proceedings of the 21st Annual Conference onComputer Graphics and Interactive Techniques, 295–302, 1994.

[3] DeRose, T.; Kass, M.; Truon, T. Subdivision surfacesin character animation. In: Proceedings of the25th Annual Conference on Computer Graphics andInteractive Techniques, 85–94, 1998.

[4] Stam, J. On subdivision schemes generalizing uniformB-spline surfaces of arbitrary degree. Computer AidedGeometric Design Vol. 18, No. 5, 383–396, 2001.

[5] Kosinka, J.; Sabin, M. A.; Dodgson, N. A. Semi-sharpcreases on subdivision curves and surfaces. ComputerGraphics Forum Vol. 33, No. 5, 217–226, 2014.

[6] Zhang, L.; Liu, L.; Gotsman, C.; Huang, H.Mesh reconstruction by meshless denoising andparameterization. Computer & Graphics Vol. 34, No.3, 198–208, 2010.

[7] Catmull, E.; Clark, J. Recursively generated B-splinesurfaces on arbitrary topological meshes. Computer-Aided Design Vol. 10, No. 6, 350–355, 1978.

[8] Doo, D.; Sabin, M. Behaviour of recursive divisionsurfaces near extraordinary points. Computer-AidedDesign Vol. 10, No. 6, 356–360, 1978.

[9] Loop, C. T. Smooth subdivision surfaces based ontriangles. Master Thesis. University of Utah, 1987.

[10] Stam, J.; Loop, C. Quad/triangle subdivision.Computer Graphics Forum Vol. 22, No. 1, 79–85, 2003.

[11] Habib, A.; Warren, J. Edge and vertex insertion for a

Page 11: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

Variational reconstruction using subdivision surfaces with continuous sharpness control 227

class of C1 subdivision surfaces. Computer AidedGeometric Design Vol. 16, No. 4, 223–247, 1999.

[12] Peters, J.; Reif, U. The simplest subdivision scheme forsmoothing polyhedra. ACM Transactions on GraphicsVol. 16, No. 4, 420–431, 1997.

[13] Kobbelt, L.√

3-subdivisionn. In: Proceedings of the27th Annual Conference on Computer Graphics andInteractive Techniques, 103–112, 2000.

[14] Stam, J. Exact evaluation of Catmull–Clarksubdivision surfaces at arbitrary parameter values.In: Proceedings of the 25th Annual Conference onComputer Graphics and Interactive Techniques,395–404, 1998.

[15] Sederberg, T. W.; Zheng, J.; Sewell, D.; Sabin,M. Non-uniform recursive subdivision surfaces. In:Proceedings of the 25th Annual Conference onComputer Graphics and Interactive Techniques, 387–394, 1998.

[16] Yang, X. Matrix weighted rational curves and surfaces.Computer Aided Geometric Design Vol. 42, 40–53,2016.

[17] Pan, Q.; Xu, G.; Zhang, Y. A unified methodfor hybrid subdivision surface design using geometricpartial differential equations. Computer-Aided DesignVol. 46, 110–119, 2014.

[18] Kosinka, J.; Sabin, M. A.; Dodgson, N. A. Creases andboundary conditions for subdivision curves. GraphicalModels Vol. 76, No. 5, 240–251, 2014.

[19] Lee, A.; Moreton, H.; Hoppe, H. Displaced subdivisionsurfaces. In: Proceedings of the 27th AnnualConference on Computer Graphics and InteractiveTechniques, 85–94, 2000.

[20] Panozzo, D.; Puppo, E.; Tarini, M.; Pietroni, N.;Cignoni, P. Automatic construction of quad-basedsubdivision surfaces using fitmaps. IEEE Transactionson Visualization and Computer Graphics Vol. 17, No.10, 1510–1520, 2011.

[21] Suzuki, H.; Takeuchi, S.; Kimura, F.; Kanai, T.Subdivision surface fitting to a range of points.In: Proceedings of the 7th Pacific Conference onComputer Graphics and Applications, 158–167, 1999.

[22] Kanai, T. MeshToSS: Converting subdivision surfacesfrom dense meshes. In: Proceedings of the VisionModeling andVisulization Conference, 325–332, 2001.

[23] Litke, N.; Levin, A.; Schroder, P. Fitting subdivisionsurfaces. In: Proceedings of the Conference onVisualization, 319–324, 2001.

[24] Ma, X.; Keates, S.; Jiang, Y.; Kosinka, J. Subdivisionsurface fitting to a dense mesh using ridges andumbilics. Computer Aided Geometric Design Vol. 32,5–21, 2015.

[25] Marinov, M.; Kobbelt, L. Optimization methodsfor scattered data approximation with subdivisionsurfaces. Graphical Models Vol. 67, No. 5, 452–473,2005.

[26] Cheng, K. S.; Wang, W.; Qin, H.; Wong, K. Y.; Yang,H.; Liu, Y. Design and analysis of optimization

methods for subdivision surface fitting. IEEETransactions on Visualization and ComputerGraphics Vol. 13, No. 5, 878–890, 2007.

[27] Ma, W.; Ma, X.; Tso, S.-K.; Pan, Z. A direct approachfor subdivision surface fitting from a dense trianglemesh. Computer-Aided Design Vol. 36, No. 6, 525–536,2004.

[28] Ling, R.; Wang, W.; Yan, D. Fitting sharp featureswith Loop subdivision surfaces. Computer GraphicsForum Vol. 27, No. 5, 1383–1391, 2008.

[29] Lavoue, G.; Dupont, F. Semi-sharp subdivisionsurface fitting based on feature lines approximation.Computers & Graphics Vol. 33, No. 2, 151–161, 2009.

[30] Garland, M.; Heckbert, P. S. Surface simplificationusing quadric error metrics. In: Proceedings of the24th Annual Conference on Computer Graphics andInteractive Techniques, 209–216, 1997.

[31] Kennedy, J.; Eberhart, R. Particle swarmoptimization. In: Proceedings of the IEEEInternational Conference on Neural Networks,Vol. 4, 1942–1948, 1995.

Xiaoqun Wu is now an assistantprofessor in the School of Computerand Information Engineering, BeijingTechnology and Business University,China. She received her B.S. andM.S. degrees from Zhejiang University,China, in 2007 and 2009, respectively,and her Ph.D. degree from Nanyang

Technological University, Singapore, in 2014. Her researchfocuses on digital geometry processing and applications.

Jianmin Zheng is an associateprofessor in the School of ComputerScience and Engineering, NanyangTechnological University, Singapore. Hereceived his B.S. and Ph.D. degreesfrom Zhejiang University, China. Hisrecent research focuses on T-splinetechnologies, digital geometry

processing, virtual reality, visualization, interactivedigital media, and applications. He has published morethan 150 technical papers in international conferences andjournals. He was the conference co-chair of GeometricModeling and Processing 2014 and has served on theprogram committees of many international conferences.

Yiyu Cai is an associate professor inthe School of Mechanical and AerospaceEngineering, Nanyang TechnologicalUniversity, Singapore. He received hisB.S. and M.S. degrees from ZhejiangUniversity, China, and his Ph.D.degree from the National University ofSingapore. His research interests include

3D-based design, simulation, serious games, virtual reality,

Page 12: Variational reconstruction using subdivision surfaces with ... · Variational reconstruction using subdivision surfaces with continuous sharpness control 219 Litke et al. [23] proposed

228 X. Wu, J. Zheng, Y. Cai, et al.

etc. He is also active in IDM application research forengineering, bio- and medical sciences, education, arts,etc.

Haisheng Li is a professor in theSchool of Computer and InformationEngineering, Beijing Technology andBusiness University, China. Hereceived his Ph.D. degree from BeihangUniversity, China, in 2002. He isthe director of the Network Centerand the discipline leader in Computer

Science and Technology in Beijing Technology and BusinessUniversity, China. His current research interests includecomputer graphics, scientific visualization, 3D modelretrieval, etc.

Open Access The articles published in this journalare distributed under the terms of the CreativeCommons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permitsunrestricted use, distribution, and reproduction in anymedium, provided you give appropriate credit to theoriginal author(s) and the source, provide a link to theCreative Commons license, and indicate if changes weremade.

Other papers from this open access journal are available freeof charge from http://www.springer.com/journal/41095.To submit a manuscript, please go to https://www.editorialmanager.com/cvmj.