Procedural Modeling of Architectures towards 3D Reconstruction Nikos Paragios Ecole Centrale Paris / INRIA Saclay Ile-de-France Joint Work: P. Koutsourakis,

Slides:



Advertisements
Similar presentations
Iterative Rounding and Iterative Relaxation
Advertisements

The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
1 LP, extended maxflow, TRW OR: How to understand Vladimirs most recent work Ramin Zabih Cornell University.
1 University of Southern California Keep the Adversary Guessing: Agent Security by Policy Randomization Praveen Paruchuri University of Southern California.
Tutorial at ICCV (Barcelona, Spain, November 2011)
Introduction to Algorithms
Exact Inference in Bayes Nets
ICCV 2007 tutorial Part III Message-passing algorithms for energy minimization Vladimir Kolmogorov University College London.
Discrete optimization methods in computer vision Nikos Komodakis Ecole Centrale Paris ICCV 2007 tutorial Rio de Janeiro Brazil, October 2007.
Learning with Inference for Discrete Graphical Models Nikos Komodakis Pawan Kumar Nikos Paragios Ramin Zabih (presenter)
1 Fast Primal-Dual Strategies for MRF Optimization (Fast PD) Robot Perception Lab Taha Hamedani Aug 2014.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
Last Time Pinhole camera model, projection
Linear Programming and Approximation
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
Approximation Algorithms
Stereo & Iterative Graph-Cuts Alex Rav-Acha Vision Course Hebrew University.
Chapter 10: Iterative Improvement
The plan for today Camera matrix
Computational Methods for Management and Economics Carla Gomes
Recovering Articulated Object Models from 3D Range Data Dragomir Anguelov Daphne Koller Hoi-Cheung Pang Praveen Srinivasan Sebastian Thrun Computer Science.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Stereo Computation using Iterative Graph-Cuts
Measuring Uncertainty in Graph Cut Solutions Pushmeet Kohli Philip H.S. Torr Department of Computing Oxford Brookes University.
Linear Programming – Max Flow – Min Cut Orgad Keller.
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
V. V. Vazirani. Approximation Algorithms Chapters 3 & 22
1 Linear Programming:Duality theory. Duality Theory The theory of duality is a very elegant and important concept within the field of operations research.
Design Techniques for Approximation Algorithms and Approximation Classes.
COP 4620 / 5625 Programming Language Translation / Compiler Writing Fall 2003 Lecture 10, 10/30/2003 Prof. Roy Levow.
CS774. Markov Random Field : Theory and Application Lecture 13 Kyomin Jung KAIST Oct
Planar Cycle Covering Graphs for inference in MRFS The Typhon Algorithm A New Variational Approach to Ground State Computation in Binary Planar Markov.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Linear Programming Data Structures and Algorithms A.G. Malamos References: Algorithms, 2006, S. Dasgupta, C. H. Papadimitriou, and U. V. Vazirani Introduction.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Algorithms for MAP estimation in Markov Random Fields Vladimir Kolmogorov University College London.
Fast and accurate energy minimization for static or time-varying Markov Random Fields (MRFs) Nikos Komodakis (Ecole Centrale Paris) Nikos Paragios (Ecole.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
MRF optimization based on Linear Programming relaxations Nikos Komodakis University of Crete IPAM, February 2008.
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
Probabilistic Graphical Models seminar 15/16 ( ) Haim Kaplan Tel Aviv University.
OR Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.
Exact Inference in Bayes Nets. Notation U: set of nodes in a graph X i : random variable associated with node i π i : parents of node i Joint probability:
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
1 Scale and Rotation Invariant Matching Using Linearly Augmented Tree Hao Jiang Boston College Tai-peng Tian, Stan Sclaroff Boston University.
Sporadic model building for efficiency enhancement of the hierarchical BOA Genetic Programming and Evolvable Machines (2008) 9: Martin Pelikan, Kumara.
MAP Estimation in Binary MRFs using Bipartite Multi-Cuts Sashank J. Reddi Sunita Sarawagi Sundar Vishwanathan Indian Institute of Technology, Bombay TexPoint.
Support Vector Machines Reading: Ben-Hur and Weston, “A User’s Guide to Support Vector Machines” (linked from class web page)
The minimum cost flow problem. Solving the minimum cost flow problem.
PRIMAL-DUAL APPROXIMATION ALGORITHMS FOR METRIC FACILITY LOCATION AND K-MEDIAN PROBLEMS K. Jain V. Vazirani Journal of the ACM, 2001.
Photoconsistency constraint C2 q C1 p l = 2 l = 3 Depth labels If this 3D point is visible in both cameras, pixels p and q should have similar intensities.
Approximation Algorithms Duality My T. UF.
Linear Programming Piyush Kumar Welcome to CIS5930.
Ion I. Mandoiu, Vijay V. Vazirani Georgia Tech Joseph L. Ganley Simplex Solutions A New Heuristic for Rectilinear Steiner Trees.
Approximation Algorithms based on linear programming.
Energy minimization Another global approach to improve quality of correspondences Assumption: disparities vary (mostly) smoothly Minimize energy function:
Chapter 8 PD-Method and Local Ratio (5) Equivalence This ppt is editored from a ppt of Reuven Bar-Yehuda. Reuven Bar-Yehuda.
Segmentation of Building Facades using Procedural Shape Priors
? Shape Grammar and Image based 3D reconstruction of buildings
Data Driven Resource Allocation for Distributed Learning
Greedy Technique.
The minimum cost flow problem
Analysis of Algorithms
Discrete Inference and Learning
“Traditional” image segmentation
Presentation transcript:

Procedural Modeling of Architectures towards 3D Reconstruction Nikos Paragios Ecole Centrale Paris / INRIA Saclay Ile-de-France Joint Work: P. Koutsourakis, L. Simon, O. Teboul & N. Komodakis

Outline The language of Architecture Automatic generation of buildings Toward single image-based reconstruction Discrete MRFs, LP and Duality 04/11/0810/04/08

Part I: Shape Grammars

3D reconstruction Emerging technology in information society – Post-production, games, navigation Current Methods: image based – Not scalable, computational expensive, low level, 04/11/0810/04/08

The Geometry of Architecture Very complex geometry… …but deeply structured due to: – Laws – Practical constraints – Economical constraints – Aesthetic motivation Each architectural style is constrained differently. But buildings of the same style obey the same rules. 04/11/0810/04/08

Simple example of structure 04/11/0810/04/08

Architecture as a large scale Lego Architecture is made of repetitions of basic elements, place holders or real elements. – Facades, floors, windows, balconies, doors… A specific style can be describe by : – The specification of the repetitions (geometry)‏ – The nature of the elements (semantics)‏ 04/11/0810/04/08

Shape Grammars Procedural modeling is a set of techniques for creating 3D models from a set of rules. Traditional 3D modeling can be very time consuming for large models. Large scale architectural models are especially suited for this kind of techniques. There is a strong analogy with classical string grammars. 04/11/0810/04/08

Basic Shapes and Scopes The Basic Shapes are for Shape Grammars what Symbols are for String Grammars A Basic Shape is composed of – A Semantic – A fixed geometry – Appearance attributes A Scope provides the orientation, scaling, position of a basic shape 04/11/0810/04/08

Shape 04/11/0810/04/08 The shape is a hierarchical representation (a tree) of the building. Each node holds a basic shape with an associated scope.

Rules : Interacting with shapes A rule can be described as: precondition : LHS  RHS Given a precondition on the context, a LHS shape is replaced by the RHS shape. From the hierarchical point of view some children are added to the node LHS, increasing the depth of the tree. Rules are built from operators 04/11/0810/04/08

The operators of the grammar Except the roof operators (which rely on computational geometry) the operators are fairly simple. – Transformation : rotation,translation, scaling – Split – Repeat – Mirror – Component Split – Roof operators : hipped, mansard 04/11/0810/04/08

Operators continued Splits subdivide a scope along an axis Component split decomposes a mesh into faces Roof operators are based on Weighted Straight Skeleton algorithm 04/11/0810/04/08

Step by step generation 04/11/0810/04/08

Generating : from details to large scale 04/11/0810/04/08

Demos Video\ComplexBuilding.ogg video\roofsAndTexture.ogg 04/11/0810/04/08

Grammar-based reconstruction A building is not described by a geometrical attributes anymore Building = sequence of rules Goal : optimize the sequence of rules that best explains a given facade image 04/11/0810/04/08

Model Quality Evaluation Assuming that the camera has been weakly calibrated, the elements of the resulting model can be reprojected on the image. The score of the model can be defined in terms of a distance between the observed regions and the known semantics. 04/11/0810/04/08

Part II: MRF optimization via the primal-dual schema

The MRF optimization problem vertices G = set of objects edges E = object relationships set L = discrete set of labels V p (x p ) = cost of assigning label x p to vertex p (also called single node potential) ‏ V pq (x p,x q ) = cost of assigning labels (x p,x q ) to neighboring vertices (p,q) (also called pairwise potential) ‏ Find labels that minimize the MRF energy (i.e., the sum of all potentials):

MRF hardness MRF pairwise potential MRF hardness linear exact global optimum arbitrary local optimum metric global optimum approximation Move right in the horizontal axis, But we want to be able to do that efficiently, i.e. fast and remain low in the vertical axis (i.e., still be able to provide approximately optimal solutions) ‏

The primal-dual schema  Say we seek an optimal solution x* to the following integer program (this is our primal problem): (NP-hard problem) ‏  To find an approximate solution, we first relax the integrality constraints to get a primal & a dual linear program: primal LP: dual LP:

The primal-dual schema Goal: find integral-primal solution x, feasible dual solution y such that their primal-dual costs are “close enough”, e.g., primal cost of solution x primal cost of solution x dual cost of solution y dual cost of solution y cost of optimal integral solution x* cost of optimal integral solution x* Then x is an f * -approximation to optimal solution x*

The primal-dual schema sequence of dual costs sequence of primal costs … unknown optimum … The primal-dual schema works iteratively Global effects, through local improvements! Instead of working directly with costs (usually not easy), use RELAXED complementary slackness conditions (easier) ‏ Different relaxations of complementary slackness Different approximation algorithms!!!

(only one label assigned per vertex) enforce consistency between variables x p,a, x q,b and variable x pq,ab The primal-dual schema for MRFs Binary variables x p,a =1 label a is assigned to node p x pq,ab =1 labels a, b are assigned to nodes p, q x p,a =1 label a is assigned to node p x pq,ab =1 labels a, b are assigned to nodes p, q

The primal-dual schema for MRFs During the PD schema for MRFs, it turns out that: each update of primal and dual variables solving max-flow in appropriately constructed graph Max-flow graph defined from current primal-dual pair (x k,y k )  (x k,y k ) defines connectivity of max-flow graph  (x k,y k ) defines capacities of max-flow graph Max-flow graph is thus continuously updated Resulting flows tell us how to update both:  the dual variables, as well as  the primal variables for each iteration of primal-dual schema

primal-dual framework Handles wide class of MRFs Approximately optimal solutions Theoretical guarantees AND tight certificates per instance Significant speed-up for static MRFs Significant speed-up for dynamic MRFs - New theorems - New insights into existing techniques - New view on MRFs

04/11/0810/04/08

Future Work Efficient optimization framework, through neuro- dynamic programming like methods Image-based grammar learning Augmentation of the expressiveness of the grammar Large scale representation of forests of buildings 04/11/0810/04/08

Questions ? 04/11/0810/04/08