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

Similar documents
Morphological Image Processing

Morphological Image Processing

Biomedical Image Analysis. Mathematical Morphology

Morphological Image Processing

Morphological Image Processing

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

morphology on binary images

Mathematical Morphology and Distance Transforms. Robin Strand

EECS490: Digital Image Processing. Lecture #17

International Journal of Advance Engineering and Research Development. Applications of Set Theory in Digital Image Processing

Lecture 7: Morphological Image Processing

Morphological Image Processing

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

Morphological Image Processing

Morphological Compound Operations-Opening and CLosing

Chapter 9 Morphological Image Processing

Machine vision. Summary # 5: Morphological operations

EE 584 MACHINE VISION

CITS 4402 Computer Vision

Digital Image Processing COSC 6380/4393

Mathematical morphology (1)

Elaborazione delle Immagini Informazione multimediale - Immagini. Raffaella Lanzarotti

Morphological Image Processing

EE795: Computer Vision and Intelligent Systems

Processing of binary images

Image Analysis. Morphological Image Analysis

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

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

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

Morphological Image Algorithms

11. Gray-Scale Morphology. Computer Engineering, i Sejong University. Dongil Han

From Pixels to Blobs

CLASSIFICATION OF BOUNDARY AND REGION SHAPES USING HU-MOMENT INVARIANTS

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

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

Lecture 3: Basic Morphological Image Processing

SETS. Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets.

Interpolation is a basic tool used extensively in tasks such as zooming, shrinking, rotating, and geometric corrections.

Topic 6 Representation and Description

Detection of Edges Using Mathematical Morphological Operators

Digital image processing

ECEN 447 Digital Image Processing

SECTION 5 IMAGE PROCESSING 2

Digital Image Processing Fundamentals

Morphological Image Processing GUI using MATLAB

DEVELOPMENT OF A MATHEMATICAL MORPHOLOGY TOOL FOR EDUCATION PURPOSE

Computer Vision & Digital Image Processing. Image segmentation: thresholding

Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu

PPKE-ITK. Lecture

CS534 Introduction to Computer Vision Binary Image Analysis. Ahmed Elgammal Dept. of Computer Science Rutgers University

Image Processing (IP) Through Erosion and Dilation Methods

Ice-Floe Simulation Viewer Tool

Finger Print Analysis and Matching Daniel Novák

Digital Image Processing Lecture 7. Segmentation and labeling of objects. Methods for segmentation. Labeling, 2 different algorithms

Digital Image Processing

Lab 2. Hanz Cuevas Velásquez, Bob Fisher Advanced Vision School of Informatics, University of Edinburgh Week 3, 2018

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

Connected components - 1

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

Disease Prediction of Paddy Crops Using Data Mining and Image Processing Techniques

Filters. Advanced and Special Topics: Filters. Filters

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

Erosion, dilation and related operators

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

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

VC 10/11 T9 Region-Based Segmentation

Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Sets Fall / 31

Digital Image Processing

10.5 Morphological Reconstruction

EECS490: Digital Image Processing. Lecture #23

Morphological track 1

SPEED OPTIMIZATION OF CT-BASED MICROSTRUCTURE DETERMINATION USING MATRIX DECOMPOSITION

ECG782: Multidimensional Digital Signal Processing

Character Recognition of High Security Number Plates Using Morphological Operator

University of Groningen. Morphological design of Discrete-Time Cellular Neural Networks Brugge, Mark Harm ter

Basic relations between pixels (Chapter 2)

Mathematical Morphology a non exhaustive overview. Adrien Bousseau

Fuzzy Soft Mathematical Morphology

2 Review of Set Theory

Image Enhancement: To improve the quality of images

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

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

2.1 Sets 2.2 Set Operations

Application of mathematical morphology to problems related to Image Segmentation

Digital Image Processing Chapter 11: Image Description and Representation

Edge Detection Using Morphological Method and Corner Detection Using Chain Code Algorithm

Rectangular Coordinates in Space

Introduction to Medical Imaging (5XSA0)

ECG782: Multidimensional Digital Signal Processing

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

What will we learn? Neighborhood processing. Convolution and correlation. Neighborhood processing. Chapter 10 Neighborhood Processing

Introduction to grayscale image processing by mathematical morphology

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

Binary Shape Characterization using Morphological Boundary Class Distribution Functions

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

Review of Sets. Review. Philippe B. Laval. Current Semester. Kennesaw State University. Philippe B. Laval (KSU) Sets Current Semester 1 / 16

EC-433 Digital Image Processing

MORPHOLOGICAL EDGE DETECTION AND CORNER DETECTION ALGORITHM USING CHAIN-ENCODING

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

What is Set? Set Theory. Notation. Venn Diagram

Transcription:

Introduction Computer Vision & Digital Image Processing Morphological Image Processing I Morphology a branch of biology concerned with the form and structure of plants and animals Mathematical morphology a tool for extracting image components useful in the representation and description of image shape including: Boundaries Skeletons Convex hull We will also look at morphological techniques for Filtering Thinning Pruning Dr. D. J. Jackson Lecture 4- Dr. D. J. Jackson Lecture 4-2 Preview Basic Concepts from Set Theory Language of mathematical morphology is set theory Sets in mathematical morphology represent objects in an image For example, the set of all black pixels in a binary image is a complete morphological description of the image For binary images, sets are members of the 2-D integer space Z 2 Each element of the set is a tuple (2-D vector) whose coordinates are the (x,y) coordinates of a black (or white depending on convention) pixel in the image Gray-scale digital images are represented as sets in Z 3 Coordinates and gray-scale value Higher dimensioned sets could represent attributes such as color, time varying components, etc. Let A be a set in Z 2. If a = (a, a 2 ) is an element of A, then we write a A If a is not an element of A we write a A A set with no elements is called the null or empty set and is denoted by the symbol A set is specified by the contents of two braces: { } For binary images, the elements of the sets are the coordinates of pixels representing objects If we write an expression of the form C={w w = -d, for d D} we mean that C is the set of elements, w, such that w is formed by multiplying each of the two coordinates of all the elements of set D by - Dr. D. J. Jackson Lecture 4-3 Dr. D. J. Jackson Lecture 4-4

Basic Concepts from Set Theory If every element of set A is also an element of another set B, then A is a subset of B and we write A B The union of two sets A and B, denoted by C = A B, is the set of all elements belonging to either A, B, or both The intersection of two sets A and B, denoted by D = A B, is the set of all elements belonging to both A and B Two sets are disjoint or mutually exclusive if they have no elements in common A B = The complement of a set A is the set of elements not in A A c = {w w A} The difference of two sets A and B, denoted A-B, is defined as A-B = {w w A, w B} = A B c Logical Operations Involving Binary Images Principal logic operations AND OR NOT (COMPLEMENT) Functionally complete Combined to form any other logic operation Logic operations described have a one-to-one correspondence with the set operations intersection, union and complement Logic operations are restricted to binary images (not the case for general set operations) Dr. D. J. Jackson Lecture 4-5 Dr. D. J. Jackson Lecture 4-6 Basic Concepts from Set Theory Structuring Elements The reflection of set B is defined as B={w w = -b, for b B} The translation of set B by point z = (z, z 2 ) is defined as (B) z = {c c = b + z, for b B} Set reflection and translation are used extensively in morphological operations based on structuring elements (SE) An SE is a small set (or subimage) used to probe an area of interest for certain properties May be of arbitrary shape and size In practice an SE is generally a regular geometric shape (square, rectangle, diamond, etc.) Generally padded to a rectangular array for image processing Dr. D. J. Jackson Lecture 4-7 Dr. D. J. Jackson Lecture 4-8

Structuring Elements (continued) Operation with a Structuring Element (example) Two-dimensional, or flat, structuring elements consist of a matrix of 0's and 's, typically much smaller than the image being processed. The center pixel of the structuring element, called the origin, identifies the pixel of interest--the pixel being processed. The pixels in the structuring element containing 's define the neighborhood of the structuring element. Dr. D. J. Jackson Lecture 4-9 Dr. D. J. Jackson Lecture 4-0 Structuring Elements: Matlab Functions Structuring Elements: Matlab Functions Dr. D. J. Jackson Lecture 4- Dr. D. J. Jackson Lecture 4-2

Structuring Elements: Matlab Functions Dilation With A and B as sets in Z 2, the dilation of A by B, denoted A B, is defined as A B = {z (B) z A } This formulation is based on the reflection of B about its origin and shifting this reflection by z The dilation of A by B is the set of all displacements, z, such that B and A overlap by at least one element Therefore, another expression for the dilation of A by B is A B = {z [(B) z A] A} Set B is the structuring element Dr. D. J. Jackson Lecture 4-3 Dr. D. J. Jackson Lecture 4-4 Dilation Example Dilation Application B = B because B is symmetric with respect to its origin The dashed line shows the original set A and the solid boundary shows the limit beyond which any further displacements of the origin of B by z would cause the intersection of B and A to be empty All points inside this boundary constitute the dilation of A by B The second case shows more dilation vertically than horizontally One simple application of dilation is for bridging gaps In the image below, the maximum break length is two pixels Although low pass filtering can be used to accomplish the same task, this generates a gray-scale image that must then be thresholded to produce a resulting binary image Dr. D. J. Jackson Lecture 4-5 Dr. D. J. Jackson Lecture 4-6

Matlab: Dilation Example Matlab: Dilation Example I = imread('brokenlines.bmp'); imshow(i), title('original'); SE = strel('square',3); J=imdilate(I,SE); figure, imshow(j), title('dilated'); SE = Dr. D. J. Jackson Lecture 4-7 Dr. D. J. Jackson Lecture 4-8 Erosion Erosion Example With A and B as sets in Z 2, the erosion of A by B, denoted A B, is defined as A B = {z (B) z A} In words, the erosion of A by B is the set of all points z such that B, translated by z, is contained in A Dilation and erosion are duals of each other with respect to set complementation and reflection Therefore (A B) c = A c B and (A B) c = A c B Dr. D. J. Jackson Lecture 4-9 Dr. D. J. Jackson Lecture 4-20

Erosion and Dilation Application One simple application of erosion is for eliminating irrelevant detail (in terms of size) from a binary image Note: In general, dilation does not restore fully the eroded objects Erosion of a binary image with a 3x3 size structuring element and subsequent dilation of the result with the same element. Dr. D. J. Jackson Lecture 4-2