Directional Field. Xiao-Ming Fu

Similar documents
Spectral Processing. Misha Kazhdan

Classical differential geometry of two-dimensional surfaces

LECTURE 9: MOVING FRAMES IN THE NONHOMOGENOUS CASE: FRAME BUNDLES. 1. Introduction

Morphing. Xiao-Ming Fu

MATH DIFFERENTIAL GEOMETRY. Contents

Stratification of 3 3 Matrices

Lectures in Discrete Differential Geometry 2 Surfaces

Background Mathematics (2/2) 1. David Barber

EE Technion, Spring then. can be isometrically embedded into can be realized as a Gram matrix of rank, Properties:

Linear Algebra Massoud Malek

Introduction to Group Theory

Statistical Geometry Processing Winter Semester 2011/2012

Tensor fields. Tensor fields: Outline. Chantal Oberson Ausoni

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

CALCULUS ON MANIFOLDS. 1. Riemannian manifolds Recall that for any smooth manifold M, dim M = n, the union T M =

Lecture 10: A (Brief) Introduction to Group Theory (See Chapter 3.13 in Boas, 3rd Edition)

CE-570 Advanced Structural Mechanics - Arun Prakash

MILNOR SEMINAR: DIFFERENTIAL FORMS AND CHERN CLASSES

Modern Geometric Structures and Fields

Upon successful completion of MATH 220, the student will be able to:

CHAPTER 3. Gauss map. In this chapter we will study the Gauss map of surfaces in R 3.

CHAPTER 1 PRELIMINARIES

5 Constructions of connections

Tangent spaces, normals and extrema

Curvilinear coordinates

2. TRIGONOMETRY 3. COORDINATEGEOMETRY: TWO DIMENSIONS

CSE 554 Lecture 7: Alignment

Tensor Visualization. CSC 7443: Scientific Information Visualization

Distances, volumes, and integration

Spectral Algorithms I. Slides based on Spectral Mesh Processing Siggraph 2010 course

II. DIFFERENTIABLE MANIFOLDS. Washington Mio CENTER FOR APPLIED VISION AND IMAGING SCIENCES

Medical Visualization - Tensor Visualization. J.-Prof. Dr. Kai Lawonn

Part IB GEOMETRY (Lent 2016): Example Sheet 1

MATH 583A REVIEW SESSION #1

How curvature shapes space

Geometry for Physicists

Econ Slides from Lecture 7

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

1 Structures 2. 2 Framework of Riemann surfaces Basic configuration Holomorphic functions... 3

Handout to Wu Characteristic Harvard math table talk Oliver Knill, 3/8/2016

Vectors. January 13, 2013

Duke University, Department of Electrical and Computer Engineering Optimization for Scientists and Engineers c Alex Bronstein, 2014

Math 302 Outcome Statements Winter 2013

Physics 6303 Lecture 3 August 27, 2018

William P. Thurston. The Geometry and Topology of Three-Manifolds

Curvatures, Invariants and How to Get Them Without (M)Any Derivatives

Scaling the Topology of Symmetric, Second-Order Planar Tensor Fields

Rigid Geometric Transformations

Discrete Differential Geometry. Discrete Laplace-Beltrami operator and discrete conformal mappings.

The Laplacian ( ) Matthias Vestner Dr. Emanuele Rodolà Room , Informatik IX

,, rectilinear,, spherical,, cylindrical. (6.1)

Tangent bundles, vector fields

arxiv: v2 [math-ph] 24 Feb 2016

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2.

Rigid Geometric Transformations

Representation theory and quantum mechanics tutorial Spin and the hydrogen atom

Gravitation: Tensor Calculus

Introduction to Mobile Robotics Compact Course on Linear Algebra. Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz

. D CR Nomenclature D 1

Homework 2. Solutions T =

Algebra C Numerical Linear Algebra Sample Exam Problems

Review of some mathematical tools

Physics 411 Lecture 7. Tensors. Lecture 7. Physics 411 Classical Mechanics II

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

Definition 1. A set V is a vector space over the scalar field F {R, C} iff. there are two operations defined on V, called vector addition

Symmetries, Groups, and Conservation Laws

LECTURE NOTE #11 PROF. ALAN YUILLE

Lines and points. Lines and points

Beyond Scalar Affinities for Network Analysis or Vector Diffusion Maps and the Connection Laplacian

BERGMAN KERNEL ON COMPACT KÄHLER MANIFOLDS

Mathematical Methods wk 2: Linear Operators

Preliminary/Qualifying Exam in Numerical Analysis (Math 502a) Spring 2012

Computational Methods CMSC/AMSC/MAPL 460. Eigenvalues and Eigenvectors. Ramani Duraiswami, Dept. of Computer Science

Dimension Reduction Techniques. Presented by Jie (Jerry) Yu

INDEX 363. Cartesian coordinates 19,20,42, 67, 83 Cartesian tensors 84, 87, 226

Exercises * on Linear Algebra

GATE Engineering Mathematics SAMPLE STUDY MATERIAL. Postal Correspondence Course GATE. Engineering. Mathematics GATE ENGINEERING MATHEMATICS

Jordan normal form notes (version date: 11/21/07)

Mathematical Tripos Part IA Lent Term Example Sheet 1. Calculate its tangent vector dr/du at each point and hence find its total length.

Lecture 1 Complex Numbers. 1 The field of complex numbers. 1.1 Arithmetic operations. 1.2 Field structure of C. MATH-GA Complex Variables

A Framework for Analyzing and Constructing Hierarchical-Type A Posteriori Error Estimators

Going with the flow: A study of Lagrangian derivatives

NOTES ON LINEAR ALGEBRA CLASS HANDOUT

Geometric Modeling Summer Semester 2010 Mathematical Tools (1)

ROTATIONS, ROTATION PATHS, AND QUANTUM SPIN

Lorentz-covariant spectrum of single-particle states and their field theory Physics 230A, Spring 2007, Hitoshi Murayama

Math 433 Outline for Final Examination

Transparent connections

A Riemannian Framework for Denoising Diffusion Tensor Images

Introduction to Mobile Robotics Compact Course on Linear Algebra. Wolfram Burgard, Cyrill Stachniss, Maren Bennewitz, Diego Tipaldi, Luciano Spinello

Lecture: Some Practical Considerations (3 of 4)

Qualifying Exams I, 2014 Spring

Linear Algebra: Matrix Eigenvalue Problems

Repeated Eigenvalues and Symmetric Matrices

SOME EXERCISES IN CHARACTERISTIC CLASSES

Clifford Algebras and Spin Groups

Euler Characteristic of Two-Dimensional Manifolds

NUMERICAL COMPUTATION IN SCIENCE AND ENGINEERING

The Einstein field equations

The Hodge Star Operator

Transcription:

Directional Field Xiao-Ming Fu

Outlines Introduction Discretization Representation Objectives and Constraints

Outlines Introduction Discretization Representation Objectives and Constraints

Definition Spatially-varying directional information, assigned to each point on a given domain. A field on a domain is the assignment of a directional to each point in the domain. Magnitude + direction 1. Direction 2. Length

Multi-valued field Multiple directions per point with some notion of symmetry A set of directions or vectors at every point. Rotationally-symmetric direction fields (RoSy fields) N = 1, 2, 4, 6 Four directions with π/2 RoSy Two independent pairs of directions with π RoSy within each pair.

Vector fields, direction fields, line fields, cross fields, frame fields, RoSy fields, N-symmetry fields, PolyVector fields, tensor fields

Some concrete examples Principal directions of a shape Stress or strain tensors The gradient of a scalar field The advection field of a flow Diffusion data from MRI

Synthesis or design User constraints Alignment conditions Fairness objectives Physical realizations

Applications Mesh Generation

Applications All-hex meshing

Deformation Deformations which are as isometric as possible can be generated using approximate Killing vector fields.

Texture Mapping and Synthesis Seamless texture

Architectural Geometry Conjugate directions

Architectural Geometry Self-Supporting Structures

Outlines Introduction Discretization Representation Objectives and Constraints

Tangent Spaces The tangent spaces of the a triangle mesh can be located on the faces, edges, or vertices of a triangle mesh. One way to construct a tangent space at a point is to assign a surface normal vector to the point. Face: normal vector Vertex and edge: local average of the adjacent triangle normal vectors Local coordinate system Two orthogonal tangent vectors

Discrete Connections Given two adjacent tangent spaces i and j, we need a notion of connection between them in order to compare two directional objects that are defined on them. A straightforward discretization of the Levi- Civita connection is made by flattening the two adjacent tangent planes. X ij : angle difference between corresponding axes

Vector Field Topology continuous A vector field has a singularity at a point p if it vanishes or is not defined at this point. 2D case: Parameterized curve: c: 0,1 R 2 A smooth angle function: α: 0,1 R Vector field: cos(α(t)) v c t = v c t sin(α(t)) Define the index of the singularity at p: index p = 1 (α 1 α(0)) 2π Note: Since α is smooth, the difference α(1) α(0) is unique and it is a multiple of 2π.

Singularity index p = 1 2π (α 1 α(0)) The index measures the number of times the vectors along the curve c rotate counterclockwise, while traversing the curve once. It is common to consider only points p with index index p 0 as singular. It vanishes or is not defined at this point. Singularity

Singularity The definition does not directly extend to surfaces, because there is no global coordinate system (the tangent bundle is not trivial). Calculate the index at a point p of a vector field v on a surface M by using an arbitrary chart around p. A chart for a topological space M (also called a coordinate chart, coordinate patch, coordinate map, or local frame) is a homeomorphism from an open subset of M to an open subset of a Euclidean space.

Singularity Poincaré Hopf theorem The sum of all the indices of a vector field equals 2 2g. Some example

Discrete Field Topology Piecewise constant face-based 1- direction field Constant on face Discontinuous on edges Extension from continuous setting Define rotation between adjacent triangles to define angle difference It is intuitive to assume that the field undergoes a rotation δ ij = π 4 clockwise. δ ij = π + 2πk would be a valid assumption. 4

Rotation Principal rotation δ ij [ π, π) Summarize all rotation angles on edges that are incident to the vertex index p = 1 2π δ ij

Period Jumps non-principal rotation: δ ij + 2πk k full period rotations The values of k are denoted as period jumps. k = 0 k = 1

Matching - multi-valued field N > 1 directionals per tangent space An additional degree of freedom: The correspondence between the individual directionals in tangent space i to those in the adjacent tangent space j. A matching between two N-sets of directional is a bijective map f between them (or their indices). It preserves order: f u r f u r+1 = v s+1 = v s

Effort Based on a matching f, the notions of rotation and principal rotation can be generalized to multi-valued fields. δ r ij : rotation between u r and f u r Effort of the matching f: Y ij = N r=1 Symmetric N-directional field δ ij = δ r ij for every r δ ij r The efforts of different (order-preserving) matchings differ by 2π.

Outlines Introduction Discretization Representation Objectives and Constraints

Angle-Based Local thonormal frame {e 1, e 2 } on each tangent space 1-direction (unit vector) fields can be concisely described within each tangent space by a signed angle φ that is relative to e 1. Rotation angle: δ ij = φ j (φ i + X ij + 2πk ij ) X ij : the change of bases e between the flattened tangent spaces i and j k ij : period jump δ ij

Angle-Based N symmetry directions A single φ representing the set of N symmetry directions. {φ + l 2π/N l {0,, N 1}} Period jump to be an integer multiple of 1 N. Rotation angle: δ ij = φ j (φ i + X ij + 2π N k ij)

Pros and cons Advantage Directions, as well as possible period jumps, are represented explicitly. A linear expression of the rotation angle. Disadvantage The use of integer variables, which leads to discrete optimization problems.

Cartesian and Complex A vector v in a two-dimensional tangent space can be represented using Cartesian coordinates (from R 2 ) in the local coordinate system {e1, e2}, or equivalently as complex numbers (from C). Connection to angle-based representation cos φ v = sin φ = eiφ The change of bases from one tangent space to another cos X ij sin X ij or e sin X ij cos X ix ij ij

N-directional fields By multiplying the argument of the trigonometric functions, or taking the complex exponential to the power of N v N cos Nφ = sin Nφ = einφ e inφ l = e inφ φ l = φ + l 2π, l {0,, N 1} N v N becomes a 1-directional field. X ij becomes NX ij : cos NX ij sin NX ij or e sin NX ij cos NX inx ij ij

Complex Polynomials Analogously, every N-vector set {u 1, u N }, in the complex form u i C, can be uniquely identified as the roots of a complex polynomial p(z) = (z u 1 ) (z u N ). Writing p in monomial form, p(z) = i c n z n, the coefficient set {c n } is thus an order-invariant representative of a 1 N vector. N-PolyVector A generation of former representation.

Comparison Comparing between PolyVectors on adjacent tangent spaces amounts to comparing polynomial coefficient. Every coefficient c n contains multiplications of N n roots.

Tensors Real-valued 2 2 matrices in local coordinates T = T 11 T 12 T 21 T 22 Symmetric Tensors an eigen-decomposition T = UΛU T Λ = diag λ 1, λ 2, two real eigenvalues U = u 1, u 2, two (orthogonal) eigenvectors with u i = 1 Since eigenvectors are only determined up to sign, a rank-2 tensor field can in fact be interpreted as two orthogonal 2-direction fields ± u i.

Outlines Introduction Discretization Representation Objectives and Constraints

Objectives & Constraints Different applications have different requirements. various objectives can be used for vector field optimization

Objectives Fairness measuring how variable, or rather, non-similar, the field is between adjacent tangent spaces. Parallelity Orthogonality Minimization of curl

Parallelity as-parallel-as-possible Parallel The direction in one tangent space is obtained via parallel transport from the directions in adjacent tangent spaces. As-parallel-as-possible goal: E fair N = N 2 e w e δ e 2

An example of cross field E fair 4 = 4 2 e w e φ j (φ i + X ij + 2π N k ij) 2 Variables: φ i and k ij (integers) Greedy solver: 1. Treat k ij as floating number, minimize E fair 4 2. Round the variable which causes the smallest absolute error if we round it to the nearest integer. 3. Repeat above two steps.

Constraints Alignment fit certain prescribed directions principal curvature strokes given by an artist on the surface boundary curves feature lines Soft data term Least square Hard constraint

Constraints Alignment fit certain prescribed directions principal curvature strokes given by an artist on the surface boundary curves feature lines Soft data term Least square Hard constraint

Constraints Symmetry: If the surface has bilateral symmetry, it is advantageous if the designed directional fields adhere to the same symmetry, allowing field-guided applications to preserve the symmetry as well.

Constraints Surface mapping: Given multiple shapes with a correspondence between them, we could require that the directional fields commute with the correspondence, effectively designing directional fields jointly on multiple shapes.

Constraints Surface mapping: Given multiple shapes with a correspondence between them, we could require that the directional fields commute with the correspondence, effectively designing directional fields jointly on multiple shapes.

Integrable field In most of these applications, vector fields are computed to serve as a guiding basis for the construction of global parameterizations. Parameterization coordinates: Defined on vertices Two scalar variables Gradients of parameterization coordinates are two separate vector fields. Integrable Curl-free

Integrable field Thinking from a opposite way: If the vector fields are curl-free, it can be integrated to be parameterization coordinates. Minimize the difference between the tangent field and the gradient of the function in the leastsquares sense. Thus, if the curl-free field is foldover-free and with low distortion, the parameterization is also foldover-free and with low distortion.

Integrability Scalar function h: M R h f, e = h g, e It trivially follows that h f, e h g, e is zero for any function h. f e g Discrete curl for any vector field α: α f, e α g, e α is curl-free if and only if α f, e = α g, e.

Vector field design J = u x v x u y v y, α = u x, u y, β = ( v x, v y ) Objective: Fairness Constraints: Curl-free Foldover-free Low distortion

Poisson integration min h f h f α f 2 2

Extension Another question: Given a cross field, how to modify it to be curl-free? Paper: Computing inversion-free mappings by simplex assembly E = E C + λe field E field = α f, e α g, e 2 + β f, e β g, e 2 e E C : distortion energy Increase λ to make E field approach zero

Properties of resulting field Non-Orthogonal Different lengths β α Frame field

Frame Fields Isotropic Anisotropic

Frame Fields Cross filed (4-RoSy field) X = u, u, u, u Frame field (2 2 vector field) F = v, w, v, w Canonical decomposition F = WX (polar decomposition) W: symmetric positive definite matrix

Paper: Frame Fields: Anisotropic and Non- Orthogonal Cross Fields A frame field is said to be continuous/smooth if both X and W are continuous/smooth. Synthesis of frame field: Separately design X and W X: formerly method, e.g., E fair 4 = 4 2 W: Laplacian smoothing, guarantee that the resulting W are SPD. e w e φ j (φ i + X ij + 2π N k ij) 2

An example Constraints Frame field Deformation Isotropic Anisotropic

Paper: Frame Field Generation through Metric Customization Generic frame fields (with arbitrary anisotropy, orientation, and sizing) can be regarded as cross fields in a specific Riemannian metric. First compute a discrete metric on the input surface.

2 2 directional field Paper: General Planar Quadrilateral Mesh Design Using Conjugate Direction Field F = v, w, v, w v = w Equivalent classes using permutation v, w, v, w w, v, w, v v, w, v, w w, v, w, v Signed-permutation matrix group G 1 0 0 1, 0 1 1 0, 1 0 0 1, 0 1 1 0

Smoothness of 2 2 directional field Transformation between adjacent faces v f w f = v g w g P fg Smoothness measure closeness from P fg to G f e g E fg = i H P fg, i + H(P fg i, ) + i P fg, i 2 1 2 + P fg i, 2 1 2 + det P fg 1 2 H η = η x 2 η y 2 + η y 2 η z 2 + η z 2 η x 2

Example

Extension to 3D field Paper: All-Hex Meshing using Singularity-Restricted Field F = {U, V, W} Right-handled: U V W > 0 24 equivalent classes since the permutations form the chiral cubical symmetry group G. First vector has six options Second one has four options Third one only has one options 6 4 1 = 24 Smoothness measure: closeness from P fg to G Similar to former method

Efficiency Former methods: Large-scale sparse linear system or nonlinear energy Expensive: too many variables Global view Is there any other ways? Reducing the variable number Starting from local view

Paper: Instant Field-Aligned Meshes

Key techniques Gauss-Seidel method 1 v i j Ω(i) w w ij v j ij j Ω(i) Multiresolution hierarchy improve convergence allow the algorithm to move out of local minima