Edge detection. Gradient-based edge operators

Similar documents
Performance evaluation of the various edge detectors and filters for the noisy IR images

Image Analysis. Edge Detection

A CONVENTIONAL STUDY OF EDGE DETECTION TECHNIQUE IN DIGITAL IMAGE PROCESSING

Edge Detection using Mathematical Morphology

SAPOG Edge Detection Technique GUI using MATLAB

EDGE DETECTION OF THE SCOLIOTIC VERTEBRAE USING X-RAY IMAGES

A Study on Edge Detection Techniques in Retinex Based Adaptive Filter

Comparison of Various Image Edge Detection Techniques for Brain Tumor Detection

Comparative Analysis of Canny and Prewitt Edge Detection Techniques used in Image Processing

Quantitative Evaluation of Edge Detectors Using the Minimum Kernel Variance Criterion

H.SH.Rostom Utilization of improved masks for edge detection images

Edge Detection Operators: Peak Signal to Noise Ratio Based Comparison

International Journal of Computational Science, Mathematics and Engineering Volume2, Issue6, June 2015 ISSN(online): Copyright-IJCSME

Reading Assignments: Lecture 18: Visual Pre-Processing. Chapters TMB Brain Theory and Artificial Intelligence

International Journal for Science and Emerging

Conclusions and future directions

Edge Detection Techniques Based On Soft Computing

Microcalcifications Segmentation using Three Edge Detection Techniques on Mammogram Images

Feasibility Study in Digital Screening of Inflammatory Breast Cancer Patients using Selfie Image

Gray Scale Image Edge Detection and Reconstruction Using Stationary Wavelet Transform In High Density Noise Values

Intelligent Edge Detector Based on Multiple Edge Maps. M. Qasim, W.L. Woon, Z. Aung. Technical Report DNA # May 2012

Image Enhancement and Compression using Edge Detection Technique

Keywords Fuzzy Logic, Fuzzy Rule, Fuzzy Membership Function, Fuzzy Inference System, Edge Detection, Regression Analysis.

A Quantitative Performance Analysis of Edge Detectors with Hybrid Edge Detector

Edge Detection Techniques Using Fuzzy Logic

M.tech Student Satya College of Engg. & Tech, India *1

Detection of Microcalcifications in Digital Mammogram

Analogization of Algorithms for Effective Extraction of Blood Vessels in Retinal Images

Development of novel algorithm by combining Wavelet based Enhanced Canny edge Detection and Adaptive Filtering Method for Human Emotion Recognition

AUTOMATIC DIABETIC RETINOPATHY DETECTION USING GABOR FILTER WITH LOCAL ENTROPY THRESHOLDING

NAILFOLD CAPILLAROSCOPY USING USB DIGITAL MICROSCOPE IN THE ASSESSMENT OF MICROCIRCULATION IN DIABETES MELLITUS

Automated Detection Of Glaucoma & D.R From Eye Fundus Images

Image Processing of Eye for Iris Using. Canny Edge Detection Technique

Edge Detection Based On Nearest Neighbor Linear Cellular Automata Rulesand Fuzzy Rule Based System

QUANTIFICATION OF PROGRESSION OF RETINAL NERVE FIBER LAYER ATROPHY IN FUNDUS PHOTOGRAPH

Review on Optic Disc Localization Techniques

Medical Image Analysis on Software and Hardware System

Unit 1 Exploring and Understanding Data

Automatic Detection of Retinal Lesions for Screening of Diabetic Retinopathy

Enhanced Endocardial Boundary Detection in Echocardiography Images using B-Spline and Statistical Method

THE concept of spatial change detection is interrelated to

Contrast discrimination with sinusoidal gratings of different spatial frequency

Characterization of the breast region for computer assisted Tabar masking of paired mammographic images

Segmentation of Color Fundus Images of the Human Retina: Detection of the Optic Disc and the Vascular Tree Using Morphological Techniques

Design Study Sobel Edge Detection

Gabor Wavelet Approach for Automatic Brain Tumor Detection

Blood Vessel Segmentation for Retinal Images Based on Am-fm Method

Automated Assessment of Diabetic Retinal Image Quality Based on Blood Vessel Detection

Brain Tumor Segmentation of Noisy MRI Images using Anisotropic Diffusion Filter

Automated Preliminary Brain Tumor Segmentation Using MRI Images

Bone Fracture Detection Using Edge Detection Technique

LOCATING BRAIN TUMOUR AND EXTRACTING THE FEATURES FROM MRI IMAGES

An efficient method for Segmentation and Detection of Brain Tumor in MRI images

3-D SOUND IMAGE LOCALIZATION BY INTERAURAL DIFFERENCES AND THE MEDIAN PLANE HRTF. Masayuki Morimoto Motokuni Itoh Kazuhiro Iida

AN EFFICIENT EDGE DETECTION APPROACH USING DWT

Automatic Hemorrhage Classification System Based On Svm Classifier

Comparison of Edge Detection Techniques Applied in the Identification of Centerline Segregation on Steel Slabs

IEEE TRANSACTIONS ON MEDICAL IMAGING, VOL. 25, NO. 4, APRIL

Automated Brain Tumor Segmentation Using Region Growing Algorithm by Extracting Feature

1 Introduction. Fig. 1 Examples of microaneurysms

Convergence Principles: Information in the Answer

Announcements. Perceptual Grouping. Quiz: Fourier Transform. What you should know for quiz. What you should know for quiz

B657: Final Project Report Holistically-Nested Edge Detection

Pattern recognition in correlated and uncorrelated noise

Chapter 1: Introduction to Statistics

Automatic Classification of Perceived Gender from Facial Images

Brain Tumor Detection Using Neural Network

Research Article Volume 6 Issue No. 3

Feasibility Evaluation of a Novel Ultrasonic Method for Prosthetic Control ECE-492/3 Senior Design Project Fall 2011

Segmentation of vertebrae in lateral lumbar spinal X-ray images

Keywords Edge Detection, Canny Edge Detection, Laplacian of Guassian, Laplacian,operators for detection. Fig. 1 Edge detection

Classical Psychophysical Methods (cont.)

EXTRACT THE BREAST CANCER IN MAMMOGRAM IMAGES

Model-Based Detection of Spiculated Lesions in Mammograms

Stats 95. Statistical analysis without compelling presentation is annoying at best and catastrophic at worst. From raw numbers to meaningful pictures

BLOOD VESSELS SEGMENTATION BASED ON THREE RETINAL IMAGES DATASETS

Diabetic Retinopathy-Early Detection Using Image Processing Techniques

Identification of Bone Cancer in Edge Detection Using Discrete Wavelet Transform

Nov versus Fam. Fam 1 versus. Fam 2. Supplementary figure 1

Review: Logistic regression, Gaussian naïve Bayes, linear regression, and their connections

Detection of Lung Cancer Using Marker-Controlled Watershed Transform

Image Processing and Data Mining Techniques in the Detection of Diabetic Retinopathy in Fundus Images

ADVANTAGES OF USING SIFT FOR BRAIN TUMOR DETECTION

Leukemia Detection using Image Processing

Holistically-Nested Edge Detection (HED)

Discrimination of amplitude spectrum slope in the fovea and parafovea and the local amplitude distributions of natural scene imagery

Supplementary Data Dll4-containing exosomes induce capillary sprout retraction ina 3D microenvironment

CS294-6 (Fall 2004) Recognizing People, Objects and Actions Lecture: January 27, 2004 Human Visual System

Detection of Facial Landmarks from Neutral, Happy, and Disgust Facial Images

EARLY STAGE DIAGNOSIS OF LUNG CANCER USING CT-SCAN IMAGES BASED ON CELLULAR LEARNING AUTOMATE

1 (vi) maths Multiple Choice Questions (MCQs) CLASS: VI SUBJECT: MATHS. Chapter - 1

Changing expectations about speed alters perceived motion direction

Yeast Cells Classification Machine Learning Approach to Discriminate Saccharomyces cerevisiae Yeast Cells Using Sophisticated Image Features.

AUTOMATIC RETINAL VESSEL TORTUOSITY MEASUREMENT

Survey on Retinal Blood Vessels Segmentation Techniques for Detection of Diabetic Retinopathy

Available online at ScienceDirect. Procedia Computer Science 93 (2016 )

Image Segmentation and Morphological Process of Skin Dermis for Diagnosis in Anthropoid

MIT International Journal of Electronics and Communication Engineering Vol. 3, No. 1, Jan. 2013, pp

Retinal DOG filters: high-pass or high-frequency enhancing filters?

Supplementary Information Methods Subjects The study was comprised of 84 chronic pain patients with either chronic back pain (CBP) or osteoarthritis

Transcription:

Edge detection Gradient-based edge operators Prewitt Sobel Roberts Laplacian zero-crossings Canny edge detector Hough transform for detection of straight lines Circle Hough Transform Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 1

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection Gradient-based edge detection Idea (continous-space): local gradient magnitude indicates edge strength grad f x, y,, f x y f x y x y Digital image: use finite differences to approximate derivatives Edge templates difference central difference Prewitt -1 1-1 1 1 1 1 1 1 1 1 1 Sobel 1 1

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 3 Practical edge detectors Edges can have any orientation Typical edge detection scheme uses K= edge templates Some use K> e x y 1, s x, y e x y, Combination, e.g., k e k k or x, y Max e x, y k edge magnitude M x, y ek x, y xy, (edge orientation)

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 4 Gradient filters (K=) Central 1 Difference 1 1 1 1 1 1 1 1 Prewitt 1 1 1 1 1 1 1 Roberts 1 1 1 1 1 1 1 1 Sobel 1 1 1 1

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 5 Kirsch operator (K=8) 5 5 5 3 5 5 3 3 5 3 3 3 Kirsch 3 3 3 5 3 5 3 5 3 3 3 3 3 3 3 3 5 3 5 5 3 3 3 3 3 3 5 3 35 5 3 3 3 5 3 5 3 5 3 5 5 5 5 5 3 5 3 3 3 3 3

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 6 Prewitt operator example Magnitude of image filtered with 1 1 1 1 1 1 (log display) Original 14x71 Magnitude of image filtered with 1 1 1 1 1 1 (log display)

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 7 Prewitt operator example (cont.) Sum of squared horizontal and vertical gradients (log display) threshold = 9 threshold = 45 threshold = 7

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 8 Sobel operator example Sum of squared horizontal and vertical gradients (log display) threshold = 16 threshold = 8 threshold = 18

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 9 Roberts operator example Magnitude of image filtered with 1 1 Original 14x71 Magnitude of image filtered with 1 1

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 1 Roberts operator example (cont.) Sum of squared diagonal gradients (log display) threshold = 1 threshold = 5 threshold = 8

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 11 y-component y-component Edge orientation Central Difference 1 1 1 1 Gradient scatter plot x-component Roberts 1 1 1 1 x-component

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 1 y-component y-component Edge orientation Prewitt 1 1 1 1 1 1 1 1 1 1 1 1 Gradient scatter plot Sobel 1 1 1 1 1 1 1 1 x-component x-component

y-component Edge orientation Gradient scatter plot 5x5 consistent gradient operator [Ando, ] x-component -.64 -.163.163.64 -.486-1.1335 1.1335.486 -.7448-1.961 1.961.7448 -.486-1.1335 1.1335.486 -.64 -.163.163.64 -.64 -.486 -.7448 -.486 -.64 -.163-1.1335-1.961-1.1335 -.163.163 1.1335 1.961 1.1335.163.64.486.7448.486.64 Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 13

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 14 Gradient consistency problem Calculate this value using gradient field Same result, regardless of path? Known gray value

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 15 Laplacian operator Detect edges by considering second derivative Isotropic (rotationally invariant) operator Zero-crossings mark edge location,, f x y f x y f x, y x y Detect zero crossing Edge profile f(x) f (x) f (x)

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 16 Approximations of Laplacian operator by 3x3 filter 1 1 4 1 1 1 1 1 1 8 1 1 1 1 8 15 H 6 4 H 1 5 - - - - y x y x

Zero crossings of Laplacian Sensitive to very fine detail and noise blur image first Responds equally to strong and weak edges suppress zero-crossings with low gradient magnitude Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 17

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 18 Laplacian of Gaussian Filtering of image with Gaussian and Laplacian operators can be combined into convolution with Laplacian of Gaussian (LoG) operator x y 1 x y LoG x, y 1 e 4. -. -.4 -.6 1-1 - -.8-3 -.1 4-4 4 Y - -4-4 - X 4 Y -

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 19 Discrete approximation of Laplacian of Gaussian 1 1. 3 5 5 5 3 1 1 3 5 3 3 5 3 1 -. 5 3-1 -3-1 3 5 -.4 5-3 -4-3 5 -.6 5 3-1 -3-1 3 5 -.8 1 3 5 3 3 5 3 1 -.1 3 5 5 5 3-4 4 4 1 1 4 - - - Y -4-4 X Y -4-4 -1 - -3 - X 4 H 15 1 5 y - - x

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection Zero crossings of LoG 4 8

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 1 Zero crossings of LoG gradient-based threshold 4 8

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection Canny edge detector 1. Smooth image with a Gaussian filter. Approximate gradient magnitude and angle (use Sobel, Prewitt...) M x, y f f x y f f y x 1 xy, tan 3. Apply nonmaxima suppression to gradient magnitude 4. Double thresholding to detect strong and weak edge pixels 5. Reject weak edge pixels not connected with strong edge pixels [Canny, IEEE Trans. PAMI, 1986]

Canny nonmaxima suppression Quantize edge normal to one of four directions: horizontal, -45 o, vertical, +45 o If M[x,y] is smaller than either of its neighbors in edge normal direction suppress; else keep. [Canny, IEEE Trans. PAMI, 1986] Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 3

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 4 Canny thresholding and suppression of weak edges Double-thresholding of gradient magnitude Typical setting: high Strong edge: M x, y Weak edge: M x, y high Region labeling of edge pixels Reject regions without strong edge pixels low...3 high low [Canny, IEEE Trans. PAMI, 1986]

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 5 Canny edge detector 4

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 6 Hough transform Problem: fit a straight line (or curve) to a set of edge pixels Hough transform (196): generalized template matching technique Consider detection of straight lines y mx c x m y edge pixel c

Hough transform (cont.) Subdivide (m,c) plane into discrete bins, initialize all bin counts by Draw a line in the parameter space [m,c] for each edge pixel [x,y] and increment bin counts along line. Detect peak(s) in [m,c] plane x m detect peak y c Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 7

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 8 Hough transform (cont.) Alternative parameterization avoids infinite-slope problem x edge pixel y xcos ysin Similar to Radon transform

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 9 Hough transform example 1 3 4 5 6 7 8 4 6 8 Original image

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 3 Hough transform example 1 3 4 5 6 7 8 4 6 8 Original image

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 31 Hough transform example 1 3 4 5 6 7 8 4 6 8 Original image

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 3 Hough transform example -4 15-1 Paper De-skewed (364x448) Paper 5-81.8 deg 4-5 5-81.8 deg Global thresholding

Circle Hough Transform Find circles of fixed radius r x Circle center x y edge pixel Equivalent to convolution (template matching) with a circle y Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 33

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 34 Circle Hough Transform for unknown radius 3-d Hough transform for parameters -d Hough transform aided by edge orientation spokes in parameter space x x, y, r Circle center x y edge pixel y

Digital Image Processing: Bernd Girod, 13-14 Stanford University -- Edge Detection 35 Original coins image Example: circle detection by Hough transform Prewitt edge detection Detected circles