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

Similar documents
Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu

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

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

EE 584 MACHINE VISION

Processing of binary images

Morphological Image Processing

Morphological Image Processing

EECS490: Digital Image Processing. Lecture #22

Biomedical Image Analysis. Mathematical Morphology

CITS 4402 Computer Vision

EE795: Computer Vision and Intelligent Systems

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

Digital Image Processing COSC 6380/4393

Topic 6 Representation and Description

Counting Particles or Cells Using IMAQ Vision

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

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

Morphological Image Processing

Machine vision. Summary # 5: Morphological operations

Mathematical Morphology and Distance Transforms. Robin Strand

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

SECTION 5 IMAGE PROCESSING 2

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

From Pixels to Blobs

ECG782: Multidimensional Digital Signal Processing

EECS490: Digital Image Processing. Lecture #17

EE 701 ROBOT VISION. Segmentation

Binary Image Proc: week 2

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

COMPUTER AND ROBOT VISION

Morphological Image Algorithms

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

EECS490: Digital Image Processing. Lecture #23

morphology on binary images

ECG782: Multidimensional Digital Signal Processing

Image Processing Fundamentals. Nicolas Vazquez Principal Software Engineer National Instruments

PPKE-ITK. Lecture

Chapter 9 Morphological Image Processing

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

Image Analysis. Morphological Image Analysis

Morphological Image Processing

Problem definition Image acquisition Image segmentation Connected component analysis. Machine vision systems - 1

Boundary descriptors. Representation REPRESENTATION & DESCRIPTION. Descriptors. Moore boundary tracking

IN5520 Digital Image Analysis. Two old exams. Practical information for any written exam Exam 4300/9305, Fritz Albregtsen

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

Morphological Image Processing

Edges and Binary Images

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

Schools of thoughts on texture

Morphological Compound Operations-Opening and CLosing

Lecture 7: Morphological Image Processing

Robot vision review. Martin Jagersand

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

Programming for Engineers in Python. Recitation 10

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

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

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

Image Analysis Lecture Segmentation. Idar Dyrdal

Bioimage Informatics

Operators-Based on Second Derivative double derivative Laplacian operator Laplacian Operator Laplacian Of Gaussian (LOG) Operator LOG

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 I

Image Analysis Image Segmentation (Basic Methods)

Digital Image Processing

Region-based Segmentation

Detection of Edges Using Mathematical Morphological Operators

Segmentation

Finger Print Analysis and Matching Daniel Novák

Processing and Others. Xiaojun Qi -- REU Site Program in CVMA

Digital image processing

ECEN 447 Digital Image Processing

Final Review. Image Processing CSE 166 Lecture 18

Edges and Binary Image Analysis April 12 th, 2018

Chapter 3 Image Registration. Chapter 3 Image Registration

Depatment of Computer Science Rutgers University CS443 Digital Imaging and Multimedia Assignment 4 Due Apr 15 th, 2008

Lecture 18 Representation and description I. 2. Boundary descriptors

Review for the Final

CHAPTER 3 FACE DETECTION AND PRE-PROCESSING

Mathematical morphology... M.1 Introduction... M.1 Dilation... M.3 Erosion... M.3 Closing... M.4 Opening... M.5 Summary... M.6

Image Segmentation. Schedule. Jesus J Caban 11/2/10. Monday: Today: Image Segmentation Topic : Matting ( P. Bindu ) Assignment #3 distributed

Basic Algorithms for Digital Image Analysis: a course

Segmentation

Filtering and Enhancing Images

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

Edges and Binary Image Analysis. Thurs Jan 26 Kristen Grauman UT Austin. Today. Edge detection and matching

Analysis of Binary Images

Shape Prediction Linear Algorithm Using Fuzzy

Lecture 3: Basic Morphological Image Processing

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

N.Priya. Keywords Compass mask, Threshold, Morphological Operators, Statistical Measures, Text extraction

Types of image feature and segmentation

The. Handbook ijthbdition. John C. Russ. North Carolina State University Materials Science and Engineering Department Raleigh, North Carolina

Programming for Engineers in Python. Recitation 12 Image Processing

Digital Image Processing Chapter 11: Image Description and Representation

A Visual Programming Environment for Machine Vision Engineers. Paul F Whelan

DiaWear. Figure 1: Overall DiaWear System

Mathematical morphology for grey-scale and hyperspectral images

IDENTIFICATION OF MATURED COCONUT AND ITS LOCATION USING OPENCV

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Segmentation Using a Region Growing Thresholding

Filters. Advanced and Special Topics: Filters. Filters

Transcription:

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 background represents the foreground is used in a number of practical applications part inspection riveting fish counting document processing What kinds of operations? Example: red blood cell image eparate objects from background and from one another Aggregate pixels for each object Compute features for each object Many blood cells are separate objects Many touch bad! alt and pepper noise from thresholding How useable is this data? Results of analysis 6 separate objects detected ingle cells have area about 5 Noise spots Gobs of cells Useful Operations. Thresholding a gray-tone image. Determining good thresholds. Connected components analysis. inary mathematical morphology 5. All sorts of feature extractors (area, centroid, circularity, ) 5 6

Thresholding ackground is black Healthy cherry is bright ruise is medium dark Histogram shows two cherry regions (black background has been removed) pixel counts gray-tone values 56 7 Histogram-Directed Thresholding How can we use a histogram to separate an image into (or several) different regions? Is there a single clear threshold??? 8 Automatic Thresholding: Otsu s Method Thresholding Example Assumption: the histogram is bimodal Grp Grp 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. t ee text (at end of Chapter ) for the recurrence relations; in practice, this operator works very well for true bimodal distributions and not too badly for others. 9 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 () or a component. Methods for CC Analysis. Recursive Tracking (almost never used). arallel Growing (needs parallel hardware). Row-by-Row (most common) Classical Algorithm (see text) Efficient Run-Length Algorithm (developed for speed in real industrial applications)

Equivalent Labels Original inary Image Equivalent Labels The Labeling rocess Run-Length Data tructure Rstart Rend 5 6 7 7 inary Image Row Index 5 6 7 row scol ecol label U N U E D Runs 5 Run-Length Algorithm rocedure run_length_classical { initialize Run-Length and Union-Find data structures count <- /* ass (by rows) */ for each current row and its previous row { move pointer along the runs of current row move pointer along the runs of previous row 6 Case : No Overlap Case : Overlap ///// ///// //// /// /// ///// ubcase : s run has no label yet /////// ///// ///////////// ubcase : s run has a label that is different from s run /////// ///// ///////////// /* new label */ count <- count + label() <- count <- + /* check s next run */ <- + label() <- label() move pointer(s) } union(label(),label()) move pointer(s) 7 8

ass (by runs) /* Relabel each run with the name of the equivalence class of its label */ For each run M { label(m) <- find(label(m)) } } where union and find refer to the operations of the Union-Find data structure, which keeps track of sets of equivalent labels. Labeling shown as seudo-color connected components of s from thresholded image connected components of cluster labels 9 Mathematical Morphology Dilation inary mathematical morphology consists of two basic operations dilation and erosion and several composite relations closing and opening conditional dilation... Dilation expands the connected sets of s of a binary image. It can be used for. growing features. filling holes and gaps Erosion tructuring Elements Erosion shrinks the connected sets of s of a binary image. It can be used for. shrinking features 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.. Removing bridges, branches and small protrusions box hexagon disk something box(length,width) disk(diameter)

Dilation with tructuring Elements Erosion with tructuring Elements The arguments to dilation and erosion are. a binary image. a structuring element dilate(,) takes binary image, places the origin of structuring element over each -pixel, and ORs the structuring element into the output image at the corresponding position. origin dilate 5 erode(,) takes a binary image, places the origin of structuring element over every pixel position, and ORs a binary into that position of the output image only if every position of (with a ) covers a in. origin erode 6 Example to Try Example to Try erode dilate with same structuring element First erode and then dilate with the same. 7 8 Opening and Closing Gear Tooth Inspection 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) original binary image How did they do it? detected defects 9 5

Region roperties roperties of the regions can be used to recognize objects. geometric properties (Ch ) gray-tone properties color properties texture properties shape properties (a few in Ch ) motion properties relationship properties ( in Ch ) Geometric and hape roperties 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 Which are statistical? Which are structural? 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. This is jumping ahead a little bit. We ll consider this further for structural image analysis. 6