Binary Image Analysis used in a variety of applications:

Slides:



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

Programming Assignment 2 CS 302 Data Structures Dr. George Bebis.
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Binary Image Analysis Selim Aksoy Department of Computer Engineering Bilkent University
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Chapter 9: Morphological Image Processing
Each pixel is 0 or 1, background or foreground Image processing to
Introduction to Morphological Operators
Tutorial # 10 Morphological Operations I8oZE.
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.
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.
CS 376b Introduction to Computer Vision 02 / 25 / 2008 Instructor: Michael Eckmann.
Computer Vision Basics Image Terminology Binary Operations Filtering Edge Operators.
1. Binary Image B(r,c) 2 0 represents the background 1 represents the foreground
图像处理技术讲座(10) Digital Image Processing (10) 灰度的数学形态学(2) Mathematical morphology in gray scale (2) 顾 力栩 上海交通大学 计算机系
GUIDED BY: C.VENKATESH PRESENTED BY: S.FAHIMUDDIN C.VAMSI KRISHNA ASST.PROFESSOR M.V.KRISHNA REDDY (DEPT.ECE)
CSE554Binary PicturesSlide 1 CSE 554 Lecture 1: Binary Pictures Fall 2013.
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 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 6825: Binary Image Processing – binary blob metrics
CS 376b Introduction to Computer Vision 02 / 22 / 2008 Instructor: Michael Eckmann.
Binary Thresholding Threshold detection Variations
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.
Image Segmentation and Morphological Processing Digital Image Processing in Life- Science Aviad Baram
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.
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 การทำงานกับรูปภาพด้วยวิธีมอร์โฟโลจิคัล
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
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
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. 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.
COMP 9517 Computer Vision Binary Image Analysis 4/15/2018
Digital Image Processing Lecture 15: Morphological Algorithms April 27, 2005 Prof. Charlene Tsai.
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
Binary Image Analysis Gokberk Cinbis
Lecture 8 Introduction to Binary Morphology
Binary Image Analysis: Part 1 Readings: Chapter 3: 3.1, 3.4, 3.8
Introduction Computer vision is the analysis of digital images
Binary Image Analysis used in a variety of applications:
Binary Image Analysis: Part 1 Readings: Chapter 3: 3.1, 3.4, 3.8
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.
Binary Image processing بهمن 92
Department of Computer Engineering
Morphological Image Processing
Digital Image Processing Lecture 15: Morphological Algorithms
Binary Image Analysis: Part 2 Readings: Chapter 3:
ECE 692 – Advanced Topics in Computer Vision
Introduction Computer vision is the analysis of digital images
Computer and Robot Vision I
Computer and Robot Vision I
Morphological Operators
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Morphological Filters Applications and Extension Morphological Filters
Presentation transcript:

Binary Image Analysis used in a variety of applications: part inspection riveting fish counting document processing consists of a set of image analysis operations that are used to produce or process binary images, usually images of 0’s and 1’s. 00010010001000 00011110001000

Example: red blood cell image Many blood cells are separate objects Many touch – bad! Salt and pepper noise from thresholding What operations are needed to clean it up?

Useful Operations Thresholding a gray-tone image Determining good thresholds Filtering with mathematical morphology Connected components analysis Numeric feature extraction location features gray-tone features shape features ...

Thresholding Background is black Healthy cherry is bright Bruise is medium dark Histogram shows two cherry regions (black background has been removed) pixel counts 256 gray-tone values

Automatic Thresholding: Otsu’s Method Grp 1 Grp 2 Assumption: the histogram is bimodal t Method: find the threshold t that minimizes the weighted sum of within-group variances for the two groups that result from separating the gray tones at value t. Works well if the assumption holds.

Thresholding Example original image pixels above threshold

Mathematical Morphology (Dilation, Erosion, Closing, Opening) 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. 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

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)

Application: Gear Tooth Inspection original binary image detected defects

Connected Components Labeling Once you have a binary image, you can identify and then analyze each connected set of pixels. The connected components operation takes in a binary image and produces a labeled image in which each pixel has the integer label of either the background (0) or a component. original thresholded opening+closing components

Methods for CC Analysis Recursive Tracking (almost never used) Parallel Growing (needs parallel hardware) Row-by-Row (most common) a. propagate labels down to the bottom, recording equivalences b. Compute equivalence classes c. Replace each labeled pixel with the label of its equivalence class.

Labelings shown as Pseudo-Color connected components of 1’s from cleaned, thresholded image connected components of cluster labels