Machine Vision ENT 273 Lecture 4 Hema C.R.

Slides:



Advertisements
Similar presentations
E.G.M. PetrakisImage Segmentation1 Segmentation is the process of partitioning an image into regions –region: group of connected pixels with similar properties.
Advertisements

Clustering & image segmentation Goal::Identify groups of pixels that go together Segmentation.
Lecture 07 Segmentation Lecture 07 Segmentation Mata kuliah: T Computer Vision Tahun: 2010.
Computer Vision Lecture 16: Region Representation
Segmentation and Region Detection Defining regions in an image.
Content Based Image Retrieval
EE 7730 Image Segmentation.
Chapter 10 Image Segmentation.
Machinen Vision and Dig. Image Analysis 1 Prof. Heikki Kälviäinen CT50A6100 Lectures 8&9: Image Segmentation Professor Heikki Kälviäinen Machine Vision.
Segmentation Divide the image into segments. Each segment:
Image Segmentation. Introduction The purpose of image segmentation is to partition an image into meaningful regions with respect to a particular application.
CS 376b Introduction to Computer Vision 04 / 04 / 2008 Instructor: Michael Eckmann.
Chapter 10 Image Segmentation.
Segmentation (Section 10.3 & 10.4) CS474/674 – Prof. Bebis.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP9 Region-Based Segmentation Miguel Tavares.
Image Segmentation Using Region Growing and Shrinking
CS292 Computational Vision and Language Segmentation and Region Detection.
Thresholding Thresholding is usually the first step in any segmentation approach We have talked about simple single value thresholding already Single value.
Image Segmentation CIS 601 Fall 2004 Longin Jan Latecki.
Chapter 10: Image Segmentation
CS654: Digital Image Analysis Lecture 3: Data Structure for Image Analysis.
Computer Vision Lecture 5. Clustering: Why and How.
G52IIP, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
Digital Image Processing In The Name Of God Digital Image Processing Lecture8: Image Segmentation M. Ghelich Oghli By: M. Ghelich Oghli
Digital Image Processing CSC331
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
Chapter 10 Image Segmentation.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
G52IVG, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
Pixel Connectivity Pixel connectivity is a central concept of both edge- and region- based approaches to segmentation The notation of pixel connectivity.
Image Segmentation and Edge Detection Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
CS654: Digital Image Analysis
Image Segmentation by Histogram Thresholding Venugopal Rajagopal CIS 581 Instructor: Longin Jan Latecki.
Image Segmentation Dr. Abdul Basit Siddiqui. Contents Today we will continue to look at the problem of segmentation, this time though in terms of thresholding.
Digital Image Processing
October 1, 2013Computer Vision Lecture 9: From Edges to Contours 1 Canny Edge Detector However, usually there will still be noise in the array E[i, j],
Machine Vision ENT 273 Regions and Segmentation in Images Hema C.R. Lecture 4.
November 5, 2013Computer Vision Lecture 15: Region Detection 1 Basic Steps for Filtering in the Frequency Domain.
Region Detection Defining regions of an image Introduction All pixels belong to a region Object Part of object Background Find region Constituent pixels.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
Color Image Segmentation Mentor : Dr. Rajeev Srivastava Students: Achit Kumar Ojha Aseem Kumar Akshay Tyagi.
Lecture z Chapter 10: Image Segmentation. Segmentation approaches 1) Gradient based: How different are pixels? 2) Thresholding: Converts grey-level images.
Student Gesture Recognition System in Classroom 2.0 Chiung-Yao Fang, Min-Han Kuo, Greg-C Lee, and Sei-Wang Chen Department of Computer Science and Information.
Course : T Computer Vision
Digital Image Processing (DIP)
Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 5
Clustering and Segmentation
Image Segmentation.
COMP 9517 Computer Vision Segmentation 7/2/2018 COMP 9517 S2, 2017.
Computer Vision Lecture 13: Image Segmentation III
DIGITAL SIGNAL PROCESSING
Image Segmentation – Edge Detection
UZAKTAN ALGIILAMA UYGULAMALARI Segmentasyon Algoritmaları
: Chapter 9: Image Segmentation
Digital Image Processing
Mean Shift Segmentation
Computer Vision Lecture 12: Image Segmentation II
Understanding Regions and Region Segmentation
DICOM 11/21/2018.
Digital Image Processing
CS Digital Image Processing Lecture 5
Miguel Tavares Coimbra
Digital Image Processing
Image Segmentation.
Segmentation and Edge Detection
Image Segmentation Using Region Growing and Shrinking
Presentation transcript:

Machine Vision ENT 273 Lecture 4 Hema C.R. Regions and Segmentation in Images Lecture 4

Road Map Regions Region Segmentation Thresholding Methods Region Representation Region Merging Region Splitting Region Growing Hema ENT 273 Lecture 4

Introduction First step in image analysis is to partition the image into object or region. There are 2 ways of partitioning an image Region-based segmentation Boundary estimation using edge detection Hema ENT 273 Lecture 4

Regions A region is a group of connected pixels with similar properties Regions may correspond to objects in a scene and hence are important in image interpretation Hema ENT 273 Lecture 4

Segmentation Segmentation A method to partition an image into sub images is called regions Each region is an object candidate Segmentation is a very important step in understanding images Principal of segmentation Value similarity Spatial proximity Hema ENT 273 Lecture 4

Region Segmentation Given a set of image pixels I and a homogenous predicate P(.), a partition of the image I into a set of n region Ri The predicate properties are any region satisfy the predicate and any two adjacent regions cannot merged Hema ENT 273 Lecture 4

Region Segmentation Thresholding is the simplest region segmentation technique Simple segmentation is conversion of a grayscale image to a binary image where image is partitioned into two sets. Hema ENT 273 Lecture 4

Automatic Thresholding A thresholding scheme that uses knowledge of objects such as Intensity levels of objects Size of objects Fraction of image occupied by objects Types of different objects in image to select a proper threshold value for each image without human intervention is called an automatic thresholding scheme Hema ENT 273 Lecture 4

Common Approaches to Automatic Thresholding P-tile method Mode method Iterative Method Adaptive Method Variable Method Double Thresholding Method Hema ENT 273 Lecture 4

Common Approaches to Automatic Thresholding P- Tile Method Use size or area of desired object to threshold an image, threshold chosen to assign p percent of pixels to the object. Hema ENT 273 Lecture 4

Common Approaches to Automatic Thresholding Mode Method When objects and background have two different gray levels , then threshold can be determined from the valley points of the histogram Hema ENT 273 Lecture 4

If there are n objects with various peak Hema ENT 273 Lecture 4

Common Approaches to Automatic Thresholding Iterative Threshold Selection Starts with approximate threshold and successively refined based on results Hema ENT 273 Lecture 4

Common Approaches to Automatic Thresholding Adaptive Thresholding Used in cases of uneven illumination, analyses sub images to obtain threshold for sub image Hema ENT 273 Lecture 4

To overcome uneven distribution of background, we divide the image to sub-images Hema ENT 273 Lecture 4

Common Approaches to Automatic Thresholding Variable Thresholding Used in uneven illumination, approximates intensity values of image by a simple planar function to find threshold of the image. Hema ENT 273 Lecture 4

Common Approaches to Automatic Thresholding Double Thresholding Uses two thresholds to segment an image, first T to segment core image and second T to select pixels connected to core. Hema ENT 273 Lecture 4

Region Representation Three Types Array Representation Hierarchical Representation Symbolic Representation Hema ENT 273 Lecture 4

Array Representation An array of the same size of the original image is used to indicate the region to which a pixel belongs Membership arrays called masks are used to indicate which pixels belong to that region E.g.. Background pixels in a binary image Hema ENT 273 Lecture 4

Hierarchical Representation Hierarchical representation make it possible to use algorithms which decide a strategy for processing on the basis of relatively small quantities of data. Allows representation of images in multiple resolutions Pyramid An image having one degree smaller resolution in a pyramid contains four times less data, so that it is processed approximately four times as quickly Pyramid Hema ENT 273 Lecture 4

Hierarchical Representation Pyramids-nxn image is reduced to k versions of a power of 2, n/2xn/2, n/4xn/4x.....1x1 Hema ENT 273 Lecture 4

Hierarchical Representation Quad Tree Quad tree is an extension of pyramids for binary images Contains three nodes White Black Gray Obtained by recursive splitting of an image When all points in sub region are either black or white then region is no longer considered for splitting Quad Tree Hema ENT 273 Lecture 4

r Hema ENT 273 Lecture 4

Data Structure for Segmentation Data structure is to allow easy manipulation of region characteristic One of the technique is through Picture Trees which emphasize the inclusion of a region within another region Hema ENT 273 Lecture 4

Region Merging Combines regions considered to be similar Important - to determine similarity between regions Region based merging Two approaches Compare mean intensities with some threshold Probability distribution of intensities Removing weak edges Common boundary between two regions is dissolved if boundary is weak and gray value of resulting boundary is not much effected. A weak boundary is one for which the intensities on either side differ by less than a threshold T Hema ENT 273 Lecture 4

Region Splitting If some property of a region is not constant then the region should be split Important : where to split? Segmentation can be refined by combining split and merge operations Hema ENT 273 Lecture 4

Region Splitting (Cont.) The basic idea of region splitting is to break the image into a set of disjoint regions which are coherent within themselves: Initially take the image as a whole to be the area of interest. Look at the area of interest and decide if all pixels contained in the region satisfy some similarity constraint. This process continues until no further splitting occurs. In the worst case this happens when the areas are just one pixel in size. This is a divide and conquer or top down method. Hema ENT 273 Lecture 4

Split and Merge Intensity based segmentation results in too many regions These will result in false boundaries and spurious regions Subdivide an image initially into a set of arbitrary, disjoint regions and then merge and/or split the regions in an attempt to satisfy the necessary conditions Images are to be refined or reformed include: Merge adjacent regions with similar characteristic Remove questionable edges Use topological properties of the regions Use shape information of objects Use semantic information about the scene Hema ENT 273 Lecture 4

Let R represent entire image region and select a predicate P (1) Split into four disjoint quadrants any region Ri for which P(Ri) = FALSE (2) Merge any adjacent regions Rj and Rk for which P(Rj U Rk) = TRUE (3) Stop when no further merging or splitting is possible Hema ENT 273 Lecture 4

Hema ENT 273 Lecture 4

Example: Split and merge Hema ENT 273 Lecture 4

Region Growing Selects a seed region in an image Merges adjacent similar regions to the seed Repeats till all regions except regions smaller than a given criteria Hema ENT 273 Lecture 4

Region Growing An initial set of small areas are iteratively merged according to similarity constraints. Start by choosing an arbitrary seed pixel and compare it with neighbouring pixels Region is grown from the seed pixel by adding in neighbouring pixels that are similar, increasing the size of the region. When the growth of one region stops we simply choose another seed pixel which does not yet belong to any region and start again. This whole process is continued until all pixels belong to some region. A bottom up method. Hema ENT 273 Lecture 4

Example of region growing Hema ENT 273 Lecture 4

Example: Application of region growing to weld inspection Hema ENT 273 Lecture 4

Machine Systems ENT 273 End of Lecture 4