Professional Documents
Culture Documents
Mark Pauly1,2 Niloy J. Mitra1 Joachim Giesen2 Markus Gross2 Leonidas J. Guibas1
1 Computer Graphics Laboratory, Stanford University, Stanford CA 94305, USA
2 Department of Computer Science, ETH Zurich, CH-8092 Zurich, Switzerland
Abstract
We present a novel approach for obtaining a complete and consistent 3D model representation from incomplete
surface scans, using a database of 3D shapes to provide geometric priors for regions of missing data. Our method
retrieves suitable context models from the database, warps the retrieved models to conform with the input data,
and consistently blends the warped models to obtain the final consolidated 3D shape. We define a shape matching
penalty function and corresponding optimization scheme for computing the non-rigid alignment of the context
models with the input data. This allows a quantitative evaluation and comparison of the quality of the shape
extrapolation provided by each model. Our algorithms are explicitly designed to accommodate uncertain data and
can thus be applied directly to raw scanner output. We show on a variety of real data sets how consistent models
can be obtained from highly incomplete input. The information gained during the shape completion process can
be utilized for future scans, thus continuously simplifying the creation of complex 3D models.
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
Data Non-rigid
Blending
Classification Alignment
raw input scored aligned consolidated
point cloud point cloud models model
3D Model Database
Segmentation Evaluation
Acquisition Retrieval
physical model candidate segmented
model database models models
ation in regions of missing data? How can we compute and a system that preserves high-frequency detail by replicating
consistently evaluate local shape deformations that align the local patches within the acquired 3D data set, as an extension
context models with the acquired data? How can we select of the 2D method proposed in [DCOY03]. Other approaches
among multiple database models the ones that provide the for shape completion are the triangulation-based method
most adequate shape completion in different regions of the proposed by [Lie03] and the system based on finite elements
scan? And finally, how can we blend geometric information presented in [CDD∗ 04]. The underlying assumption in all
from different models to obtain a complete and consistent of these methods is that an appropriate shape continuation
representation of the acquired object? can be inferred from the acquired sample points only, us-
ing generic smoothness or self-similarity priors for missing
Contributions. We define a shape similarity metric and
parts of the model. Since the surface reconstruction prob-
corresponding non-rigid alignment method that allows to
lem is inherently ill-posed, the use of explicit template pri-
consistently evaluate the quality of fit of different context
ors has been proposed by various authors. [RA99] presented
models. We present an automatic segmentation method that
a method to recognize and fit a parametric spline surface to
locally selects the best matching geometry, and a blending
acquired surface data. Template-based hole filling has also
scheme that allows to combine contributions from different
been used in [BV99], [KHYS02], [BMVS04] and [ACP03],
models, while preserving appropriate continuity constraints.
where input data and morphable template model were rep-
Our algorithms are designed to work with uncertain data and
resented as triangle meshes. These methods are well-suited
can thus be applied directly to highly incomplete raw scan-
for object classes with well-defined shape variability, where
ner output. We show how these methods can be integrated to
a single template model can be adjusted to fit the entire ac-
yield a complete context-based shape completion pipeline.
quired data set. Our approach differs in that we are not as-
suming a priori knowledge of the underlying shape space,
1.1. Related Work but try to infer automatically how to combine different con-
Surface reconstruction from point samples has become an text models that are retrieved from a database for the specific
active area of research over the last few years. Early methods input data produced by the scan. A central component of
based on signed distance field interpolation have been pre- our system is a method for computing non-rigid alignments
sented by [HDD∗ 92] and [CL96]. Voronoi-based approaches of database models with the acquired input data. [ACP03]
with provable guarantees where introduced by [ABK98] and and [SP04] presented alignment algorithms similar to ours
[DG03], who extended their work in [DG04] to handle noisy that use an optimization framework to compute a smooth
input data. While these techniques can handle small holes warping function. We extend this scheme to allow a quan-
and moderately under-sampled regions in the input data, they titative comparison of the quality of the alignment across
are less suited for data sets with large holes that often oc- different models, which has not been a concern in previous
cur in 3D data acquisition. To address this problem, vari- methods. An interesting alternative has been proposed by
ous methods for model repair based on smooth extrapolation [ASK∗ 04], who introduced a probabilistic scheme for unsu-
have been proposed. [CBC∗ 01] use radial basis functions pervised registration of non-rigid shapes. Our system bears
to extract manifold surfaces from incomplete point clouds. some resemblance to the shape modeling system proposed
[DMGL02] presented an algorithm that applies volumetric by Funkhouser et al. [FKS∗ 04], where the user can create
diffusion to a signed distance field representation to effec- new models by cutting and pasting rigid parts of existing
tively handle topologically complex holes. An extension of shapes retrieved from a shape database. The focus of their
this idea has been proposed by [VCBS03], who use partial work is on creative design and interaction, while we concen-
differential equations to evolve the distance field, similar to trate on model repair and shape completion of surface scans.
inpainting techniques used for images. [SACO04] presented
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
high
c iλ
ci
*
c iσ
low
Figure 2: Left: Acquisition setup with Cyberware Desktop Figure 3: Quality of fit estimate cλi and local uniformity es-
3D Scanner 15 and physical model, right: Raw point cloud timate cσi are combined to yield the final confidence ci .
obtained from six range images in a single rotational scan.
The spiky outliers are artifacts caused by specular reflec-
tions. 2. Data Classification
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
N1(j) Ajk
vk
x ∂ e jk
T (r, ϕ)
∂r x vj
M ϕ
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
high
P q2
q1 M low
r2 v2
v1 invalid
r1 context model warped model matching penalty
valid
low
input data warped model
high
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
patch
seed triangle
boundary
original samples new proposed samples updated warp
candidate
vertices low correspon-
dence weight
model with lower
shape matching penalty
Figure 8: Incremental region growing for segmenting the Figure 9: Blending. Top row from left to right: Two patches
context models. from different models meet at a hole boundary, new sample
points are added from the model with lower shape matching
penalty, both models are re-aligned with the enhanced point
patch by adding triangles adjacent to the patch boundary.
cloud and patches are enlarged. The top image shows a 2D
The incremental growth is stopped wherever we encounter
illustration of the warped context models, the bottom image
a different model Ml with a smaller matching penalty, indi-
shows the current patches. Bottom row: Segmentation before
cating that this model provides a better representation of the
and after blending. Back-facing triangles are colored.
acquired shape in that region. To evaluate this criterion we
require a mapping between candidate models, which we es-
tablish using the correspondence computed in the alignment The situation is more complicated when two or more models
stage. For each new candidate vertex v j ∈ Mk adjacent to the meet at a hole boundary. Copying and pasting parts of each
current patch boundary, we look at the corresponding point model will not yield a consistent surface, since the candidate
q j ∈ SP used to compute the geometric error in Equation 5. models do not agree away from the input data. Even if a cut
We then find all vertices in Ml that were mapped to points in along an intersection curve can be found, an unnatural crease
the vicinity of q j and compare the matching penalty of these might be created that causes visual artifacts. To address this
vertices with the one at v j . If a vertex with a smaller value issue we propose an incremental blending method illustrated
is found, the triangle of v j will not be added to the patch. in Figure 9. Starting from the initial patch layout computed
We also discard this triangle if the correspondence weight v j in the segmentation stage, we successively add samples to
(see Section 4.2) is low, indicating that we have reached a the input data by copying vertices from the patch boundaries
hole boundary in the data. The growth of a patch terminates of the segmented context models. These newly added sam-
as soon as no more candidate vertices can be added, as illus- ple points represent the continuation of the data surface at
trated in Figure 8. We seed the patch creation by maintaining a hole boundary, as suggested by the best matching model
a priority queue of all samples pi ∈ P with high confidence in that region. We then re-compute the warping function for
(we use the top 5 percent of samples in all our examples) all retrieved database models to conform with this enhanced
that have not yet been visited. The queue is sorted according point set. Since the previous alignment provides a very good
to decreasing confidence ci such that samples with high con- initial guess, only a few iterations of the optimization are re-
fidence will be used first to initiate a new patch. The region quired. After updating the alignment, we enlarge the context
growing is terminated once the queue is empty. patches using the region growing algorithm described above.
We repeat this procedure until the patch growing terminates,
indicating that all the holes have been closed.
6. Blending
Stitching. The patch layout now provides the necessary
The segmentation of the warped context models provides pieces to compose the final model. We enlarge each patch
a suitable representation of the scanned object in regions by adding triangles along the patch boundary to create a
of high data confidence. To fill in parts where no reliable smooth and seamless transition between adjacent patches.
samples could be acquired, we need to extrapolate geomet- We achieve this blend by applying the same optimization as
ric information from the context patches. Filling holes is in the non-rigid alignment stage described in Section 4, ex-
straightforward if only one candidate model covers the entire cept that we do not warp the models towards the input point
boundary of a hole. For example, the hole on the top of the cloud, but towards each other. Consider the example shown
creamer’s handle is entirely enclosed by a single patch from in Figure 13. As shown on the left, the two patches from the
the warped cup model (see Figure 8). We can thus simply vase and the cup do not match exactly in the region of over-
copy and paste the corresponding surface part of that model. lap. We therefore compute a warping function T1 that aligns
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
Evaluation. A distinct advantage of our method is that it blended. We detect topological mismatches from inconsis-
not only provides a final consolidated surface mesh, but also tencies in the correspondence between different models, and
allows a local evaluation of the quality of the reconstructed exclude the model with higher shape matching penalty from
model. We can easily identify regions where no adequate the blending stage in this region. We can give no guaran-
shape completion can be obtained, either because no valid tees, however, that this heuristic always produces the correct
correspondence between input data and context models can shape topology. We thus also allow the user to manually dis-
be established, or because the distortion of the warping func- card individual models, if the topology is inconsistent, which
tion is too high to provide a meaningful shape prior for the provides more explicit control of the semantics of the con-
acquired data. The zoom of the giraffe’s head shown in Fig- solidated shape.
ure 16 depicts a case where our method does not recover a
semantically correct shape, since the horns of the giraffe are
8. Conclusion and Future Work
not present in any of the context models and the data set is
incomplete in this region. In such cases, the user either needs We have presented an example-based shape completion
to acquire more data, enrich the database by providing more framework for acquired 3D surface data. Central to our
suitable context models, or manually edit the final model. method is the ability to combine context information from
different geometric priors retrieved from a 3D model data-
base. For this purpose we have introduced a normalized
shape matching penalty function and corresponding opti-
mization scheme for non-rigid alignment that allow a quan-
input data context model final model evaluation
titative comparison between different context models. This
facilitates an adaptive segmentation of the warped context
Figure 16: Evaluating the final completed shape. The color- models, which can then be blended consistently using incre-
coding in the right image shows the shape matching penalty, mental patch growing and continuous re-alignment, to yield
where red color indicates insufficient surface completion due the final consolidated shape representation. Our method is
to invalid correspondence between input data and context robust against noise and outliers and provides a quantita-
models. tive evaluation of the quality of the produced output model.
We achieve efficient reconstruction of complete and con-
sistent surfaces from highly incomplete scans, thus allow-
Limitations. Our context model retrieval relies on tex- ing digital 3D content creation with significantly simplified
tual queries, which requires a well annotated shape data- acquisition procedures. Possible extensions of our system
base. This is particularly important for models that only pro- include more powerful, anisotropic shape similarity mea-
vide partial completions in a certain region of the input data, sures, enhanced semantic constraints to control the defor-
but disagree greatly in other parts. Pre-segmentation of data- mation of context models, and the use of additional model
base models can simplify the retrieval of partially matching attributes such as surface texture to improve the retrieval,
shapes, but requires a substantially more involved database alignment, and segmentation stages of our pipeline. Ulti-
search. Similar to [ACP03] and [SP04] we control the distor- mately, we want to minimize user intervention and com-
tion of the warping function when computing the non-rigid pletely automate the database retrieval and non-rigid align-
alignment, not the shape of the deformed model. Thus we ment stages of the pipeline. We believe that this poses inter-
can make no guarantees that the warped model is free of self- esting research challenges in automatic feature extraction,
intersections. We discard a context model when we detect semantic shape segmentation, inter-model correspondence,
such a case, yet constraining the deformation to prevent self- and efficient encoding of shape variability.
intersections might be a more adequate solution. The distor-
Acknowledgements. This research was supported in
tion measure that controls the smoothness of the warping
part by NSF grants CARGO-0138456 ITR-0205671, FRG-
function is isotropic, i.e., penalizes distortion equally in all
0454543, ARO grant DAAD19-03-1-033, and a Stanford
radial directions. If the acquired model has a high-frequency
Graduate fellowship. We would also like to thank Bob Sum-
detail, e.g., a sharp crease, that is not present in the context
ner for the horse, lion, and camel models, Marc Levoy
model, the weight on the distortion measure needs to be low
and the Digital Michelangelo project for the Galleria dell’
(i.e., α has to be close to one in Equation 6), so that the
Accademia data set, Doo Young Kwon, Filip Sadlo, Dave
warped context model can be aligned to this geometric fea-
Koller, and Mario Botsch for design, scanning, and process-
ture. This, however, will also pick up noise present in the in-
ing support, and Vin da Silva for vocal excellence.
put data, as can be observed in Figure 11. A solution could be
to design an anisotropic shape matching penalty that locally
respects that characteristics of the input geometry, similar References
to anisotropic low-pass filters used in data smoothing. The [ABK98] A MENTA N., B ERN M., K AMVYSSELIS M.: A new
blending method of Section 6 requires consistent topology of voronoi-based surface reconstruction algorithm. In Proceedings
the context models in regions where two or more models are of SIGGRAPH ’98 (1998), ACM Press, pp. 415–421.
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
[ACP03] A LLEN B., C URLESS B., P OPOVIC Z.: The space of [MGPG04] M ITRA N. J., G ELFAND N., P OTTMANN H.,
human body shapes: reconstruction and parameterization from G UIBAS L.: Registration of point cloud data from a geomet-
range scans. ACM Trans. Graph. 22, 3 (2003), 587–594. ric optimization perspective. In ACM SIGGRAPH/EG Symp. on
Geometry Processing (2004), pp. 23–31.
[ASK∗ 04] A NGUELOV D., S RINIVASAN P., KOLLER D.,
T HRUN S., PANG H., DAVIS J.: The correlated correspon- [PKG03] PAULY M., K EISER R., G ROSS M.: Multi-scale fea-
dence algorithm for unsupervised registration of nonrigid sur- ture extraction on point-sampled models. In Proceedings of Eu-
faces. NIPS (2004). rographics (2003).
[BMVS04] B LANZ V., M EHL A., V ETTER T., S EIDEL H.: A [PKKG03] PAULY M., K EISER R., KOBBELT L. P., G ROSS M.:
statistical method for robust 3d surface reconstruction from Shape modeling with point-sampled geometry. ACM Trans.
sparse data. In Int. Symp. on 3D Data Processing, Visualization Graph. 22, 3 (2003).
and Transmission (2004). [PMG04] PAULY M., M ITRA N., G UIBAS L.: Uncertainty and
[BV99] B LANZ V., V ETTER T.: A morphable model for the syn- variability in point cloud surface data. In Symposium on Point-
thesis of 3d faces. In Proceedings of SIGGRAPH ’99 (1999), Based Graphics (2004).
ACM Press/Addison-Wesley Publishing Co., pp. 187–194. [RA99] R AMAMOORTHI R., A RVO J.: Creating generative mod-
els from range images. In Proceedings of SIGGRAPH ’99 (1999),
[CBC∗ 01] C ARR J. C., B EATSON R. K., C HERRIE J. B.,
ACM Press/Addison-Wesley Publishing Co., pp. 195–204.
M ITCHELL T. J., F RIGHT W. R., M C C ALLUM B. C., E VANS
T. R.: Reconstruction and representation of 3d objects with ra- [SACO04] S HARF A., A LEXA M., C OHEN -O R D.: Context-
dial basis functions. In Proceedings of SIGGRAPH ’01 (2001), based surface completion. ACM Trans. Graph. 23, 3 (2004).
pp. 67–76. [SP04] S UMNER R. W., P OPOVIC J.: Deformation transfer for
[CDD∗ 04] C LARENZ U., D IEWALD U., D ZIUK G., RUMPF M., triangle meshes. ACM Trans. Graph. 23, 3 (2004), 399–405.
RUSU R.: A finite element method for surface restoration with [Tau95] TAUBIN G.: A signal processing approach to fair surface
smooth boundary conditions. Comput. Aided Geom. Des. 21, 5 design. In Proceedings of SIGGRAPH ’95 (1995), ACM Press,
(2004), 427–445. pp. 351–358.
[CL96] C URLESS B., L EVOY M.: A volumetric method for build- [TL94] T URK G., L EVOY M.: Zippered polygon meshes from
ing complex models from range images. In Proceedings of SIG- range images. In Proceedings of SIGGRAPH ’94 (1994), ACM
GRAPH ’96 (1996), ACM Press, pp. 303–312. Press, pp. 311–318.
[DCOY03] D RORI I., C OHEN -O R D., Y ESHURUN H.: [TV04] TANGELDER J., V ELTKAMP R.: A survey of content
Fragment-based image completion. ACM Trans. Graph. based 3d shape retrieval methods. In Shape Modeling Interna-
22, 3 (2003), 303–312. tional (2004).
[DG03] D EY T. K., G OSWAMI S.: Tight cocone: a water-tight [VCBS03] V ERDERA J., C ASELLES V., B ERTALMIO M.,
surface reconstructor. In Proceedings of Solid Modeling ’03 S APIRO G.: Inpainting surface holes. In Int. Conference on Im-
(2003), pp. 127–134. age Processing (2003).
[WPH∗ 04] W EYRICH T., PAULY M., H EINZLE S., K EISER R.,
[DG04] D EY T. K., G OSWAMI S.: Provable surface reconstruc-
S CANDELLA S., G ROSS M.: Post-processing of scanned 3d sur-
tion from noisy samples. In Proc. 20th Symp. Comp. Geom.
face data. In Symposium on Point-Based Graphics (2004).
(2004), pp. 330–339.
[DMGL02] DAVIS J., M ARSCHNER S., G ARR M., L EVOY M.:
Filling holes in complex surfaces using volumetric diffusion. In
Symp. on 3D Data Proc., Vis., and Trans. (2002). Appendix
[FDCO03] F LEISHMAN S., D RORI I., C OHEN -O R D.: Bilateral The quality-of-fit estimate cλi is derived from weighted covariance
mesh denoising. ACM Trans. Graph. 22, 3 (2003), 950–953. matrix
[FKS∗ 04] F UNKHOUSER T., K AZHDAN M., S HILANE P., M IN
Ci = ∑(p j − pi )(p j − pi )T φi (p j − pi ),
P., K IEFER W., TAL A., RUSINKIEWICZ S., D OBKIN D.: Mod- j
eling by example. ACM Trans. Graph. (2004).
where the weight function φi is the compactly supported fourth order
[HDD∗ 92] H OPPE H., D E ROSE T., D UCHAMP T., M C D ONALD polynomial
J., S TUETZLE W.: Surface reconstruction from unorganized
points. In Proceedings of SIGGRAPH ’92 (1992), pp. 71–78. 1 − 6r2 + 8r3 − 3r4 r ≤ 1
φi (r) =
[JDD03] J ONES T. R., D URAND F., D ESBRUN M.: Non- 0 r>1
iterative, feature-preserving mesh smoothing. ACM Trans. with r = p j − pi /hi . The support radius hi defines the geometric
Graph. 22, 3 (2003), 943–949. scale at which the data is analyzed. Comparable results are obtained
[KHYS02] K ÄHLER K., H ABER J., YAMAUCHI H., S EIDEL H.- using truncated Gaussians, or similar positive, monotonously de-
P.: Head shop: generating animated head models with anatomical creasing weight functions. Let λi1 ≤ λi2 ≤ λi3 be the eigenvalues of
structure. In ACM SIGGRAPH/Eurographics Symp. on Comp. Ci . The normalized weighted least squares error of the best tangent
Animation (2002), pp. 55–63. plane estimate can be derived as λi = λi1 /(λi1 + λi2 + λi3 ) [PMG04].
Since λi = 0 indicates a perfect fit and λi = 1/3 denotes the worst
[Lev01] L EVY B.: Constrained texture mapping for polygonal possible distribution, we define cλi = 1−3λi . We measure local sam-
meshes. In Proceedings of SIGGRAPH ’01 (2001), pp. 417–424. pling uniformity as the ratio cσi = λi2 /λi3 . cσi = 0 means that all
[Lie03] L IEPA P.: Filling holes in meshes. In ACM SIG- samples in the support of φi lie on a line (see outliers in Figure 3),
GRAPH/Eurographics Symp. on Geometry Processing (2003), whereas cσi = 1 indicates a uniform distribution of samples around
Eurographics Association, pp. 200–205. pi . Points on the boundary will be assigned intermediate values.
c The Eurographics Association 2005.
M. Pauly et al. / Example-Based 3D Scan Completion
Figure 10: Shape completion zoo. Horse, camel, and lion are deformed, segmented and blended to yield the final shape of the
giraffe.
2
1
acquisition setup
3 4
1 2
3 4 final model
acquired data
Figure 11: Completion of a single range image acquired in the Galleria dell’Accademia in Florence. Context models, shown
in brown, are either retrieved from the database or extracted by the user from already completed parts of the model. The David
model has been added for completeness.
Figure 12: Symmetry constraints yield a semantically more adequate shape completion. The warping function for the model on
the right has been constrained to be symmetric with respect to the semi-transparent plane shown in the center.
c The Eurographics Association 2005.