Lecture 8 Introduction to Binary Morphology

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.
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 3 Image Processing/Analysis Basic Requirements.
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 10 Advanced Image Restoration Other Methods - Batch.
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 6 Morphological Segmentation Orientation Analysis.
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 1 Introduction.
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 9 Grey-Level Morphology and Multi-Spectral Methods.
Table of Contents 9.5 Some Basic Morphological Algorithm
Document Image Processing
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)
Binary Morphology A method for … –Dilation –Erosion –Opening –Closing -750-
Each pixel is 0 or 1, background or foreground Image processing to
Introduction to Morphological Operators
Tutorial # 10 Morphological Operations I8oZE.
© red ©
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.
Course Website: Digital Image Processing Morphological Image Processing.
Computer Vision Basics Image Terminology Binary Operations Filtering Edge Operators.
Copyright © 2012 Elsevier Inc. All rights reserved.. Chapter 9 Binary Shape Analysis.
CSE554Binary PicturesSlide 1 CSE 554 Lecture 1: Binary Pictures Fall 2013.
CSE554Binary PicturesSlide 1 CSE 554 Lecture 1: Binary Pictures Fall 2014.
Lecture 5. Morphological Image Processing. 10/6/20152 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
Image Representation. Objectives  Bitmaps: resolution, colour depth and simple bitmap file calculations.  Vector graphics: drawing list – objects and.
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.
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
1 Regions and Binary Images Hao Jiang Computer Science Department Sept. 24, 2009.
Binary Morphology A method for … –Dilation –Erosion –Opening –Closing -750-
Digital Image Processing CSC331 Morphological image processing 1.
Mathematical Morphology
CS654: Digital Image Analysis
Nottingham Image Analysis School, 23 – 25 June NITS Image Segmentation Guoping Qiu School of Computer Science, University of Nottingham
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
 Mathematical morphology is a tool for extracting image components that are useful in the representation and description of region shape, such as boundaries,
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.
Chapter 6 Skeleton & Morphological Operation. Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post.
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 8 Introduction to Binary Morphology.
Morphological Image Processing
The Periodic Table IGCSE Chemistry.
Content Based Coding of Face Images
Colour mix cards with words This is a useful prompt to ensure that exploring and using media and materials is covered and taught.
THE ELEMENTS AND PRINCIPLES OF DESIGN.
Digital Image Processing Lecture 15: Morphological Algorithms April 27, 2005 Prof. Charlene Tsai.
Digital Image Processing CP-7008 Lecture # 09 Morphological Image Processing Fall 2011.
CSE 554 Lecture 1: Binary Pictures
Computer Science Higher
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
HIT and MISS.
Introduction to Morphological Operators
CSSE463: Image Recognition Day 3
Binary Image Analysis used in a variety of applications:
CS Digital Image Processing Lecture 5
EEEB0765 Digital Signal Processing for Embedded Systems 8 Video and Image Processing in Embedded Systems (I) Assoc. Prof. Dr. Peerapol Yuvapoositanon.
Erosion The basic morphological operations applied to either grayscale or binary images are Erosion and Dilation. Erosion shrinks image objects while.
Can I color yellow?. Can I color yellow?
Department of Computer Engineering
Digital Image Processing Lecture 15: Morphological Algorithms
What Color is it?.
Morphological Operators
CSSE463: Image Recognition Day 3
Learning outcomes All will trim the edges of their mask to make it neater All will draw the main features and details onto their mask Most will begin to.
CS654: Digital Image Analysis
COLOURS.
Op Art Directions.
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Binary Image Analysis used in a variety of applications:
Morphological Filters Applications and Extension Morphological Filters
Presentation transcript:

Lecture 8 Introduction to Binary Morphology 5th Intensive Course on Soil Micromorphology Naples 2001 12th - 14th September Image Analysis Lecture 8 Introduction to Binary Morphology

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Introduction to Binary Morphology Methods Requires Segmentation of Image into Binary Form (may require manual editting). Foreground pixels are coded 1 - background 0 i.e. Particles 1 (white), voids 0 (black) or Voids 1 (white), particles 0 (black) Erosion/Dilation Opening/Closing Kernel Shapes Applications in Particle / Void Size Distribution

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Erosion strips one layer of foreground pixels at edges of particles criteria based on number of surrounding background pixels can be any number 1 - 8 pixel of interest is red white - foreground black - background

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology a) foreground pixel removed for all criteria. h) foreground pixel removed only if criteria is set to 1 pixel. Criteria may also specify that diagonal erosion is (or is not permitted). Erosion not permitted if diagonals not allowed in (j)

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Connectivity: 4 - point connectivity allows connection only up/down and side to side 8 - point connectivity allows connection on diagonals In 4 - point connectivity, foreground and background are uniquely separated. In 8 - point connectivity is background or foreground continuous across diagonal? Both are not possible

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Erosion of original by one layer criterion - a single touching background pixel 8 - point connectivity 4 - point connectivity

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Erosion by 2 and 3 layers 8 - point connectivity All foreground features will disappear. Erosion by 2 and 3 layers 4 - point connectivity Some residual parts of largest particle remain. Until particles disappear the residues are less rough

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Dilation - the reverse of erosion Once again similar criteria apply 4 - point connectivity Individual features will merge 8 - point connectivity

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology 8 - point connectivity erosion Equivalent to passing a 3 x 3 kernel over binary image. Where central point of kernel hits background, all pixels covered by kernel are set to background

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology 4 - point connectivity erosion Equivalent to passing a 3 x 3 kernel over binary image. Where central point of kernel hits background, all pixels covered by kernel are set to background

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Non-standard Kernels may be used for special effects

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Consider effect of one erosion followed by one dilation. This is known as an “OPENING”

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Red: Residual after erosion Yellow: Recovered after dilation Blue: Complete particles lost Green: Roughness lost on large particles Using careful housekeeping it is possible to identify proportion of particles lost completely and “roughness” lost from large particles.

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology 2 cycles of erosion (8 - point connectivity) 2 cycles of erosion followed by 2 cycles of dilation (8 - point connectivity) Components of “opening” - see next slide

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Light Green: Roughness cycle 1 Dark Green: Roughness cycle 2 Red: Residue after 2 cycles Yellow: Recovery cycle 1 Orange: Recovery cycle 2 Blue: Particles lost cycle 1 Purple: Particles lost cycle 2

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology 2 cycles of 3 x 3 kernel are equivalent to 1 cycle by a 5 x 5 kernel. Can be used for efficiency Alternative kernel for 5 x 5 which approximates more closely to a circle (i.e. corner pixels are omitted) Kernel for 3 cycles giving a good approximation to a circle / octagon).

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Standard Kernels for 9 x 9 array These 4 shapes can be propagated to any size

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Procedure for feature size analysis n = 1 n = n + 1 Yes Erode n cycles Dilate n cycles Determine pixels lost as roughness Determine pixels lost from particles which disappear Are particle residues left No Summarise results

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Grey Level Image Binary Version Schematic Representation of one erosion and one dilation

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology BINARY MORPHOLOGY During successive opening, features tend towards circles. At each stage, protrusions are lost and this loss is related to the shape and roughness of grains. Finally, the remaining feature is lost and this is related to the size of the feature. Careful housekeeping is needed to differentiate between two types of loss, but procedure is well established in some branches of microscopy. The difficulty in achieving a reliable threshold makes the method generally unsuitable for analysing images of cores.

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Binary Morphology used to determine Particle size Distribution

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Roundness Often defined relating to sharpness of asperities on a grain Sometimes roundness is defined by drawing circles, but when exactly should on draw a circle?

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Grain is successively “opened” with different radii. The lighter colours (yellow) show parts lost first. Ultimately remainder of grain disappears when inscribed circle is as shown in blue. If octagonal or square “structuring” elements are used, then grain degenerates to these shapes.

Image Analysis - Lecture 8: Binary Morphology 5th Intensive Course on Soil Micromorphology - Naples 2001 Image Analysis - Lecture 8: Binary Morphology Grain is successively subjected to “opening” of different radii. The edge of the grain are shown in colour where light colours (e.g. yellow represent areas lost first - i.e. sharp), and dark colours (e.g. dark blue are lost last. Can be used as a more objective measure of roundness.