Curve Analogies Aaron Hertzmann Nuria Oliver Brain Curless Steven M. Seitz University of Washington Microsoft Research Thirteenth Eurographics.

Slides:



Advertisements
Similar presentations
Filling Algorithms Pixelwise MRFsChaos Mosaics Patch segments are pasted, overlapping, across the image. Then either: Ambiguities are removed by smoothing.
Advertisements

Active Appearance Models
Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Active Shape Models Suppose we have a statistical shape model –Trained from sets of examples How do we use it to interpret new images? Use an “Active Shape.
Medical Image Registration Kumar Rajamani. Registration Spatial transform that maps points from one image to corresponding points in another image.
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Investigation Into Optical Flow Problem in the Presence of Spatially-varying Motion Blur Mohammad Hossein Daraei June 2014 University.
Texture Synthesis on [Arbitrary Manifold] Surfaces Presented by: Sam Z. Glassenberg* * Several slides borrowed from Wei/Levoy presentation.
Extended Gaussian Images
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
EE663 Image Processing Edge Detection 5 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Overview of Texture Synthesis Ganesh Ramanarayanan Cornell Graphics Seminar.
CES 514 – Data Mining Lecture 8 classification (contd…)
LYU 0602 Automatic PhotoHunt Generation1 Automatic PhotoHunt Generation Shum Hei Lung To Wan Chi Supervisor: Prof. Michael R. Lyu.
Chamfer Matching & Hausdorff Distance Presented by Ankur Datta Slides Courtesy Mark Bouts Arasanathan Thayananthan.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
2D Fourier Theory for Image Analysis Mani Thomas CISC 489/689.
Modelling: Curves Week 11, Wed Mar 23
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
Scale-Invariant Feature Transform (SIFT) Jinxiang Chai.
Circle Drawing algo..
Input: Original intensity image. Target intensity image (i.e. a value sketch). Using Value Images to Adjust Intensity in 3D Renderings and Photographs.
Image Analogies Aaron Hertzmann (1,2) Charles E. Jacobs (2) Nuria Oliver (2) Brian Curless (3) David H. Salesin (2,3) 1 New York University 1 New York.
Splines III – Bézier Curves
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5409 T-R 10:30am – 11:50am.
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.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
Multimodal Interaction Dr. Mike Spann
Geometric Operations and Morphing.
Multiscale Moment-Based Painterly Rendering Diego Nehab and Luiz Velho
1 Dr. Scott Schaefer Smooth Curves. 2/109 Smooth Curves Interpolation  Interpolation through Linear Algebra  Lagrange interpolation Bezier curves B-spline.
©Silberschatz, Korth and Sudarshan13.1Database System Concepts Chapter 13: Query Processing Overview Measures of Query Cost Selection Operation Sorting.
Automated Construction of Parameterized Motions Lucas Kovar Michael Gleicher University of Wisconsin-Madison.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
GEOMETRIC OPERATIONS. Transformations and directions Affine (linear) transformations Translation, rotation and scaling Non linear (Warping transformations)
2D Texture Synthesis Instructor: Yizhou Yu. Texture synthesis Goal: increase texture resolution yet keep local texture variation.
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
Application: Multiresolution Curves Jyun-Ming Chen Spring 2001.
Animation From Observation: Motion Editing Dan Kong CMPS 260 Final Project.
Support Vector Machines Reading: Ben-Hur and Weston, “A User’s Guide to Support Vector Machines” (linked from class web page)
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
Statistical Models of Appearance for Computer Vision 主講人:虞台文.
Rendering Bezier Curves (1) Evaluate the curve at a fixed set of parameter values and join the points with straight lines Advantage: Very simple Disadvantages:
Computer vision. Applications and Algorithms in CV Tutorial 3: Multi scale signal representation Pyramids DFT - Discrete Fourier transform.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Constrained Synthesis of Textural Motion for Animation Shmuel Moradoff Dani Lischinski The Hebrew University of Jerusalem.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Hough Transform CS 691 E Spring Outline Hough transform Homography Reading: FP Chapter 15.1 (text) Some slides from Lazebnik.
Shape2Pose: Human Centric Shape Analysis CMPT888 Vladimir G. Kim Siddhartha Chaudhuri Leonidas Guibas Thomas Funkhouser Stanford University Princeton University.
Introduction to Parametric Curve and Surface Modeling.
Graphcut Textures:Image and Video Synthesis Using Graph Cuts
Morphing and Shape Processing
Metric Learning for Clustering
Slope and Curvature Density Functions
Dynamical Statistical Shape Priors for Level Set Based Tracking
CSE 554 Lecture 9: Laplacian Deformation
© University of Wisconsin, CS559 Fall 2004
© University of Wisconsin, CS559 Spring 2004
The Brightness Constraint
Motion illusion, rotating snakes
CSCE 441: Keyframe Animation/Smooth Curves (Cont.)
Introduction to Parametric Curve and Surface Modeling
Review and Importance CS 111.
Presentation transcript:

Curve Analogies Aaron Hertzmann Nuria Oliver Brain Curless Steven M. Seitz University of Washington Microsoft Research Thirteenth Eurographics Workshop on Rendering(2002)

Goal Automatically learn how to generate an output curve form an input curve

Contributions Learning curve styles may be formulated as a texture synthesis problem Curve analogies may be learned from data, by learning specific statistics within curves and relationships between them These algorithm can be used to capture hand-drawn styles of curves

Introduce A : A’ :: B : B’ (unfiltered vs. filtered) The most general problem statement A : A’ :: B : B’ (unfiltered vs. filtered) A 2D curve can be written in parametric form Control point Linear interpolation between the adjacent control point Parameter

Linear Interpolation f(t) tup tlo t pup plo if (t, p) is a control point otherwise

Algorithms Curve synthesis Curve synthesis with constraints Curve analogies Multiresolution curve synthesis Multiresolution curve analogies

Curve Synthesis Problem statement: given an example curve A’, generate a new curve B’ of a specified arc length LB’

Cost Function Use A’ to define a cost function over possible curves, and then attempt to generate a new curve B’ with minimal cost measures the “difference” between the local shape of B’ around ti and the local shape of A’ around si neighborhood distance metric

Neighborhood Distance Metric each neighborhood as a set of K samples tangent features (smoothness properties of the curve)

Curve Coherence Copy coherent segments from A’ to B’ Let S(i) be the source index for each control point in B’

Curve Coherence A control point in B’ is coherent with the preceding control point if and the curve segment Penalize non-coherent control points by multiplying the distance d(.) by

Initialize Initializes B’(t) to be an empty curve Randomly-chosen segment of three consecutive control points from A’ to B’ The remainder of the B’ curve is generated by nearest neighbor sampling

Nearest Neighbor Sampling Generate a new sample Goal: search for the value p* for that best matches the resulting neighborhood of some neighborhood j* in A’

Cost Function Optimal rigid transformation aligns the existing neighborhood samples to Cost function can be written 要如何做neighborhood的比較

Coherence The optimal choice for is given by transforming the position of to the neighborhood in B’: this gives Finally, we evaluate the cost for this value , and apply the coherence penalty coherent of a candidate ,

Pseudocode

Algorithms Curve synthesis with constraints Curve synthesis Curve analogies Multiresolution curve synthesis Multiresolution curve analogies

Curve Synthesis with Constraints Problem statement: soft constraint: pass near specific position hard constraint: pass through specific position represent:

Algorithm A curve synthesis with constraints is quite similar to that without Assume that the first point on B’ is constrained; we use the constraint to initialize the curve The more general case can be handled by synthesizing forward from the first constraint, and then synthesizing backwards form the last constraint

Algorithm Unconstrained control points are synthesized exactly as in the previous algorithm Control points specified by hard constraints are immediately replaced with the position of the hard constraint For soft constraints, we must modify the cost function

Cost Function of Soft Constraint Soft constraint when The candidates are now computed by optimizing the above quadratic equation the position of is no longer a direct copy of the example position

Algorithms Curve analogies Curve synthesis Curve synthesis with constraints Curve analogies Multiresolution curve synthesis Multiresolution curve analogies

Curve Analogies Problem statement: give an example “unfiltered” curve A and example “filtered” curve A’, we would like to “learn” the transformation from A to A’, and apply it to a new curve B to generate and output curve B’

Representation Represent the correspondence between A and A’, and between B and B’ require the A, A’ and B, B’ curves to have the same parameterization e.g. Note: no constraint on the relative arc length

Shape Relationships Goals The shape of B’ should “look like” the shape of A’ The shape of B’ should have the same relationship to the shape of B as the shape of A’ has to A The relative positions and orientations of the B’ curve should have the same relationship to B as the position and orientations of A’ to A

Positional Relationship By measuring the offsets between curves use neighborhood center-of-mass as a sort of “summary” of the local neighborhood position we want the offset from A to A’ to match the offset from B to B’

Cost Function We have found if works best to use separate translations t and t’ for matching A to B and A’ to B’, respectively, but to use the same rotation from A to B as from A’ to B’

Algorithm The A/B curve matching term affects the curve alignment and the computation of example: sharp concave curve the translations t and t’ are computed for each pair of curves separately, and the a single R’ is computed that aligns the pairs of curves

Algorithm The curve offset term effects both matching penalty and the computation of the optimal We can write the offset term as

Pseudocode

Algorithms Multiresolution curve synthesis Curve synthesis Curve synthesis with constraints Curve analogies Multiresolution curve synthesis Multiresolution curve analogies

Problems of Single Scale Algorithm We would like to be able to use large neighborhood sized computationally expensive Step size is not directly related to arc length

Multiresolution Curve Synthesis Problem statement: give an example A’ curve, and synthesize an output curve B’ this is done by synthesizing a Gaussian pyramid of curves from coarse to fine the final output B’ is the finest level of the output pyramid

Multiresolution Curve Synthesis the coarsest level of the output pyramid is a single-scale curve synthesis problem based on the coarsest level of the input pyramid for remaining levels of the pyramid, the relationships can be expressed as:

Constraints Any constraints placed on the output curve must be applied to the higher levels as well The texture would have to bend to meet non-colinear constraints We address this problem by softening the constraints: the weight of each constraint is replaced with

Pseudocode

Algorithms Multiresolution curve synthesis Curve synthesis with constraints Curve analogies Multiresolution curve synthesis Multiresolution curve analogies

Multiresolution curve analogies Synthesis at the finer levels of the pyramid can be viewed as a “generalized analogy” to ensure that has consistent relationships with

Pseudocode

Application and Experiments

Discussion and Future Work Learning parameters Alternative representations Drawing systems Additional features Animation 3D signal processing