Course : T Computer Vision

Slides:



Advertisements
Similar presentations
Applications of one-class classification
Advertisements

電腦視覺 Computer and Robot Vision I
E.G.M. PetrakisImage Segmentation1 Segmentation is the process of partitioning an image into regions –region: group of connected pixels with similar properties.
Clustering & image segmentation Goal::Identify groups of pixels that go together Segmentation.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Lecture 07 Segmentation Lecture 07 Segmentation Mata kuliah: T Computer Vision Tahun: 2010.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Segmentation and Region Detection Defining regions in an image.
Content Based Image Retrieval
Lecture 6 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.
Region Segmentation. Find sets of pixels, such that All pixels in region i satisfy some constraint of similarity.
Information that lets you recognise a region.
Image Segmentation Using Region Growing and Shrinking
CS292 Computational Vision and Language Segmentation and Region Detection.
Image Segmentation by Clustering using Moments by, Dhiraj Sakumalla.
Computer Vision Lecture 5. Clustering: Why and How.
G52IIP, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
CAP 5415 Computer Vision Fall 2004
Digital Image Processing CSC331
CS 6825: Binary Image Processing – binary blob metrics
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
Digital Image Processing CCS331 Relationships of Pixel 1.
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.
CS654: Digital Image Analysis
CS654: Digital Image Analysis Lecture 24: Introduction to Image Segmentation: Edge Detection Slide credits: Derek Hoiem, Lana Lazebnik, Steve Seitz, David.
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.
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.
Lecture 3 Template Matching Edge Detection. 2 Processes for Assignment 1  Understand Image Format  Pre Processing - Gaussian, Mean Filter to clean up.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Digital Image Processing CSC331
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.
Digital Image Processing CCS331 Relationships of Pixel 1.
Normalized Cuts and Image Segmentation Patrick Denis COSC 6121 York University Jianbo Shi and Jitendra Malik.
Graph-based Segmentation
Machine Vision ENT 273 Lecture 4 Hema C.R.
Chapter 10 Image Segmentation
Clustering and Segmentation
Image Segmentation.
Computer Vision Lecture 13: Image Segmentation III
DIGITAL SIGNAL PROCESSING
: Chapter 9: Image Segmentation
Mean Shift Segmentation
Computer Vision Lecture 12: Image Segmentation II
Outline Texture modeling - continued Filtering-based approaches.
3.1 Clustering Finding a good clustering of the points is a fundamental issue in computing a representative simplicial complex. Mapper does not place any.
Computer Vision Lecture 5: Binary Image Processing
Detecting Artifacts and Textures in Wavelet Coded Images
Computer Vision Lecture 9: Edge Detection II
DICOM 11/21/2018.
ECE 692 – Advanced Topics in Computer Vision
Computer Vision Lecture 16: Texture II
Segmentation Lecture 04 Computer Vision
Binary Image processing بهمن 92
Digital Image Processing
Department of Computer Engineering
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Computer and Robot Vision I
Segmentation and Edge Detection
Image Segmentation Using Region Growing and Shrinking
Presentation transcript:

Course : T0283 - Computer Vision Year : 2013 Segmentation Session 7

Learning Outcomes After carefully listening this lecture, students will be able to do the following: Explain various segmentation techniques and demonstrate their implementation (histogram based segmentation, k-means) using MATLAB and OpenCV (LO2, LO3) T0283 - Computer Vision

Lecture Outline Motivation: Recognition Using Region Properties Region Segmentation Similarity Constraints Simple Segmentation Image Histogram Segmentation Using Histogram (Simple Case) Segmentation Using Histogram (Real image histograms) Recursive Connected Component Algorithm Sequential Connected Component Algorithm Phagocyte Algorithm Likelihood Ratio Test Difference Between Segmentation and Edge Detection T0283 - Computer Vision

Segmentation is the process of distinguishing objects in the dataset from their surroundings so as to facilitate the creation of geometric models. For example, in medical imaging it is often important to measure the shape, surface area, or volume of tissues in the body. Once the dataset is segmented, those quantities are easily measured. T0283 - Computer Vision

Motivation: Recognition Using Region Properties Training For all training samples of each model object Segment the image Compute region properties (features) Recognition Given an image of unknown object, Compute its feature vector Compare with the training set T0283 - Computer Vision

Region Segmentation T0283 - Computer Vision

Segmentation Find set of regions R1, R2, ….,Rn such that: All pixels in region i satisfy some similarity constraint: T0283 - Computer Vision

Similarity Constraints All pixels in any sub-image musts have the same gray levels. All pixels in any sub-image must not differ more than some threshold All pixels in any sub-image may not differ more than some threshold from the mean of the gray of the region The standard deviation of gray levels in any sub-image must be small. T0283 - Computer Vision

Simple Segmentation T0283 - Computer Vision

Image Histogram Histogram graphs the number of pixels with a particular gray level as a function of the image of gray levels. number of pixels gray level T0283 - Computer Vision

Segmentation Using Histogram Simple Case T0283 - Computer Vision

Segmentation Using Histogram Simple Case T0283 - Computer Vision

Realistic Histograms Smooth out noise Convolve hist. by averaging or 1D Gaussian filter peak peak valley peak valley valley T0283 - Computer Vision

Segmentation Using Histogram Real image histograms Compute the histogram of a given image. Smooth the histogram by averaging peaks and valleys in the histogram. Detect good peaks by applying thresholds at the valleys. Segment the image into several binary images using thresholds at the valleys. Apply connected component algorithm to each binary image find connected regions. T0283 - Computer Vision

Segmentation Using Histograms Select the valleys as thresholds Apply threshold to histogram Label the pixels within the range of a threshold with same label, i.e., a, b, c … or 1, 2, 3 … T0283 - Computer Vision

Connected Components Disjoint segments with same labels need to be split may be added to segment c T0283 - Computer Vision

Recursive Connected Component Algorithm Scan the binary image left to right, top to bottom. If there is an unlabeled pixel with a value of “1”, assign a new label to it. Recursively check the neighbors of the pixel in step 2 and assign the same label if they are unlabeled with value “1”. Stop when all the pixels of value “1” have been labeled. T0283 - Computer Vision

Sequential Connected Component Algorithm Scan the binary image left to right, top to bottom. If an unlabeled pixel with a value of “1”, assign a new label to it according to the following rules : Determine equivalence classes of labels In the second pass, assign the same label to all elements in an equivalence class. T0283 - Computer Vision

Sequential Connected Component Algorithm Equivalence class T0283 - Computer Vision

Example: Detecting Finger Tips (marked white) T0283 - Computer Vision

Recaps: Steps in Seed Segmentation Compute the histogram. Smooth the histogram Detect good peaks Segment image into binary images using thresholds at the valleys. Apply connected component algorithm. T0283 - Computer Vision

Improving Seed Segmentation Merge small neighboring regions Region growing step Split large regions Region splitting Remove weak boundaries between adjacent regions T0283 - Computer Vision

Region Growing Seed segmentation (histogram based seg.) Region splitting and merging Phagocyte algorithm Likelihood ratio test T0283 - Computer Vision

Region Split and Merge Splitting: split non uniform region into 4 adjacent regions Merging: merge similar regions Stop when no splitting merging are possible Uniformity/similarity function: P T0283 - Computer Vision

Example R R R R R R R R R R R T0283 - Computer Vision R R R R R R R R

Phagocyte Algorithm Boundary melting Remove weak boundaries Similar to region merging Boundary weakness is based on color similarity R1 R2 T0283 - Computer Vision

Phagocyte Algorithm R1 R2 T0283 - Computer Vision

Phagocyte Merging Heuristics Merge two regions if where P1 and P2 are the perimeters of regions R1 and R2. Merge regions if Phagocyte Weakness T0283 - Computer Vision

Likelihood Ratio Test Two region hypothesis There is only one region There are indeed two regions Intensity at every pixel is independent Joint probability Gaussian distribution T0283 - Computer Vision

Likelihood Ratio Test observing intensity under Gaussian model Likelihood of region A x1, x2, …,xm1A Likelihood of region B xm1+1, xm1+2, …,xm1+m2B T0283 - Computer Vision

Likelihood Ratio Test There is 1 region hypothesis There are 2 regions hypothesis T0283 - Computer Vision

Likelihood Ratio Test Merge regions if LH<T. T0283 - Computer Vision

Region Growing Methods Different algorithms have different number of thresholds How much merging is required Stopping criterion Though simple, seed segmentation succeed by region growing is usually successful T0283 - Computer Vision

Difference Between Segmentation and Edge Detection Closed boundary Edges are usually open Segmentation provides closed boundaries Local or global Edges are computed in the locality Segmentation is global Increasing feature vector dimensionality Does not drastically improve edge detection Improves segmentation (motion, texture information etc.) Boundary position Localized in edge detection Usually not localized (recent advancements use locality as well) Especially contour based segmentation T0283 - Computer Vision

References Textbook Forsyth, D., Ponce, J. (2012). Computer Vision: A Modern Approach. 2nd ed. Prentice Hall. ISBN: 978-0-27-376414-4 Web Relationship to edge detection, segmentation, and classification http://www.cs.utah.edu/~gk/MS/html/node4.html T0283 - Computer Vision

THANK YOU T0283 - Computer Vision