morphing,

49
Morphi ng, Cartographic Applications and

Upload: ayita

Post on 12-Feb-2016

38 views

Category:

Documents


0 download

DESCRIPTION

Morphing, . and. Warping. Blending. Cartographic Applications. Definition. Morphing is a special technique that creates a smooth, controlled transformation of one image into another. . Transforming Shape. Warping vs Morphing Warping Single object - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Morphing,

Morphing,

Cartographic Applications

and

Page 2: Morphing,

DefinitionMorphing is a special technique that creates a smooth, controlled transformation of one image into another.

Page 3: Morphing,

Transforming Shape

Page 4: Morphing,

Warping vs MorphingWarping

•Single object

•Specification of original and deformed states

Morphing

•Two objects

•Specification of initial and final states

Page 5: Morphing,

Warping and Morphing

Warping• Source object• No target object

Morphing• Source object• Target object

Page 6: Morphing,

Warping versus Morphing Warping

Morphing

Page 7: Morphing,

Specification of TransformationsGlobal Transformations

Affine MapsProjective MapsNon-Linear Maps

Page 8: Morphing,

Specification

DefinitionsCorrespondence

association between two regions defines original and final states

Specification set of correspondences

Page 9: Morphing,
Page 10: Morphing,
Page 11: Morphing,

Warping x MorphingWarping

Single objectSpecification of original and deformed states

Morphing (metamorphosis)Two objectsSpecification of initial and final states

Page 12: Morphing,

Types of SpecificationParametricPartition-basedFeature-basedAutomatic or semi-automatic

Page 13: Morphing,

Parametric Specification

Page 14: Morphing,

Specification by PartitionRegions cover the entire objectRegular x Irregular partitionsSame topology: original and final sets

Page 15: Morphing,

Partition Examples

Page 16: Morphing,

Specification by FeaturesRegions do not cover the objectDimension of features £ object dimensionExamples: points, vectors, planes, boxes,...

Page 17: Morphing,

Feature (Vector) Examples

Page 18: Morphing,

Transforming Attributes

Texture, Color

Page 19: Morphing,

Linear BlendingA and B objects in a vector space

c(t) = (1 - t) A + t Bc(0) = A, c(1) = B

Functions (attributes)Subsets of space (shape)Also Bilinear, Trilinear and Affine Blending

Page 20: Morphing,

Shape Warp + Attribute Blending

Page 21: Morphing,

Linear Color Interpolation(cross dissolve)

Page 22: Morphing,

Some Guidelines for a good morphing

Feature preservationSmoothness preservationAvoid linearities

use adaptive methods

Page 23: Morphing,

Avoid leakage

Select and warp foreground only

Page 24: Morphing,

Example of Morphing and Attribute Transformation form Fantamorph

Page 25: Morphing,

Geometry DeformationChange of Coordinate Systems

Page 26: Morphing,

AnimationEmphasisStretchSquashDistortion plus Motion

Page 27: Morphing,

AnimationKeyframesTweens

MotionShape

Page 28: Morphing,

The World according to Aaron “Garp” Arthur

Page 29: Morphing,

Types of Warps

Page 30: Morphing,

Warping Techniques

Barycentric mappingField-based mappingRadial basis functions - RBFFree-form deformation - FFDMulti-pass spline meshPhysically-based warping

Page 31: Morphing,

Parametric (global) warping

translation rotation aspect

affineperspective

cylindrical

Examples

Page 32: Morphing,

xT = xs (cos(+ ys (sin())yT = ys (cos()) - xs (sin())

Rotation

Page 33: Morphing,

Scale Change

xT = mxs

yT = nys

Scaling coefficient m usually is the same as n

Page 34: Morphing,

Translation

xs = xs + Dxys = ys + Dy

Page 35: Morphing,

Bilinear Coordinate Transformation

Page 36: Morphing,

Bilinear Coordinate TransformationTransformation Equations are:

xT = axs + bys + cxsys + dyT = exs + fys + gxsys + h

Which are solved simultaneouslyFrom a minimum of 4 points whoseCoordinates are known in both systems.

Page 37: Morphing,

Forward warpingSend each pixel f(x,y) to its corresponding location

(x’,y’) = T(x,y) in the second imageif pixel lands “between” two pixels distribute color among neighboring pixels (x’,y’), known as “splatting”

f(x,y) g(x’,y’)x x’

T(x,y)y y’

Origin Target

Page 38: Morphing,

Inverse WarpingGet each pixel g(x’,y’) from its corresponding location

(x,y) = T-1(x’,y’) in the first imageif pixel comes from “between” two pixels, Interpolate color value from neighbors

nearest neighbor, bilinear, Gaussian, bicubic

Inverse warping usually better because it eliminates holes, but it is not always possible.

f(x,y) g(x’,y’)xy

x x’

T-1(x,y)y’

Origin Target

Page 39: Morphing,

ApplicationsGenesis in the graphic arts, moviesYet, Morphing is not just a special effect:Lens distortion correctionGraphical objects modelingMotion capture data interpolationAccelerated Rendering

Page 40: Morphing,

ApplicationsMapping “significance”

Area = the relative significance of states based on electoral college votes

Page 41: Morphing,

Applications: Interpolation of AnimationExample: Glacial Metamorphosis

Considerations: Frame time resolutionSpeed of motionRealistic shapes

Page 42: Morphing,

Georegister Maps: Example Rubber Sheeting in ArcGIS

For two raster maps in separate layers in ArcGIS. Look up procedure in Help under “georeferencing.”

Work with tools in georeferencing menu bar

httpChina Historical GIS: georeferencing

Page 43: Morphing,

Applications: PhotorectificationExample: Leica Photogrammetry SuiteCorrects for camera, camera angle, and relief distortions.

Page 44: Morphing,

Applications: Showing ChangeNot just areal change, but also warping of a surface to show change in mapped parameters, such as population density or temperature.

Page 45: Morphing,

Terragen: Mount St. Helens Morph

Is this morph realistic?

Page 46: Morphing,

Software used in different types of morphingImage morphing software

Morpheous Photo Morpher www.morpheoussoftware.net

Winmorph http://debugmode.com/winmorph

Abrosoft Fantatmorph www.fantamorph.com

Terrain imaging softwareTerragen http://www.planetside.co.uk

Bryrce 5.5 http://bryce.daz3d.com/55index.php

Other software capable of morphingAutodesk Map 3D 2007 www.autodesk.com

Esri Arcview 9.1 www.esri.com

Flash 8 www.macromedia.com

Page 47: Morphing,

Landscapes done in Bryce

‘Canyon Walls’ by Burpee ‘Hidden Valley‘ by Andy Simmons

Page 48: Morphing,

Landscape created in terragen

By: Giancarolo http://www.timster.net/terragenasart/site/giancarlo-flight2.html

Page 49: Morphing,