Digital Image Processing

Slides:



Advertisements
Similar presentations
Spatial Filtering (Chapter 3)
Advertisements

Content Based Image Retrieval
EE 7730 Image Segmentation.
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.
Canny Edge Detector.
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:
Segmentation (Section 10.2)
Chapter 10 Image Segmentation.
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.
Image Segmentation Using Region Growing and Shrinking
Thresholding Thresholding is usually the first step in any segmentation approach We have talked about simple single value thresholding already Single value.
Chapter 10: Image Segmentation
What is Image Segmentation?
G52IIP, School of Computer Science, University of Nottingham 1 Edge Detection and 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.
Digital Image Processing In The Name Of God Digital Image Processing Lecture8: Image Segmentation M. Ghelich Oghli By: M. Ghelich Oghli
Edge Detection & Image Segmentation Dr. Md. Altab Hossain Associate Professor Dept. of Computer Science & Engineering, RU 1.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Segmentation.
Joonas Vanninen Antonio Palomino Alarcos.  One of the objectives of biomedical image analysis  The characteristics of the regions are examined later.
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
Chapter 10 Image Segmentation.
Image Segmentation Chapter 10.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
G52IVG, School of Computer Science, University of Nottingham 1 Edge Detection and 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, Part I.  Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two.
Pixel Connectivity Pixel connectivity is a central concept of both edge- and region- based approaches to segmentation The notation of pixel connectivity.
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.
Chap 7 Image Segmentation. Edge-Based Segmentation The edge information is used to determine boundaries of objects Pixel-based direct classification methods.
Evaluation of Image Segmentation algorithms By Dr. Rajeev Srivastava.
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.
Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.
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
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Unit-VII Image Segmentation.
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.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Digital Image Processing (DIP)
Machine Vision ENT 273 Lecture 4 Hema C.R.
Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 5
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.
Computer Vision Lecture 13: Image Segmentation III
Image Segmentation – Edge Detection
Computer Vision Lecture 12: Image Segmentation II
Chap 10 Image Segmentation
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
Canny Edge Detector.
Image Segmentation Image analysis: First step:
Image Segmentation.
Linear Operations Using Masks
CS 565 Computer Vision Nazar Khan Lecture 9.
IT472 Digital Image Processing
Image Segmentation Using Region Growing and Shrinking
Presentation transcript:

Digital Image Processing Prepared by K.Indragandhi,AP(Sr.Gr.)/ECE

MODULE V -IMAGE ANALYSIS

Image Segmentation Image analysis: First step: Extracting information from an image. First step: To segment the image i.e. to subdivide an image into its constituent regions or objects.

Image Segmentation

Image Segmentation Edge Detection Edge Linking Boundry Detection Region growing Region splitting Region merging Split and Merge

Image Segmentation Segmentation is based on two basic properties of gray-level values: Discontinuity, i.e. to partition the image based on abrupt changes in intensity (gray levels), e.g. edges Similarity, i.e. to partition the image into similar (according to predefined criteria) regions, e.g. thresholding, region growing, region splitting and merging

Detection of Discontinuities 3 basic types of gray-level discontinuities: Points Lines Edges Common method of detection: run a mask through the image.

Image Segmentation

Point Detection T: nonnegative threshold:

Point Detection A point has been detected at the location on which the mask is centered if: |R|>T The gray level of an isolated point will be quite different from the gray levels of its neighbors measure the weighted differences between the center point and its neighbors

Line Detection R1 R2 R3 R4 If at a certain point |Ri|>|Rj|, this point is more likely associated with a line in the direction of mask i.

Edge Detection Edge (a set of connected pixels): Assumption: the boundary between two regions with relatively distinct gray-level properties. Note: edge vs. boundary Assumption: the regions are sufficiently homogeneous, so that the transition between two regions can be determined on the basis of gray-level discontinuities alone.

Image Segmentation

Image Segmentation

Edge Detection Basic Idea: Remarks on second derivative: A profile is defined perpendicularly to the edge direction and the results are interpreted. The magnitude of the first derivative is used to detect an edge (if a point is on a ramp) The sign of the second derivative can determine whether an edge pixel is on the dark or light side of an edge. Remarks on second derivative: It produces two responses for every edge The line that can be formed joining its positive and negative values crosses zero at the mid point of the edge (zero-crossing)

Edge Detection Computation of a local derivative operator A profile is defined perpendicularly to the edge direction and the results are interpreted. The first derivative is obtained by using the magnitude of the gradient at that point. The second derivative is obtained by using the Laplacian.

Gradient Operators The gradient vector points in the direction of maximum rate of change of f at (x,y).

Gradient Operators Gradient: Direction angle of ∇f at (x,y): (maximum rate of increase of f(x,y) per unit distance) Direction angle of ∇f at (x,y):

Image Segmentation

Image Segmentation

Image Segmentation

Image Segmentation

Image Segmentation

Gradient Operators Computation of the gradient of an image: Soebel operators provide both a differencing & a smoothing effect:

Summary: Gradient Operators Smooth edges due to blurring (result of sampling) Positive: leading Negative: trailing Zero: in constant gray levels Positive: from dark side Negative: from light side Zero: in constant gray levels

Summary The magnitude of the first derivative detects the presence of an edge and the sign of the second detects whether the edge pixel lies on the dark or light side of an edge. The second derivative has a zero-crossing at the mid-point of a transition.

Laplacian (of a 2-D function f(x,y)): A 3 x 3 discrete mask based on the above is:

Laplacian The idea: Coefficient of center pixel should be positive Coefficients of outer pixels should be negative Sum of coefficients should be zero (the Laplacian is a derivative)

Image Segmentation

Laplacian The Laplacian is seldom used in practice, because: It is unacceptably sensitive to noise (as second-order derivative) It produces double edges It is unable to detect edge direction

Laplacian An important use of the Laplacian: To find the location of edges using its zero-crossings property. Plus, the Laplacian plays only the role of detector of whether a pixel is on the dark or light side of an edge.

Laplacian Convolve an image with the Laplacian of a 2D Gaussian function of the form: where  is the standard deviation.

Laplacian The Laplacian of the above Gaussian is: where r2 = x2 + y2.  determines the degree of blurring that occurs.

Image Segmentation

Image Segmentation

Region-Oriented Segmentation Segmentation is a process that partitions R into n subregions R1, R2, …, Rn such that: Ri is a connected region, i = 1, 2, …, n Ri ∩ Rj = 0 for all i and j, i≠j P(Ri) = TRUE for i = 1, 2, …, n P(Ri ⋃ Rj) = FALSE for i≠j P(Ri): logical predicate

Region Growing by Pixel Aggregation Start with a set of “seed” points and from these grow regions by appending to each seed point those neighboring pixels that have similar properties.

Region Growing by Pixel Aggregation Problems: Seed selection Selection of suitable properties for including points in the various regions Descriptors Local vs. general criteria

Region Splitting and Merging Subdivide an image initially into a set of arbitrary, disjointed regions and then merge and/or split the regions in an attempt to satisfy the conditions of region-oriented segmentation. Quadtree-based algorithm

Region Splitting and Merging Procedure: Split into 4 disjointed quadrants any region Ri where P(Ri) = FALSE Merge any adjacent regions Rj and Rk for which P(Rj ∪ Rk) = TRUE Stop when no further splitting or merging is possible.

Image Segmentation