CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 10: Extrinsic Deformations Fall 2014.

Slides:



Advertisements
Similar presentations
As-Rigid-As-Possible Surface Modeling
Advertisements

Medical Image Registration Kumar Rajamani. Registration Spatial transform that maps points from one image to corresponding points in another image.
Multi-Dimensional Data Interpolation Greg Beckham Nawwar.
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.
Cubic Curves CSE167: Computer Graphics Instructor: Steve Rotenberg UCSD, Fall 2006.
Lecture 29 of 42 Bezier Curves and Splines Wednesday, 02 April 2008
Xianfeng Gu, Yaling Wang, Tony Chan, Paul Thompson, Shing-Tung Yau
Meshless Elasticity Model and Contact Mechanics-based Verification Technique Rifat Aras 1 Yuzhong Shen 1 Michel Audette 1 Stephane Bordas 2 1 Department.
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.
Iterative closest point algorithms
Non-Rigid Registration. Why Non-Rigid Registration  In many applications a rigid transformation is sufficient. (Brain)  Other applications: Intra-subject:
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.
Non-Euclidean Embedding
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.
An Integrated Pose and Correspondence Approach to Image Matching Anand Rangarajan Image Processing and Analysis Group Departments of Electrical Engineering.
1 Free-Form Deformations Free-Form Deformation of Solid Geometric Models Fast Volume-Preserving Free Form Deformation Using Multi-Level Optimization Free-Form.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
T ENSOR P RODUCT V OLUMES AND M ULTIVARIATE M ETHODS CAGD Presentation by Eric Yudin June 27, 2012.
Intrinsic Parameterization for Surface Meshes Mathieu Desbrun, Mark Meyer, Pierre Alliez CS598MJG Presented by Wei-Wen Feng 2004/10/5.
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.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
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.
Camera Geometry and Calibration Thanks to Martial Hebert.
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.
CSE554AlignmentSlide 1 CSE 554 Lecture 5: Alignment Fall 2011.
Recent Work on Laplacian Mesh Deformation Speaker: Qianqian Hu Date: Nov. 8, 2006.
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.
Medical Image Analysis Image Registration Figures come from the textbook: Medical Image Analysis, by Atam P. Dhawan, IEEE Press, 2003.
Computer Animation Algorithms and Techniques Chapter 4 Interpolation-based animation.
Andrew Nealen / Olga Sorkine / Mark Alexa / Daniel Cohen-Or SoHyeon Jeong 2007/03/02.
AS-RIGID-AS-POSSIBLE SHAPE MANIPULATION
Image Deformation Using Moving Least Squares Scott Schaefer, Travis McPhail, Joe Warren SIGGRAPH 2006 Presented by Nirup Reddy.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Affine Transformations.
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.
Animation CS418 Computer Graphics John C. Hart.
ELE 488 Fall 2006 Image Processing and Transmission ( )
Interactive Graphics Lecture 10: Slide 1 Interactive Computer Graphics Lecture 10 Introduction to Surface Construction.
using Radial Basis Function Interpolation
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 모델링 및 처리연구실 ;
4. Affine transformations. Reading Required:  Watt, Section 1.1. Further reading:  Foley, et al, Chapter  David F. Rogers and J. Alan Adams,
Introduction to Parametric Curve and Surface Modeling.
1 Spherical manifolds for hierarchical surface modeling Cindy Grimm.
Lecture 16: Image alignment
Deformation techniques
Morphing and Shape Processing
You can check broken videos in this slide here :
CSE 554 Lecture 9: Laplacian Deformation
© University of Wisconsin, CS559 Spring 2004
Grimm and Hughes Input: arbitrary mesh
Y. Lipman D. Levin D. Cohen-Or
CSE 554 Lecture 10: Extrinsic Deformations
Y. Lipman D. Levin D. Cohen-Or
Introduction to Parametric Curve and Surface Modeling
Presentation transcript:

CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 10: Extrinsic Deformations Fall 2014

CSE554Extrinsic DeformationsSlide 2 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

CSE554Extrinsic DeformationsSlide 3 Extrinsic Deformation Computing deformation of each point in the plane or volume – Not just points on the boundary curve or surface Credits: Adams and Nistri, BMC Evolutionary Biology (2010)

CSE554Extrinsic DeformationsSlide 4 Extrinsic Deformation Applications – Registering contents between images and volumes – Interactive animation

CSE554Extrinsic DeformationsSlide 5 Techniques Thin-plate spline deformation Free form deformation Cage-based deformation

CSE554Extrinsic DeformationsSlide 6 Thin-Plate Spline Given corresponding source and target points Computes a spatial deformation function for every point in the 2D plane or 3D volume Credits: Sprengel et al, EMBS (1996)

CSE554Extrinsic DeformationsSlide 7 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

CSE554Extrinsic DeformationsSlide 8 Thin-Plate Spline Input – Source points: p 1,…,p n – Target points: q 1,…,q n Output – A deformation function f[p] for any point p pipi qiqi p f[p]

CSE554Extrinsic DeformationsSlide 9 Thin-Plate Spline Minimization formulation – E f : fitting term Measures how close is the deformed source to the target – E d : distortion term Measures how much the space is warped – : weight Controls how much distortion is allowed

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

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

CSE554Extrinsic DeformationsSlide 12 Thin-Plate Spline Finding the minimizer for – Uniquely exists, and has a closed form: M: a constant transformation matrix v i : translation vectors (one per source point) Both M and v i are determined by p i,q i, where

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

CSE554Extrinsic DeformationsSlide 14 Thin-Plate Spline Application: landmark-based image registration – Manual or automatic detection of landmarks and correspondences SourceTargetDeformed source Credits: Rohr et al, TMI (2001)

CSE554Extrinsic DeformationsSlide 15 Thin-Plate Spline Application: landmark-based image registration – Manual or automatic detection of landmarks and correspondences SourceTargetSource Credits: Rohr et al, TMI (2001)

CSE554Extrinsic DeformationsSlide 16 Thin-Plate Spline Pros – Closed-form solution makes it efficient to compute – Only requires scattered point correspondences Cons – Difficult to control deformation away from the point handles

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

CSE554Extrinsic DeformationsSlide 18 Free Form Deformation “Blending” the deformation at the control points – Each deformed point is a weighted sum of deformed lattice points

CSE554Extrinsic DeformationsSlide 19 Free Form Deformation Input – Source control points: p 1,…,p n – Target control points: q 1,…,q n Output – A deformation function f[p] for any point p within the space of the grid. w i [p]: pre-computed “influence” of p i on p pipi qiqi p f[p]

CSE554Extrinsic DeformationsSlide 20 Free Form Deformation Desirable properties of the weights w i [p] – Greater when p is closer to p i 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] =  w i [p] q i is an affine combination of q i – So that f[p]=p if the lattice stays unchanged pipi qiqi p f[p]

CSE554Extrinsic DeformationsSlide 21 Free Form Deformation Finding weights (2D) – Let the lattice points be p i,j for i=0,…,k and j=0,…,l – Compute p’s relative location in the grid (s,t) Let (x min,x max ), (y min,y max ) be the range of grid p 0,0 p 0,1 p 0,2 p 1,0 p 1,1 p 1,2 p 2,0 p 2,1 p 2,2 p 3,0 p 3,1 p 3,2 p s t

CSE554Extrinsic DeformationsSlide 22 Free Form Deformation Finding weights (2D) – Let the lattice points be p i,j for i=0,…,k and j=0,…,l – Compute p’s relative location in the grid (s,t) – The weight w i,j for lattice point p i,j is: i,j : importance of p i,j B: Bernstein basis function: p 0,0 p 0,1 p 0,2 p 1,0 p 1,1 p 1,2 p 2,0 p 2,1 p 2,2 p 3,0 p 3,1 p 3,2 p s t

CSE554Extrinsic DeformationsSlide 23 Free Form Deformation Finding weights (2D) – Weight distribution for one control point (max at that control point): p 0,0 p 0,1 p 0,2 p 1,0 p 1,1 p 2,0 p 3,0 p 3,1 p 3,2

CSE554Extrinsic DeformationsSlide 24 Free Form Deformation A deformation example

CSE554Extrinsic DeformationsSlide 25 Free Form Deformation Image registration – Embed the source in a lattice – Compute new lattice positions over the target Manually, or solve it as an optimization problem (maximally matching images contents while minimizing distortion) – Deform each source pixel using FFD

CSE554Extrinsic DeformationsSlide 26 Free Form Deformation Pros – Even simpler then thin-plate spline – Well controlled deformation over the entire grid Cons – Specifying target locations of all grid points is a lot of work Especially for interactive animation – Cartesian grid is not a good fit for complex shapes

CSE554Extrinsic DeformationsSlide 27 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)

CSE554Extrinsic DeformationsSlide 28 Cage-based Deformation “Blending” the deformation at the cage vertices – w i [p]: pre-computed “influence” of p i on p p f[p] pipi qiqi

CSE554Extrinsic DeformationsSlide 29 Cage-based Deformation Finding weights (2D) – Problem: given a closed polygon (cage) with vertices p i and an interior point p, find smooth weights w i [p] such that: 1) 2) pipi p

CSE554Extrinsic DeformationsSlide 30 Cage-based Deformation Finding weights (2D) – A simple case: the cage is a triangle – The weights are unique (3 eqs, 3 vars) – Known as the barycentric coordinates of p p1p1 p2p2 p3p3 p

CSE554Extrinsic DeformationsSlide 31 Finding weights (2D) – The harder case: the cage is an arbitrary (possibly concave) polygon – The weights are not unique A good choice: Mean Value Coordinates (MVC) Can be extended to 3D Cage-based Deformation pipi p αiαi α i+1 p i-1 p i+1

CSE554Extrinsic DeformationsSlide 32 Cage-based Deformation Finding weights (2D) – Weight distribution of one cage vertex in MVC: pipi

CSE554Extrinsic DeformationsSlide 33 Cage-based Deformation Application: character animation

CSE554Extrinsic DeformationsSlide 34 Cage-based Deformation Registration – Embed source in a cage – Compute new locations of cage vertices over the target Minimizing some fitting and energy objectives – Deform source pixels using MVC Not seen in literature yet… future work!

CSE554Extrinsic DeformationsSlide 35 Cage-based Deformation Pros – Simple to compute – Well-behaved deformation within the cage – Fewer control points and better fitting to shape than FFD Cons – Constructing the cage is mostly a manual process

CSE554Extrinsic DeformationsSlide 36 Further Readings Thin-plate spline 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)