Chapter 10, Part I.  Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two.

Slides:



Advertisements
Similar presentations
Spatial Filtering (Chapter 3)
Advertisements

Lecture 6 Sharpening Filters
EDGE DETECTION ARCHANA IYER AADHAR AUTHENTICATION.
Instructor: Mircea Nicolescu Lecture 6 CS 485 / 685 Computer Vision.
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Sliding Window Filters and Edge Detection Longin Jan Latecki Computer Graphics and Image Processing CIS 601 – Fall 2004.
Digital Image Processing
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Content Based Image Retrieval
Lecture 4 Edge Detection
Chapter 10 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.
EE663 Image Processing Edge Detection 2 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
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.
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering
Segmentation (Section 10.2)
Chapter 10 Image Segmentation.
Introduction to Computer Vision CS / ECE 181B Thursday, April 22, 2004  Edge detection (HO #5)  HW#3 due, next week  No office hours today.
2-D, 2nd Order Derivatives for Image Enhancement
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.
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.
Edge Detection Hao Huy Tran Computer Graphics and Image Processing CIS 581 – Fall 2002 Professor: Dr. Longin Jan Latecki.
Chapter 2. Image Analysis. Image Analysis Domains Frequency Domain Spatial Domain.
Chapter 10: Image Segmentation
What is Image Segmentation?
Lecture 16 Image Segmentation 1.The basic concepts of segmentation 2.Point, line, edge detection 3.Thresh holding 4.Region-based segmentation 5.Segmentation.
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Segmentation.
Introduction to Image Processing Grass Sky Tree ? ? Sharpening Spatial Filters.
Introduction to Image Processing
Chapter 10 Image Segmentation.
SHINTA P. Juli What are edges in an image? Edge Detection Edge Detection Methods Edge Operators Matlab Program.
Image Segmentation Chapter 10.
Chapter 4 Image Segmentation
Image Processing Segmentation 1.Process of partitioning a digital image into multiple segments (sets of pixels). 2. Clustering pixels into salient image.
Chapter 10 Image Segmentation 國立雲林科技大學 電子工程系 張傳育 (Chuan-Yu Chang ) 博士 Office: ES 709 TEL: ext. 4337
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.
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.
Sejong Univ. Edge Detection Introduction Simple Edge Detectors First Order Derivative based Edge Detectors Compass Gradient based Edge Detectors Second.
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.
Evaluation of Image Segmentation algorithms By Dr. Rajeev Srivastava.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Image Segmentation Prepared by:- Prof. T.R.Shah Mechatronics Engineering Department U.V.Patel College of Engineering, Ganpat Vidyanagar.
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 Image Features Instructor: Dr. Sherif Sami Lecture 4.
Instructor: Mircea Nicolescu Lecture 7
Digital Image Processing
Digital Image Processing CSC331
Sliding Window Filters Longin Jan Latecki October 9, 2002.
Chapter 10: Image Segmentation The whole is equal to the sum of its parts. Euclid The whole is greater than the sum of its parts. Max Wertheimer.
1 Edge Operators a kind of filtering that leads to useful features.
EDGE DETECTION Dr. Amnach Khawne. Basic concept An edge in an image is defined as a position where a significant change in gray-level values occur. An.
Digital Image Processing (DIP)
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 – Detection of Discontinuities
Image Segmentation – Edge Detection
Dr. Chang Shu COMP 4900C Winter 2008
ECE 692 – Advanced Topics in Computer Vision
a kind of filtering that leads to useful features
a kind of filtering that leads to useful features
Image Segmentation Image analysis: First step:
Digital Image Processing
Linear Operations Using Masks
Presentation transcript:

Chapter 10, Part I

 Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two properties. ◦ Discontinuity: abrupt changes in intensity, such as edges. ◦ Similarity: finding similar regions similar according to a set of predefined criteria, such as thresholding, region growing, region splitting and merging.

 Three types of gray-level discontinuities: points, lines and edges.  The response of the mask at any point in the image is given by R=w 1 z 1 +w 2 z 2 +…+w 9 z 9 where z i is the gray level of the pixel associated with mask coefficient w i.

Line Detection If the first mask was moved around an image, it would respond more strongly to lines oriented horizontally.

 Let R i denote the response the i-th mask generates.  If |R i | > |R j |, for all j≠i, that point is said to be more likely associated with a line in the direction of R i. ◦ A threshold value T may be used to sift the response on each point for differentiating points on edges.  Alternatively, we may use this scheme to detect lines in a specific direction.

Line Detection in a Specific Direction

 An edge is a set of pixels that lie on the boundary of two regions.  Edge detection is a process to measure the grey-level transitions ◦ Ideal edge: a clear transition in grey level. ◦ ramp edge: edges that are blurred.  First derivative and second derivative can be used to detect edges.  “Zero-crossing” property of second derivative is used to identify the location of edge.

The slope of the ramp is inversely proportional to the degree of blurring in the edges. Basic Formulation

First derivative: –Constant for points in the ramp. –The thickness of edge = the length of ramp. Second derivative: –Producing two values for every edge. –Zero-crossing point is near the midpoint of edge. Zero-crossing

Derivatives are sensitive to noise, especially second derivative. Fairly little noise can result great difficulties on edge detection using derivatives. Image smoothing is requires.

 A 2-D gradient defined as:  The magnitude of this vector is  f = mag(  f) = [G x 2 + G y 2 ] 1/2  The direction is  (x, y) = tan -1 (G x /G y ) ◦ The direction of an edge at (x, y) is perpendicular to the gradient.

 Robert cross-gradient operators: G x =(z 9 –z 5 ) and G y =(z 8 –z 6 ) ◦ It does not have a clear center.  Prewitt 3x3 operators G x =(z 7 +z 8 +z 9 )–(z 1 +z 2 +z 3 ) and G y = (z 3 +z 6 +z 9 )–(z 1 +z 4 +z 37 )  Sobel operators G x =(z 7 +2z 8 +z 9 )–(z 1 +2z 2 +z 3 ) and G y = (z 3 +2z 6 +z 9 )–(z 1 +2z 4 +z 37 )  The gradient is  f   G x  +  G y  ◦ computationally attractive

The price of gradient operator is that the original Prewitt and Sobel masks are not isotropic (invariant to rotation).

Masks for Detecting Diagonal Edges.

Example 10.4

The Laplacian Digital approximation for 3 x 3 region is  2 f = 4z 5 - (z 2 +z 4 +z 6 +z 8 ), or  2 f = 8z 5 - (z 2 +z 4 +z 6 +z 8 +z 1 +z 3 +z 7 +z 9 )

 The Laplacian is generally not used for edge detection since ◦ Sensitive to noise. ◦ The effect of double edges. ◦ Unable to detect edge direction.  The main usage: ◦ Using zero-crossing property for edge locating. ◦ Using it to determine whether a pixel is on the dark or light size of an edge.

 Gaussian: h(r)=-e -r 2 /2  2 where r 2 =x 2 +y 2 ◦ Convolving the Gaussian with the image will blur the image.  The second derivative of h(r) is ◦ the Lapalcian of a Gaussian (LoG)  The Laplacian provides an image with zero crossings for edge location.  The Gaussian is used to supress noise.

Plots of a Log Operator Certain aspects of human vision can be models mathematically in this form.