240-373: Chapter 8: Edge Detection 1 Montri Karnjanadecha ac.th/~montri 240-373 Image Processing.

Slides:



Advertisements
Similar presentations
3-D Computer Vision CSc83020 / Ioannis Stamos  Revisit filtering (Gaussian and Median)  Introduction to edge detection 3-D Computater Vision CSc
Advertisements

Spatial Filtering (Chapter 3)
EDGE DETECTION.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Multimedia communications EG 371Dr Matt Roach Multimedia Communications EG 371 and EE 348 Dr Matt Roach Lecture 6 Image processing (filters)
Segmentation (2): edge detection
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Lecture 4 Edge Detection
6/9/2015Digital Image Processing1. 2 Example Histogram.
Canny Edge Detector.
CSCE 641 Computer Graphics: Image Filtering & Feature Detection Jinxiang Chai.
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
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
1 Lecture 12 Neighbourhood Operations (2) TK3813 DR MASRI AYOB.
Edge Detection Today’s readings Cipolla and Gee –supplemental: Forsyth, chapter 9Forsyth Watt, From Sandlot ScienceSandlot Science.
MSU CSE 803 Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result.
Computational Photography: Image Processing Jinxiang Chai.
Chapter 10: Image Segmentation
Neighborhood Operations
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign Image Features Kenton McHenry, Ph.D. Research Scientist.
Spatial Filtering: Basics
: Chapter 12: Image Compression 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Edge Detection (with implementation on a GPU) And Text Recognition (if time permits) Jared Barnes Chris Jackson.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Image processing.
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Edge.
Chapter 10, Part I.  Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two.
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,
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
October 7, 2014Computer Vision Lecture 9: Edge Detection II 1 Laplacian Filters Idea: Smooth the image, Smooth the image, compute the second derivative.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
Autonomous Robots Vision © Manfred Huber 2014.
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.
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
主講者 : 陳建齊. Outline & Content 1. Introduction 2. Thresholding 3. Edge-based segmentation 4. Region-based segmentation 5. conclusion 2.
By Pushpita Biswas Under the guidance of Prof. S.Mukhopadhyay and Prof. P.K.Biswas.
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],
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Lecture 04 Edge Detection Lecture 04 Edge Detection Mata kuliah: T Computer Vision Tahun: 2010.
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.
: Chapter 5: Image Filtering 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Digital Image Processing CSC331
September 26, 2013Computer Vision Lecture 8: Edge Detection II 1Gradient In the one-dimensional case, a step edge corresponds to a local peak in the first.
: Chapter 13: Finding Basic Shapes 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Concept 1: Computing Weighted Sum. Is an operation between two tables of numbers, usually between an image and weights. Typically, if one table is smaller,
Miguel Tavares Coimbra
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 Pre-Processing in the Spatial and Frequent Domain
Image Processing, Leture #12
Computer Vision Lecture 9: Edge Detection II
Levi Smith REU Week 1.
Dr. Chang Shu COMP 4900C Winter 2008
Image Processing, Lecture #10
Spatial operations and transformations
Canny Edge Detector.
: Chapter 8: Edge Detection
Linear Operations Using Masks
Finding Basic Shapes Hough Transforms
Canny Edge Detector Smooth image with a Gaussian
Image Filtering with GLSL
Spatial operations and transformations
FREQUENTLY USED 3x3 CONVOLUTION KERNELS
Presentation transcript:

: Chapter 8: Edge Detection 1 Montri Karnjanadecha ac.th/~montri Image Processing

: Chapter 8: Edge Detection 2 Chapter 8 Edge Detection

: Chapter 8: Edge Detection 3 Basic Edge Detection Edge detection, ideally, identifies all the lines that outline the objects in an image. Template for edge detection: Y_difference(x,y) = value(x,y) - value(x,y+1) This is equivalent to convolving with image with a 2x1 template 1

: Chapter 8: Edge Detection 4 Basic Edge Detection X_difference(x,y) = value(x,y) - value(x-1,y) use the template -1 1 –Once X_difference and Y_difference are computed to create the single measurement of “gradient magnitude” (strength of the edge)

: Chapter 8: Edge Detection 5 Basic Edge Detection –It is also useful to divide Y_difference by X_difference and identify a gradient direction (the angle of the edge between the regions)

: Chapter 8: Edge Detection 6 Example Image X_difference Y_difference Gradient Direction * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

: Chapter 8: Edge Detection 7 Example Technique 4: Sobel edge detection The Sobel 3 x 3 templates are normally given as X-directionY-direction

: Chapter 8: Edge Detection 8 Example Image abs A + abs B Threshold at 12

: Chapter 8: Edge Detection 9

10

: Chapter 8: Edge Detection 11

: Chapter 8: Edge Detection 12 Second-order edge detection An image such as The basic Sobel vertical edge operator yields

: Chapter 8: Edge Detection 13 Second-order edge detection Applying the edge operator again yields This is similar to the differentiation operator applied to a straight line, e.g. if y = 3x - 2, then

: Chapter 8: Edge Detection 14 Second-order edge detection Laplacian template –can reduce gradient of lighting –enhances noise

: Chapter 8: Edge Detection 15 Pyramid Edge Detection Technique 5: Pyramid edge detection USE: To enhance substantial (strong and long) edges but to ignore the weak or short edges THEORY: –The image is cut down to quarter –Each pixel in the quarter-size image is an average of the four corresponding pixels in the full-size image

: Chapter 8: Edge Detection 16 Pyramid Edge Detection THEORY: (cont’d) –This repeats until unwanted edges are invisible –An edge detector is applied to the smallest image and where edge pixels have been found, an edge detector is applied to the corresponding four pixels in the next largest image

: Chapter 8: Edge Detection 17 Pyramid Edge Detection OPERATION: –Create a second image of size m/2 x n/2 by evaluating for each 0 < i < m and 0< j < n –This is repeated and each generated image is kept –With the smallest image, perform some edge detection--such as Sobel

: Chapter 8: Edge Detection 18 Pyramid Edge Detection OPERATION: (cont’d) –In pixels where edges are discovered, perform as edge detection operation on the group of four corresponding pixels in the next largest image –Continue to find the best edges down through the pyramid of images until the main edges in the original image have been discovered

: Chapter 8: Edge Detection 19 Edge Following Technique 7: Simple edge following USE: Knowing that a pixel is on an edge, the edge will be followed so that an objected is outlined OPERATION: –Suppose that a position on the edge has been identified, call it (x,y) and flag this position as used –Evaluate all the 3x3 Sobel gradient values centered on each of the eight pixels surrounding (x,y)

: Chapter 8: Edge Detection 20 Edge Following OPERATION: (cont’d) –Choose the three pixels with the greatest absolute gradient magnitude –Put these three pixel in a three-column array –Order them in row according to the gradient magnitude –Choose the one with greatest gradient magnitude

: Chapter 8: Edge Detection 21 Edge Following OPERATION: (cont’d) –Now this pixel will be one of the direction 0-7 with respect to the pixel (x,y) given by the following map, where * is the position of pixel (x,y) * –Call the direction of travel d –Repeat the algorithm but look at only pixels in d, (d+1) mod 8, and (d-1) mod 8 directions

: Chapter 8: Edge Detection 22 Edge Following OPERATION: (cont’d) –If no suitable high value of gradient magnitude is found, remove the pixel from the list and choose the next one of the three stored. Move up one row if all three are removed –Stop when the original pixel is reached, or execution has gone too long, or the number of rows in the list is very large