Nottingham Image Analysis School, 23 – 25 June 2011 1 2011 NITS Image Segmentation Guoping Qiu School of Computer Science, University of Nottingham

Slides:



Advertisements
Similar presentations
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 8 Introduction to Binary Morphology.
Advertisements

A Graph based Geometric Approach to Contour Extraction from Noisy Binary Images Amal Dev Parakkat, Jiju Peethambaran, Philumon Joseph and Ramanathan Muthuganapathy.
Programming Assignment 2 CS 302 Data Structures Dr. George Bebis.
電腦視覺 Computer and Robot Vision I
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Document Image Processing
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Digital Image Processing Lecture 12: Image Topology
Each pixel is 0 or 1, background or foreground Image processing to
Morphological Image Processing Md. Rokanujjaman Assistant Professor Dept of Computer Science and Engineering Rajshahi University.
September 10, 2013Computer Vision Lecture 3: Binary Image Processing 1Thresholding Here, the right image is created from the left image by thresholding,
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.
Objective of Computer Vision
Objective of Computer Vision
Computer Vision Basics Image Terminology Binary Operations Filtering Edge Operators.
Binary Image Analysis. YOU HAVE TO READ THE BOOK! reminder.
E.G.M. PetrakisBinary Image Processing1 Binary Image Analysis Segmentation produces homogenous regions –each region has uniform gray-level –each region.
1 Image Processing(IP) 1. Introduction 2. Digital Image Fundamentals 3. Image Enhancement in the spatial Domain 4. Image Enhancement in the Frequency Domain.
Image processing Lecture 4.
1. Binary Image B(r,c) 2 0 represents the background 1 represents the foreground
Recap CSC508.
G52IIP, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
Chap 3 : Binary Image Analysis. Counting Foreground Objects.
CS 6825: Binary Image Processing – binary blob metrics
Digital Image Fundamentals II 1.Image modeling and representations 2.Pixels and Pixel relations 3.Arithmetic operations of images 4.Image geometry operation.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
Binary Thresholding Threshold detection Variations
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.
Introduction Image geometry studies rotation, translation, scaling, distortion, etc. Image topology studies, e.g., (i) the number of occurrences.
Digital Image Processing CSC331 Morphological image processing 1.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Pixel Connectivity Pixel connectivity is a central concept of both edge- and region- based approaches to segmentation The notation of pixel connectivity.
1 Regions and Binary Images Hao Jiang Computer Science Department Sept. 25, 2014.
Computational Biology, Part 22 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
1 Regions and Binary Images Hao Jiang Computer Science Department Sept. 24, 2009.
CS654: Digital Image Analysis
Low level Computer Vision 1. Thresholding 2. Convolution 3. Morphological Operations 4. Connected Component Extraction 5. Feature Extraction 1.
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.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 11 Representation and.
Course 3 Binary Image Binary Images have only two gray levels: “1” and “0”, i.e., black / white. —— save memory —— fast processing —— many features of.
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 (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Morphological Image Processing
Digital Image Processing CCS331 Relationships of Pixel 1.
1. 2 What is Digital Image Processing? The term image refers to a two-dimensional light intensity function f(x,y), where x and y denote spatial(plane)
COMP 9517 Computer Vision Binary Image Analysis 4/15/2018
Digital Image Processing Lecture 15: Morphological Algorithms April 27, 2005 Prof. Charlene Tsai.
Image Representation and Description – Representation Schemes
图像处理技术讲座(3) Digital Image Processing (3) Basic Image Operations
Computer Vision Lecture 13: Image Segmentation III
Binary Image Analysis Gokberk Cinbis
Computer Vision Lecture 12: Image Segmentation II
Lecture 8 Introduction to Binary Morphology
Computer Vision Lecture 5: Binary Image Processing
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.
Binary Image processing بهمن 92
Chap.8 Image Analysis 숙명여자대학교 컴퓨터과학과 최 영 우 2005년 2학기.
Department of Computer Engineering
Digital Image Processing Lecture 15: Morphological Algorithms
Computer and Robot Vision I
Computer and Robot Vision I
Binary Image Analysis used in a variety of applications:
Presentation transcript:

Nottingham Image Analysis School, 23 – 25 June NITS Image Segmentation Guoping Qiu School of Computer Science, University of Nottingham |

Nottingham Image Analysis School, 23 – 25 June Lecture Plan Image segmentation in image analysis (ImageJ demo) A look into the algorithms … Convert an image (grey scale or color) to binary Clean up the binary image Extract/identify individual objects (regions) Describe/measure the objects (regions) Discussion/prospective

Nottingham Image Analysis School, 23 – 25 June First, a demo … ImageJ Demo Load image (File->Open) Make binary (Process->Binary->Make Binary) Process->Binary->Erode Process->Binary->Dilate Analyze->Analyze Particle

Nottingham Image Analysis School, 23 – 25 June Identify and marking region of interest Describe the objects: Shapes, sizes, populations …

Nottingham Image Analysis School, 23 – 25 June Identify and marking region of interest Describe the objects: Shapes, sizes, populations … Separating objects from the background and from each other Generally referred to as image segmentation A hard (unsolved) problem

Nottingham Image Analysis School, 23 – 25 June Identify and marking region of interest Describe the objects: Shapes, sizes, populations … Identify individual objects or regions (connected component labelling)

Nottingham Image Analysis School, 23 – 25 June Identify and marking region of interest Describe the objects: Shapes, sizes, populations … Measure the sizes, shapes, and other attributes of individual objects (regions)

Nottingham Image Analysis School, 23 – 25 June Image Segmentation A very hard (unsolved problem) Same organ, different signals Different organ, same signal

Nottingham Image Analysis School, 23 – 25 June Image Segmentation A very hard (unsolved problem) Background Or Foreground ? Even human find it hard/impossible

Nottingham Image Analysis School, 23 – 25 June Image Segmentation For simple cases, use thresholding

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Thresholding strategies One sided Two sided Set membership

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Clean up the thresholded binary image Thresholded binary image will have isolated points, objects will have holes etc, it is necessary to clean up the image, remove unwanted pixels.

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Clean up the thresholded binary image Morphological Operators Two basic operators Dilation Erosion Two combinations Closing Opening Structure elements

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Dilation For each background pixel (which we will call the input pixel) we superimpose the structuring element on top of the input image so that the origin of the structuring element coincides with the input pixel position. If at least one pixel in the structuring element coincides with a foreground pixel in the image underneath, then the input pixel is set to the foreground value. If all the corresponding pixels in the image are background, however, the input pixel is left at the background value.

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Dilation 1 1 1

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Dilation

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Erosion For each foreground pixel (which we will call the input pixel) we superimpose the structuring element on top of the input image so that the origin of the structuring element coincides with the input pixel coordinates. If for every pixel in the structuring element, the corresponding pixel in the image underneath is a foreground pixel, then the input pixel is left as it is. If any of the corresponding pixels in the image are background, however, the input pixel is also set to background value.

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Erosion 1 1 1

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Erosion

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Opening: an erosion followed by a dilation using the same structuring element for both operations

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Opening

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Closing: opening performed in reverse

Nottingham Image Analysis School, 23 – 25 June Image Segmentation Morphological Operators Closing: opening performed in reverse

Nottingham Image Analysis School, 23 – 25 June Identify Individual Object Connected Component Labeling: Give pixels belonging to the same object the same label (grey level or color)

Nottingham Image Analysis School, 23 – 25 June Identify Individual Object Connected component labelling works by scanning an image, pixel-by-pixel (from top to bottom and left to right) in order to identify connected pixel regions, i.e. regions of adjacent pixels which share the same set of intensity values.

Nottingham Image Analysis School, 23 – 25 June Identify Individual Object Connected Pixels Two pixels p and q are said to be connected if there is a sequence of foreground (1) pixels Such that

Nottingham Image Analysis School, 23 – 25 June Identify Individual Object Pixel Neighbors 010 1p1 010 Four nearest neighbors 111 1p1 111 Eight nearest neighbors

Nottingham Image Analysis School, 23 – 25 June Identify Individual Object 4- and 8-Connected Pixels When only the four nearest neighbors are considered part of the neighborhood, then pixels p and q are said to be “4- connected” When the 8 nearest neighbors are considered part of the neighborhood, then pixels p and q are said to be “8- connected” 4-connected 8-connected

Nottingham Image Analysis School, 23 – 25 June Labelling Algorithm The connected components labeling operator scans the image by moving along a row until it comes to a point p (where p denotes the pixel to be labeled at any stage in the scanning process) for which V={1}. When this is true, it examines the four neighbors of p which have already been encountered in the scan (in the case of 8-connectivity, the neighbors (i) to the left of p, (ii) above it, and (iii and iv) the two upper diagonal terms). Based on this information, the labeling of p occurs as follows: If all four neighbors are 0, assign a new label to p, else if only one neighbor has V={1}, assign its label to p, else if more than one of the neighbors have V={1}, assign one of the labels to p and make a note of the equivalences. After completing the scan, the equivalent label pairs are sorted into equivalence classes and a unique label is assigned to each class. As a final step, a second scan is made through the image, during which each label is replaced by the label assigned to its equivalence classes. For display, the labels might be different graylevels or colors.

Nottingham Image Analysis School, 23 – 25 June Labelling Algorithm Example (8-connectivity) Equivalent labels {1, 2} Original Binary ImageAfter first scan

Nottingham Image Analysis School, 23 – 25 June Labelling Algorithm Example (8-connectivity) Equivalent labels {1, 2} After 1 st scan Final label 1: {1, 2} 2: {3} After 2 nd scan (two individual objects/regions have been identified)

Nottingham Image Analysis School, 23 – 25 June Describe Objects Some useful features can be extracted once we have connected components, including Area Centroid Extremal points, bounding box Circularity Spatial moments

Nottingham Image Analysis School, 23 – 25 June Describe Objects Area Centroid

Nottingham Image Analysis School, 23 – 25 June Summary Identify and marking region of interest will normally involve the following steps Describe the objects: Shapes, sizes, populations …

Nottingham Image Analysis School, 23 – 25 June Summary Identify and marking region of interest will normally involve the following steps Convert an image (grey scale or color) to binary (also referred to as image segmentation). Clean up the binary image Extract individual objects (regions) Describe the objects (regions)

Nottingham Image Analysis School, 23 – 25 June Discussion (Automatic) Image segmentation is one of the most critical phases in image analysis (but it is still very hard!) Simple thresholding After some morphological processing

Nottingham Image Analysis School, 23 – 25 June Discussion Semi-automatic and more sophisticated segmentation algorithms exist User specify pixel classes

Nottingham Image Analysis School, 23 – 25 June Discussion Looking into the future - computer aided diagnosis … Describe the objects: Shapes, sizes, populations … Machine learning Mathematic Models AI Algorithms Object/region descriptions Diagnosis Output