Computer Science Department On the Curve Equipartition Problem: a brief exposition of basic issues Presented by: Costas Panagiotakis Multimedia Informatics.

Slides:



Advertisements
Similar presentations
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Advertisements

MRI Brain Extraction using a Graph Cut based Active Contour Model Noha Youssry El-Zehiry Noha Youssry El-Zehiry and Adel S. Elmaghraby Computer Engineering.
Approximations of points and polygonal chains
1.2 Key Concepts. Postulate A rule that is accepted without proof. Sometimes called an Axiom.
Introduction Isosceles triangles can be seen throughout our daily lives in structures, supports, architectural details, and even bicycle frames. Isosceles.
Postulates Definition: An assumption that needs no explanation. Examples: Through any two points there is exactly one line. Through any three points, there.
Lesson 1-2: Segments and Rays
Texture Segmentation Based on Voting of Blocks, Bayesian Flooding and Region Merging C. Panagiotakis (1), I. Grinias (2) and G. Tziritas (3)
GEOMETRY Chapter 3: Angle Pairs, Lines and Planes
Rate-Distortion Optimal Skeleton-Based Shape Coding Haohong Wang, Aggelos K. Katsaggelos, and Thrasyvoulos N. Pappas Image Processing, Proceedings.
Data Clustering Methods
1 Testing of clustering Article by : Noga Alon, Seannie Dar, Michal Parnas and Dana Ron Presented by: Nir Eitan.
Algorithm Design Strategy Divide and Conquer. More examples of Divide and Conquer  Review of Divide & Conquer Concept  More examples  Finding closest.
Comparing Images Using the Hausdorff Distance Mark Bouts 6th April 2006.
Gradient Methods April Preview Background Steepest Descent Conjugate Gradient.
1 L-BFGS and Delayed Dynamical Systems Approach for Unconstrained Optimization Xiaohui XIE Supervisor: Dr. Hon Wah TAM.
Offset of curves. Alina Shaikhet (CS, Technion)
L15:Microarray analysis (Classification) The Biological Problem Two conditions that need to be differentiated, (Have different treatments). EX: ALL (Acute.
1 L-BFGS and Delayed Dynamical Systems Approach for Unconstrained Optimization Xiaohui XIE Supervisor: Dr. Hon Wah TAM.
L16: Micro-array analysis Dimension reduction Unsupervised clustering.
Finding Compact Structural Motifs Presented By: Xin Gao Authors: Jianbo Qian, Shuai Cheng Li, Dongbo Bu, Ming Li, and Jinbo Xu University of Waterloo,
Gradient Methods May Preview Background Steepest Descent Conjugate Gradient.
Data Flow Analysis Compiler Design Nov. 8, 2005.
Computer Science Department A Speech / Music Discriminator using RMS and Zero-crossings Costas Panagiotakis and George Tziritas Department of Computer.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
Fat Curves and Representation of Planar Figures L.M. Mestetskii Department of Information Technologies, Tver’ State University, Tver, Russia Computers.
On the ICP Algorithm Esther Ezra, Micha Sharir Alon Efrat.
Lection 1: Introduction Computational Geometry Prof.Dr.Th.Ottmann 1 History: Proof-based, algorithmic, axiomatic geometry, computational geometry today.
SEGMENT AND ANGLE RELATIONSHIPS
Neural Networks Lecture 8: Two simple learning algorithms
9.1 Square Roots and the Pythagorean Theorem
Geometry Vocabulary Test Ms. Ortiz. 1. If two parallel lines are cut by a transversal, then the corresponding angles are congruent.
CS 450: Computer Graphics REVIEW: OVERVIEW OF POLYGONS
WP3 - 3D reprojection Goal: reproject 2D ball positions from both cameras into 3D space Inputs: – 2D ball positions estimated by WP2 – 2D table positions.
Chapter 1.3 Notes: Use Midpoint and Distance Formulas Goal: You will find lengths of segments in the coordinate plane.
 Find segment lengths using midpoints and segment bisectors  Use midpoint formula  Use distance formula.
CAD/Graphics 2013, Hong Kong Footpoint distance as a measure of distance computation between curves and surfaces Bharath Ram Sundar*, Abhijit Chunduru*,
Algorithms for a large sparse nonlinear eigenvalue problem Yusaku Yamamoto Dept. of Computational Science & Engineering Nagoya University.
Scientific Computing Linear Least Squares. Interpolation vs Approximation Recall: Given a set of (x,y) data points, Interpolation is the process of finding.
Part 6: Graphics Output Primitives (4) 1.  Another useful construct,besides points, straight line segments, and curves for describing components of a.
Robustness in Numerical Computation I Root Finding Kwanghee Ko School of Mechatronics Gwnagju Institute of Science and Technology.
Approximation algorithms for TSP with neighborhoods in the plane R 郭秉鈞 R 林傳健.
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Intelligent Systems Laboratory 1 CLUSTERS Prof. George Papadourakis,
6/4/ : Analyzing Polygons 3.8: Analyzing Polygons with Coordinates G1.1.5: Given a line segment in terms of its endpoints in the coordinate plane,
Lesson: Segments and Rays 1 Geometry Segments and Rays.
Geometry Chapter 3 Parallel Lines and Perpendicular Lines Pages
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
Section 9.1 Arc Length. FINDING THE LENGTH OF A PLANE CURVE Divide the interval [a, b] into n equal subintervals. Find the length of the straight line.
10-4 Common logarithms.
1 Chapter 7 Numerical Methods for the Solution of Systems of Equations.
6.4 Rhombuses, Rectangles and Squares
Network Systems Lab. Korea Advanced Institute of Science and Technology No.1 Ch. 3 Iterative Method for Nonlinear problems EE692 Parallel and Distribution.
Gaoal of Chapter 2 To develop direct or iterative methods to solve linear systems Useful Words upper/lower triangular; back/forward substitution; coefficient;
Defined Terms. Objectives Yesterday, we talked about undefined terms. Today, we will focus on defined terms (which are based on the undefined terms from.
MA5233 Lecture 6 Krylov Subspaces and Conjugate Gradients Wayne M. Lawton Department of Mathematics National University of Singapore 2 Science Drive 2.
1 Lesson 1-3 Measuring Segments. 2 Postulates: An assumption that needs no explanation. Postulate 1-1 Through any two points there is exactly one line.
3.1 Solve Linear Systems by Graphing Algebra II. Definition A system of two linear equations in two variables x and y, also called a linear system, consists.
Copyright © 2011 Pearson Education, Inc. Conic Sections CHAPTER 13.1Parabolas and Circles 13.2Ellipses and Hyperbolas 13.3Nonlinear Systems of Equations.
Perpendicular Lines Unit 2-4. Warm Up Solve each inequality. 1. x – 5 < x + 1 < x Solve each equation. 3. 5y = x + 15 = 90 Solve the systems.
Mid-Term Exam preparation
Chapter 5 Induction and Recursion
Chapter 1: Tools of Geometry
Use Midpoint and Distance Formulas
Introduction to Scientific Computing II
3.4 Perpendicular lines.
3-4 Perpendicular Lines Warm Up Lesson Presentation Lesson Quiz
Introduction to Scientific Computing II
Lesson 1-2 Segments and Rays.
“Equations and Inequalities”
Numerical Modeling Ramaz Botchorishvili
Presentation transcript:

Computer Science Department On the Curve Equipartition Problem: a brief exposition of basic issues Presented by: Costas Panagiotakis Multimedia Informatics Laboratory Computer Science Department University Of Crete Heraklion Greece 27/3/2006 Authors: Costas Panagiotakis, George Georgakopoulos and George Tziritas

2 I.Introduction II.An Equivalent Definition of the Problem III.Proposed Algorithms Iso-Level Algorithm (ILA) Steepest Descent Based Method IV.Conclusion Presentation Organization

3 Introduction Problem Definition: It is given a continuous curve C(t), t  [0,1] that starts from point Α and ends on point Β. The goal is to locate N-1 consecutive curve points P i = C(t i ) (i = 1,…,N-1), so that the curve can be divided into N parts with equal length chords (|P i – P i+1 | = |P i+1 – P i+2 |, i = 0,…, N-2), P 0 = A, P N = B. Α Β Ρ1Ρ1 Ρ2Ρ2 An EP example for Ν=3 (|ΑP 1 |=|P 1 P 2 |=|P 2 B|) When N is higher than two, there is not a trivial method to compute the equal length line segments. Α Β An EP example for Ν=2 (|ΑP 1 |=|P 1 B|) When N = 2, we have to locate a curve point P 1, so that |AP 1 | = |P 1 B|. This point can be given as the intersection of the curve with the AB segment bisector. We can not apply this method inductively. Ρ1Ρ1

4 Introduction - Problem’s Characteristics EP can be defined in curves of any dimension EP can be defined using any smooth metric d(x, y)≥ 0, x,y  [0,1] having the following properties: 1.d(x,y) = 0  x = y 2.d(x,y) = d(y,x) (symmetry) 3.d(x,y) can be defined in any dimension, C(t)  R n 4. The triangular inequality is not requisite! Examples of such metrics: 1. Euclidean metric 2. Manhattan distance 3. Polygonal Approximation Error Metrics EP can be used in many applications d(x,y) = |C(x) – C(y)| 2 C(t) A B 1

5 Introduction - Problem’s Characteristics EP problem admits always a solution The EP can admit more than one solutions depending on curve shape and the value of N As N tends to infinity the problem solution (equal length segments) will be unique and it will approximate the curve A version of EP problem is NP-complete (reduction to knapsack) We have developed approximate algorithms solving the EP A B

6 An Equivalent Definition of the Problem A problem solution {0, t 1, t 2, · · ·, t N−1, 1} of curve C(t), corresponds to the surface d(x, y) as a point sequence, (0, t 1 ), (t 1, t 2 ), · · ·, (t N-1, 1) The length r of each chord is given: (Iso-Level) We have to determine {0, t 1, t 2, · · ·, t N−1, 1} so that Equation (1) will be satisfied This definition is used: to prove i nductively that the problem has at least one solution in the development of Iso-Level Algorithm (ILA) 0 1 t1t1 t2t2 t3t3 t4t4 C(t) d(x, y) = |C(x) – C(y)| 2 (t 1,0) (t 1,t 2 ) (t 3,t 2 ) (t 3,t 4 ) (1,t 4 ) r = d(0, t 1 ) = d(t 1, t 2 ) = · · · = d(t N-1, 1) (1)

7 Proposed Algorithms Iso-Level Algorithm (ILA) Approximate Algorithm Existence Proof based (Iso-Level) Computes all the solutions Steepest Descent based Method (SDM) Converges to the closest solution to an initial equipartition

8 Proposed Algorithms : Iso-Level Algorithm (ILA) Algorithm: Initialisation: L 1 = [(0,0), (t 1,0)] [(t 1,0), (t 2,0)] … [(t M-1,0), (1,0)] In each iteration step m, the null plane curves L m are computed : if the point (u, v)  L m-1, u > v → (z, u)  L m, z > u  d(u, v) = d(z, u) The solutions are computed inductively ∩∩ ∩ y (0,0) (1,1) (0,1) x (t 3 ’,1) (t 3 ’, t 2 ’) (t 1 ’,t 2 ’) (t 1 ’,0) L3L3 L2L2 L1L1 All the Null plane curves  All the solutions Computation Cost: O(N M 2 ) Assumption : size of L k is O(M) Advantages: very flexible to distance changes + It is very flexible to distance changes + When it is executed for N, it solves the EP for less than N + It computes all the solutions Disadvantages: -It is not efficient for large N -It is an approximate algorithm We use a polygonal approximation of d(x,y)

Proposed Algorithms : Iso-Level Algorithm (ILA) Results The null plane curves converge to the diagonal (y = x), as N increases At least one solution belongs on the h k (s) null plane curve L2L2 L2L2 L3L3

10 Proposed Algorithms : Steepest Descent based Method Converges to the closest solution to an initial equipartition A B t1t1 t2t2 t3t3 t4t4 C(t) t5t5 r r r r r r r r r r Advantages: + The chords will have exactly the same length, as the end of the last chord is converging to B + For high N (The problem has usually a unique solution), the algorithm will converge + It can be initialized by the results of ILA Disadvantages: Sometimes, it can not converge : - There may appear local minima - Jumps (loops) between different solutions - The initialization should be close to an existing solution A B r r r r N = 3

11 Conclusion We prove that EP admits always a solution, under any smooth metric d(x,y) We prove that EP admits always a solution, under any smooth metric d(x,y) We propose an approximate algorithm (ILA) and a steepest descent based method We propose an approximate algorithm (ILA) and a steepest descent based method The ILA is very flexible to distance changes and it computes all the solutionsThe ILA is very flexible to distance changes and it computes all the solutions The SDM is efficient for high N The SDM is efficient for high N The results of ILA can initialize the SDM The results of ILA can initialize the SDM Applications : Polygonal approximation, Key frames detection, 3D Object Modeling Applications : Polygonal approximation, Key frames detection, 3D Object Modeling Future Work : Future Work : More EP-based Applications More EP-based Applications Test/Improve algorithms that solve the EP problem Test/Improve algorithms that solve the EP problem Proof that EP is Proof that EP is NP-complete? EP Algorithm Input Curve Distance d(x,y) Computation Output Curve