Image Deformation Using Moving Least Squares Scott Schaefer, Travis McPhail, Joe Warren SIGGRAPH 2006 Presented by Nirup Reddy.

Slides:



Advertisements
Similar presentations
Lecture Notes #11 Curves and Surfaces II
Advertisements

Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
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.
Computer Graphics Lecture 4 Geometry & Transformations.
Lecture 10 Curves and Surfaces I
CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 9: Extrinsic Deformations Fall 2012.
CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 10: Extrinsic Deformations Fall 2014.
2D preobrazba (morphing). 2D preobrazba dekle-tiger.
Feature-Based Image Metamorphosis Thaddeus Beier Shawn Neely SIGGRAPH 1992.
Overview Introduction Variational Interpolation
1 Computer Graphics Chapter 6 2D Transformations.
INFORMATIK Differential Coordinates for Interactive Mesh Editing Yaron Lipman Olga Sorkine Daniel Cohen-Or David Levin Tel-Aviv University Christian Rössl.
Image alignment Image from
Image Morphing : Rendering and Image Processing Alexei Efros.
Announcements Take home quiz given out Thursday 10/23 –Due 10/30.
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
Image Editing Work Pixel-based Methods  Adobe Photoshop, GIMP, SuperGoo.
Introduction to Non-Rigid Body Dynamics A Survey of Deformable Modeling in Computer Graphics, by Gibson & Mirtich, MERL Tech Report Elastically Deformable.
Human Computer Interaction 7. Advanced User Interfaces (I) Data Scattering and RBF Course no. ILE5013 National Chiao Tung Univ, Taiwan By: I-Chen Lin,
Image warping/morphing Digital Video Special Effects Fall /10/17 with slides by Y.Y. Chuang,Richard Szeliski, Steve Seitz and Alexei Efros.
Image Morphing, Thin-Plate Spline Model CSE399b, Spring 07 Computer Vision
Image Warping Computational Photography Derek Hoiem, University of Illinois 09/27/11 Many slides from Alyosha Efros + Steve Seitz Photo by Sean Carroll.
Shape Blending Joshua Filliater December 15, 2000.
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.
1 Dr. Scott Schaefer Geometric Modeling CSCE 645/VIZA 675.
Motion Blending (Multidimensional Interpolation) Jehee Lee.
Computer Graphics Group Tobias Weyand Mesh-Based Inverse Kinematics Sumner et al 2005 presented by Tobias Weyand.
CSCE 441: Computer Graphics Image Warping/Morphing Jinxiang Chai.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
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.
Cartographic Applications
CS 551/651 Advanced Computer Graphics Warping and Morphing Spring 2002.
Image warping/morphing Digital Visual Effects Yung-Yu Chuang with slides by Richard Szeliski, Steve Seitz, Tom Funkhouser and Alexei Efros.
Geometric Operations and Morphing.
Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai.
Building Prostate Statistical Atlas using Large-Deformation Image Registration Eric Hui University of Waterloo – MIAMI Bi-weekly.
Image Warping Computational Photography Derek Hoiem, University of Illinois 09/23/10 Many slides from Alyosha Efros + Steve Seitz Photo by Sean Carroll.
Axial Flip Invariance and Fast Exhaustive Searching with Wavelets Matthew Bolitho.
1 Adding charts anywhere Assume a cow is a sphere Cindy Grimm and John Hughes, “Parameterizing n-holed tori”, Mathematics of Surfaces X, 2003 Cindy Grimm,
1 Dr. Scott Schaefer Geometric Modeling CSCE 645/VIZA 675.
Andrew Nealen / Olga Sorkine / Mark Alexa / Daniel Cohen-Or SoHyeon Jeong 2007/03/02.
Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 9: Rotation, Scaling, Shear, Affine Transformation.
AS-RIGID-AS-POSSIBLE SHAPE MANIPULATION
Image Morphing ( Computational Photography) Jehee Lee Seoul National University With a lot of slides stolen from Alexei Efros and Seungyong Lee.
David Levin Tel-Aviv University Afrigraph 2009 Shape Preserving Deformation David Levin Tel-Aviv University Afrigraph 2009 Based on joint works with Yaron.
Introduction to Computer Graphics Geometric Transformations
Keyframing and Splines Jehee Lee Seoul National University.
Hierarchical Deformation of Locally Rigid Meshes Josiah Manson and Scott Schaefer Texas A&M University.
Image warping Li Zhang CS559
using Radial Basis Function Interpolation
Photo VR Editor: A Panoramic and Spherical Environment Map Authoring Tool for Image-Based VR Browsers Jyh-Kuen Horng, Ming Ouhyoung Communications and.
1. Systems of Linear Equations and Matrices (8 Lectures) 1.1 Introduction to Systems of Linear Equations 1.2 Gaussian Elimination 1.3 Matrices and Matrix.
Image Warping Many slides from Alyosha Efros + Steve Seitz + Derek oeim Photo by Sean Carroll.
Instructor: Mircea Nicolescu Lecture 9
Principal Warps: Thin-Plate Splines and the Decomposition of Deformations 김진욱 ( 이동통신망연구실 ; 박천현 (3D 모델링 및 처리연구실 ;
Image warping/morphing Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2005/3/15 with slides by Richard Szeliski, Steve Seitz and Alexei Efros.
2D preobrazba (morphing)
Morphing and Shape Processing
You can check broken videos in this slide here :
Presented by Omer Shakil
CSCE 441: Computer Graphics Image Warping
2D transformations (a.k.a. warping)
Projective Transformations for Image Transition Animations
Feature-Based Warping
CSE 554 Lecture 10: Extrinsic Deformations
Feature-Based Warping
Computer Graphics: Image Warping/Morphing
Presentation transcript:

Image Deformation Using Moving Least Squares Scott Schaefer, Travis McPhail, Joe Warren SIGGRAPH 2006 Presented by Nirup Reddy

InputAffineSimilarityRigid

Outline Introduction Previous work MLS with points MLS with line segments Conclusions

Introduction Image deformation Animation, morphing, medical imaging … Controlled by handles: points, lines … Function f Interpolation: f(p i )=q i (handles) Smoothness ~ smooth deformations Identity: q i =p i  f(x)=x Similar to scattered data interpolation

Previous Work Grid/Polygon handles Free-form deformations [Sederberg and Parry 1986; Lee et al. 1995] Require aligning grid lines with image features Line handles [Beier and Neely 1992] Undesirable folding Point handles RBF Thin-plate splines [Bookstein 1989] Local non-uniform scaling and shearing As-rigid-as-possible deformations [Igarashi et al. 2005] Solve on the whole triangulation Discontinuities

Previous Work

As-Rigid-As-Possible Shape Manipulation

Thin-plate spline As-rigid-as-possible

Previous Work Grid/Polygon handles Free-form deformations [Sederberg and Parry 1986; Lee et al. 1995] Require aligning grid lines with image features Line handles [Beier and Neely 1992] Undesirable folding Point handles RBF Thin-plate splines [Bookstein 1989] Local non-uniform scaling and shearing As-rigid-as-possible deformations [Igarashi et al. 2005] Solve on the whole triangulation Discontinuities

Moving Least Squares Deformation Build image deformations based on handles (p i,q i ) Interpolation Smoothness Identity Given a point v, solve for the best l v (x): Deformation function f(v)=l v (v) Locally defined --- MOVING Least Squares Satisfy the three properties

Affine Transform Affine transform: l v (x)=xM+T Translation can be removed: T=q * -p * M So, l v (x)=(x-p * )M+q * The new cost function: M could be different class of transformations

Affine Deformations Solution The deformation function A j can be precomputed Contains non-uniform scaling and shear

Similarity Deformations Only include translation, rotation, and uniform scaling Remove shear from deformation

Similarity Deformations Only include translation, rotation, and uniform scaling Remove shear from deformation

Similarity Deformations (Cont.) A special subset of affine transforms Translation Rotation Constraints: Uniform-scaling Requirement: M T M=λ 2 I Define, where M 2 =M 1 ┴ Cost function (Least squares problem) still quadratic in M 1 where (x,y) ┴ =(-y,x)

Similarity Deformations (Cont.) Solution for matrix M where Solution for deformation function where Property Preserves angles better than affine deformations Local scaling can hurt realism

Rigid Deformations Deformations should not include scaling and shear [Alexa 2000; Igarashi et al. 2005] Best rigid transformation can be found from best similarity transformation Remove local uniform scaling M T M=I

Rigid Deformations Deformations should not include scaling and shear [Alexa 2000; Igarashi et al. 2005] Best rigid transformation can be found from best similarity transformation Remove local uniform scaling M T M=I

Rigid Deformations (Cont.) Solution for matrix M Solution for deformation function where, and A i is as in similarity deformations. Limited precomputation

Example: Actual Image

Deformation ’ s Affine Similarity Rigid

Comparison: AffineSimilarityRigid Non-uniform scaling and shear Local scaling can often lead to undesirable Deformations But Preserves angles Deformation is quite realistic Computation time very low abt 1.5ms Highest was computed as 3.4ms Highest was computed 3.8ms

Some Rigid Deformation Results

Deformation with Curves Handles are control curves instead of control points Cost function T still can be removed

Limitations: May be difficult to evaluate for arbitrary functions We restrict these functions to be line segments and derive closed-form solutions for the deformations in terms of the end-points of these segments

Affine Lines Represent line segments as matrix products Cost function Minimizer

Affine Lines (Cont.) Deformation

Similarity Lines Cost function Minimizer

Similarity Lines (Cont.) Deformation

Rigid Lines Derive from similarity lines Deformation

Implementation Pixel by pixel --- expensive Deformation on a downsampled grid Fill quads using bilinear interpolation

Timing Grid size: 100x100

Limitation: Foldbacks

Conclusions Moving Least Squares 2x2 linear system at each grid point Real-time Similarity and rigid transformations More realistic results Extension: line segments Closed-form expressions

Applications Of MLS: Very powerful tool in computer graphics Animation Medical Imaging Image Warping Image Morphing

Conclusions (Cont.) Future Work Adding topological information Generalizing to 3D to deform surfaces Handles can be any curves