Using a Projected Subgradient Method to Solve a Constrained Optimization Problem for Separating an Arbitrary Set of Points into Uniform Segments

Similar documents
Reflection and Refraction

5.2 Properties of Rational functions

Larger K-maps. So far we have only discussed 2 and 3-variable K-maps. We can now create a 4-variable map in the

9.8 Graphing Rational Functions

L ENSES. Lenses Spherical refracting surfaces. n 1 n 2

Trigonometric Functions. Copyright Cengage Learning. All rights reserved.

Systems of Equations and Inequalities. Copyright Cengage Learning. All rights reserved.

PATH PLANNING OF UNMANNED AERIAL VEHICLE USING DUBINS GEOMETRY WITH AN OBSTACLE

Piecewise polynomial interpolation

Concavity. Notice the location of the tangents to each type of curve.

SYSTEMS OF NONLINEAR EQUATIONS

Rational Functions. Definition A rational function can be written in the form. where N(x) and D(x) are

Quiz 6 Practice Problems

Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives

Geology and Calculus

Grad operator, triple and line integrals. Notice: this material must not be used as a substitute for attending the lectures

Scalable Test Problems for Evolutionary Multi-Objective Optimization

6, 1 0, f x x 1 2 x h x x x 3, f x sin x cos x, f x x 2 6x 5 f x 4x 3 5x 30. g x x3 8x 31. f x x f x x2 3x 4 33.

Computer Graphics : Bresenham Line Drawing Algorithm, Circle Drawing & Polygon Filling

Skill Sets Chapter 5 Functions

In today s lecture we ll have a look at: A simple technique The mid-point circle algorithm

Jim Lambers MAT 169 Fall Semester Lecture 33 Notes

Chapter 3 Image Enhancement in the Spatial Domain

13.1. Functions of Several Variables. Introduction to Functions of Several Variables. Functions of Several Variables. Objectives. Example 1 Solution

KANGAL REPORT

MAPI Computer Vision. Multiple View Geometry

521466S Machine Vision Exercise #1 Camera models

WHAT YOU SHOULD LEARN

Polar Coordinates. Calculus 2 Lia Vas. If P = (x, y) is a point in the xy-plane and O denotes the origin, let

Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers

A function: A mathematical relationship between two variables (x and y), where every input value (usually x) has one output value (usually y)

The Graph of an Equation Graph the following by using a table of values and plotting points.

3.3 Optimizing Functions of Several Variables 3.4 Lagrange Multipliers

UNIT #2 TRANSFORMATIONS OF FUNCTIONS

Level Curves and Contour Maps (sec 14.1) & Partial Derivatives (sec 14.3) Today, We Will: Level Curves. Notes. Notes. Notes.

Curves, Tangent Planes, and Differentials ( ) Feb. 26, 2012 (Sun) Lecture 9. Partial Derivatives: Signs on Level Curves, Tangent

14.5 Directional Derivatives and the Gradient Vector

Appendix E Calculating Normal Vectors

Finding the slope to base angle of the virtual pyramid Case 1

where ~n = ( ) t is the normal o the plane (ie, Q ~ t ~n =,8 Q ~ ), =( ~ X Y Z ) t and ~t = (t X t Y t Z ) t are the camera rotation and translation,

Lecture 15: Segmentation (Edge Based, Hough Transform)

Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives

14.6 Directional Derivatives and the Gradient Vector

On the Geometry of Visual Correspondence

HOUGH TRANSFORM CS 6350 C V

Geometric Registration for Deformable Shapes 2.2 Deformable Registration

Representative Fraction (RF) is a numerical statement of the scale relationship. e.g., 1:24,000 or 1/24,000

Calypso Construction Features. Construction Features 1

CS485/685 Computer Vision Spring 2012 Dr. George Bebis Programming Assignment 2 Due Date: 3/27/2012

Neighbourhood Operations

Test Name: Chapter 3 Review

Unit 10 Reflection. Grading: Show all work, keeping it neat and organized. Show equations used and include all units.

Advanced Algebra. Equation of a Circle

SPM Add Math Form 5 Chapter 3 Integration

A Cylindrical Surface Model to Rectify the Bound Document Image

Computational Geometry. Geometry Cross Product Convex Hull Problem Sweep Line Algorithm

Computer Data Analysis and Use of Excel

Fall 2016 Semester METR 3113 Atmospheric Dynamics I: Introduction to Atmospheric Kinematics and Dynamics

ES 240: Scientific and Engineering Computation. a function f(x) that can be written as a finite series of power functions like

The Differential df, the Gradient f, & the Directional Derivative Dû f sec 14.4 (cont), Goals. Warm-up: Differentiability. Notes. Notes.

16.6. Parametric Surfaces. Parametric Surfaces. Parametric Surfaces. Vector Calculus. Parametric Surfaces and Their Areas

Section 18-1: Graphical Representation of Linear Equations and Functions

2. Recommended Design Flow

Lab 21.1 The Tangent Galvanometer

Computer Data Analysis and Plotting

Question 2: How do you solve a linear programming problem with a graph?

Chapter 34. Images. Two Types of Images. A Common Mirage. Plane Mirrors, Extended Object. Plane Mirrors, Point Object

d f(g(t), h(t)) = x dt + f ( y dt = 0. Notice that we can rewrite the relationship on the left hand side of the equality using the dot product: ( f

Reflection and Refraction

Reducing the Bandwidth of a Sparse Matrix with Tabu Search

Binary Morphological Model in Refining Local Fitting Active Contour in Segmenting Weak/Missing Edges

Output Primitives Lecture: 4. Lecture 4

A Proposed Approach for Solving Rough Bi-Level. Programming Problems by Genetic Algorithm

Area and Volume. where x right and x left are written in terms of y.

2.3 Additional Relations

Chapter 3. Sukhwinder Singh

EXTREME POINTS AND AFFINE EQUIVALENCE

The Rational Zero Theorem

Lifting Transform, Voronoi, Delaunay, Convex Hulls

Relaxing the 3L algorithm for an accurate implicit polynomial fitting

(c) 0 (d) (a) 27 (b) (e) x 2 3x2

Himanshu Jain and Kalyanmoy Deb, Fellow, IEEE

The diagram above shows a sketch of the curve C with parametric equations

Math 2A Vector Calculus Chapter 11 Test Fall 07 Name Show your work. Don t use a calculator. Write responses on separate paper.

Chapter 5 Partial Differentiation

Log1 Contest Round 1 Theta Circles & Polygons. 4 points each. 5 points each

Research on Image Splicing Based on Weighted POISSON Fusion

The Cut Locus and the Jordan Curve Theorem

6. Find the equation of the plane that passes through the point (-1,2,1) and contains the line x = y = z.

Multivariate Calculus Review Problems for Examination Two

Polar Coordinates. 2, π and ( )

A Singular Example for the Averaged Mean Curvature Flow

Computer Vision. Image Segmentation. 10. Segmentation. Computer Engineering, Sejong University. Dongil Han

Road Sign Analysis Using Multisensory Data

Balanced Multiresolution for Symmetric/Antisymmetric Filters

Math 20C. Lecture Examples.

UNIT 2 GRAPHIC PRIMITIVES

Renderer Implementation: Basics and Clipping. Overview. Preliminaries. David Carr Virtual Environments, Fundamentals Spring 2005

Classifier Evasion: Models and Open Problems

Rasterization. COMP 575/770 Spring 2013

Transcription:

Using a Projected Subgradient Method to Solve a Constrained Optimization Problem or Separating an Arbitrary Set o Points into Uniorm Segments Michael Johnson May 31, 2011 1 Background Inormation The Airborne Topographic Mapper [Kra09] is a circular scanning LIDAR that measures surace height along a track as the aircrat lies overhead. We desire to run analysis on how the topography is changing along the track, using bins o constant along-track length to do so. As the data is stored in long vectors o latitude, longitude, and height sorted only in time, the circular pattern in which the data is recorded does not allow simple sorting methods to be used to bin the data. We propose to use optimization methods to locate the points on the boundary o the track that yield the bins o constant length. Figure 1 illustrates a sample track o data being considered, which was taken over sea ice above Northern Greenland in 2009. Please reer to the project proposal and progress report or more background inormation on the problem and data. 2 Model Figure 2 illustrates a simpliied instance o this problem which assumes the track boundaries, B 1 and B 2, are straight, parallel lines. A track bin is deined as the area enclosed by a starting line segment connecting B 1 and B 2 and an ending line segment connecting B 1 and B 2. The segment length is deined as the distance between the center o the starting line segment, x s, and the center o the ending line segment, x. The points x 1 and x 2 are known, and we wish to ind the points x 3, x 4, and x (which are all related) that enclose the track bin. The circle o radius α deines the possible points or the center o the next line segment that is a distance o α away rom our starting point. In this problem instance, the obvious choice o x 3, x 4, and x are shown, as they are the points that create the most uniorm segment o length α. The length d o our optimal ending line segment has the minimum 1

83.7 Sample Track o ATM Measurements Latitude 83.69 83.68 83.67 83.66 83.65 83.64 83.63 83.62 83.61 327.7 327.8 327.9 328 328.1 328.2 328.3 Longitude Figure 1: Sample track o ATM measurements length o any line segment ormed by the intersection o the boundaries with a line tangent to our circle. Thereore, solving this problem involves minimizing the length o this line segment. Figure 2: Simpliied Instance This simpliied instance will be used to solve this problem or the actual data. The nonconvex nature o the boundaries will be addressed by using an aine approximation which is updated as the solution progresses. A mathematical model o this problem is: minimize x 3 x 4 2 subject to x 3 = A 1 1 b 1 x 4 = A 1 2 b 2 x x s 2 = α The equations or x 3 and x 4 are ormed as the solution to the problem o inding the 2 (1)

intersection between the boundaries and the line tangent to the circle at point x. For simplicities sake, we will consider the point x s to be the origin o our rame so can be ignored in uture equations. Likewise, we will use x = [x y] T. In solving or the intersection o the two lines, we get: [ ] [ ] x y x T A 1 =, b m B1 1 1 = x (2) b B1 In equation (2), m B1 reers to the slope o our aine approximation to the track boundaries, and b B1 reers to the intercept. Because A and b are dependent on the point x, there is not a simple closed orm solution to this problem. The problem can be progressed by inputting the deinitions or x 3 and x 4 into the objective unction and splitting the vector into its constituents to give us F (x, y). The gradient can then be ormed as F (x, y) = [δf/δx δf/δy] T. Although in general F (x, y) is a non-convex unction, it can be shown to be convex when x is constrained to lie on the circle. The derivation or F (x, y) using (1) and (2) is as ollows. Using the deinitions or x 3 and x 4, the objective unction becomes: F (x, y) = x 3 x 4 2 = A 1 1 b 1 A 1 2 b 2 2 (3) Using the deinitions o A and b and x = [x y] T gives us an equation o the orm: Where: F (x, y) = 1 (x, y) + g(x, y) (4) h(x, y) h(x, y) = (x + m 1 y)(x + m 2 y) (x, y) = (x 2 + y 2 b 1 y)(x + m 2 y) (x 2 + y 2 b 2 y)(x + m 1 y) g(x, y) = (m 1 x 2 + b 1 x + m 1 y 2 )(x + m 2 y) (m 2 x 2 + b 2 x + m 2 y 2 )(x + m 1 y) Using these equations, we similarly get expressions or δf/δx and δf/δy. Dropping the (x, y) notation or simplicity, we have: δf/δx = (1/h 2 )(h[2(δ/δx) + 2g(δg/δx)] (δh/δx)[ 2 + g 2 ] δf/δy = (1/h 2 )(h[2(δ/δy) + 2g(δg/δy)] (δh/δy)[ 2 + g 2 ] Using the equations in (5), we get: δh/δx = 2x + (m 1 + m 2 )y δh/δy = 2m 1 m 2 y + (m 1 + m 2 )x δ/δx = 2x(x + m 2 y) + (x 2 + y 2 b 1 y) 2x(x + m 1 y) + (x 2 + y 2 b 2 y) δ/δy = (2y b 1 )(x + m 2 y) + m 2 (x 2 + y 2 b 1 y) (2y b 2 )(x + m 1 y) + m 1 (x 2 + y 2 b 2 y) δg/δx = (2m 1 x + b 1 )(x + m 2 y) + (m 1 x 2 + b 1 x + m 1 y 2 )... (2m 2 x + b 2 )(x + m 1 y) + (m 2 x 2 + b 2 x + m 2 y 2 ) δg/δy = 2m 1 y(x + m 2 y) + m 2 (m 1 x 2 + b 1 x + m 1 y 2 )... 2m 2 y(x + m 1 y) + m 1 (m 2 x 2 + b 2 x + m 2 y 2 ) (7) 3 (5) (6)

The equations presented in (5), (6), and (7) allow us to orm the gradient o the objective unction. Figure 3: Unconstrained objective unction Figure 3 shows a plot o the unconstrained objective unction. The large increase in value is attributed to when the line tangent to the circle is parallel to the boundaries. The unction is convex on each halplane and using the gradient will lower the objective value and ensures that x stays on the proper side o x s ; we do not want the segment to go to a section o the track that is already segmented. 3 Algorithm It is proposed to solve this problem using a projected subgradient method [Boy11] because o the constraint that the solution lie on the circle centered around x s. Do while not converged: Generate linear approximation o boundaries Do while not converged: Calculate F (x (k) ), the gradient at F (x(k) Take x (k+1) = P(x (k) γ k F (x (k) )) ) where P is the projection onto the circle centered around x s, γ k is the step length (could be 1/k) Update linear approximation o boundaries based on solution 4

As The objective is dierentiable, the subgradient is the gradient o the unction which simpliies the procedure. The constraint that x lie on the circle centered at x s with radius α requires the projection, as the gradient o the unconstrained objective unction will not keep the value o x (k) constrained to the circle. Projection onto the circle can be done in the ollowing manner. Using x s = [0 0] T, we calculate θ = tan 1 (y (k) /x (k) ) to determine the angle that the current value o x (k) makes with x s. Projecting the point onto the circle is then: [ ] x (k) αcosθ = (8) αsinθ Equation (8) will give the point on the circle that is closest to the x calculated using the gradient o the objective. 4 Results and Conclusion The method and algorithm described in this paper was applied to the set o data shown in igure 1. This dataset was chosen as it has multiple traits that are to be tested. The track contains near-straight sections, curved sections, kinks, sections where the track width narrows, and sections o missing measurements. The latter traits introduce non-uniormity to the boundaries which will test the robustness o the model and algorithm. 4000 3000 2000 1000 0 1000 2000 3000 5000 0 5000 Figure 4: The entire track segmented. 5

700 800 900 1000 1100 1200 1300 1400 1500 1600 3000 2800 2600 2400 2200 2000 (a) Detail 1 3000 3100 3200 3300 3400 3500 3600 3700 3800 3900 1600 1400 1200 1000 800 600 (b) Detail 2 3100 300 3200 200 3300 100 3400 3500 3600 3700 3800 0 100 200 300 400 3900 500 4000 600 1000 1200 1400 1600 1800 2000 2200 (c) Detail 3 2800 3000 3200 3400 3600 3800 4000 (d) Detail 4 Figure 5: Details o segmented track Figure 4 shows the entire track ater segmentation to show the method worked on the entire track. The details in igure 5 show close-ups o several segments o the track to illustrate the perormance o the algorithm. In the igures, the dashed lines connect x 3 and x 4 that are calculated or each segment, which are shown as stars along the track boundary. Figure 5a shows a relatively straight section o track ater segmentation. Figure 5b shows the portion o the track where the boundary narrows due to bad measurements. The algorithm is able to successully segment and pass through this region. Likewise, igure 5c shows the portion o the track that has a large gap in both boundaries, again due to bad measurements. Even though the boundaries are missing, the algorithm makes a visually good approximation to what the segments may be like. Figure 5d shows the area o the track with modest kinks. The algorithm segments this region without problem, and the pattern o the segments at the kinks visually makes: adjacent boundary points are closer together on the inside o the kink and arther apart on the outside o the kink. The results presented in this section suggest the model and algorithm described is adequate at solving this problem. Ater careul selection o problem parameters, the method is shown to be robust, eicient, and accurate. 6

Reerences [Boy11] S. Boyd. Subgradient Methods or Constrained Problems, EE364B Lecture Notes. Stanord Univeristy, 2011. [Kra09] William B Krabill. IceBridge ATM L1B Qit Elevation and Return Strength. Boulder, Colorado USA: National Snow and Ice Data Center. Digital Media, 2009. 7