transformation must be reversed if vector is the final data type required. Unfortunately, precision and information are lost during the two transforma

Similar documents
morphology on binary images

Digital Image Processing Fundamentals

Application of mathematical morphology to problems related to Image Segmentation

Mathematical Morphology a non exhaustive overview. Adrien Bousseau

Morphological Image Processing

09/11/2017. Morphological image processing. Morphological image processing. Morphological image processing. Morphological image processing (binary)

Chapter 9 Morphological Image Processing

Two Image-Template Operations for Binary Image Processing. Hongchi Shi. Department of Computer Engineering and Computer Science

Digital Image Processing COSC 6380/4393

EE 584 MACHINE VISION

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7)

Morphological Image Processing

Renyan Ge and David A. Clausi

Mathematical Morphology and Distance Transforms. Robin Strand

ECEN 447 Digital Image Processing

Digital Image Processing

EECS490: Digital Image Processing. Lecture #17

Morphological Image Processing

Morphological Image Processing

Lecture 7: Morphological Image Processing

Biomedical Image Analysis. Mathematical Morphology

Albert M. Vossepoel. Center for Image Processing

Lecture 6: GIS Spatial Analysis. GE 118: INTRODUCTION TO GIS Engr. Meriam M. Santillan Caraga State University

CS443: Digital Imaging and Multimedia Binary Image Analysis. Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University

Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu

CITS 4402 Computer Vision

Binary Shape Characterization using Morphological Boundary Class Distribution Functions

Mathematical morphology... M.1 Introduction... M.1 Dilation... M.3 Erosion... M.3 Closing... M.4 Opening... M.5 Summary... M.6

Machine vision. Summary # 5: Morphological operations

EE795: Computer Vision and Intelligent Systems

Fuzzy Soft Mathematical Morphology

Computer Graphics Fundamentals. Jon Macey

Laboratory of Applied Robotics

Module 1 Session 1 HS. Critical Areas for Traditional Geometry Page 1 of 6

What will we learn? What is mathematical morphology? What is mathematical morphology? Fundamental concepts and operations

Shape Prediction Linear Algorithm Using Fuzzy

Automatic Recognition and Resolution of Line Symbol Spatial Conflict in Cartography Based on Elastic Beams Model

Binary Image Processing. Introduction to Computer Vision CSE 152 Lecture 5

Introduction. Computer Vision & Digital Image Processing. Preview. Basic Concepts from Set Theory

1 Introduction. 1.1 Raster-to-vector conversion

CSE528 Computer Graphics: Theory, Algorithms, and Applications

LECTURE 2 SPATIAL DATA MODELS

3D graphics, raster and colors CS312 Fall 2010

SHORTEST PATH ANALYSES IN RASTER MAPS FOR PEDESTRIAN NAVIGATION IN LOCATION BASED SYSTEMS

Research Article Image Segmentation Using Gray-Scale Morphology and Marker-Controlled Watershed Transformation

CSE328 Fundamentals of Computer Graphics

THE DEPTH-BUFFER VISIBLE SURFACE ALGORITHM

IRIS SEGMENTATION OF NON-IDEAL IMAGES

Detection of Edges Using Mathematical Morphological Operators

Image Processing (IP) Through Erosion and Dilation Methods

11/10/2011 small set, B, to probe the image under study for each SE, define origo & pixels in SE

Computational Geometry

IJIRST International Journal for Innovative Research in Science & Technology Volume 1 Issue 10 March 2015 ISSN (online):

3 Polygonal Modeling. Getting Started with Maya 103

Consumer graphics cards for fast image processing based on the Pixel Shader 3.0 standard

Morphology-form and structure. Who am I? structuring element (SE) Today s lecture. Morphological Transformation. Mathematical Morphology

A Fast Algorithm of Neighborhood Coding and Operations in Neighborhood Coding Image. Synopsis. 1. Introduction

Image Processing, Analysis and Machine Vision

An explicit feature control approach in structural topology optimization

Data Models and Data processing in GIS

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations II

Graphics Hardware and Display Devices

Edges and Binary Images

Maximum A Posteriori Selection with Homotopic Constraint

Fast Distance Transform Computation using Dual Scan Line Propagation

1 Background and Introduction 2. 2 Assessment 2

Cover Page. Abstract ID Paper Title. Automated extraction of linear features from vehicle-borne laser data

Binary Image Analysis. Binary Image Analysis. What kinds of operations? Results of analysis. Useful Operations. Example: red blood cell image

Motion Detection Algorithm

CS 5540 Spring 2013 Assignment 3, v1.0 Due: Apr. 24th 11:59PM

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming

3 Data Storage 3.1. Foundations of Computer Science Cengage Learning

NURBS: Non-Uniform Rational B-Splines AUI Course Denbigh Starkey

ROAD DISTRESS ASSESSMENT Application of Mathematical Morphology

[ ] Review. Edges and Binary Images. Edge detection. Derivative of Gaussian filter. Image gradient. Tuesday, Sept 16

Chapter 3. Image Processing Methods. (c) 2008 Prof. Dr. Michael M. Richter, Universität Kaiserslautern

Topic 6 Representation and Description

THE TOOLS OF AUTOMATED GENERALIZATION AND BUILDING GENERALIZATION IN AN ArcGIS ENVIRONMENT

Elaborazione delle Immagini Informazione multimediale - Immagini. Raffaella Lanzarotti

Image Analysis Lecture Segmentation. Idar Dyrdal

Building Detection. Guillem Pratx LIAMA. 18 August BACKGROUND 2 2. IDEA 2

Technical Specifications

Chapter - 2: Geometry and Line Generations

APPLICATION OF FLOYD-WARSHALL LABELLING TECHNIQUE: IDENTIFICATION OF CONNECTED PIXEL COMPONENTS IN BINARY IMAGE. Hyunkyung Shin and Joong Sang Shin

Extension and VLSI Implementation of the Majority-Gate Algorithm for Gray-Scale Morphological Operations

1. Introduction to Constructive Solid Geometry (CSG)

CS-235 Computational Geometry

Theory of 3-4 Heap. Examining Committee Prof. Tadao Takaoka Supervisor

Morphological Image Processing

SOME stereo image-matching methods require a user-selected

Looming Motion Segmentation in Vehicle Tracking System using Wavelet Transforms

Output Primitives. Dr. S.M. Malaek. Assistant: M. Younesi

Masking Lidar Cliff-Edge Artifacts

An improved method for calculating the no-fit polygon

CLASSIFICATION OF BOUNDARY AND REGION SHAPES USING HU-MOMENT INVARIANTS

Course Title: Computer Graphics Course no: CSC209

Color Image Segmentation

Lecture 3: Some Strange Properties of Fractal Curves

Slide 1. Advanced Cartography in ArcGIS. Robert Jensen Edie Punt. Technical Workshops

Semi-Automatic Transcription Tool for Ancient Manuscripts

Transcription:

Vector-based Mathematical Morphology Huayi Wu, Wenxiu Gao State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University, 129 Luoyu Road, Wuhan, 430079, China Telephone: (+86) 27 68778311 Fax: (+86) 68778969 Email: wuhuayi@lmars.whu.edu, wxgao@lmars.whu.edu.cn 1. Introduction Mathematical Morphology (MM) is a mature theory and technique originally developed for processing raster-based binary images. Over time MM was extended to include grayscale functions and images. Today, the generalization of MM to complete lattices is widely accepted as MM's theoretical foundation. Dilation and erosion are the basic operations of MM; dilation expands a figure uniformly, while erosion shrinks a figure uniformly. Expanding and shrinking can be altered in different directions by employing a non-circular structure element such as a diamond shape to constrain MM operations. A sequential combination of dilation and erosion operations can generate various outcomes from a unique figure. It is very useful in some cases to transform the shape of a figure or extract graphic information from figures. For example, a dilation operation plus an erosion operation may remove small holes and the same combination of operations also can determine if two figures are separate or detached. Analogous combinations of operations are widely used in image processing. Such transformation and extraction of potential information from figures is also required in vector-based datasets and applications. MM, however, cannot be directly applied to vector data. Thus, vector data must be transformed into raster data before MM processing operations can be executed. After these operations, the vector to raster 188

transformation must be reversed if vector is the final data type required. Unfortunately, precision and information are lost during the two transformations. In the past, vector-based data processing was considered as computationally intensive. Therefore, raster data were used as an intermediate format to implement some complex algorithms. Nowadays, enhanced computing power supports efficient vector data processing capabilities. Now it is possible to implement the same figure transformation and information extraction from vector data as described above by developing vectorbased MM (VMM). Vector-based MM (VMM) is the focus of this paper. Vector-based dilation and erosion operations are defined so as to directly transform vector figures and extract potential information from vector data. The primary eexperiment proves that such definitions are of some interesting features and may potentially grow to a systematic methodology. 2. Vector-based operations and structure elements 2.1 Dilation and Erosion The two basic operations of VMM, dilation and erosion, are defined as outward buffer and inward buffer of a vector figure. Figure 1 gives an example of dilation operation. Figure 1. An example of dilation operation (Shi and Wu, 2003) The buffer operation is now an ordinary operation in commercial GIS software. However, as a fundamental VMM operation, the basic algorithm must be more efficient; to implement some actions constraints may be set for a buffer operation. 189

Due to the differences between raster and vector data sets, VMM displays some new dilation and erosion operation features. For example, in VMM, (A s) s =A (s s) and (A s) s=a (s s) holds true, even if s is a circle. In MM, errors may occur since the dilation and erosion operations are based on the pixel unit, and not continuous in the 2D plane. 2.2 Structure Element A structure element is an atomic figure used to generate various different shapes from a single figure. It is at the core of operations in raster-based MM. Likewise, for the vector-based operations defined above in section 2.1, outward and inward buffers can be considered as circle structure elements. We also can use non-circle structure elements. For example, a group of points can generate a buffer with an eclipse as a structure element to indicate the point-source pollution area. Figure 2 shows two examples of different results of a shape dilated with different structure elements. Figure 2. Examples of various dilations of a shape with various structure elements 190

3. Composite operations Through combinations of dilation and erosion operations, a series of composite operations can be generated. The two well-known operations are open and close. They are defined as: Open operation: S B=(S B) B Close operation: S B=(S B) B Some other interesting operations may be transplanted from MM to VMM, but special algorithms must be developed to realize them. For example,a skeleton operation generates the most simplified output shape from an input shape. The algorithm is quite intuitive in MM, but is not developed in VMM. 4. Application of generalization of polygonal map Based on the dilation and erosion operations of VMM, we designed different sequential combinations of the two operations to extract possible collision information within a single polygon and to simplify polygons. The method provides a feasible means for polygonal map generalization (e.g.a landuse map) to detect geometric conflicts and generalize polygons. 4.1 To extract possible collision information The black polygon shown in Figure 3 is the original polygon selected from a polygonal map. We implemented inward-outward-buffering to detect collision possibly existing within the left polygon. The blue parts shown in diagram (figure 3) represent the outcome of an inward buffer and the red parts are the outcome of an outward buffer on the blue parts. The areas between the red parts cannot be identified visually on a smallscale map. That is to say, collision may happen at these areas. The performance of the inward-outward-buffering operation is analogous to the open operation of the rasterbased MM. Therefore, we define the inward-outward-buffering operation is the vectorbased open operation. 191

Besides collision, there are some small areas between red boundaries and black boundary. Someof these areas are caused by small curves of the polygon boundary. Such details may not be necessary on a smaller-scale map and may interfere the understanding of the whole features. In addition to the small curves along the boundary, some small areas are elongating along a direction but they also may not be clearly visible on a smaller-scale map. These two cases are typical geometric conflicts occurring in polygonal maps during generalization. They are typically processed in different resolutions during map generalization in MM. Figure 3 Performance of different sequential combination of dilation and erosion operations 4.2 To simply polygons In the right polygon (Figure 3), outward-inward-buffering is implemented on the right polygon. The red polygon is the outcome of the outward buffering; the blue inward buffer is generated from the red polygon. The blue polygon matches closely to the black polygon except the small elongated part in the middle and along the small curves in the black boundary. The whole shape of the blue polygon is smoother and simpler than the black polygon. The performance of the outward-inward-buffering operation is analogous to the close operation of the raster-based MM. Therefore, we define the inward-outwardbuffering operation as the vector-based close operation. 192

It is well-known that the performance of raster-based dilation and erosion operations are strongly related to the size of structure element. Likewise, the performance of vectorbased operations is also impacted by the size of structure element, i.e. in this study, buffer width. For the open operation, with decreasing buffer width, fewer collision areas will exist as shown in the left polygon (Figure 4). For a close operation, with increasing buffer witdh, more details along the polygon boundary will be removed (Figure 4). The leftmost polygon in Figure 4 is the original polygon, and Figures 4 (b)-(e) are the outcomes of the close operation with the buffer width, 0.1, 0.2, 0.3, and 0.4mm respectively. The red polygons are the final polygon after the close operation. From the left to the right, the red polygons become more and more generalized. It provides an efficient solution to derive polygonal maps on different map scales. (a) (b) (c) (d) (e) Figure 4. Performance of the close operations with different buffer widths 5. Conclusions Through outward and inward buffers, a Vector-based Mathematical Morphology (VMM) can be constructed in a systematic way. VMM adds some additional features to those of traditional raster-based Mathematical Morphology. As illustrated by the examples given in this paper, VMM can be applied in map generalization. Many more examples are expected to result from future studies. The work in this paper is a starting point for a new framework for processing map data. 193

6. Acknowledgements The work described in this paper is supported by Natural Science Foundation (40971211 and 41023001). 7. References Ghosh, P.K., 1991, Algebra of plolygons through the notion of negative shapes, CVGIP: Image Understanding, 54(1):119 Serra, J., 1982, Image Analysis and Mathematical Morphology, London. New York: Academic Press Shi, W., Wu, H., 2003, A probabilistic paradigm for handling uncertain objects in GIS by randomized graph algebra, Progress in Natural Science, 13(9):648-657 Wu, H., 1999, Quasi-triangular Network: Data Structure and Algorithms, Ph.D. Thesis, Wuhan University 194