How to reform a terrain into a pyramid Takeshi Tokuyama (Tohoku U) Joint work with Jinhee Chun (Tohoku U) Naoki Katoh (Kyoto U) Danny Chen (U. Notre Dame)

Slides:



Advertisements
Similar presentations
Chapter 4 Partition I. Covering and Dominating.
Advertisements

Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
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.
Fast Algorithms For Hierarchical Range Histogram Constructions
Approximations of points and polygonal chains
Introduction to Algorithms
Dragan Jovicic Harvinder Singh
Global Flow Optimization (GFO) in Automatic Logic Design “ TCAD91 ” by C. Leonard Berman & Louise H. Trevillyan CAD Group Meeting Prepared by Ray Cheung.
CDS 301 Fall, 2009 Image Visualization Chap. 9 November 5, 2009 Jie Zhang Copyright ©
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
1 s-t Graph Cuts for Binary Energy Minimization  Now that we have an energy function, the big question is how do we minimize it? n Exhaustive search is.
1 Minimum Ratio Contours For Meshes Andrew Clements Hao Zhang gruvi graphics + usability + visualization.
10/11/2001Random walks and spectral segmentation1 CSE 291 Fall 2001 Marina Meila and Jianbo Shi: Learning Segmentation by Random Walks/A Random Walks View.
x – independent variable (input)
An Algorithm for Polytope Decomposition and Exact Computation of Multiple Integrals.
Reducing Multi-Valued Algebraic Operations to Binary J.-H. Roland Jiang Alan Mishchenko Robert K. Brayton Dept. of EECS University of California, Berkeley.
CES 514 – Data Mining Lecture 8 classification (contd…)
Vertex Cover, Dominating set, Clique, Independent set
UNC Chapel Hill M. C. Lin Overview of Last Lecture About Final Course Project –presentation, demo, write-up More geometric data structures –Binary Space.
reconstruction process, RANSAC, primitive shapes, alpha-shapes
Fat Curves and Representation of Planar Figures L.M. Mestetskii Department of Information Technologies, Tver’ State University, Tver, Russia Computers.
Image Morphing, Triangulation CSE399b, Spring 07 Computer Vision.
Graph-Cut Algorithm with Application to Computer Vision Presented by Yongsub Lim Applied Algorithm Laboratory.
Exposure In Wireless Ad-Hoc Sensor Networks S. Megerian, F. Koushanfar, G. Qu, G. Veltri, M. Potkonjak ACM SIG MOBILE 2001 (Mobicom) Journal version: S.
Scientific Data Representation and Mapping
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
Hubert CARDOTJY- RAMELRashid-Jalal QURESHI Université François Rabelais de Tours, Laboratoire d'Informatique 64, Avenue Jean Portalis, TOURS – France.
CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 Repeat the HW associated with the FD LBI except that you will now use.
What we didn’t have time for CS664 Lecture 26 Thursday 12/02/04 Some slides c/o Dan Huttenlocher, Stefano Soatto, Sebastian Thrun.
CS774. Markov Random Field : Theory and Application Lecture 13 Kyomin Jung KAIST Oct
10/11/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova, K. Wayne Adam Smith Algorithm Design and Analysis L ECTURE 22 Network.
Bounding Variance and Expectation of Longest Path Lengths in DAGs Jeff Edmonds, York University Supratik Chakraborty, IIT Bombay.
CIS 601 Image ENHANCEMENT in the SPATIAL DOMAIN Dr. Rolf Lakaemper.
Flow Simulation in TINs Drainage Queries in TINs: from local to global and back again S. Yu, M. van Kreveld, and J. Snoeylink.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
Ch 4. Linear Models for Classification (1/2) Pattern Recognition and Machine Learning, C. M. Bishop, Summarized and revised by Hee-Woong Lim.
Learning Spectral Clustering, With Application to Speech Separation F. R. Bach and M. I. Jordan, JMLR 2006.
Computing Inner and Outer Shape Approximations Joseph S.B. Mitchell Stony Brook University.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
Approximate Inference: Decomposition Methods with Applications to Computer Vision Kyomin Jung ( KAIST ) Joint work with Pushmeet Kohli (Microsoft Research)
UNC Chapel Hill M. C. Lin Introduction to Motion Planning Applications Overview of the Problem Basics – Planning for Point Robot –Visibility Graphs –Roadmap.
CDS 301 Fall, 2008 Image Visualization Chap. 9 November 11, 2008 Jie Zhang Copyright ©
Giansalvo EXIN Cirrincione unit #4 Single-layer networks They directly compute linear discriminant functions using the TS without need of determining.
Morphological Image Processing
Sect. 4.1 Antiderivatives Sect. 4.2 Area Sect. 4.3 Riemann Sums/Definite Integrals Sect. 4.4 FTC and Average Value Sect. 4.5 Integration by Substitution.
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
Approximation Algorithms based on linear programming.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Applications of Integration Copyright © Cengage Learning. All rights reserved.
Mathematical Foundations of AI
Computation of the solutions of nonlinear polynomial systems
Core-Sets and Geometric Optimization problems.
3D Object Representations
Nonnegative polynomials and applications to learning
Orthogonal Range Searching and Kd-Trees
Computability and Complexity
Polynomial DC decompositions
Kang Li1, Xiaodong Wu1, Danny Z. Chen2, Milan Sonka1
Design of Hierarchical Classifiers for Efficient and Accurate Pattern Classification M N S S K Pavan Kumar Advisor : Dr. C. V. Jawahar.
Efficient Algorithms for the Weighted k-Center Problem on a Real Line
Dynamic Data Structures for Simplicial Thickness Queries
Problem Solving 4.
Approximating Points by A Piecewise Linear Function: I
Algorithm design (computational geometry)
CIS 4350 Image ENHANCEMENT SPATIAL DOMAIN
Numerical Computation and Optimization
“Traditional” image segmentation
Presentation transcript:

How to reform a terrain into a pyramid Takeshi Tokuyama (Tohoku U) Joint work with Jinhee Chun (Tohoku U) Naoki Katoh (Kyoto U) Danny Chen (U. Notre Dame) Pictures from web page of Institute of Egyptology, Waseda University, Japan

Outline Motivations and definitions One-dimensional problem General case, reducing to the longest path problem in a large DAG A two-dimensional problem reducing to the longest path problem in a small DAG A higher-dimensional problem reducing to the minimum s-t cut problem in a directed graph Applications and discussion

Re-shaping problem: Given a geometric object, transform it to a “well-shaped” object. The solution depends on the definition of “well-shaped”. Convex  convex hull, convex approximation Surface  surface reconstruction Smooth  smoothing Union of simple shapes  decomposition problem covering problem Mountain-like shape  Pyramid problem

Intuitive (but non-mathematical) formulation Input: A terrain corresponding to a nonnegative function ρ Procedure: Move earth from higher to lower positions (smoothing operation losing potential) Output: A mountain with the maximum positional potential If d=1, “mountain” means “a region below a nonnegative unimodal curve”. If d=2, a monochromatic image can be an input, where ρ indicates the brightness

Examples of pyramid construction problem

Motivations How to extract the feature of the following picture (or data distribution) ? Image processing Data mining Statistics

Extract a dense rectangle

Image segmentation Partition the picture into an object and background

Extract as a pyramidic (or “fuzzy”) object Looks like a sliced onion, but different from the “onion structure” in computational geometry.

Input: A nonnegative function ρ on R d and a family F of regions in R d. We assume. Output: A “pyramid” function from (0,∞) to F. That is, a series of regions P(t) (0 t’. Objective: Maximize ρ ( R) : Integral of ρ over a region R μ gives the measure of the space (e.g. if μ≡1, μ ( R) is the volume) Mathematical formulation F is a set of squares for pyramids in Egypt.

Equivalence of two formulations For a pyramid with condition (1), positional potential f(x)= max { t : x P(t)} :surface function of the pyramid. For the optimal pyramid, for any t, This means “move earth to lower position” mass of terrain ― (1)

One dimensional problem Discrete version: ρ is a nonnegative function on the interval [0, n], and F is the set of all integral intervals in [0,n]. (output is rectilinear) Continuous version: ρ and μ are piecewise- linear functions with n linear pieces, and F is the set of all intervals. Theorem. The optimal pyramid can be computed in O( n log n) time. Use convex hull tree

Higher dimensional cases, if |F| is small Corollary: The optimal pyramid can be computed in O(|F| 3 ) time G(F): directed graph on F, and a directed edge e(R, R’) exists if and only if R R’ Theorem: A pyramid gives a directed path (R 1,R 2,…,R s ) in G(F), and the optimal pyramid gives the maximum weight path. t(e(R,R’)): solution of Weight: w(e(R,R’))= Unfortunately, |F| is often large.

Closed family of regions A family F of regions is called a closed family if it is closed under union and intersection operations. That is, A ∪ B and A∩B are members of F if A and B are members of F Lemma. If F is closed, the horizontal slice P(t) of the optimal pyramid is the region R(t) maximizing and A=R(t) and B=R(t’) A ∪ B=R(t) A∩B=R(t’)

What is the region family for this pyramid ? U(p)= “closure” of the set of all rectangles containing a given point p (rectangle unions stabbed at p)

Rectangle containing a given point p p Rectangles containing p p Union of rectangles stabbed at p Corresponding pyramid

Input: pixel grid with n pixels, positive matrices ρ and μ representing functions, and a grid point p. Output: The optimal pyramid of ρ for U(p) Optimal pyramid for the rectangle unions stabbed at p Theorem. The optimal pyramid for U(p) can be computed in O(n log n γ) time, where γ is the input precision.

Algorithm to compute the slide of the optimal pyramid at height t Matrix ( ρ- t μ ) (for p=(0,0)) Table of prefix sums

Computation of the region Linear time for computing a flat P(t). (Longest path in a DAG.) Binary decomposition process attains O(n log nγ) time to compute the pyramid.

Higher dimensional case F d (p) = closure (under union) of the family of d- dimensional axis-parallel orthogonal regions containing a grid point p Theorem The optimal pyramid of a d-dimensional terrain in a pixel grid with n pixels with respect to F d (p) can be computed in O(t(n,n) log nγ) time, where t(n,n) is the time to compute a minimum s-t cut in a directed graph with O(n) nodes and O(n) edges.

s t The cut maximizing the sum of node weights of dominated vertices

The cut in G minimizing the sum of node weights of dominated vertices = minimum s-t cut in a modified directed graph G’ (Hochbaum(01)) G Positive weighted nodes Negative weighted nodes s t

Construction of G’ (an example) s t

Other closed region families Connected lower half region of a grid curve Closure of L-shape paths The optimal pyramid for these region families can be efficiently computed We can also handle its higher dimensional analogue

Data mining application of segmentation

Output of SONAR data mining system (System for Optimized Numeric Association Rules) Given a database that contains 3.54% of unreliable customers (Age, Balance) ∈ R ⇒ (CardLoanDelay = yes) R contains about 10% of customers and maximizes the probability (14.39%) of unreliable customers.

Conclusion Pyramid construction A new geometric optimization problem Application to fuzzy segmentation Application to data mining Polynomial time algorithms for special cases Open problems Is the problem NP hard for the families of rectilinear convex regions (or convex regions)? Give an efficient algorithm for the family of (axis parallel) rectangles