CS654: Digital Image Analysis Lecture 24: Introduction to Image Segmentation: Edge Detection Slide credits: Derek Hoiem, Lana Lazebnik, Steve Seitz, David.

Slides:



Advertisements
Similar presentations
Lecture 2: Convolution and edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Advertisements

EDGE DETECTION ARCHANA IYER AADHAR AUTHENTICATION.
Instructor: Mircea Nicolescu Lecture 6 CS 485 / 685 Computer Vision.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Lecture 4 Edge Detection
Computer Vision Group Edge Detection Giacomo Boracchi 5/12/2007
Canny Edge Detector.
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
Announcements Mailing list: –you should have received messages Project 1 out today (due in two weeks)
EE663 Image Processing Edge Detection 2 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering
Edge Detection Today’s reading Forsyth, chapters 8, 15.1
CS485/685 Computer Vision Dr. George Bebis
Segmentation (Section 10.2)
EE663 Image Processing Edge Detection 3 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Lecture 2: Image filtering
Edge Detection Today’s readings Cipolla and Gee –supplemental: Forsyth, chapter 9Forsyth Watt, From Sandlot ScienceSandlot Science.
The blue and green colors are actually the same.
CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu Lecture 10 – Edges and Pyramids 1.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30 – 11:50am.
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
Edge Detection Computer Vision (CS 543 / ECE 549) University of Illinois Derek Hoiem 02/02/12 Many slides from Lana Lazebnik, Steve Seitz, David Forsyth,
Lecture 2: Edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
CS 1699: Intro to Computer Vision Edges and Binary Images Prof. Adriana Kovashka University of Pittsburgh September 15, 2015.
Edge Detection Today’s reading Cipolla & Gee on edge detection (available online)Cipolla & Gee on edge detection From Sandlot ScienceSandlot Science.
Edge Detection Today’s reading Cipolla & Gee on edge detection (available online)Cipolla & Gee on edge detection Szeliski, Ch 4.1.2, From Sandlot.
Image gradients and edges Tuesday, September 1 st 2015 Devi Parikh Virginia Tech Disclaimer: Many slides have been borrowed from Kristen Grauman, who may.
Instructor: S. Narasimhan
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
CSE 185 Introduction to Computer Vision Edges. Scale space Reading: Chapter 3 of S.
EE 4780 Edge Detection.
Many slides from Steve Seitz and Larry Zitnick
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Edge Detection.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
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.
Announcements Project 0 due tomorrow night. Edge Detection Today’s readings Cipolla and Gee (handout) –supplemental: Forsyth, chapter 9Forsyth For Friday.
Lecture 04 Edge Detection Lecture 04 Edge Detection Mata kuliah: T Computer Vision Tahun: 2010.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
COMPUTER VISION D10K-7C02 CV05: Edge Detection Dr. Setiawan Hadi, M.Sc.CS. Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran.
Computer Vision Image Features Instructor: Dr. Sherif Sami Lecture 4.
Lecture 8: Edges and Feature Detection
Finding Boundaries Computer Vision CS 143, Brown James Hays 09/28/11 Many slides from Lana Lazebnik, Steve Seitz, David Forsyth, David Lowe, Fei-Fei Li,
Winter in Kraków photographed by Marcin Ryczek
Edge Detection Images and slides from: James Hayes, Brown University, Computer Vision course Svetlana Lazebnik, University of North Carolina at Chapel.
Miguel Tavares Coimbra
Edge Detection slides taken and adapted from public websites:
Image gradients and edges
Edge Detection CS 678 Spring 2018.
Lecture 2: Edge detection
Jeremy Bolton, PhD Assistant Teaching Professor
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Image gradients and edges April 11th, 2017
Edge Detection Today’s reading
a kind of filtering that leads to useful features
Edge Detection CSE 455 Linda Shapiro.
a kind of filtering that leads to useful features
Edge Detection Today’s reading
Lecture 2: Edge detection
Canny Edge Detector.
Edge Detection Today’s reading
Edge Detection Today’s readings Cipolla and Gee Watt,
Lecture 2: Edge detection
Winter in Kraków photographed by Marcin Ryczek
IT472 Digital Image Processing
IT472 Digital Image Processing
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Presentation transcript:

CS654: Digital Image Analysis Lecture 24: Introduction to Image Segmentation: Edge Detection Slide credits: Derek Hoiem, Lana Lazebnik, Steve Seitz, David Forsyth, David Lowe, Fei-Fei Li, Guillermo Sapiro

Recap of Lecture 23 Image restoration Pseudo Inverse filtering Constrained image restoration problem Weiner filter

Outline of Lecture 24 Image segmentation Edge based segmentation Edge detection techniques Edge detection operators Challenges and solutions

Image segmentation

Segmentation and Grouping Motivation: Object recognition 3D modeling Content representation Relationship of sequence/ set of tokens Always for a goal or application 5 What: Segmentation breaks an image into groups over space and/or time Why: Tokens are –The things that are grouped (pixels, points, surface elements, etc., etc.) Top down segmentation –tokens grouped because they lie on the same object Bottom up segmentation –tokens belong together because of some local affinity measure Bottom up/Top Down need not be mutually exclusive

Different approaches Image Segmentation Region based Boundary based Edge based

Origin of Edges Edges are caused by a variety of factors Depth discontinuity Surface color discontinuity Illumination discontinuity Surface normal discontinuity Source: Steve Seitz

Why finding edges is important Group pixels into objects or parts Cues for 3D shape Guiding interactive image editing

Closeup of edges

Stages in edge detection SmoothingEnhancementDetectionLocalization

Characterizing edges An edge is a place of rapid change in the image intensity function image intensity function (along horizontal scanline) first derivative edges correspond to extrema of derivative

Effects of noise Consider a single row or column of the image –Plotting intensity as a function of position gives a signal Where is the edge? Source: S. Seitz

Effects of noise Difference filters respond strongly to noise Image noise results in pixels that look very different from their neighbors Generally, the larger the noise the stronger the response What can we do about it? Source: D. Forsyth

Solution: smooth first To find edges, look for peaks in f g f * g Source: S. Seitz

Derivative theorem of convolution Differentiation is convolution, and convolution is associative: This saves us one operation: f Source: S. Seitz

Derivative of digital image First order derivative Zero: areas of constant intensity Non-zero: at the onset of an intensity step or ramp Non-zero: along ramps Second derivative Zero: constant areas Non-zero: at the onset and end of step or ramp Zero: along ramp of constant slope StepRampSpikeRoof

Example First order derivative Second order derivative Image: Gonzalez and Woods, 3 rd Ed.

Types of Edge Detectors Edge detection algorithms Derivative Template matching Gaussian Derivative Pattern fit approach

First order edge detectors Roberts Edge detector Prewitt Edge detector

First order edge detectors Prewitt Edge detector Set c=1 Sobel Edge Detector Set c=2

Mask based edge detection

Some practical issues Isotropic nature of gradient operators The differential masks act as high-pass filters which tend to amplify noise – reduce noise (low pass filter) The noise suppression-localization tradeoff How should we choose the threshold Edge thinning and linking are required to obtain good contours

Criteria for optimal edge detection Good detection minimize the probability of false positives (detect non-edges as edge) false negatives(missing real edges) Good localization Single response constraint minimize the number of local maxima around the true edge

Canny edge detector

Non-Maximal Suppression Find the local maxima of the gradient magnitude Magnitudes at the points of greatest local change remain All values along the direction of the gradient that are not peak values of a ridge are suppressed. For each pixel (x,y) do: if magn(i, j)<magn(i1, j1) or magn(i, j)<magn(i2, j2) then IN(i, j) = 0 else IN(i, j) = magn(i, j)

Non-maximal suppression Image: Gonzalez and Woods, 3 rd Ed.

Hysteresis thresholding/Edge Linking

Algorithm

Example

Derivative of Gaussian (DoG) filter x-direction y-direction

Compute Gradients (DoG) X-Derivative of Gaussian Y-Derivative of Gaussian Gradient Magnitude

Before Non-max Suppression

After non-max suppression

Hysteresis thresholding Threshold at low/high levels to get weak/strong edge pixels Do connected components, starting from strong edge pixels

Final Canny Edges

Second order edge detectors Edge points can be detected by finding the zero-crossings of the second derivative

The Laplacian

Derivative of Gaussian Order = 0 Order = 1 Order = 2 Laplacian of Gaussian (LoG)

The Laplacian-of-Gaussian (LOG)

Image segmentation

Thank you Next Lecture: Line and Curve Detection