Binary Image Analysis: Part 2 Readings: Chapter 3:

Slides:



Advertisements
Similar presentations
Binary Image Analysis Selim Aksoy Department of Computer Engineering Bilkent University
Advertisements

電腦視覺 Computer and Robot Vision I
Binary Image Analysis Selim Aksoy Department of Computer Engineering Bilkent University
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.
Provides mathematical tools for shape analysis in both binary and grayscale images Chapter 13 – Mathematical Morphology Usages: (i)Image pre-processing.
Common Low-level Operations for Processing & Enhancement
Morphology Structural processing of images Image Processing and Computer Vision: 33 Morphological Transformations Set theoretic methods of extracting.
Data Structures For Image Analysis
Processing Digital Images. Filtering Analysis –Recognition Transmission.
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.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
E.G.M. PetrakisBinary Image Processing1 Binary Image Analysis Segmentation produces homogenous regions –each region has uniform gray-level –each region.
GUIDED BY: C.VENKATESH PRESENTED BY: S.FAHIMUDDIN C.VAMSI KRISHNA ASST.PROFESSOR M.V.KRISHNA REDDY (DEPT.ECE)
1. Binary Image B(r,c) 2 0 represents the background 1 represents the foreground
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.
CS 376b Introduction to Computer Vision 02 / 22 / 2008 Instructor: Michael Eckmann.
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
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.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
1 Regions and Binary Images Hao Jiang Computer Science Department Sept. 25, 2014.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh Mostafa Mahdijo Mostafa Mahdijo ( J.Shanbehzadeh.
Digital Image Processing CSC331 Morphological image processing 1.
Morphological Image Processing การทำงานกับรูปภาพด้วยวิธีมอร์โฟโลจิคัล
Low level Computer Vision 1. Thresholding 2. Convolution 3. Morphological Operations 4. Connected Component Extraction 5. Feature Extraction 1.
CS654: Digital Image Analysis
Nottingham Image Analysis School, 23 – 25 June NITS Image Segmentation Guoping Qiu School of Computer Science, University of Nottingham
CS 376b Introduction to Computer Vision 02 / 15 / 2008 Instructor: Michael Eckmann.
CSSE463: Image Recognition Day 9 Lab 3 (edges) due Weds, 3:25 pm Lab 3 (edges) due Weds, 3:25 pm Take home quiz due Friday, 4:00 pm. Take home quiz due.
Morphological Image Processing Robotics. 2/22/2016Introduction to Machine Vision Remember from Lecture 12: GRAY LEVEL THRESHOLDING Objects Set threshold.
BYST Morp-1 DIP - WS2002: Morphology Digital Image Processing Morphological Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Morphological Image Processing
1 Review and Summary We have covered a LOT of material, spending more time and more detail on 2D image segmentation and analysis, but hopefully giving.
Content Based Coding of Face Images
1. Images as Functions 2 A Binary image is a function B(x,y) Є [0,1] Gray-tone image is a function: g(x,y) Є [0.,1,….L-1] A color image is represented.
CSSE463: Image Recognition Day 9
COMP 9517 Computer Vision Binary Image Analysis 4/15/2018
Common Low-level Operations for Processing & Enhancement
Digital Image Processing CP-7008 Lecture # 09 Morphological Image Processing Fall 2011.
CSE 554 Lecture 1: Binary Pictures
Computer and Robot Vision I
Digital Image Processing Lecture 20: Representation & Description
Binary Image Analysis Gokberk Cinbis
HIT and MISS.
Introduction to Morphological Operators
Brain Hemorrhage Detection and Classification Steps
Content-Based Image Retrieval
Content-Based Image Retrieval
Binary Image Analysis used in a variety of applications:
CS Digital Image Processing Lecture 5
Binary Image processing بهمن 92
Computer and Robot Vision I
CSSE463: Image Recognition Day 9
Department of Computer Engineering
Morphological Operators
CSSE463: Image Recognition Day 9
ECE 692 – Advanced Topics in Computer Vision
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
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:

Binary Image Analysis: Part 2 Readings: Chapter 3: 3.5-3.7 mathematical morphology region properties region adjacency

Mathematical Morphology Binary mathematical morphology consists of two basic operations dilation and erosion and several composite relations closing and opening conditional dilation . . .

Dilation Dilation expands the connected sets of 1s of a binary image. It can be used for 1. growing features 2. filling holes and gaps

Erosion Erosion shrinks the connected sets of 1s of a binary image. It can be used for 1. shrinking features 2. Removing bridges, branches and small protrusions

Structuring Elements A structuring element is a shape mask used in the basic morphological operations. They can be any shape and size that is digitally representable, and each has an origin. The origin is usually the center if the structuring element is symmetric. box disk hexagon something box(length,width) disk(diameter)

Dilation with Structuring Elements The arguments to dilation and erosion are a binary image B a structuring element S dilate(B,S) takes binary image B, places the origin of structuring element S over each 1-pixel, and ORs the structuring element S into the output image at the corresponding position. 0 0 0 0 0 1 1 0 dilate 0 1 1 0 0 1 1 1 0 0 0 0 1 1 1 S B B  S origin

Erosion with Structuring Elements erode(B,S) takes a binary image B, places the origin of structuring element S over every pixel position, and ORs a binary 1 into that position of the output image only if every position of S (with a 1) covers a 1 in B. origin 0 0 0 0 0 0 0 1 1 0 0 0 1 1 0 1 1 1 1 1 1 erode B S B S

Example to Try 0 0 1 0 0 1 0 0 0 0 1 1 1 1 1 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 S B 1 1 1 erode 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 dilate with same structuring element This kind of erosion plus dilation is called an opening.

Opening and Closing Closing is the compound operation of dilation followed by erosion (with the same structuring element) Opening is the compound operation of erosion followed by dilation (with the same structuring element)

Use of Opening Original Opening Corners What kind of structuring element was used in the opening? How did we get the corners?

Gear Tooth Inspection original binary image How did they do it? detected defects

Some Details (see Ch 3) 1. Original image 2. Find centers of holes by erosion with a circular ring element 3. Dilate by a 4. OR the hexagons hexagon mask into the original 5. Use disc the size of the body, open 6. AND result of 5 to remove teeth. with 1 to get Dilate. Subtract. just the teeth. 7. Dilate 6 with a 7. Show defects small element in red for customer that leaves the defects as holes

Region Properties Properties of the regions can be used to recognize objects. geometric properties (Ch 3) gray-tone properties color properties texture properties shape properties (a few in Ch 3) motion properties relationship properties (1 in Ch 3)

Geometric and Shape Properties area centroid perimeter perimeter length circularity elongation mean and standard deviation of radial distance bounding box extremal axis length from bounding box second order moments (row, column, mixed) lengths and orientations of axes of best-fit ellipse

Region Adjacency Graph A region adjacency graph (RAG) is a graph in which each node represents a region of the image and an edge connects two nodes if the regions are adjacent. 1 1 2 2 4 3 4 3

What’s all this for? Once regions are identified and their properties and relationships computed, we can start using them for higher-level tasks such as: inspection object recognition image matching classification in general