context-based surface completion

29
Context-based Context-based Surface Surface Completion Completion Andrei Sharf, Marc Alexa, Daniel Cohen-Or Andrei Sharf, Marc Alexa, Daniel Cohen-Or

Upload: narcisse-gauthier

Post on 03-Jan-2016

33 views

Category:

Documents


0 download

DESCRIPTION

Context-based Surface Completion. Andrei Sharf, Marc Alexa, Daniel Cohen-Or. Introduction. Holes in models: Imperfect range scanned data: Complex objects with non-visible regions. Misalignment of multiple-views depth image scans. Material reflections. Surface editing operations. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Context-based  Surface Completion

Context-based Context-based Surface Surface

CompletionCompletion

Andrei Sharf, Marc Alexa, Daniel Cohen-OrAndrei Sharf, Marc Alexa, Daniel Cohen-Or

Page 2: Context-based  Surface Completion

IntroductionIntroductionIntroductionIntroduction

Holes in models:• Imperfect range scanned

data:– Complex objects with non-visible

regions.– Misalignment of multiple-views

depth image scans.– Material reflections.

• Surface editing operations.

Page 3: Context-based  Surface Completion

MotivationMotivationMotivationMotivation

Smooth filling is sufficient:• Small holes.

• Smooth surfaces.

Smooth filling is insufficient :• Surfaces containing fine

geometric detail.

• Topology of hole is more complex than a disk.

Page 4: Context-based  Surface Completion

Context-based Completion Context-based Completion Context-based Completion Context-based Completion

Complete the missing region with patches that conform with its context

Smooth Context-based

Page 5: Context-based  Surface Completion

MethodMethodMethodMethod

Import patches with matching context from the surface itself :

• Analyze surface characteristics.

• Find best matching patch.

• Fit imported patch to boundary.

Page 6: Context-based  Surface Completion

Related WorkRelated WorkRelated WorkRelated Work

• Example-based image completion:[Drori et al. 2003; Jia and tang 2003; Sun et al. 2003;]

• Texture synthesis:[Efros and Leung 1999; Efros and Freeman 2001;Wei and Levoy 2000; Ying et al. 2001;]

• Smooth surface completion:[Curless and Levoy 1996; Davis et al. 2002; Ilic and Fua 2003; Verdera et al. 2003; Liepa 2003;]

• Model-based surface reconstruction [Savchenko et al. 2002]

• Curve analogies [Hertzmann et al. 2002]

Drori et al. 03

Liepa 03

Wei and Levoi 00

Hertzmann et al. 02

Page 7: Context-based  Surface Completion

Moving to 3D SurfacesMoving to 3D SurfacesMoving to 3D SurfacesMoving to 3D Surfaces

Images have a regular spatial structure domain.

Problems in 3D:• Topology and geometry of missing region.

• Fitting a patch to the boundary of the missing region.

• Definition of similarity of shapes.

• Definition of a surface patch.

Page 8: Context-based  Surface Completion

AlgorithmAlgorithmAlgorithmAlgorithm

• Given an incomplete shape• Create initial spatial subdivision• For each cell

– Compute a local shape representation.– Compute a shape signature.

• For each empty cell:– Find matching nonempty cell ω’.– Copy patch of ω’ into ω.

• Subdivide cells and repeat• Until completed region matches

its neighborhood.

Page 9: Context-based  Surface Completion

AlgorithmAlgorithmAlgorithmAlgorithm

• Given an incomplete shape• Create initial spatial subdivision• For each cell

– Compute a local shape representation.– Compute a shape signature.

• For each empty cell:– Find matching nonempty cell ω’.– Copy patch of ω’ into ω.

• Subdivide cells and repeat• Until completed region matches

its neighborhood.

Page 10: Context-based  Surface Completion

Shape RepresentationShape RepresentationShape RepresentationShape Representation

• Shape sampled point-set– Range scan output– Easy to merge

• Octree hierarchy on top of the point set

• Implicit surface approximation by fitting polynomials [Ohtake et al. 2003]:– General quadric:– Bivariate quadratic:– Edge or corner fitting

( ) t tQ x x Ax b x c 2 2( ) ( )Q x w Au Buv Cv Du Ev F

,i ip n

0Q x

Page 11: Context-based  Surface Completion

Shape AnalysisShape AnalysisShape AnalysisShape Analysis

A local signature of a cell consists:• Implicit shape characteristics:

– Signed distance– Normal variation

• Detail amount:– Depth in octree

Page 12: Context-based  Surface Completion

AlgorithmAlgorithmAlgorithmAlgorithm

• Given an incomplete shape• Create initial spatial subdivision• For each cell

– Compute a local shape representation.– Compute a shape signature.

• For each empty cell:– Find matching nonempty cell ω’.– Copy patch of ω’ into ω.

• Subdivide cells and repeat• Until completed region matches

its neighborhood.

Page 13: Context-based  Surface Completion

Missing RegionMissing RegionMissing RegionMissing Region

Automatic identification:• Intersect shape approximation with cells.

• Empty cell that intersects surface is part of missing region.

Empty cell definition can alter due to refinement of missing region.

Page 14: Context-based  Surface Completion

MatchingMatchingMatchingMatching

Distance metrics:• dc : Signature distance inside cells.

• da : Signature distance of adjacent cells.

• dl : Difference in amount of detail.

i c i a l ld( , ') = w d ( , ')+(1-w )d ( , ')+w d ( , ') Find most similar non-empty cell:

Page 15: Context-based  Surface Completion

Matching-Candidate SetMatching-Candidate SetMatching-Candidate SetMatching-Candidate Set

• Non-empty cells of the same size

• Symmetry rotations of cells(/2, , ...)

• Rotation of all point-set with some angle (/4, /3, ...)

Page 16: Context-based  Surface Completion

Transferring PointsTransferring PointsTransferring PointsTransferring Points

ICP:• Copy points into empty cell.

• Find closest point correspondence

• Align points rigidly

• Align points non-rigidly using polynomial form.

Page 17: Context-based  Surface Completion

AlgorithmAlgorithmAlgorithmAlgorithm

• Given an incomplete shape• Create initial spatial subdivision• For each cell

– Compute a local shape representation.– Compute a shape signature.

• For each empty cell:– Find matching nonempty cell ω’.– Copy patch of ω’ into ω.

• Subdivide cells and repeat• Until completed region matches

its neighborhood.

Page 18: Context-based  Surface Completion

David’s HairDavid’s HairDavid’s HairDavid’s Hair

Original Down-sampled

Smooth completion

Context-based completion

Page 19: Context-based  Surface Completion

Completion ProcessCompletion ProcessCompletion ProcessCompletion Process

Original

Initial approximation

Final result

Page 20: Context-based  Surface Completion

Manual Editing of Bunny ModelManual Editing of Bunny ModelManual Editing of Bunny ModelManual Editing of Bunny Model

Page 21: Context-based  Surface Completion

Manual Editing of Knot ModelManual Editing of Knot ModelManual Editing of Knot ModelManual Editing of Knot Model

Page 22: Context-based  Surface Completion

Scan of “Youth” Statue (Rear View)Scan of “Youth” Statue (Rear View)Scan of “Youth” Statue (Rear View)Scan of “Youth” Statue (Rear View)

Original Smooth Result

Page 23: Context-based  Surface Completion

Scan of Human BoneScan of Human BoneScan of Human BoneScan of Human Bone

Original

Smooth

Result

Page 24: Context-based  Surface Completion

Limitations: SemanticsLimitations: SemanticsLimitations: SemanticsLimitations: Semantics

Page 25: Context-based  Surface Completion

Sample Rate vs. Detail Sample Rate vs. Detail FrequencyFrequencySample Rate vs. Detail Sample Rate vs. Detail FrequencyFrequency

Page 26: Context-based  Surface Completion

SummarySummarySummarySummary

A fully automatic method to complete a missing region in a surface from its context.

• Completed patches geometrically conform with neighborhood.

• Incremental scale-space framework for finer approximation of the unknown region.

Page 27: Context-based  Surface Completion

Future WorkFuture WorkFuture WorkFuture Work

• Explore with other spatial hierarchies.

• Enlarge the search space of examples by building a class based example set.

• Couple method with image completion methods for texture completion.

• Rotation and translation invariant signature

Page 28: Context-based  Surface Completion

Acknowledgments:– David Levin and Olga Sorkine– Israel science foundation; Israeli ministry of science– Digital Michelangelo project 3D model repository; Stanford 3D

scanning repository; Darmstadt university of technology; Imager computer graphics laboratory of the university of British Columbia

Page 29: Context-based  Surface Completion

Thank youThank youThank youThank you