CSE 554 Lecture 10: Extrinsic Deformations

Slides:



Advertisements
Similar presentations
Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Advertisements

As-Rigid-As-Possible Surface Modeling
Medical Image Registration Kumar Rajamani. Registration Spatial transform that maps points from one image to corresponding points in another image.
Morphing & Warping 2D Morphing Involves 2 steps 1.Image warping “get features to line up” 2.Cross-dissolve “mix colors” (fade-in/fadeout transition)
CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 9: Extrinsic Deformations Fall 2012.
CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 10: Extrinsic Deformations Fall 2014.
Xianfeng Gu, Yaling Wang, Tony Chan, Paul Thompson, Shing-Tung Yau
1 Free-Form Deformations Dr. Scott Schaefer. 2/28 Deformation.
CSE554ContouringSlide 1 CSE 554 Lecture 4: Contouring Fall 2013.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
INFORMATIK Differential Coordinates for Interactive Mesh Editing Yaron Lipman Olga Sorkine Daniel Cohen-Or David Levin Tel-Aviv University Christian Rössl.
Direct Methods for Visual Scene Reconstruction Paper by Richard Szeliski & Sing Bing Kang Presented by Kristin Branson November 7, 2002.
1cs426-winter-2008 Notes  Collision notes part 1 (primitive operations) should be up on the weekend.
Lecture 11: Structure from motion CS6670: Computer Vision Noah Snavely.
Recovering Articulated Object Models from 3D Range Data Dragomir Anguelov Daphne Koller Hoi-Cheung Pang Praveen Srinivasan Sebastian Thrun Computer Science.
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
1 Dr. Scott Schaefer Generalized Barycentric Coordinates.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2014.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Laplacian Surface Editing
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2014.
CSE554Laplacian DeformationSlide 1 CSE 554 Lecture 8: Laplacian Deformation Fall 2012.
Computer Graphics Group Tobias Weyand Mesh-Based Inverse Kinematics Sumner et al 2005 presented by Tobias Weyand.
A Survey on FFD Reporter: Gang Xu Mar 15, Overview Volumn-based FFD Surface-based FFD Curve-based FFD Point-based FFD Accurate FFD Future Work Outline.
Moving Least Squares Coordinates Josiah Manson and Scott Schaefer Texas A&M University.
CS 551/651 Advanced Computer Graphics Warping and Morphing Spring 2002.
1 Dr. Scott Schaefer Generalized Barycentric Coordinates.
V. Space Curves Types of curves Explicit Implicit Parametric.
1 Mesh Parametrization and Its Applications 동의대학교 멀티미디어공학과 김형석 포항공과대학교 ( 이윤진, 이승용 )
CSE554AlignmentSlide 1 CSE 554 Lecture 5: Alignment Fall 2011.
Geometric Modeling using Polygonal Meshes Lecture 1: Introduction Hamid Laga Office: South.
Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2013.
Andrew Nealen / Olga Sorkine / Mark Alexa / Daniel Cohen-Or SoHyeon Jeong 2007/03/02.
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2013.
AS-RIGID-AS-POSSIBLE SHAPE MANIPULATION
Image Deformation Using Moving Least Squares Scott Schaefer, Travis McPhail, Joe Warren SIGGRAPH 2006 Presented by Nirup Reddy.
CSE554ContouringSlide 1 CSE 554 Lecture 4: Contouring Fall 2015.
David Levin Tel-Aviv University Afrigraph 2009 Shape Preserving Deformation David Levin Tel-Aviv University Afrigraph 2009 Based on joint works with Yaron.
using Radial Basis Function Interpolation
Mesh Resampling Wolfgang Knoll, Reinhard Russ, Cornelia Hasil 1 Institute of Computer Graphics and Algorithms Vienna University of Technology.
Introduction to Meshes Lecture 22 Mon, Oct 20, 2003.
Reverse Engineering of Point Clouds to Obtain Trimmed NURBS Lavanya Sita Tekumalla Advisor: Prof. Elaine Cohen School of Computing University of Utah Masters.
CS274 Spring 01 Lecture 8 Copyright © Mark Meyer Lecture VIII Deformable Bodies CS274: Computer Animation and Simulation.
Principal Warps: Thin-Plate Splines and the Decomposition of Deformations 김진욱 ( 이동통신망연구실 ; 박천현 (3D 모델링 및 처리연구실 ;
1 Spherical manifolds for hierarchical surface modeling Cindy Grimm.
How are shapes deformed in computer graphics? In order to deform a shape, a planar map is used. A map is a vector function that changes the coordinates.
CSE 554 Lecture 8: Alignment
Lecture 16: Image alignment
Deformation techniques
Constructing Objects in Computer Graphics
2D preobrazba (morphing)
Morphing and Shape Processing
You can check broken videos in this slide here :
Constructing Objects in Computer Graphics By Andries van Dam©
CSE 554 Lecture 9: Laplacian Deformation
© University of Wisconsin, CS559 Spring 2004
Computer Animation and Visualisation Lecture 4. Skinning
Positive Gordon–Wixom Coordinates
Grimm and Hughes Input: arbitrary mesh
Mesh Parameterization: Theory and Practice
Grimm and Hughes Input: arbitrary mesh
Projective Transformations for Image Transition Animations
Y. Lipman D. Levin D. Cohen-Or
(deformacija objektov)
Computer Animation Algorithms and Techniques
Y. Lipman D. Levin D. Cohen-Or
Image Registration  Mapping of Evolution
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

CSE 554 Lecture 10: Extrinsic Deformations Fall 2016

Review Non-rigid deformation Intrinsic methods: deforming the boundary points An optimization problem Minimize shape distortion Maximize fit Example: Laplacian-based deformation Source Target Before After

Extrinsic Deformation Given source and target point pairs (handles) Compute deformation of any point in the plane or volume Not just points on the boundary curve or surface

Extrinsic Deformation Applications Registering contents between images and volumes Interactive animation

Techniques Thin-plate spline deformation Free form deformation Cage-based deformation

Thin-Plate Spline A minimization problem Minimizing distances between source and target points Minimizing distortion of the space There is a closed-form solution Solving a linear system of equations

Thin-Plate Spline Input Output Source points: p1,…,pn Corresponding target points: q1,…,qn Output A deformation function f[p] (p is any point) pi qi p f[p]

Thin-Plate Spline Minimization formulation Ef: fitting term Measures how close is the deformed source to the target Ed: distortion term Measures how much the space is warped : weight Controls how much distortion is allowed

Thin-Plate Spline Fitting term Minimizing sum of squared distances between deformed source points and target points

Thin-Plate Spline Distortion term Penalizes non-linear deformation: The energy is zero when the deformation is a linear transformation Translation, rotation, scaling, shearing

Thin-Plate Spline Finding the minimizer for Uniquely exists, and has a closed form: M: a global transformation vi: translation vectors (one per source point) Both M and vi are determined by pi,qi, By solving a linear equation system where

Thin-Plate Spline Result At higher , the deformation is closer to an affine transformation Credits: Sprengel et al, EMBS (1996)

Thin-Plate Spline Application: landmark-based image registration Manual or automatic detection of landmarks and correspondences Source Target Deformed source Credits: Rohr et al, TMI (2001)

Thin-Plate Spline Application: landmark-based image registration Manual or automatic detection of landmarks and correspondences Source Target Source Credits: Rohr et al, TMI (2001)

Thin-Plate Spline Pros Cons Only requires scattered point correspondences Closed-form solution makes it efficient to compute the deformation Once the global transformation (M) and local vectors (vi) are solved Cons Solving M, vi could be time-consuming for large number of handles Not for interactive deformation (e.g., user moving the handles in real-time)

Free Form Deformation Uses a control lattice that embeds the shape Deforming the lattice points (control points) warps the embedded shape Credits: Sederberg and Parry, SIGGRAPH (1986)

Free Form Deformation Blending the deformation at the control points (handles) Each deformed point is a weighted sum of deformed lattice points

Free Form Deformation Input Output Source control points: p1,…,pn Target control points: q1,…,qn Output A deformation function f[p] for any point p within the space of the grid. wi[p]: “influence” of pi on p (regardless of qi, so it can be pre- computed) p f[p] pi qi

Free Form Deformation Desirable properties of the weights wi[p] Decreases with distance from p to pi So that the influence of each control point is local Smoothly varies with location of p So that the deformation is smooth So that f[p] =  wi[p] qi is an affine combination of qi So that f[p]=p if the lattice stays unchanged pi qi p f[p]

Free Form Deformation Finding weights (2D) Let the lattice points be pi,j for i=0,…,k and j=0,…,l Compute p’s relative location in the grid (s,t) Let (xmin,xmax), (ymin,ymax) be the range of grid p0,2 p1,2 p2,2 p3,2 p s t p0,1 p1,1 p2,1 p3,1 p0,0 p1,0 p2,0 p3,0

Free Form Deformation Finding weights (2D) Let the lattice points be pi,j for i=0,…,k and j=0,…,l Compute p’s relative location in the grid (s,t) The weight wi,j for lattice point pi,j is: i,j: importance of pi,j B: Bernstein basis function: p0,2 p1,2 p2,2 p3,2 p t p0,1 p1,1 p2,1 p3,1 p0,0 p1,0 p2,0 p3,0 s

Free Form Deformation Finding weights (2D) Weight distribution for one control point (max at that control point): p3,2 p3,1 p0,2 p1,1 p3,0 p0,1 p2,0 p1,0 p0,0

Free Form Deformation A deformation example

Free Form Deformation Image registration Embed the source in a lattice Compute new lattice positions over the target Manually or automatically Deform each source pixel using FFD www.slicer.org

Free Form Deformation Pros Cons Fast updates when control points are moved Cons Too many control points (a lot of them are interior to the shape) Cartesian grid is too inflexible for complex shapes

Cage-based Deformation Use a control mesh (“cage”) to embed the shape Deforming the cage vertices warps the embedded shape Credits: Ju, Schaefer, and Warren, SIGGRAPH (2005)

Cage-based Deformation “Blending” the deformation at the cage vertices wi[p]: pre-computed “influence” of pi on p More challenging to compute than FFD: not regular lattice structure pi p qi f[p]

Cage-based Deformation Finding weights (2D) Problem: given a closed polygon (cage) with vertices pi and an interior point p, find smooth weights wi[p] such that: 1) 2) pi p

Cage-based Deformation Finding weights (2D) A simple case: the cage is a triangle The weights are unique (3 eqs, 3 vars) wi are known as the barycentric coordinates of p p1 p p3 p2

Cage-based Deformation Finding weights (2D) The harder case: the cage is an arbitrary (possibly concave) polygon The weights are not unique (“generalized barycentric coordinates”) A good choice: Mean Value Coordinates (MVC) [Floater, 2003] pi-1 pi αi αi+1 p pi+1

Cage-based Deformation Finding weights (2D) Weight distribution of one cage vertex in MVC: pi

Cage-based Deformation MVC be extended to 3D [Ju, 2005; Floater, 2005] Other types of coordinates: Harmonic coordinates; Green coordinates; etc. Application: character animation

Cage-based Deformation Registration Embed source in a cage Compute new locations of cage vertices over the target Deform source pixels using MVC or other generalized barycentric coordinates

Cage-based Deformation Pros Fast update when control points are moving Fewer control points and better fitting to shape than FFD Cons Constructing the cage is mostly a manual process Although there is some recent progress in automation Sacht et al., Siggraph Asia 2015

Further Readings Thin-plate spline deformation Free form deformation “Principal warps: thin-plate splines and the decomposition of deformations”, by Bookstein (1989) “Landmark-Based Elastic Registration Using Approximating Thin-Plate Splines”, by Rohr et al. (2001) Free form deformation “Free-Form Deformation of Solid Geometric Models”, by Sederberg and Parry (1986) “Extended Free-Form Deformation: A sculpturing Tool for 3D Geometric Modeling”, by Coquillart (1990) Cage-based deformation “Mean value coordinates for closed triangular meshes”, by Ju et al. (2005) “Harmonic coordinates for character animation”, by Joshi et al. (2007) “Green coordinates”, by Lipman et al. (2008)