An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.Content is provided to you AS IS for your information and personal use only.Download presentation by click this link.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.During download, if you can't get a presentation, the file might be deleted by the publisher.
Programming Assignment I Nikos’ course website. Stereo correspondence. Images provided. Expansion algorithm. Max-flow code provided. 2 students per group. Deadline: 2 weeks.
Recap Label l1 Label l0 Vb Vc Va da db dc Labeling f : VL D : Observed data (image) V : Unobserved variables L : Discrete, finite label set
Recap Label l1 Label l0 Vb Vc Va da db dc Labeling f : VL D : Observed data (image) V : Unobserved variables Va is assigned lf(a) L : Discrete, finite label set
Recap 0 6 2 0 4 Label l1 1 2 3 1 Label l0 1 5 0 3 2 bc;f(b)f(c) Vb Vc Va a;f(a) da db dc Q(f; ) = ∑a a;f(a) + ∑(a,b) ab;f(a)f(b)
Recap 0 6 2 0 4 Label l1 1 2 3 1 Label l0 1 5 0 3 2 Vb Vc Va da db dc f* = argminf Q(f; ) Q(f; ) = ∑a a;f(a) + ∑(a,b) ab;f(a)f(b)
Mathematical Optimization min g0(x) Objective function s.t. gi(x) ≤ 0 Inequality constraints hi(x) = 0 Equality constraints x is a feasible point gi(x) ≤ 0, hi(x) = 0 x is a strictlyfeasible point gi(x) < 0, hi(x) = 0 Feasible region - set of all feasible points
Convex Optimization min g0(x) Objective function s.t. gi(x) ≤ 0 Inequality constraints hi(x) = 0 Equality constraints Feasible region is convex Objective function is convex Convex set? Convex function?
Convex Set Line Segment x1 x2 c x1 + (1 - c) x2 c [0,1] Endpoints
Convex Set x1 x2 All points on the line segment lie within the set For all line segments with endpoints in the set
Examples of Convex Sets Semidefinite Cone {X | X0} aTXa ≥ 0, for all a Rn All eigenvalues of X are non-negative aTX2a ≥ 0 aTX1a ≥ 0 aT(cX1 + (1-c)X2)a ≥ 0
Convex Optimization min g0(x) Objective function s.t. gi(x) ≤ 0 Inequality constraints hi(x) = 0 Equality constraints Feasible region is convex Objective function is convex
Linear Programming min g0(x) Objective function s.t. gi(x) ≤ 0 Inequality constraints hi(x) = 0 Equality constraints min g0Tx Linear function s.t. giTx ≤ 0 Linear constraints hiTx = 0 Linear constraints
Quadratic Programming min g0(x) Objective function s.t. gi(x) ≤ 0 Inequality constraints hi(x) = 0 Equality constraints min xTQx + aTx + b Quadratic function s.t. giTx ≤ 0 Linear constraints hiTx = 0 Linear constraints
Second-Order Cone Programming min g0(x) Objective function s.t. gi(x) ≤ 0 Inequality constraints hi(x) = 0 Equality constraints min g0Tx Linear function Quadratic constraints s.t. xTQix + aiTx + bi ≤ 0 hiTx = 0 Linear constraints
Semidefinite Programming min g0(x) Objective function s.t. gi(x) ≤ 0 Inequality constraints hi(x) = 0 Equality constraints min Q X Linear function s.t. X 0 Semidefinite constraints Ai X = 0 Linear constraints