Biomedical Image Analysis. Mathematical Morphology

Size: px
Start display at page:

Download "Biomedical Image Analysis. Mathematical Morphology"

Transcription

1 Biomedical Image Analysis Mathematical Morphology Contents: Foundation of Mathematical Morphology Structuring Elements Applications BMIA 15 V. Roth & P. Cattin 265

2 Foundations of Mathematical Morphology The foundation of Mathematical Morphology lies in set theory It aims at analyzing and manipulating the shape of objects It is very useful and often used in Computer Vision. BMIA 15 V. Roth & P. Cattin 266

3 What is it good for...? Image enhancement, segmentation, restoration Image compression Edge detection Shape analysis Post-processing of regions: thinning, hole filling, boundary extraction, extraction of connected components,... BMIA 15 V. Roth & P. Cattin 267

4 Some Basic Concepts from Set Theory Let A be a set in Z 2. If a = (a 1, a 2 ) is an element of A, then we write a A, else a / A. The set with no elements is called the null or empty set. A set is specified by { }. In our context: elements of sets are coordinates of pixels representing objects in an image. Example: C = {w w = d, for d D} means 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 1. If every element of A is also an element B, then A B. BMIA 15 V. Roth & P. Cattin 268

5 Some Basic Concepts from Set Theory The union C = A B is the set of all elements belonging to either A, B, or both. The intersection D = A B is the set of all elements belonging to both A and B. Two sets A and B are disjoint or mutually exclusive if they have no common elements A B =. The complement A c = {w w / A} is the set of elements not contained in A. The difference A B = {w A, w / B} = A B c is the set of elements that belong to A, but not to B. BMIA 15 V. Roth & P. Cattin 269

6 Some Basic Concepts from Set Theory BMIA 15 V. Roth & P. Cattin 270

7 Sets: Reflections and translations The reflection of set B is ˆB = {w w = b, for b B}. The translation of set A by point z = (z 1, z 2 ) is (A) z, = {c c = a + z, for a A}. BMIA 15 V. Roth & P. Cattin 271

8 Morphological Operators The primary morphological operators are Dilation expansion Erosion shrinkage More sophisticated morphological operators, such as Opening and Closing can be designed by combining erosions and dilations. BMIA 15 V. Roth & P. Cattin 272

9 Structuring Element Structuring elements (SEs) are small set of images used to probe the image under study. BMIA 15 V. Roth & P. Cattin 273

10 Morphological Operation Example Create a new image by running B over A so that the origin of B visits all image locations of A If B is completely contained in A mark that location as black, else mark it white If B is on a border element, some part of B is not contained in A elimination of border element. Result: boundary of the object is eroded. BMIA 15 V. Roth & P. Cattin 274

11 Erosion The Erosion of A by the structuring element B is the set of all points z such that B, translated by z, is contained in A: A B = {z (B) z A} BMIA 15 V. Roth & P. Cattin 275

12 Erosion Example (a) With Otsu segmented noisy image (b) Results after eroding image (a) Erosion successfully removed all the small noisy spots. But the gaps in the central object also got bigger! BMIA 15 V. Roth & P. Cattin 276

13 Erosion Example 2 BMIA 15 V. Roth & P. Cattin 277

14 Dilation The Dilation of A by B is the set of all displacements, z, such that ˆB and A overlap by at least one element: A B = {z ( ˆB) z A } BMIA 15 V. Roth & P. Cattin 278

15 Dilation Example (a) With Otsu segmented noisy image (b) Result of dilating image (a) Dilation successfully filled all the small gaps in the central object. But it also amplified the noise! BMIA 15 V. Roth & P. Cattin 279

16 Dilation Example 2 BMIA 15 V. Roth & P. Cattin 280

17 Duality of Erosion and Dilation Erosion and dilation are dual to each other with respect to set complementation and reflection, that is (A B) c = A c ˆB and (A B) c = A c ˆB The duality property is particularly useful when the SE is symmetric, so that ˆB = B. We can then obtain the erosion of an image by simply dilating its background, i.e. dilating A c, and complementing the result. BMIA 15 V. Roth & P. Cattin 281

18 Opening and Closing Erosion and dilation form the basis for two more sophisticated morphological operations: Opening: smoothens the contour, breaks narrow isthmuses, and eliminates thin protrusions Closing: also smoothens the contour, fuses narrow breaks, eliminates small holes, fills gaps in contours Opening of A by SE B: A B = (A B) B opening = erosion + dilation. Closing: A B = (A B) B closing = dilation + erosion. BMIA 15 V. Roth & P. Cattin 282

19 Opening Morphological opening has a simple geometric interpretation. The boundary of A B is established by rolling the SE B inside the contour A. The result is obtained by all the points that could be reached by B. BMIA 15 V. Roth & P. Cattin 283

20 Closing Morphological closing has a similar geometric interpretation as opening, except that we roll B on the outside of the boundary. BMIA 15 V. Roth & P. Cattin 284

21 Duality As with dilation and erosion, opening and closing are dual to each other, that is (A B) c = A c ˆB and (A B) c = A c ˆB The duality property is particularly useful when the SE is symmetric, so that ˆB = B. We can then obtain the opening by simply closing its background, i.e. closing A c, and complementing the result. BMIA 15 V. Roth & P. Cattin 285

22 Opening Example In this example we apply opening in the hope to separate more cells by cutting small isthmuses Indeed two more cells could be separated into disconnected components. (a) Binary image of yeast cells (b) Opening result BMIA 15 V. Roth & P. Cattin 286

23 Opening and Closing Example Erosion successfully removes the spots, but it also increases the wholes in the main body. Opening removes the spots while retaining the gap sizes. A further closing step then finally closes these gaps as well. (a) Erosion (b) Opening (c) Opening then closing BMIA 15 V. Roth & P. Cattin 287

24 Example 2 BMIA 15 V. Roth & P. Cattin 288

25 The Hit-or-Miss transform The Hit-or-Miss transform is the basis for shape detection. Assume set A = C D E (Fig. 9.12). Objective: find location of shape D. Let D be enclosed by a small window W. The local background of D w.r.t. W is the set difference (W D). Erosion of A by D (Fig. 9.12(d)) gives the set of all locations of the origin of D at which D found a hit in A. BMIA 15 V. Roth & P. Cattin 289

26 The Hit-or-Miss transform (2) Erosion of the complement A c by background (W D) gives the set of all locations of the origin of the background at which (W D) found a hit in A c. Intersection of A D and A c (W D) gives set of locations where D (and background) exactly fits inside A. Generalization: Set B = B 1 (object) B 2 (background) set of matches = (A B 1 ) (A c B 2 ). Underlying idea: two objects are distinct only if they form disjoint sets. This is guaranteed by by requiring that each object have at least a one-pixel background around it. BMIA 15 V. Roth & P. Cattin 290

27 The Hit-or-Miss transform BMIA 15 V. Roth & P. Cattin 291

28 Boundary Extraction The boundary of set A is denoted as β(a) and can be obtained by first eroding A by B and then performing the set difference, thus β(a) = A (A B) where A is the binary image and B the structuring element. BMIA 15 V. Roth & P. Cattin 292

29 Boundary Extraction Example (a) Segmented yeast cells (b) Their morphological boundary BMIA 15 V. Roth & P. Cattin 293

30 Hole Filling A hole is a background region surrounded by a connected border of foreground pixels. Let A denote a set whose elements are 8-connected boundaries, each of which encloses a hole. Goal: Given one initial point in each hole, fill all the holes. Define array X 0 of 0s (same size as array containing A). Set locations in X 0 corresponding to the initial points inside holes to 1. BMIA 15 V. Roth & P. Cattin 294

31 Hole Filling Iterate X k = (X k 1 B) A c, k = 1, 2,..., where B is the symmetric SE in Fig. 9.15(c). Without the intersection operation, the dilation would fill the entire area. Intersection with A c limits result to inside the region of interest (the holes). Example of conditional dilation. BMIA 15 V. Roth & P. Cattin 295

32 Hole Filling BMIA 15 V. Roth & P. Cattin 296

33 Hole Filling Example BMIA 15 V. Roth & P. Cattin 297

34 Connected Components Extraction of connected components from binary images is central to many applications. Let A denote a set containing one or more connected components. Goal: Extract all connected components. Assume we have one initial point in each component. Define array X 0 of 0s (same size as array containing A). Set locations in X 0 corresponding to the initial points inside connected components to 1. BMIA 15 V. Roth & P. Cattin 298

35 Connected Components Iterate X k = (X k 1 B) A, k = 1, 2,..., where B is the symmetric SE in Fig. 9.17(a). Terminates when X k = X k 1, with X k containing all the connected components. Again: without intersection operation, the dilation would fill the entire area. Intersection with A limits result to inside the region of interest (the foreground points in the components). BMIA 15 V. Roth & P. Cattin 299

36 Connected Components BMIA 15 V. Roth & P. Cattin 300

37 Connected Components Example BMIA 15 V. Roth & P. Cattin 301

38 Other Mathematical Morphology Operators Convex Hull Thinning & Thickening Skeletons Pruning etc. etc. BMIA 15 V. Roth & P. Cattin 302

39 Morphological Reconstruction Powerful transformation that involves two images and a SE. One image, the marker, contains the starting points for the transformation. Other image, the mask, contains the transformation itself. The SE defines connectivity. BMIA 15 V. Roth & P. Cattin 303

40 Geodesic dilation and erosion Let F be the marker and G be the mask. Both are binary images and F G. The geodesic dilation of size 1 of F w.r.t. G is defined as D (1) G (F ) = (F B) G. The geodesic dilation of size n is defined as D (n) G (F ) = D (1) G [D(n1) G ](F ) with D(0) G (F ) = F. Geodesic erosion is defined analogously with the operation. BMIA 15 V. Roth & P. Cattin 304

41 Geodesic dilation BMIA 15 V. Roth & P. Cattin 305

42 Geodesic erosion BMIA 15 V. Roth & P. Cattin 306

43 Morphological Reconstruction by dilation Idea: Iterate until stability is achieved: RG D (F ) = D(k) G (F ) with k such that D(k) G (F ) = D(k 1) G (F ) BMIA 15 V. Roth & P. Cattin 307

44 Morphological Opening by Reconstruction In a morphological opening, erosion removes small objects and the subsequent dilation attempts to restore the shape of objects that remain. Problem: accuracy of this reconstruction depends on similarity of the shapes of the objects and the SE. Morphological opening by reconstruction restores exactly the shapes of the objects that remain after erosion. Definition: reconstruction by dilation of F from n erosions of F by SE B: O (n) R (F ) = RD F [(F nb)]. Note that F is used as the mask! BMIA 15 V. Roth & P. Cattin 308

45 Morphological Opening by Reconstruction BMIA 15 V. Roth & P. Cattin 309

46 Morphological Reconstruction: hole filling Form a marker image F that is zero, except at the image border (where it contains the flipped pixels): { 1 I(x, y), if (x, y) is on the border of I F (x, y) = 0, else Then, H = [R D I c (F )] c is a equal to I with all holes filled. BMIA 15 V. Roth & P. Cattin 310

47 Morphological Reconstruction: hole filling BMIA 15 V. Roth & P. Cattin 311

48 Morphology of Grayscale Images BMIA 15 V. Roth & P. Cattin 312

49 Morphology of Grayscale Images The erosion of f by a flat structuring element b at location (x, y) is defined as [f b] (x, y) = min (s,t) b similar the definition for dilation is [f b] (x, y) = max (s,t) b {f(x + s, y + t)} {f(x s, y t)} Grayscale erosion shrinks positive peaks. Peaks thinner than the structuring element disappear. It also expands valleys and sinks. Grey-scale dilation has the dual effect. BMIA 15 V. Roth & P. Cattin 313

50 Morphology of Grayscale Images BMIA 15 V. Roth & P. Cattin 314

51 Morphology of Grayscale Images BMIA 15 V. Roth & P. Cattin 315

52 Morphology of Grayscale Images Opening of f by SE b: f b = (f b) b opening = erosion + dilation. Closing: f b = (f b) b closing = dilation + erosion. Duality: (f b) c = f c ˆb (f b) c = f c ˆb, with f c = f(x, y) and ˆb = b( x, y). BMIA 15 V. Roth & P. Cattin 316

53 Morphology of Grayscale Images BMIA 15 V. Roth & P. Cattin 317

54 Morphology of Grayscale Images BMIA 15 V. Roth & P. Cattin 318

55 Morphological Gradient Example This example show the application of morphology to calculate the gradient of a gray-scale image. Idea: Dilation thickens regions, erosion shrinks them. Their difference emphasizes boundaries between regions. (a) Original CT scan A (b) Dilated scan A B (c) Eroded scan A B (d) Morphological gradient (A B) (A B) BMIA 15 V. Roth & P. Cattin 319

56 Morphological Smoothing Opening suppresses bright details Closing suppresses dark details use combinations for image smoothing and noise removal BMIA 15 V. Roth & P. Cattin 320

57 Top-hat and bottom-hat transforms Top-hat of f: f minus its opening: T hat (f) = f (f b) Bottom-hat of f: closing of f -f: B hat (f) = (f b) f Main idea: use structure element in opening /closing that does not fit the objects to be removed. Difference operation then yields image with only the removed objects. Top-hat used for light objects on dark background, bottom hat for the converse. BMIA 15 V. Roth & P. Cattin 321

58 Top-hat Example: illumination correction BMIA 15 V. Roth & P. Cattin 322

Morphological Image Processing

Morphological Image Processing Morphological Image Processing Binary image processing In binary images, we conventionally take background as black (0) and foreground objects as white (1 or 255) Morphology Figure 4.1 objects on a conveyor

More information

Morphological Image Processing

Morphological Image Processing Morphological Image Processing Morphology Identification, analysis, and description of the structure of the smallest unit of words Theory and technique for the analysis and processing of geometric structures

More information

Morphological Image Processing

Morphological Image Processing Morphological Image Processing Introduction Morphology: a branch of biology that deals with the form and structure of animals and plants Morphological image processing is used to extract image components

More information

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

09/11/2017. Morphological image processing. Morphological image processing. Morphological image processing. Morphological image processing (binary) Towards image analysis Goal: Describe the contents of an image, distinguishing meaningful information from irrelevant one. Perform suitable transformations of images so as to make explicit particular shape

More information

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

Introduction. Computer Vision & Digital Image Processing. Preview. Basic Concepts from Set Theory 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

More information

Mathematical Morphology and Distance Transforms. Robin Strand

Mathematical Morphology and Distance Transforms. Robin Strand Mathematical Morphology and Distance Transforms Robin Strand robin.strand@it.uu.se Morphology Form and structure Mathematical framework used for: Pre-processing Noise filtering, shape simplification,...

More information

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

11/10/2011 small set, B, to probe the image under study for each SE, define origo & pixels in SE Mathematical Morphology Sonka 13.1-13.6 Ida-Maria Sintorn ida@cb.uu.se Today s lecture SE, morphological transformations inary MM Gray-level MM Applications Geodesic transformations Morphology-form and

More information

Image Analysis. Morphological Image Analysis

Image Analysis. Morphological Image Analysis Image Analysis Morphological Image Analysis Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008 University of Ioannina - Department

More information

morphology on binary images

morphology on binary images morphology on binary images Ole-Johan Skrede 10.05.2017 INF2310 - Digital Image Processing Department of Informatics The Faculty of Mathematics and Natural Sciences University of Oslo After original slides

More information

Chapter 9 Morphological Image Processing

Chapter 9 Morphological Image Processing Morphological Image Processing Question What is Mathematical Morphology? An (imprecise) Mathematical Answer A mathematical tool for investigating geometric structure in binary and grayscale images. Shape

More information

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

Morphology-form and structure. Who am I? structuring element (SE) Today s lecture. Morphological Transformation. Mathematical Morphology Mathematical Morphology Morphology-form and structure Sonka 13.1-13.6 Ida-Maria Sintorn Ida.sintorn@cb.uu.se mathematical framework used for: pre-processing - noise filtering, shape simplification,...

More information

Morphological Image Processing

Morphological Image Processing Morphological Image Processing Ranga Rodrigo October 9, 29 Outline Contents Preliminaries 2 Dilation and Erosion 3 2. Dilation.............................................. 3 2.2 Erosion..............................................

More information

EECS490: Digital Image Processing. Lecture #17

EECS490: Digital Image Processing. Lecture #17 Lecture #17 Morphology & set operations on images Structuring elements Erosion and dilation Opening and closing Morphological image processing, boundary extraction, region filling Connectivity: convex

More information

Lecture 7: Morphological Image Processing

Lecture 7: Morphological Image Processing I2200: Digital Image processing Lecture 7: Morphological Image Processing Prof. YingLi Tian Oct. 25, 2017 Department of Electrical Engineering The City College of New York The City University of New York

More information

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

International Journal of Advance Engineering and Research Development. Applications of Set Theory in Digital Image Processing Scientific Journal of Impact Factor (SJIF): 4.72 International Journal of Advance Engineering and Research Development Volume 4, Issue 11, November -2017 Applications of Set Theory in Digital Image Processing

More information

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

11. Gray-Scale Morphology. Computer Engineering, i Sejong University. Dongil Han Computer Vision 11. Gray-Scale Morphology Computer Engineering, i Sejong University i Dongil Han Introduction Methematical morphology represents image objects as sets in a Euclidean space by Serra [1982],

More information

ECEN 447 Digital Image Processing

ECEN 447 Digital Image Processing ECEN 447 Digital Image Processing Lecture 7: Mathematical Morphology Ulisses Braga-Neto ECE Department Texas A&M University Basics of Mathematical Morphology Mathematical Morphology (MM) is a discipline

More information

EE795: Computer Vision and Intelligent Systems

EE795: Computer Vision and Intelligent Systems EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 WRI C225 Lecture 04 130131 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Histogram Equalization Image Filtering Linear

More information

Filters. Advanced and Special Topics: Filters. Filters

Filters. Advanced and Special Topics: Filters. Filters Filters Advanced and Special Topics: Filters Dr. Edmund Lam Department of Electrical and Electronic Engineering The University of Hong Kong ELEC4245: Digital Image Processing (Second Semester, 2016 17)

More information

Morphological Image Processing

Morphological Image Processing Morphological Image Processing Megha Goyal Dept. of ECE, Doaba Institute of Engineering and Technology, Kharar, Mohali, Punjab, India Abstract The purpose of this paper is to provide readers with an in-depth

More information

CITS 4402 Computer Vision

CITS 4402 Computer Vision CITS 4402 Computer Vision A/Prof Ajmal Mian Adj/A/Prof Mehdi Ravanbakhsh, CEO at Mapizy (www.mapizy.com) and InFarm (www.infarm.io) Lecture 02 Binary Image Analysis Objectives Revision of image formation

More information

Processing of binary images

Processing of binary images Binary Image Processing Tuesday, 14/02/2017 ntonis rgyros e-mail: argyros@csd.uoc.gr 1 Today From gray level to binary images Processing of binary images Mathematical morphology 2 Computer Vision, Spring

More information

Detection of Edges Using Mathematical Morphological Operators

Detection of Edges Using Mathematical Morphological Operators OPEN TRANSACTIONS ON INFORMATION PROCESSING Volume 1, Number 1, MAY 2014 OPEN TRANSACTIONS ON INFORMATION PROCESSING Detection of Edges Using Mathematical Morphological Operators Suman Rani*, Deepti Bansal,

More information

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

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 T H E U N I V E R S I T Y of T E X A S H E A L T H S C I E N C E 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 For students of HI 5323

More information

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

CS443: Digital Imaging and Multimedia Binary Image Analysis. Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University CS443: Digital Imaging and Multimedia Binary Image Analysis Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Outlines A Simple Machine Vision System Image segmentation by thresholding

More information

Morphological Image Processing

Morphological Image Processing Digital Image Processing Lecture # 10 Morphological Image Processing Autumn 2012 Agenda Extraction of Connected Component Convex Hull Thinning Thickening Skeletonization Pruning Gray-scale Morphology Digital

More information

Topic 6 Representation and Description

Topic 6 Representation and Description Topic 6 Representation and Description Background Segmentation divides the image into regions Each region should be represented and described in a form suitable for further processing/decision-making Representation

More information

Morphological Image Processing

Morphological Image Processing Morphological Image Processing Binary dilation and erosion" Set-theoretic interpretation" Opening, closing, morphological edge detectors" Hit-miss filter" Morphological filters for gray-level images" Cascading

More information

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

What will we learn? What is mathematical morphology? What is mathematical morphology? Fundamental concepts and operations What will we learn? What is mathematical morphology and how is it used in image processing? Lecture Slides ME 4060 Machine Vision and Vision-based Control Chapter 13 Morphological image processing By Dr.

More information

Morphological Image Processing GUI using MATLAB

Morphological Image Processing GUI using MATLAB Trends Journal of Sciences Research (2015) 2(3):90-94 http://www.tjsr.org Morphological Image Processing GUI using MATLAB INTRODUCTION A digital image is a representation of twodimensional images as a

More information

Morphological Compound Operations-Opening and CLosing

Morphological Compound Operations-Opening and CLosing Morphological Compound Operations-Opening and CLosing COMPSCI 375 S1 T 2006, A/P Georgy Gimel farb Revised COMPSCI 373 S1C -2010, Patrice Delmas AP Georgy Gimel'farb 1 Set-theoretic Binary Operations Many

More information

From Pixels to Blobs

From Pixels to Blobs From Pixels to Blobs 15-463: Rendering and Image Processing Alexei Efros Today Blobs Need for blobs Extracting blobs Image Segmentation Working with binary images Mathematical Morphology Blob properties

More information

EE 584 MACHINE VISION

EE 584 MACHINE VISION EE 584 MACHINE VISION Binary Images Analysis Geometrical & Topological Properties Connectedness Binary Algorithms Morphology Binary Images Binary (two-valued; black/white) images gives better efficiency

More information

Machine vision. Summary # 5: Morphological operations

Machine vision. Summary # 5: Morphological operations 1 Machine vision Summary # 5: Mphological operations MORPHOLOGICAL OPERATIONS A real image has continuous intensity. It is quantized to obtain a digital image with a given number of gray levels. Different

More information

ECG782: Multidimensional Digital Signal Processing

ECG782: Multidimensional Digital Signal Processing Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu ECG782: Multidimensional Digital Signal Processing Spring 2014 TTh 14:30-15:45 CBC C313 Lecture 03 Image Processing Basics 13/01/28 http://www.ee.unlv.edu/~b1morris/ecg782/

More information

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

Digital Image Processing Lecture 7. Segmentation and labeling of objects. Methods for segmentation. Labeling, 2 different algorithms Digital Image Processing Lecture 7 p. Segmentation and labeling of objects p. Segmentation and labeling Region growing Region splitting and merging Labeling Watersheds MSER (extra, optional) More morphological

More information

Digital Image Processing COSC 6380/4393

Digital Image Processing COSC 6380/4393 Digital Image Processing COSC 6380/4393 Lecture 6 Sept 6 th, 2017 Pranav Mantini Slides from Dr. Shishir K Shah and Frank (Qingzhong) Liu Today Review Logical Operations on Binary Images Blob Coloring

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Third Edition Rafael C. Gonzalez University of Tennessee Richard E. Woods MedData Interactive PEARSON Prentice Hall Pearson Education International Contents Preface xv Acknowledgments

More information

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

[ ] Review. Edges and Binary Images. Edge detection. Derivative of Gaussian filter. Image gradient. Tuesday, Sept 16 Review Edges and Binary Images Tuesday, Sept 6 Thought question: how could we compute a temporal gradient from video data? What filter is likely to have produced this image output? original filtered output

More information

Digital Image Processing Fundamentals

Digital Image Processing Fundamentals Ioannis Pitas Digital Image Processing Fundamentals Chapter 7 Shape Description Answers to the Chapter Questions Thessaloniki 1998 Chapter 7: Shape description 7.1 Introduction 1. Why is invariance to

More information

10.5 Morphological Reconstruction

10.5 Morphological Reconstruction 518 Chapter 10 Morphological Image Processing See Sections 11.4.2 and 11.4.3 for additional applications of morphological reconstruction. This definition of reconstruction is based on dilation. It is possible

More information

Digital image processing

Digital image processing Digital image processing Morphological image analysis. Binary morphology operations Introduction The morphological transformations extract or modify the structure of the particles in an image. Such transformations

More information

ECG782: Multidimensional Digital Signal Processing

ECG782: Multidimensional Digital Signal Processing Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu ECG782: Multidimensional Digital Signal Processing Spatial Domain Filtering http://www.ee.unlv.edu/~b1morris/ecg782/ 2 Outline Background Intensity

More information

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

Binary Image Processing. Introduction to Computer Vision CSE 152 Lecture 5 Binary Image Processing CSE 152 Lecture 5 Announcements Homework 2 is due Apr 25, 11:59 PM Reading: Szeliski, Chapter 3 Image processing, Section 3.3 More neighborhood operators Binary System Summary 1.

More information

Mathematical morphology for grey-scale and hyperspectral images

Mathematical morphology for grey-scale and hyperspectral images Mathematical morphology for grey-scale and hyperspectral images Dilation for grey-scale images Dilation: replace every pixel by the maximum value computed over the neighborhood defined by the structuring

More information

Binary Shape Characterization using Morphological Boundary Class Distribution Functions

Binary Shape Characterization using Morphological Boundary Class Distribution Functions Binary Shape Characterization using Morphological Boundary Class Distribution Functions Marcin Iwanowski Institute of Control and Industrial Electronics, Warsaw University of Technology, ul.koszykowa 75,

More information

Erosion, dilation and related operators

Erosion, dilation and related operators Erosion, dilation and related operators Mariusz Jankowski Department of Electrical Engineering University of Southern Maine Portland, Maine, USA mjankowski@usm.maine.edu This paper will present implementation

More information

Mathematical Morphology a non exhaustive overview. Adrien Bousseau

Mathematical Morphology a non exhaustive overview. Adrien Bousseau a non exhaustive overview Adrien Bousseau Shape oriented operations, that simplify image data, preserving their essential shape characteristics and eliminating irrelevancies [Haralick87] 2 Overview Basic

More information

Finger Print Analysis and Matching Daniel Novák

Finger Print Analysis and Matching Daniel Novák Finger Print Analysis and Matching Daniel Novák 1.11, 2016, Prague Acknowledgments: Chris Miles,Tamer Uz, Andrzej Drygajlo Handbook of Fingerprint Recognition, Chapter III Sections 1-6 Outline - Introduction

More information

PPKE-ITK. Lecture

PPKE-ITK. Lecture PPKE-ITK Lecture 6-7. 2017.10.24. 1 What is on the image? This is maybe the most important question we want to answer about an image. For a human observer it is a trivial task, for a machine it is still

More information

EECS490: Digital Image Processing. Lecture #22

EECS490: Digital Image Processing. Lecture #22 Lecture #22 Gold Standard project images Otsu thresholding Local thresholding Region segmentation Watershed segmentation Frequency-domain techniques Project Images 1 Project Images 2 Project Images 3 Project

More information

Image Processing (IP) Through Erosion and Dilation Methods

Image Processing (IP) Through Erosion and Dilation Methods Image Processing (IP) Through Erosion and Dilation Methods Prof. sagar B Tambe 1, Prof. Deepak Kulhare 2, M. D. Nirmal 3, Prof. Gopal Prajapati 4 1 MITCOE Pune 2 H.O.D. Computer Dept., 3 Student, CIIT,

More information

Elaborazione delle Immagini Informazione multimediale - Immagini. Raffaella Lanzarotti

Elaborazione delle Immagini Informazione multimediale - Immagini. Raffaella Lanzarotti Elaborazione delle Immagini Informazione multimediale - Immagini Raffaella Lanzarotti MATHEMATICAL MORPHOLOGY 2 Definitions Morphology: branch of biology studying shape and structure of plants and animals

More information

Biomedical Image Analysis. Point, Edge and Line Detection

Biomedical Image Analysis. Point, Edge and Line Detection Biomedical Image Analysis Point, Edge and Line Detection Contents: Point and line detection Advanced edge detection: Canny Local/regional edge processing Global processing: Hough transform BMIA 15 V. Roth

More information

SECTION 5 IMAGE PROCESSING 2

SECTION 5 IMAGE PROCESSING 2 SECTION 5 IMAGE PROCESSING 2 5.1 Resampling 3 5.1.1 Image Interpolation Comparison 3 5.2 Convolution 3 5.3 Smoothing Filters 3 5.3.1 Mean Filter 3 5.3.2 Median Filter 4 5.3.3 Pseudomedian Filter 6 5.3.4

More information

Lecture: Segmentation I FMAN30: Medical Image Analysis. Anders Heyden

Lecture: Segmentation I FMAN30: Medical Image Analysis. Anders Heyden Lecture: Segmentation I FMAN30: Medical Image Analysis Anders Heyden 2017-11-13 Content What is segmentation? Motivation Segmentation methods Contour-based Voxel/pixel-based Discussion What is segmentation?

More information

Edges and Binary Images

Edges and Binary Images CS 699: Intro to Computer Vision Edges and Binary Images Prof. Adriana Kovashka University of Pittsburgh September 5, 205 Plan for today Edge detection Binary image analysis Homework Due on 9/22, :59pm

More information

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

CS534 Introduction to Computer Vision Binary Image Analysis. Ahmed Elgammal Dept. of Computer Science Rutgers University CS534 Introduction to Computer Vision Binary Image Analysis Ahmed Elgammal Dept. of Computer Science Rutgers University Outlines A Simple Machine Vision System Image segmentation by thresholding Digital

More information

Mathematical morphology (1)

Mathematical morphology (1) Chapter 9 Mathematical morphology () 9. Introduction Morphology, or morphology for short, is a branch of image processing which is particularly useful for analyzing shapes in images. We shall develop basic

More information

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

Binary Image Analysis. Binary Image Analysis. What kinds of operations? Results of analysis. Useful Operations. Example: red blood cell image inary Image Analysis inary Image Analysis inary image analysis consists of a set of image analysis operations that are used to produce or process binary images, usually images of s and s. represents the

More information

Image Processing: Final Exam November 10, :30 10:30

Image Processing: Final Exam November 10, :30 10:30 Image Processing: Final Exam November 10, 2017-8:30 10:30 Student name: Student number: Put your name and student number on all of the papers you hand in (if you take out the staple). There are always

More information

Chapter IX : SKIZ and Watershed

Chapter IX : SKIZ and Watershed J. Serra Ecole des Mines de Paris ( 2000 ) Course on Math. Morphology IX. 1 Chapter IX : SKIZ and Watershed Distance function Euclidean and Geodesic SKIZ Watersheds Definition and properties Algorithms

More information

Bioimage Informatics

Bioimage Informatics Bioimage Informatics Lecture 14, Spring 2012 Bioimage Data Analysis (IV) Image Segmentation (part 3) Lecture 14 March 07, 2012 1 Outline Review: intensity thresholding based image segmentation Morphological

More information

Table 1. Different types of Defects on Tiles

Table 1. Different types of Defects on Tiles DETECTION OF SURFACE DEFECTS ON CERAMIC TILES BASED ON MORPHOLOGICAL TECHNIQUES ABSTRACT Grasha Jacob 1, R. Shenbagavalli 2, S. Karthika 3 1 Associate Professor, 2 Assistant Professor, 3 Research Scholar

More information

Image Analysis Image Segmentation (Basic Methods)

Image Analysis Image Segmentation (Basic Methods) Image Analysis Image Segmentation (Basic Methods) Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008. Computer Vision course

More information

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

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7) 5 Years Integrated M.Sc.(IT)(Semester - 7) 060010707 Digital Image Processing UNIT 1 Introduction to Image Processing Q: 1 Answer in short. 1. What is digital image? 1. Define pixel or picture element?

More information

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier Computer Vision 2 SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung Computer Vision 2 Dr. Benjamin Guthier 1. IMAGE PROCESSING Computer Vision 2 Dr. Benjamin Guthier Content of this Chapter Non-linear

More information

Albert M. Vossepoel. Center for Image Processing

Albert M. Vossepoel.   Center for Image Processing Albert M. Vossepoel www.ph.tn.tudelft.nl/~albert scene image formation sensor pre-processing image enhancement image restoration texture filtering segmentation user analysis classification CBP course:

More information

Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu

Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu Image Processing CS 554 Computer Vision Pinar Duygulu Bilkent University Today Image Formation Point and Blob Processing Binary Image Processing Readings: Gonzalez & Woods, Ch. 3 Slides are adapted from

More information

Lecture 3: Basic Morphological Image Processing

Lecture 3: Basic Morphological Image Processing Lecture 3: Basic Morphological Image Processing Harvey Rhody Chester F. Carlson Center for Imaging Science Rochester Institute of Technology rhody@cis.rit.edu September 13, 2005 Abstract Morphological

More information

A Case Study on Mathematical Morphology Segmentation for MRI Brain Image

A Case Study on Mathematical Morphology Segmentation for MRI Brain Image A Case Study on Mathematical Morphology Segmentation for MRI Brain Image Senthilkumaran N, Kirubakaran C Department of Computer Science and Application, Gandhigram Rural Institute, Deemed University, Gandhigram,

More information

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

CS 5540 Spring 2013 Assignment 3, v1.0 Due: Apr. 24th 11:59PM 1 Introduction In this programming project, we are going to do a simple image segmentation task. Given a grayscale image with a bright object against a dark background and we are going to do a binary decision

More information

Introduction to Medical Imaging (5XSA0)

Introduction to Medical Imaging (5XSA0) 1 Introduction to Medical Imaging (5XSA0) Visual feature extraction Color and texture analysis Sveta Zinger ( s.zinger@tue.nl ) Introduction (1) Features What are features? Feature a piece of information

More information

EECS490: Digital Image Processing. Lecture #23

EECS490: Digital Image Processing. Lecture #23 Lecture #23 Motion segmentation & motion tracking Boundary tracking Chain codes Minimum perimeter polygons Signatures Motion Segmentation P k Accumulative Difference Image Positive ADI Negative ADI (ADI)

More information

Ice-Floe Simulation Viewer Tool

Ice-Floe Simulation Viewer Tool Justin Adams Computer Engineering jadams@mun.ca Ice-Floe Simulation Viewer Tool Justin Sheppard Computer Engineering justin.sheppard@mun.ca Shadi Alawneh Electrical & Computer Engineering shadi.alawneh@mun.ca

More information

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

Research Article Image Segmentation Using Gray-Scale Morphology and Marker-Controlled Watershed Transformation Discrete Dynamics in Nature and Society Volume 2008, Article ID 384346, 8 pages doi:10.1155/2008/384346 Research Article Image Segmentation Using Gray-Scale Morphology and Marker-Controlled Watershed Transformation

More information

Computer Vision & Digital Image Processing. Image segmentation: thresholding

Computer Vision & Digital Image Processing. Image segmentation: thresholding Computer Vision & Digital Image Processing Image Segmentation: Thresholding Dr. D. J. Jackson Lecture 18-1 Image segmentation: thresholding Suppose an image f(y) is composed of several light objects on

More information

A. Benali 1, H. Dermèche 2, E. Zigh1 1, 2 1 National Institute of Telecommunications and Information Technologies and Communications of Oran

A. Benali 1, H. Dermèche 2, E. Zigh1 1, 2 1 National Institute of Telecommunications and Information Technologies and Communications of Oran Elimination of False Detections by Mathematical Morphology for a Semi-automatic Buildings Extraction of Multi Spectral Urban Very High Resolution IKONOS Images A. Benali 1, H. Dermèche 2, E. Zigh1 1, 2

More information

Final Review. Image Processing CSE 166 Lecture 18

Final Review. Image Processing CSE 166 Lecture 18 Final Review Image Processing CSE 166 Lecture 18 Topics covered Basis vectors Matrix based transforms Wavelet transform Image compression Image watermarking Morphological image processing Segmentation

More information

Introduction to grayscale image processing by mathematical morphology

Introduction to grayscale image processing by mathematical morphology Introduction to grayscale image processing by mathematical morphology Jean Cousty MorphoGraph and Imagery 2011 J. Cousty : Morpho, graphes et imagerie 3D 1/15 Outline of the lecture 1 Grayscale images

More information

Keywords: Thresholding, Morphological operations, Image filtering, Adaptive histogram equalization, Ceramic tile.

Keywords: Thresholding, Morphological operations, Image filtering, Adaptive histogram equalization, Ceramic tile. Volume 3, Issue 7, July 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Blobs and Cracks

More information

Binary Morphological Model in Refining Local Fitting Active Contour in Segmenting Weak/Missing Edges

Binary Morphological Model in Refining Local Fitting Active Contour in Segmenting Weak/Missing Edges 0 International Conerence on Advanced Computer Science Applications and Technologies Binary Morphological Model in Reining Local Fitting Active Contour in Segmenting Weak/Missing Edges Norshaliza Kamaruddin,

More information

A New Technique of Extraction of Edge Detection Using Digital Image Processing

A New Technique of Extraction of Edge Detection Using Digital Image Processing International OPEN ACCESS Journal Of Modern Engineering Research (IJMER) A New Technique of Extraction of Edge Detection Using Digital Image Processing Balaji S.C.K 1 1, Asst Professor S.V.I.T Abstract:

More information

Previously. Edge detection. Today. Thresholding. Gradients -> edges 2/1/2011. Edges and Binary Image Analysis

Previously. Edge detection. Today. Thresholding. Gradients -> edges 2/1/2011. Edges and Binary Image Analysis 2//20 Previously Edges and Binary Image Analysis Mon, Jan 3 Prof. Kristen Grauman UT-Austin Filters allow local image neighborhood to influence our description and features Smoothing to reduce noise Derivatives

More information

Edges and Binary Image Analysis April 12 th, 2018

Edges and Binary Image Analysis April 12 th, 2018 4/2/208 Edges and Binary Image Analysis April 2 th, 208 Yong Jae Lee UC Davis Previously Filters allow local image neighborhood to influence our description and features Smoothing to reduce noise Derivatives

More information

Image Processing, Analysis and Machine Vision

Image Processing, Analysis and Machine Vision Image Processing, Analysis and Machine Vision Milan Sonka PhD University of Iowa Iowa City, USA Vaclav Hlavac PhD Czech Technical University Prague, Czech Republic and Roger Boyle DPhil, MBCS, CEng University

More information

A Method for Filling Holes in Objects of Medical Images Using Region Labeling and Run Length Encoding Schemes

A Method for Filling Holes in Objects of Medical Images Using Region Labeling and Run Length Encoding Schemes 110 Image Processing (NCIMP 2010) Image Processing (NCIMP 2010) Editor: K. Somasundaram Allied Publishers A Method for Filling Holes in Objects of Medical Images Using Region Labeling and Run Length Encoding

More information

Image segmentation. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

Image segmentation. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year Image segmentation Stefano Ferrari Università degli Studi di Milano stefano.ferrari@unimi.it Methods for Image Processing academic year 2017 2018 Segmentation by thresholding Thresholding is the simplest

More information

Image Segmentation Techniques for Object-Based Coding

Image Segmentation Techniques for Object-Based Coding Image Techniques for Object-Based Coding Junaid Ahmed, Joseph Bosworth, and Scott T. Acton The Oklahoma Imaging Laboratory School of Electrical and Computer Engineering Oklahoma State University {ajunaid,bosworj,sacton}@okstate.edu

More information

ECE 172A: Introduction to Intelligent Systems: Machine Vision, Fall Midterm Examination

ECE 172A: Introduction to Intelligent Systems: Machine Vision, Fall Midterm Examination ECE 172A: Introduction to Intelligent Systems: Machine Vision, Fall 2008 October 29, 2008 Notes: Midterm Examination This is a closed book and closed notes examination. Please be precise and to the point.

More information

Massachusetts Institute of Technology. Department of Computer Science and Electrical Engineering /6.866 Machine Vision Quiz I

Massachusetts Institute of Technology. Department of Computer Science and Electrical Engineering /6.866 Machine Vision Quiz I Massachusetts Institute of Technology Department of Computer Science and Electrical Engineering 6.801/6.866 Machine Vision Quiz I Handed out: 2004 Oct. 21st Due on: 2003 Oct. 28th Problem 1: Uniform reflecting

More information

Topic 4 Image Segmentation

Topic 4 Image Segmentation Topic 4 Image Segmentation What is Segmentation? Why? Segmentation important contributing factor to the success of an automated image analysis process What is Image Analysis: Processing images to derive

More information

Hierarchical Representation of 2-D Shapes using Convex Polygons: a Contour-Based Approach

Hierarchical Representation of 2-D Shapes using Convex Polygons: a Contour-Based Approach Hierarchical Representation of 2-D Shapes using Convex Polygons: a Contour-Based Approach O. El Badawy, M. S. Kamel Pattern Analysis and Machine Intelligence Laboratory, Department of Systems Design Engineering,

More information

Discrete 3D Tools Applied to 2D Grey-Level Images

Discrete 3D Tools Applied to 2D Grey-Level Images Discrete 3D Tools Applied to 2D Grey-Level Images Gabriella Sanniti di Baja 1, Ingela Nyström 2, and Gunilla Borgefors 3 1 Institute of Cybernetics "E.Caianiello", CNR, Pozzuoli, Italy gsdb@imagm.cib.na.cnr.it

More information

Morphological Image Algorithms

Morphological Image Algorithms Morphological Image Algorithms Examples 1 Example 1 Use thresholding and morphological operations to segment coins from background Matlab s eight.tif image 2 clear all close all I = imread('eight.tif');

More information

A Graphical Processing Unit Based on Real Time System. Khaled M. Alqahtani

A Graphical Processing Unit Based on Real Time System. Khaled M. Alqahtani A Graphical Processing Unit Based on Real Time System by Khaled M. Alqahtani Submitted in partial fulfilment of the requirements for the degree of Master of Applied Science at Dalhousie University Halifax,

More information

Robot vision review. Martin Jagersand

Robot vision review. Martin Jagersand Robot vision review Martin Jagersand What is Computer Vision? Computer Graphics Three Related fields Image Processing: Changes 2D images into other 2D images Computer Graphics: Takes 3D models, renders

More information

Fuzzy Soft Mathematical Morphology

Fuzzy Soft Mathematical Morphology Fuzzy Soft Mathematical Morphology. Gasteratos, I. ndreadis and Ph. Tsalides Laboratory of Electronics Section of Electronics and Information Systems Technology Department of Electrical and Computer Engineering

More information

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong) Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong) References: [1] http://homepages.inf.ed.ac.uk/rbf/hipr2/index.htm [2] http://www.cs.wisc.edu/~dyer/cs540/notes/vision.html

More information

Fundamentals of Digital Image Processing

Fundamentals of Digital Image Processing \L\.6 Gw.i Fundamentals of Digital Image Processing A Practical Approach with Examples in Matlab Chris Solomon School of Physical Sciences, University of Kent, Canterbury, UK Toby Breckon School of Engineering,

More information