48
Terrain Synthesis Terrain Synthesis by Digital Elevation Models by Digital Elevation Models Howard Zhou, Jie Sun, Greg Turk, and James M. Rehg 2006.10.05

Terrain Synthesis by Digital Elevation Models

Embed Size (px)

DESCRIPTION

Terrain Synthesis by Digital Elevation Models. Howard Zhou, Jie Sun, Greg Turk, and James M. Rehg 2006.10.05. Introduction Feature extraction Feature matching Patch stitching Conclusion. Table of Contents. Introduction Feature extraction Feature matching and alignment - PowerPoint PPT Presentation

Citation preview

Page 1: Terrain Synthesis by Digital Elevation Models

Terrain SynthesisTerrain Synthesisby Digital Elevation Modelsby Digital Elevation Models

Howard Zhou, Jie Sun, Greg Turk, and James M. Rehg

2006.10.05

Page 2: Terrain Synthesis by Digital Elevation Models

Table of ContentsTable of Contents

1. Introduction2. Feature extraction3. Feature matching and alignment4. Patch stitching5. Conclusion

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 3: Terrain Synthesis by Digital Elevation Models

Why?Why?

Numerous applications Landscape design Flight simulators Feature film special effects Computer games

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 4: Terrain Synthesis by Digital Elevation Models

Terrain synthesisFractal model

fBm - fractional Brownian motion (Mandelbrot 1982) Midpoint displacement, recursive subdivision …(Fournier

1982, Miller 1986, Voss 1985, Lewis 1987, Szeliski, et al. 1989)

Erosion model Physical erosion simulation (Kelley, et al. 1988)

Combination of Both Fractal terrains with erosion features (Musgrave et al.

1989) Most commercial landscaping software such as Terragen,

Bryce, Vue d’seprit, and Mojoworld, etc.

Previous WorkPrevious WorkIntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 5: Terrain Synthesis by Digital Elevation Models

Limitation of previous terrain synthesis approaches Limited control by user

(parameter tuning) Hard to capture real terrain style

Previous WorkPrevious WorkIntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 6: Terrain Synthesis by Digital Elevation Models

What If ?What If ?IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 7: Terrain Synthesis by Digital Elevation Models
Page 8: Terrain Synthesis by Digital Elevation Models

Patch based texture synthesis Image quilting (Efros and Freeman 2001), Graphcut

(Kwatra et al. 2003)

Feature guided texture synthesis Image analogy (Hertzmann et al. 2000), Feature

matching and deformation (Zhang et al. 2003, Wu and Yu 2004)

Related WorkRelated WorkIntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 9: Terrain Synthesis by Digital Elevation Models

Terrain synthesis is not simply texture synthesis on height fields. Terrain synthesis must preserve global features such as

ridges and valleys. Terrain synthesis must be globally controllable. Unlike general textures, terrain doesn’t have natural

boundaries.

Terrain synthesis is not Terrain synthesis is not texture synthesistexture synthesis

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 10: Terrain Synthesis by Digital Elevation Models

First example-based terrain synthesisUser control via feature sketches.Feature-based approach to matching and

placement of large curvilinear terrain features.Tree-ordered patch placement algorithm.Multiple terrain style.

Our ContributionOur ContributionIntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 11: Terrain Synthesis by Digital Elevation Models

Feature Extraction Extract important terrain features (valleys, ridges, …)

Feature matching and deformation Match terrain features between user sketch and terrain

data to find candidate patch Use deformation to align features

Patch stitching Use graph cuts and Poisson interpolation to remove

visible seams between neighboring patches

ProcedureProcedureIntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 12: Terrain Synthesis by Digital Elevation Models

FlowchartFlowchart

Feature extraction

Matching and deformation

Patch stitching

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 13: Terrain Synthesis by Digital Elevation Models

Finding ridges and valleys Branches and Ends Path Features

Chang’s PPA algorithm (Profile recognition and polygon breaking)

Branch

End

Path

Feature Feature ExtractionExtraction

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 14: Terrain Synthesis by Digital Elevation Models

Why PPA?Why PPA?

Grand Canyon (shaded relief)

Edge detection result

PPA result

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 15: Terrain Synthesis by Digital Elevation Models

TargetConnection

Profile Recognition

PolygonBreaking

BranchReduction

PPA explainedPPA explainedIntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 16: Terrain Synthesis by Digital Elevation Models

Input

In actionIn action

Page 17: Terrain Synthesis by Digital Elevation Models

Profile Recognition

In actionIn action

Page 18: Terrain Synthesis by Digital Elevation Models

Polygon building

In actionIn action

Page 19: Terrain Synthesis by Digital Elevation Models

Polygon Breaking

In actionIn action

Page 20: Terrain Synthesis by Digital Elevation Models

Branch Reduction

In actionIn action

Page 21: Terrain Synthesis by Digital Elevation Models

Result

In actionIn action

Page 22: Terrain Synthesis by Digital Elevation Models

Feature Feature placement (tree placement (tree traversal)traversal)

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 23: Terrain Synthesis by Digital Elevation Models

Why is order Why is order important?important?

Raster-scan patch placement (ncc)

Tree traversal

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 24: Terrain Synthesis by Digital Elevation Models

Most of the time, the feature patches need alignment before they can be used.

Thin plate spline mapping for feature deformation Two sets of corresponding feature points from feature

matching Small deformation in terrain does not alter terrain style

Branch End Path

Feature Feature alignmentalignment

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 25: Terrain Synthesis by Digital Elevation Models

d : Deformation energy from TPS warping

g : Graphcut seam cost f : Feature dissimilarity i : Other user specified

constraints

Feature Patch Feature Patch MatchingMatching

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 26: Terrain Synthesis by Digital Elevation Models

SSD- based search (accelerated)

Fill the synthesized height map

Non-feature Non-feature placementplacement

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 27: Terrain Synthesis by Digital Elevation Models

GraphcutGraphcut

Graphcut Textures: Image and Video Synthesis Using Graph Cuts (Kwatra et al. 2003)

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 28: Terrain Synthesis by Digital Elevation Models

Poisson interpolationPoisson interpolation

Poisson image editing (Perez et al. 2003)

Modify the gradient and reconstruct

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 29: Terrain Synthesis by Digital Elevation Models

Mount JacksonMount Jackson

Page 30: Terrain Synthesis by Digital Elevation Models
Page 31: Terrain Synthesis by Digital Elevation Models

Grand CanyonGrand Canyon

Page 32: Terrain Synthesis by Digital Elevation Models
Page 33: Terrain Synthesis by Digital Elevation Models

Flathead National Flathead National Forest, MTForest, MT

Page 34: Terrain Synthesis by Digital Elevation Models
Page 35: Terrain Synthesis by Digital Elevation Models

Mount Vernon, Mount Vernon, KYKY

Page 36: Terrain Synthesis by Digital Elevation Models
Page 37: Terrain Synthesis by Digital Elevation Models
Page 38: Terrain Synthesis by Digital Elevation Models

Middle EarthMiddle Earth

Page 39: Terrain Synthesis by Digital Elevation Models
Page 40: Terrain Synthesis by Digital Elevation Models
Page 41: Terrain Synthesis by Digital Elevation Models
Page 42: Terrain Synthesis by Digital Elevation Models
Page 43: Terrain Synthesis by Digital Elevation Models
Page 44: Terrain Synthesis by Digital Elevation Models

ConclusionConclusion

We’ve presented an image-based algorithm for terrain synthesis

It provides user control by intuitive sketch It preserves terrain style embedded in the original

height field

IntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion

Page 45: Terrain Synthesis by Digital Elevation Models

Cape Girardeau, Cape Girardeau, MO (failed)MO (failed)

Page 46: Terrain Synthesis by Digital Elevation Models
Page 47: Terrain Synthesis by Digital Elevation Models

ResultsResults

Show video

Page 48: Terrain Synthesis by Digital Elevation Models

PPA in actionPPA in actionIntroductionIntroductionFeature extractionFeature extractionFeature matchingFeature matchingPatch stitchingPatch stitchingConclusionConclusion