Edge Detection Seminar

Embed Size (px)

Citation preview

  • 8/3/2019 Edge Detection Seminar

    1/25

    ByNikhil JoyRoll No. 16

    S7 EC BETA

  • 8/3/2019 Edge Detection Seminar

    2/25

    1) Introduction2) Edge Detection Algorithm3) Gradient Operator4) Commonly Used Operators5) Edge Detection Flow Diagram6) Applications

    7) References8) Acknowledgement

  • 8/3/2019 Edge Detection Seminar

    3/25

    The ability to measure gray-level transitionsin a meaningful way.

  • 8/3/2019 Edge Detection Seminar

    4/25

    Edge detection refers to the process of

    identifying and locating sharpdiscontinuities in an image.

    The discontinuities are abrupt changes in

    pixel intensity which characterizeboundaries of objects in a scene.

  • 8/3/2019 Edge Detection Seminar

    5/25

  • 8/3/2019 Edge Detection Seminar

    6/25

    ORIGINAL IMAGE AFTER EDGE DETECTION

  • 8/3/2019 Edge Detection Seminar

    7/25

    Most information in an image resides along

    edges.

    Preprocessing operation that narrows down

    search in feature detection.

    Filters out useless information, while

    preserving the important structuralproperties in an image.

  • 8/3/2019 Edge Detection Seminar

    8/25

    Basic step for many important areas, such

    as machine vision and automatedinterpretation systems.

    Used as the front-end processing stage forhigher level object recognition andinterpretation systems.

  • 8/3/2019 Edge Detection Seminar

    9/25

    Classical methods :Involves measuring the gray level transitions.

    Done by determining the gradient of theimage(first derivative).

    If gradient exceeds a particular thresholdthen it is an edge.

    If it does not exceed the threshold then edge notdetected.

  • 8/3/2019 Edge Detection Seminar

    10/25

    2.1 Grey Level Transitions

    IDEAL RAMP

  • 8/3/2019 Edge Detection Seminar

    11/25

    2.2 The First Derivative

    ORIGINAL FIRST DERIVATIVE

  • 8/3/2019 Edge Detection Seminar

    12/25

    2.3.1 Detecting the Edge (A)

    yxI , x

    yxI

    ,

    TRSH

    DetectedEdgeTRSH

    x

    yxI

    ,

    ORIGINAL FIRST DERIVATIVE

  • 8/3/2019 Edge Detection Seminar

    13/25

    2.3.1 Detecting the Edge (B)

    yxI ,

    ORIGINAL

    x

    yxI

    ,

    TRSH

    DetectedNotEdgeTRSH

    x

    yxI

    ,

  • 8/3/2019 Edge Detection Seminar

    14/25

    3. Gradient Operators

    The gradient of the image I(x,y) at location (x,y), isthe vector:

    The magnitude of the gradient:

    The direction of the gradient vector:

    y

    yxIx

    yxI

    G

    GI

    y

    x

    ,

    ,

    22 yx GGII

    y

    x

    G

    Gyx

    1tan,

  • 8/3/2019 Edge Detection Seminar

    15/25

    3.1 The Meaning of the Gradient

    It represents the direction of the strongest variationin intensity.

    Horizontal Vertical

    EdgeStrength:

    EdgeDirection:

    Generic

    0,

    yxGI x

    2

    ,

    yx

    GIy

    x

    y

    yx

    G

    Gyx

    GGI

    1

    22

    tan,

  • 8/3/2019 Edge Detection Seminar

    16/25

    For calculating the gradient there are anumber of Operators used.

    Some of these operators are:

    SOBEL Operator

    ROBERTS Cross Operator

    PREWITT Operator

  • 8/3/2019 Edge Detection Seminar

    17/25

    1 2 1

    0 0 0

    -1 -2 -1

    -1 0 1

    -2 0 2

    -1 0 1

    987321 22 zzzzzzGy 741963 22 zzzzzzGx

  • 8/3/2019 Edge Detection Seminar

    18/25

    0 0 0

    0 1 0

    0 0 -1

    0 0 0

    0 0 1

    0 -1 0

    95 zzGx 86 zzGy

  • 8/3/2019 Edge Detection Seminar

    19/25

    1 1 1

    0 0 0

    -1 -1 -1

    -1 0 1

    -1 0 1

    -1 0 1

    987321 zzzzzzGy 963741 zzzzzzGx

  • 8/3/2019 Edge Detection Seminar

    20/25

    The image is convolved with a Gaussianfilter before gradient evaluation.

    It uses two thresholds, and enables thedetection of two edge types: strong andweak edge.

  • 8/3/2019 Edge Detection Seminar

    21/25

    ImageFile

    Display

    EdgeDetection

    Script

    RGBto

    Grayscale

  • 8/3/2019 Edge Detection Seminar

    22/25

    Face detection

    Automated interpretation systems

    Machine vision

  • 8/3/2019 Edge Detection Seminar

    23/25

    Videoin

    VideooutEdge

    Detection Video ScreenCamera

  • 8/3/2019 Edge Detection Seminar

    24/25

    1. E. Argyle. Techniques for edge detection, Proc. IEEE, vol. 59, pp.

    285-286, 1971

    R.C. Gonzales & R. E. Woods Digital Image Processing, 2ndEdition, TATA McGraw Hill, 2001

    J. Matthews. An introduction to edge detection: The sobel edgedetector, Available at:

    http://www.generation5.org/content/2002/im01.asp, 2002.

    J. F. Canny. A computational approach to edge detection. IEEETrans. Pattern Anal. Machine Intell., vol.PAMI-8, no. 6, pp. 679-697,1986

  • 8/3/2019 Edge Detection Seminar

    25/25

    I thank God Almighty for all His blessings. I wouldlike to express my profound gratitude to all thepeople who have inspired and motivated me toundertake this seminar.

    I would like to thank Prof. Asha Panicker, Head ofthe Department for her unending support andencouragement. I am deeply indebted to her forproviding me with valuable advice and guidanceduring the course of the seminar.

    I express my extreme gratitude and sincere thanksto our class teacher Mr. Sreeraj K.P. for for hissupport and guidance.