Morphology – Chapter 10. Binary image processing Often it is advantageous to reduce an image from gray level (multiple bits/pixel) to binary (1 bit/pixel)

Slides:



Advertisements
Similar presentations
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 5 Thresholding/Segmentation.
Advertisements

5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 8 Introduction to Binary Morphology.
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 5 Thresholding/Segmentation.
Gray-Scale Morphological Filtering
Chapter 9: Morphological Image Processing
Each pixel is 0 or 1, background or foreground Image processing to
Introduction to Morphological Operators
Morphological Image Processing Md. Rokanujjaman Assistant Professor Dept of Computer Science and Engineering Rajshahi University.
Tutorial # 10 Morphological Operations I8oZE.
Provides mathematical tools for shape analysis in both binary and grayscale images Chapter 13 – Mathematical Morphology Usages: (i)Image pre-processing.
Chapter 9 Morphological Image Processing. Preview Morphology: denotes a branch of biology that deals with the form and structure of animals and planets.
Morphological Image Processing Spring 2006, Jen-Chang Liu.
1 Binary Image Analysis Binary image analysis consists of a set of image analysis operations that are used to produce or process binary images, usually.
Binary Image Analysis: Part 2 Readings: Chapter 3: mathematical morphology region properties region adjacency 1.
Computer Vision Basics Image Terminology Binary Operations Filtering Edge Operators.
Morphological Image Processing
2007Theo Schouten1 Morphology Set theory is the mathematical basis for morphology. Sets in Euclidic space E 2 (or rather Z 2 : the set of pairs of integers)
GUIDED BY: C.VENKATESH PRESENTED BY: S.FAHIMUDDIN C.VAMSI KRISHNA ASST.PROFESSOR M.V.KRISHNA REDDY (DEPT.ECE)
Morphological Image Processing The field of mathematical morphology contributes a wide range of operators to image processing, all based around a few simple.
CSE554Binary PicturesSlide 1 CSE 554 Lecture 1: Binary Pictures Fall 2014.
1. Binary Image B(r,c) 2 0 represents the background 1 represents the foreground
Chapter 3 Binary Image Analysis. Types of images ► Digital image = I[r][c] is discrete for I, r, and c.  B[r][c] = binary image - range of I is in {0,1}
MATHEMATICAL MORPHOLOGY I.INTRODUCTION II.BINARY MORPHOLOGY III.GREY-LEVEL MORPHOLOGY.
Mathematical Morphology Lecture 14 Course book reading: GW Lucia Ballerini Digital Image Processing.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
Chap 3 : Binary Image Analysis. Counting Foreground Objects.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
Point Operations – Chapter 5. Definition Some of the things we do to an image involve performing the same operation on each and every pixel (point) –We.
Digital Image Processing Chapter 9: Morphological Image Processing 5 September 2007 Digital Image Processing Chapter 9: Morphological Image Processing.
Blending recap Visible seams – edges that should not exist, should be avoided. People are fairly insensitive to uniform intensity shifts or gradual intensity.
Morphological Image Processing
1 Binary Image Analysis Binary image analysis consists of a set of image analysis operations that are used to produce or process binary images, usually.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
Chapter 3 cont’d. Binary Image Analysis. Binary image morphology (nonlinear image processing)
Digital Image Processing CSC331 Morphological image processing 1.
1 Regions and Binary Images Hao Jiang Computer Science Department Sept. 25, 2014.
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
Course 2 Image Filtering. Image filtering is often required prior any other vision processes to remove image noise, overcome image corruption and change.
1 Regions and Binary Images Hao Jiang Computer Science Department Sept. 24, 2009.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh Mostafa Mahdijo Mostafa Mahdijo ( J.Shanbehzadeh.
Digital Image Processing CSC331 Morphological image processing 1.
Morphological Image Processing การทำงานกับรูปภาพด้วยวิธีมอร์โฟโลจิคัล
Erosion: Erosion is used for shrinking of element A by using element B
Mathematical Morphology
Low level Computer Vision 1. Thresholding 2. Convolution 3. Morphological Operations 4. Connected Component Extraction 5. Feature Extraction 1.
CS654: Digital Image Analysis
CDS 301 Fall, 2008 Image Visualization Chap. 9 November 11, 2008 Jie Zhang Copyright ©
Morphological Image Processing Robotics. 2/22/2016Introduction to Machine Vision Remember from Lecture 12: GRAY LEVEL THRESHOLDING Objects Set threshold.
 Mathematical morphology is a tool for extracting image components that are useful in the representation and description of region shape, such as boundaries,
Digital Image Processing Morphological Image Processing.
BYST Morp-1 DIP - WS2002: Morphology Digital Image Processing Morphological Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department.
Morphology Morphology deals with form and structure Mathematical morphology is a tool for extracting image components useful in: –representation and description.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
Digital Image Processing, Spring ECES 682 Digital Image Processing Week 8 Oleh Tretiak ECE Department Drexel University.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Lecture 11+x+1 Chapter 9 Morphological Image Processing.
CSE 554 Lecture 1: Binary Pictures
Binary Image Analysis Gokberk Cinbis
HIT and MISS.
Introduction to Morphological Operators
Lecture 8 Introduction to Binary Morphology
Binary Image Analysis used in a variety of applications:
Binary Image processing بهمن 92
Morphological Operation
Morphological Image Processing
Department of Computer Engineering
Binary Image Analysis: Part 2 Readings: Chapter 3:
Morphological Operators
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Binary Image Analysis used in a variety of applications:
Presentation transcript:

Morphology – Chapter 10

Binary image processing Often it is advantageous to reduce an image from gray level (multiple bits/pixel) to binary (1 bit/pixel) –Threshold the gray level image to isolate objects –Edge detect and threshold the edge magnitude map –Special lighting (assembly line manufacturing applications) The goal is to separate the image into foreground and background components

Binarization

But, the process is not always perfect (is rarely perfect?) –Foreground objects have holes (background shows through)

Binarization But, the process is not always perfect (is rarely perfect?) –Contours get broken

Morphology Morphology is a set of processes that allow us to alter the structure of the binary image Foundations in set theory –The image forms one set – the set of pixels that make up the foreground –The structuring element forms the other set – much like a convolution kernel

Structuring element Looks like a convolution kernel –Contains only 0 and 1 –Has a designated hot spot (origin) –The hot spot is placed over the “current pixel” (like the center of the convolution kernel) –The hot spot need not be in the center –The hot spot can be either 0 or 1

The operations All are based on set theory –Definitions are based on intersections and unions of the image and the structuring element (logical AND/OR operations) The two fundamental operations are –Dilation – growing the foreground of the image –Erosion – shrinking the foreground of the image

Dilation No need to show the set theory definition – better to just see the words Place the hot spot on top of an image pixel that is in the set (a foreground pixel) Copy the 1’s of the structuring element into the image set Note that this must be done using double buffering (don’t overwrite the original image)

Dilation

Erosion No need to show the set theory definition – better to just see the words Place the hot spot on top of an image pixel that is in the set (a foreground pixel) Place a 1 in the image only if all of the 1’s of the structuring element align with 1’s in the image Note that this must be done using double buffering (don’t overwrite the original image)

Erosion

Dilation/Erosion usage Among other things… –Dilation is good for filling small holes –Erosion is good for removing small tails Dilation of the foreground can be achieved by erosion of the background –See next slide for explanation

Dilation/Erosion Dilation operation Erosion operation Reflection of the structuring element (change coordinates from – to +, + to -) Reflect All this really means is that implementation is easy

Typical… The shape of the structuring element is often a circular disk (approximate) –This results in a symmetrical dilation or erosion (which is often desired) There is no easy (i.e. efficient) way to do this stuff –Lots of nested loops is all you can do

Composite operations Opening –Erosion followed by dilation (same structuring element) Erosion removes small elements (like noise) Dilation puts the remaining stuff [almost] back to how it was Closing –Dilation followed by erosion (same structuring element) Dilation removes small holes and notches Erosion puts the remaining stuff [almost] back to how it was

Composite operations Opening the foreground is equivalent to closing the background –Again, this just means implementation is easy –To do opening, invert the image (swap foreground and background) and perform a closing operation

Grayscale morphology Instead of checking for values equal to 1 or 0 (and copying into the result image, etc.) you check for minimum and maximum values From my experience this isn’t done very much –The book doesn’t go into details –ImageJ doesn’t implement –So I’m going to just move on