EE663 Image Processing Edge Detection 5 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.

Slides:



Advertisements
Similar presentations
Instructor: Mircea Nicolescu Lecture 6 CS 485 / 685 Computer Vision.
Advertisements

EE663 Image Processing Histogram Equalization Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Segmentation (2): edge detection
Image Segmentation and Active Contour
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Snakes - Active Contour Lecturer: Hagit Hel-Or
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
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
Chapter 10 Image Segmentation.
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.
Segmentation Divide the image into segments. Each segment:
GENERALIZED HOUGH TRANSFORM. Recap on classical Hough Transform 1.In detecting lines – The parameters  and  were found out relative to the origin (0,0)
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 Today’s reading Forsyth, chapters 8, 15.1
Segmentation (Section 10.2)
Chapter 10 Image Segmentation.
EE663 Image Processing Edge Detection 3 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
The Segmentation Problem
Edge Detection Today’s readings Cipolla and Gee –supplemental: Forsyth, chapter 9Forsyth Watt, From Sandlot ScienceSandlot Science.
Robust estimation Problem: we want to determine the displacement (u,v) between pairs of images. We are given 100 points with a correlation score computed.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
06 - Boundary Models Overview Edge Tracking Active Contours Conclusion.
Deformable Models Segmentation methods until now (no knowledge of shape: Thresholding Edge based Region based Deformable models Knowledge of the shape.
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
7.1. Mean Shift Segmentation Idea of mean shift:
Edge Linking & Boundary Detection
Edge Detection & Image Segmentation Dr. Md. Altab Hossain Associate Professor Dept. of Computer Science & Engineering, RU 1.
HOUGH TRANSFORM Presentation by Sumit Tandon
Lecture 2: Edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
EDGE DETECTION IN COMPUTER VISION SYSTEMS PRESENTATION BY : ATUL CHOPRA JUNE EE-6358 COMPUTER VISION UNIVERSITY OF TEXAS AT ARLINGTON.
Image Segmentation and Morphological Processing Digital Image Processing in Life- Science Aviad Baram
Chapter 10 Image Segmentation.
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.
Course 8 Contours. Def: edge list ---- ordered set of edge point or fragments. Def: contour ---- an edge list or expression that is used to represent.
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
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],
Course 5 Edge Detection. Image Features: local, meaningful, detectable parts of an image. edge corner texture … Edges: Edges points, or simply edges,
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.
Dynamic Programming (DP), Shortest Paths (SP)
Edge Segmentation in Computer Images CSE350/ Sep 03.
Computer Vision Image Features Instructor: Dr. Sherif Sami Lecture 4.
Instructor: Mircea Nicolescu Lecture 7
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Digital Image Processing
Digital Image Processing CSC331
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
ITK 9.3. Level Set Segmentation Shape Detection Segmentation
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
Chapter 10 Image Segmentation
Detection of discontinuity using
COMP 9517 Computer Vision Segmentation 7/2/2018 COMP 9517 S2, 2017.
Image Segmentation – Edge Detection
Image Primitives and Correspondence
Fitting Curve Models to Edges
Computer Vision Lecture 9: Edge Detection II
ECE 692 – Advanced Topics in Computer Vision
Digital Image Processing
a kind of filtering that leads to useful features
Edge Detection Today’s readings Cipolla and Gee Watt,
Canny Edge Detector Smooth image with a Gaussian
IT472 Digital Image Processing
IT472 Digital Image Processing
Presentation transcript:

EE663 Image Processing Edge Detection 5 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals

2 Edge Detection Using the 2 nd Derivative Multi-scale processing (scale space) −A serious practical problem with any edge detector is the matter of choosing the scale of smoothing (σ when using a Gaussian). −For many applications, it is desirable to be able to process an image at multiple scales. −We determine which edges are most significant in terms of the range of scales over which they are observed to occur.

3 Edge Detection Using the 2 nd Derivative Multi-scale processing (scale space) – cont. (Canny edges at multiple scales of smoothing, σ = 0.5, 1, 2, 4, 8, 16)

4 Edge Contour Extraction Two main categories of methods: −local methods (extend edges by seeking the most "compatible" candidate edge in a neighborhood). −global methods (more computationally expensive - domain knowledge can be incorporated in their cost function). Note: local methods cannot handle big gaps. Edge detectors typically produce short, disjoint edge segments. These segments are generally of little use until they are aggregated into extended edges. We assume that edge thinning has already be done (e.g., non-maxima suppression).

5 Edge Contour Extraction

6 Local Processing Methods Some important observations useful for contour extraction: −The output of edge detectors tends to have approximately constant (and large) strength along object boundaries. −Image edges and lines are smooth and tend to have low curvature. −Small local edge direction differences ensure smooth object boundaries.

7 Local Processing Methods Contour extraction using heuristic search A more comprehensive approach to contour extraction is based on graph searching. Graph representation of edge points: −(1) Edge points at position p i correspond to graph nodes. −(2) The nodes are connected to each other if local edge linking rules (e.g., like the ones given previously), are satisfied. The edge linking rules may be modified to suit the requirements of a particular problem

8 Local Processing Methods Contour extraction using heuristic search – cont. The generation of a contour (if any) from pixel p A to pixel p B  the generation of a minimum-cost path in the directed graph. A cost function for a path connecting nodes p 1 = p A to p N = p B could be defined as follows: Finding a minimum-cost path is not trivial in terms of computation (typically, the approach is to sacrifice optimality for speed).

9 Local Processing Methods Contour extraction using dynamic programming Dynamic programming −It is an optimization method that searches for optima of functions in which not all the variables are simultaneously interrelated. −It subdivides a problem recursively into smaller sub-problems that may need to be solved in the future, solving each sub-problem – proceeding from the smaller ones to the larger ones – and storing the solutions in a table that can be looked up when need arises. −Principle of optimality (applied to the case of graph searching): the optimal path between two nodes p A and p B can be split into two optimal sub-paths p A p i and p i p B for any p i lying on the optimal path p A p B.

10 Local Processing Methods Contour extraction using dynamic programming – cont. Express the problem in recursive form −Consider the following objective function to be maximized: −The objective function can be written in a recursive form as follows: Complete optimization problem:

11 Local Processing Methods Contour extraction using dynamic programming – cont. Solution using dynamic programming: −The optimal path can be split into two optimal sub-paths and satisfying the following recursive relation: −The initial value of is given by:

12 Local Processing Methods A-algorithm (by Nilsson, 1980) −Note: this algorithm does not guarantee the globally optimum path. −One disadvantage of the heuristic search algorithm is that short paths may have smaller cost than longer paths that are more likely to be the final winners.

13 Global Processing Methods If the gaps between pixels are very large, local processing methods are not effective. Global methods are more effective in this case !! −Hough Transform can be used to determine whether points lie on a curve of a specified shape (model-based method). −Deformable Models (Snakes) can be used to extract the boundaries of objects having arbitrary shapes. −Grouping can be used to decide which groups of features are likely to be part of the same object.

14 Corner Detection We are often interested in detecting point features (corners) in an image. These features are usually defined as regions in the image where there is significant edge strength in two or more directions.

15 Corner Detection A naive approach: −Apply a mask over the image −Apply thresholding: if |R| > T, then possible discontinuity ! −Depending on the value of T we can get: 4 points (0 < T ≤ 9) 1 point (9 < T ≤ 72) 0 points (T > 72)