CAP 5415 Computer Vision Fall 2004

Slides:



Advertisements
Similar presentations
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Advertisements

E.G.M. PetrakisImage Segmentation1 Segmentation is the process of partitioning an image into regions –region: group of connected pixels with similar properties.
Instructor: Mircea Nicolescu Lecture 6 CS 485 / 685 Computer Vision.
Lecture 07 Segmentation Lecture 07 Segmentation Mata kuliah: T Computer Vision Tahun: 2010.
Computer Vision Lecture 16: Region Representation
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Edge Detection. Our goal is to extract a “line drawing” representation from an image Useful for recognition: edges contain shape information –invariance.
EE663 Image Processing Edge Detection 1
Medical Imaging Mohammad Dawood Department of Computer Science University of Münster Germany.
Chapter 10 Image Segmentation.
Canny Edge Detector.
Region Segmentation. Find sets of pixels, such that All pixels in region i satisfy some constraint of similarity.
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
EE663 Image Processing Edge Detection 2 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Canny Edge Detector1 1)Smooth image with a Gaussian optimizes the trade-off between noise filtering and edge localization 2)Compute the Gradient magnitude.
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering
Edge Detection Today’s reading Forsyth, chapters 8, 15.1
Segmentation (Section 10.2)
Chapter 10 Image Segmentation.
Filters and Edges. Zebra convolved with Leopard.
EE663 Image Processing Edge Detection 3 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Lecture 2: Image filtering
Lecture 4: Edge Based Vision Dr Carole Twining Thursday 18th March 2:00pm – 2:50pm.
The Segmentation Problem
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.
© 2010 Cengage Learning Engineering. All Rights Reserved.
Multimedia Systems & Interfaces Karrie G. Karahalios Spring 2007.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Chapter 10: Image Segmentation
G52IIP, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
Edge Detection (with implementation on a GPU) And Text Recognition (if time permits) Jared Barnes Chris Jackson.
Discrete Images (Chapter 7) Fourier Transform on discrete and bounded domains. Given an image: 1.Zero boundary condition 2.Periodic boundary condition.
Quadtrees, Octrees and their Applications in Digital Image Processing.
EDGE DETECTION IN COMPUTER VISION SYSTEMS PRESENTATION BY : ATUL CHOPRA JUNE EE-6358 COMPUTER VISION UNIVERSITY OF TEXAS AT ARLINGTON.
Lecture 6: Edge Detection CAP 5415: Computer Vision Fall 2008.
G52IVG, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
CSC508 What You Should Be Doing Code, code, code –Programming Gaussian Convolution Sobel Edge Operator.
CS654: Digital Image Analysis Lecture 24: Introduction to Image Segmentation: Edge Detection Slide credits: Derek Hoiem, Lana Lazebnik, Steve Seitz, David.
EE 4780 Edge Detection.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Medical Image Analysis
Digital Image Processing
Chapter 9: Image Segmentation
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Canny Edge Detection Using an NVIDIA GPU and CUDA Alex Wade CAP6938 Final Project.
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Edge Segmentation in Computer Images CSE350/ Sep 03.
Computer Vision Image Features Instructor: Dr. Sherif Sami Lecture 4.
1 Edge Operators a kind of filtering that leads to useful features.
REU Week 1 Presented by Christina Peterson. Edge Detection Sobel ◦ Convolve image with derivative masks:  x:  y: ◦ Calculate gradient magnitude ◦ Apply.
Course : T Computer Vision
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering Northern Arizona University.
Chapter 10 Image Segmentation
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Image Segmentation – Edge Detection
Edge Detection The purpose of Edge Detection is to find jumps in the brightness function (of an image) and mark them.
Computer Vision Lecture 9: Edge Detection II
Levi Smith REU Week 1.
CAP 5415 Computer Vision Fall 2012 Dr. Mubarak Shah Lecture-5
Dr. Chang Shu COMP 4900C Winter 2008
Dongkeun Oh Sanghamitra Roy
ECE 692 – Advanced Topics in Computer Vision
Segmentation Lecture 04 Computer Vision
Canny Edge Detector.
Image Segmentation Image analysis: First step:
IT472 Digital Image Processing
CAP 5415 Computer Vision Fall 2004
Presentation transcript:

CAP 5415 Computer Vision Fall 2004 Dr. Alper Yilmaz Univ. of Central Florida www.cs.ucf.edu/courses/cap5415/fall2004 Office: CSB 250 Alper Yilmaz, Fall 2004 UCF

Recap (Edge Detection) Marr-Hildreth and Canny edge detectors Gaussian smoothing Compute derivatives In x and y directions Find gradient magnitude Threshold gradient magnitude Difference between Marr-Hildreth and Canny Marr-Hildreth use 2nd order derivative Marr-Hildreth thresholds slope of zero-crossings Alper Yilmaz, Fall 2004 UCF

Marr-Hildreth Edge Detector Image 2g(x) Find zero-crossings compute slope Threshold Alper Yilmaz, Fall 2004 UCF

Canny Edge Detector gx(x,y) gy(x,y) Gradient magnitude Image Non-maximum suppression Hysteresis thresholding gy(x,y) Gradient direction Alper Yilmaz, Fall 2004 UCF

Marr Hildreth Edge Detector Canny Edge Detector Region Segmentation Marr Hildreth Edge Detector Canny Edge Detector Alper Yilmaz, Fall 2004 UCF

Applications of Segmentation Object recognition MPEG-4 video compression Alper Yilmaz, Fall 2004 UCF

Object 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 Alper Yilmaz, Fall 2004 UCF

MPEG4 Compression Object Based Compression Advantages of OBC High compression ratio Allows insertion deletion of objects How does it work? Find objects (Object Segmentation) Code objects and their locations Build mosaics of globally static objects Render scene at receiver Alper Yilmaz, Fall 2004 UCF

Clustering Alper Yilmaz, Fall 2004 UCF

Segmentation-Clustering Alper Yilmaz, Fall 2004 UCF

Region Segmentation Alper Yilmaz, Fall 2004 UCF

Layer Representation Alper Yilmaz, Fall 2004 UCF

Segmentation Find set of regions R1, R2, ….,Rn such that All pixels in region i satisfy some similarity constraint Alper Yilmaz, Fall 2004 UCF

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. Alper Yilmaz, Fall 2004 UCF

Simple Segmentation Alper Yilmaz, Fall 2004 UCF

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 Alper Yilmaz, Fall 2004 UCF

Segmentation Using Histogram Simple Case Alper Yilmaz, Fall 2004 UCF

Segmentation Using Histogram Simple Case Alper Yilmaz, Fall 2004 UCF

Realistic Histograms Not realistic Real (noise) Alper Yilmaz, Fall 2004 UCF

Realistic Histograms Smooth out noise Convolve hist. by averaging or 1D Gaussian filter peak peak valley peak valley valley Alper Yilmaz, Fall 2004 UCF

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. Alper Yilmaz, Fall 2004 UCF

Good Peaks Peakiness Test Alper Yilmaz, Fall 2004 UCF

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 … Alper Yilmaz, Fall 2004 UCF

Connected Components Disjoint segments with same labels need to be split may be added to segment c Alper Yilmaz, Fall 2004 UCF

Recursive Connected Component Algorithm Alper Yilmaz, Fall 2004 UCF

Sequential Connected Component Algorithm Alper Yilmaz, Fall 2004 UCF

Sequential Connected Component Algorithm Equivalence class Alper Yilmaz, Fall 2004 UCF

Example Detecting Finger Tips (marked white) Alper Yilmaz, Fall 2004 UCF

Example Segmenting a bottle image 93 peaks Alper Yilmaz, Fall 2004 UCF

Example Segmenting a bottle image Smoothed histogram (averaging using mask Of size 5) 54 peaks (once) After peakiness 18 Smoothed histogram 21 peaks (twice) After peakiness 7 Smoothed histogram 11 peaks (three times) After peakiness 4 Alper Yilmaz, Fall 2004 UCF

Example Segmenting a bottle image (0,40) (40, 116) (116,243) (243,255) Alper Yilmaz, Fall 2004 UCF

Suggested Reading Chapter 3, Mubarak Shah, “Fundamentals of Computer Vision” Alper Yilmaz, Fall 2004 UCF