Image Segmentation-Digital Image Processing-Lecture 16 Slides Slides-Electrical and Computer Engineering, Slides of Digital Image Processing

Image Segmentation, Segmentation, Autonomous, Monochrome, Discontinuity, Similarity, Thresholding, Region, Growing, Splitting, Merging, Detection, Isolated Point, Line, Edge, Derivative, Gradient, Operators, Sobel Operators, Laplacian, Gaussian, Digital Image Processing, Lecture Slides, Dr D J Jackson, Department of Electrical and Computer Engineering, University of Alabama, United States of America.

Typology: Slides

2011/2012

Uploaded on 03/02/2012

cristelle
cristelle 🇺🇸

4.5

(53)

374 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Dr. D. J. Jackson Lecture 16-1Electrical & Computer Engineering
Computer Vision &
Digital Image Processing
Image Segmentation
Dr. D. J. Jackson Lecture 16-2Electrical & Computer Engineering
Image segmentation
Segmentation divides an image into its constituent parts or
objects
Level of subdivision depends on the problem being solved
Segmentation stops when objects of interest in an
application have been isolated
Example:
For an air-to-ground target acquisition system interest may lie in
identifying vehicles on a road
Segment the road from the image
Segment contents of the road down to objects of a range of sizes that
correspond to potential vehicles
No need to go below this level, or segment outside the road boundary
pf3
pf4
pf5
pf8

Partial preview of the text

Download Image Segmentation-Digital Image Processing-Lecture 16 Slides Slides-Electrical and Computer Engineering and more Slides Digital Image Processing in PDF only on Docsity!

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-

Computer Vision &

Digital Image Processing

Image Segmentation

Image segmentation

  • Segmentation divides an image into its constituent parts or objects
  • Level of subdivision depends on the problem being solved
  • Segmentation stops when objects of interest in an application have been isolated
  • Example:
    • For an air-to-ground target acquisition system interest may lie in identifying vehicles on a road - Segment the road from the image - Segment contents of the road down to objects of a range of sizes that correspond to potential vehicles - No need to go below this level, or segment outside the road boundary

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-

Image segmentation (continued)

  • Autonomous segmentation is one of the most difficult tasks in image processing - largely determines the eventual failure or success of the process
  • Segmentation algorithms for monochrome images are based on one of two basic properties of gray-level values - Discontinuity - Similarity
  • For discontinuity, the approach is to partition an image based on abrupt changes in gray level
  • The principal areas of interest are:
    • detection of isolated points
    • detection of lines and edges in an image

Image segmentation (continued)

  • For similarity, the principal approaches are based

on

  • thresholding
  • region growing
  • region splitting
  • merging
  • Using discontinuity and similarity of gray-level pixel

values is applicable to both static and dynamic (time

varying) images

  • For dynamic images, the concept of motion can be

exploited in the segmentation process

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-

Line detection

  • Line detection would involve the application of

several masks

  • In the creation of masks, the intent is to form a

mask (or set of masks) that will respond to a 1-pixel

thick line in a given orientation

  • Horizontal, Vertical, +45º, -45º

-1 -1 - 2 2 2 -1 -1 -

Line detection (continued)

  • With a constant background, the maximum response occurs when the line is “lined up” with the center of the mask
  • Note that the preferred direction of each mask is weighted with a larger coefficient than other possible directions
  • Let R 1 , R 2 , R 3 and R 4 denote the responses of the masks
  • If, at a certain point in the image,
  • that point is said to be more likely associated with a line in the direction of mask i

Ri > Rj for allj≠ i

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-

Edge detection

  • Edge detection is by far the most common approach for detecting discontinuities in gray levels - Isolated points and 1-pixel thin lines are not common in most practical applications
  • Basic formulation and initial assumptions
    • An edge is a boundary between two regions with relatively distinct gray-level properties
    • Regions are sufficiently homogeneous so that the transition between the regions can be determined on the basis of gray-level discontinuities alone
    • If this is not valid, some other techniques will be used
  • The basic idea behind most edge detection techniques is the computation of a local derivative operator

Derivative operators

  • An image of a dark stripe on a light background (and visa versa)
  • A profile of the lines in the image (modeled as a gradual rather than sharp transition) - Edges in images tend to be slightly blurred as a result of sampling
  • The first derivative: the magnitude detects the presence of an edge
  • The second derivative: the sign tells the type of transition (light-to-dark or dark-to-light) Note also the presence of a zero-crossing at each edge

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-

The Laplacian

  • The Laplacian is a second order derivative operator given by
  • As with the gradient, this may be implemented digitally
  • With a 3x3 mask, the most common form is
  • The basic requirement for the digital Laplacian is that the center coefficient be positive, the other coefficients be negative (or zero), and that the sum of the coefficients be zero (indicating a zero response over a constant area)

2

2 2

2 2 y

f x

f f

∂ ∇ =

∇^2 f = 4 z 5 −( z 2 + z 4 + z 6 + z 8 )

The Laplacian (continued)

  • Although the Laplacian responds to changes in

intensity, it is seldom used in edge detection for

several reasons

  • As a second derivative operator it is typically unacceptably sensitive to noise
  • The Laplacian produces double edges
  • Unable to detect direction
  • As such, the Laplacian is used in the secondary role

of detector for establishing whether a pixel is on the

light or dark side of an edge

Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-

The Laplacian (continued)

  • A more general use of the Laplacian is to find the

location of edges using the zero-crossings property

  • Basic idea is to convolve an image with the

Laplacian of a 2-D Gaussian function of the form

  • σ = standard deviation.
  • If r 2 =x 2 +y 2 , then the Laplacian is then

⎟⎟⎠

⎞ ⎜⎜⎝

⎛ (^) + = − 2

2 2 2 (, ) exp σ hxy x^ y

⎟⎟⎠

⎞ ⎜⎜⎝

⎛ ⎟⎟ − ⎠

⎞ ⎜⎜⎝

⎛ − ∇ = 2

2 4

2 2 2 2

exp σ σ

r σ r h

Example using the Laplacian

Original Image

Original Image convolved with the Laplacian

Thresholding the convolved image to yield a binary image

Zero crossings from the binary image