EECS490: Digital Image Processing. Lecture #19

Similar documents
Image Processing. BITS Pilani. Dr Jagadish Nayak. Dubai Campus

Edge detection. Stefano Ferrari. Università degli Studi di Milano Elaborazione delle immagini (Image processing I)

EECS490: Digital Image Processing. Lecture #20

Topic 4 Image Segmentation

Biomedical Image Analysis. Point, Edge and Line Detection

Digital Image Processing. Image Enhancement - Filtering

PERFORMANCE ANALYSIS OF CANNY AND OTHER COMMONLY USED EDGE DETECTORS Sandeep Dhawan Director of Technology, OTTE, NEW YORK

Edge Detection Lecture 03 Computer Vision

Lecture 6: Edge Detection

CS334: Digital Imaging and Multimedia Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

Filtering and Enhancing Images

Digital Image Processing COSC 6380/4393

Feature Detectors - Sobel Edge Detector

Comparison between Various Edge Detection Methods on Satellite Image

Line, edge, blob and corner detection

CS534: Introduction to Computer Vision Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

Lecture 7: Most Common Edge Detectors

Image Processing

Segmentation and Grouping

Neighborhood operations

Practical Image and Video Processing Using MATLAB

Chapter 10: Image Segmentation. Office room : 841

SURVEY ON IMAGE PROCESSING IN THE FIELD OF DE-NOISING TECHNIQUES AND EDGE DETECTION TECHNIQUES ON RADIOGRAPHIC IMAGES

Edge detection. Gradient-based edge operators

Local Image preprocessing (cont d)

Final Review. Image Processing CSE 166 Lecture 18

EE795: Computer Vision and Intelligent Systems

Filtering Images. Contents

Edge Detection. Today s reading. Cipolla & Gee on edge detection (available online) From Sandlot Science

Image Segmentation Image Thresholds Edge-detection Edge-detection, the 1 st derivative Edge-detection, the 2 nd derivative Horizontal Edges Vertical

Edge Detection. Announcements. Edge detection. Origin of Edges. Mailing list: you should have received messages

Other Linear Filters CS 211A

Chapter 3: Intensity Transformations and Spatial Filtering

Image Processing. Traitement d images. Yuliya Tarabalka Tel.

ECEN 447 Digital Image Processing

What Are Edges? Lecture 5: Gradients and Edge Detection. Boundaries of objects. Boundaries of Lighting. Types of Edges (1D Profiles)

Segmentation algorithm for monochrome images generally are based on one of two basic properties of gray level values: discontinuity and similarity.

Ulrik Söderström 16 Feb Image Processing. Segmentation

Edge Detection. CSE 576 Ali Farhadi. Many slides from Steve Seitz and Larry Zitnick

CS 4495 Computer Vision. Linear Filtering 2: Templates, Edges. Aaron Bobick. School of Interactive Computing. Templates/Edges

Filtering Applications & Edge Detection. GV12/3072 Image Processing.

CHAPTER 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

Edge and local feature detection - 2. Importance of edge detection in computer vision

Lecture: Edge Detection

09/11/2017. Morphological image processing. Morphological image processing. Morphological image processing. Morphological image processing (binary)

JNTUWORLD. 4. Prove that the average value of laplacian of the equation 2 h = ((r2 σ 2 )/σ 4 ))exp( r 2 /2σ 2 ) is zero. [16]

Edge detection. Convert a 2D image into a set of curves. Extracts salient features of the scene More compact than pixels

SECTION 5 IMAGE PROCESSING 2

Anno accademico 2006/2007. Davide Migliore

Outlines. Medical Image Processing Using Transforms. 4. Transform in image space

[ ] Review. Edges and Binary Images. Edge detection. Derivative of Gaussian filter. Image gradient. Tuesday, Sept 16

Sobel Edge Detection Algorithm

Edge Detection. CMPUT 206: Introduction to Digital Image Processing. Nilanjan Ray. Source:

EDGE BASED REGION GROWING

Comparative Analysis of Various Edge Detection Techniques in Biometric Application

Multimedia Computing: Algorithms, Systems, and Applications: Edge Detection

Digital Image Procesing

Keywords: Thresholding, Morphological operations, Image filtering, Adaptive histogram equalization, Ceramic tile.

Digital Image Processing, 3rd ed.

DIGITAL IMAGE PROCESSING

SRCEM, Banmore(M.P.), India

Image gradients and edges April 11 th, 2017

How and what do we see? Segmentation and Grouping. Fundamental Problems. Polyhedral objects. Reducing the combinatorics of pose estimation

Image gradients and edges April 10 th, 2018

(10) Image Segmentation

5. Feature Extraction from Images

What is an edge? Paint. Depth discontinuity. Material change. Texture boundary

Lecture 4: Image Processing

CHAPTER 4 EDGE DETECTION TECHNIQUE

Detection of Edges Using Mathematical Morphological Operators

Linear Operations Using Masks

Digital Image Processing (CS/ECE 545) Lecture 5: Edge Detection (Part 2) & Corner Detection

Image features. Image Features

Image Enhancement: To improve the quality of images

Sharpening through spatial filtering

Performance Evaluation of Edge Detection Techniques for Images in Spatial Domain

Assignment 3: Edge Detection

Image Processing Fundamentals. Nicolas Vazquez Principal Software Engineer National Instruments

Feature Detectors - Canny Edge Detector

Introduction to Medical Imaging (5XSA0)

SYDE 575: Introduction to Image Processing

Digital Image Processing. Image Enhancement in the Spatial Domain (Chapter 4)

Edge Detection. CS664 Computer Vision. 3. Edges. Several Causes of Edges. Detecting Edges. Finite Differences. The Gradient

the most common approach for detecting meaningful discontinuities in gray level. we discuss approaches for implementing

ECG782: Multidimensional Digital Signal Processing

An Algorithm for Blurred Thermal image edge enhancement for security by image processing technique

Computer Vision. Image Segmentation. 10. Segmentation. Computer Engineering, Sejong University. Dongil Han

Edge Detection. EE/CSE 576 Linda Shapiro

Feature extraction. Bi-Histogram Binarization Entropy. What is texture Texture primitives. Filter banks 2D Fourier Transform Wavlet maxima points

Image Analysis. Edge Detection

Edge and Texture. CS 554 Computer Vision Pinar Duygulu Bilkent University

Chapter 10 Image Segmentation. Yinghua He

Operators-Based on Second Derivative double derivative Laplacian operator Laplacian Operator Laplacian Of Gaussian (LOG) Operator LOG

COMPARATIVE STUDY OF IMAGE EDGE DETECTION ALGORITHMS

Image Processing: Final Exam November 10, :30 10:30

convolution shift invariant linear system Fourier Transform Aliasing and sampling scale representation edge detection corner detection

Image gradients and edges

EDGE DETECTION-APPLICATION OF (FIRST AND SECOND) ORDER DERIVATIVE IN IMAGE PROCESSING

Vehicle Image Classification using Image Fusion at Pixel Level based on Edge Image

Transcription:

Lecture #19 Shading and texture analysis using morphology Gray scale reconstruction Basic image segmentation: edges v. regions Point and line locators, edge types and noise Edge operators: LoG, DoG, Canny

Gray Scale Morphology original top-hat h = f ( f b) A top-hat transformation subtracts an opening from the image. Enhances detail in the presence of shading

Gray-Scale Morphology

Chapter 9 Morphological Image Processing

Gray-Scale Morphology Algorithm for locating texture boundaries 1. Repeatedly close the input image with a SE smaller than the large circles. This will eventually remove all the smaller objects. 2. Now do a single opening with a SE larger than the separation between right hand circles 3. Use a morphological gradient to compute the boundary

Gray-Scale Morphology Smooth to eliminate wood grain Open with r=10 disk Open with r=20 disk Open with r=30 disk Open with r=25 disk Summing the surface area (light intensity) and subtracting to determine the change as a function of r gives the particle size distribution

Gray-Scale Morphology This shows that the image is basically composed of images of r=19 and r=27 particles

Gray Scale Morphology Granulometry how to determine size distributions 1. Open with structuring elements which increase in size with each iteration 2. Compute differences between original and each opening 3. Normalize these differences to give the size distribution

Opening by reconstruction using 71 pixel horizontal line Opening using 71 pixel horizontal line Gray-Scale Morphology Original image Top-hat by reconstruction 71 pixel horizontal line Opening by reconstruction using 11 pixel vertical line Top-hat Dilation by reconstruction using 21 pixel vertical line MIN Final reconstruction This illustrates morphological reconstructio n to eliminate vertical and horizontal lines and shadows in an image.

Chap. 10 Image Segmentation

Image Segmentation Segmentation partitions image R into subregions R 1, R 2,, R n such that: R 1 R 2 R n =R Each R i is a connected set R i R j =0 for all i,j where i Q(Ri)=TRUE for every i Q(R i R j )=FALSE for any two adjacent regions

Image Segmentation Original images Edge-based segmentation Region-based segmentation Boundaries obtained from derivatives or similar techniques Segmented image. R i are orthogonal and have different intensity. Segmented image based upon standard deviation of the intensity in 4x4 regions

Line Detection Edge based segmentation requires finding good edges typically using a first or second derivative spatial operator. There are multiple types of edges such as ramp and step giving different responses. First derivative operators typically give thicker edge responses; second derivative operators respond to finer detail, including noise Second derivates produce a double edge response for ramp and step edges

Line Detection While we typically regarded a mask such as the 3x3 shown above as a spatial operator it can also be thought of as a correlation mask.

Line (and point) Detection Single black pixel we want to find Regard this as a correlation mask for a black pixel, i.e., a point locator R = 9 i=1 w i z i Response R to correlation mask Threshold at T=90 of max pixel intensity

Line Detection Original image Laplacian processed image. Intensity transformed so 50% gray is zero. Double line effect is clearly visible. Absolute value of the Laplacian gives wide lines Using only positive values of the Laplacian gives narrower lines.

Line Detection These can be regarded as line detector masks for lines with specific orientations.

Line Detection Original image Response using +45 line detector Zoom of top left response Zoom of bottom right response Response with all negative values set to zero Select only maximum values from (e)

Line Detection Step edge and its intensity profile. Ramp edge and its intensity profile. Roof edge and its intensity profile.

Line Detection Real intensity image showing multiple types of edges

Line Detection Observations: 1. Magnitude of the first derivative can be used to detect the presence of an edge at a point 2. Sign of second derivative indicates which side of the edge the pixel is on 3. Zero crossings of the second derivative can be used to locate the centers of thick edges

Line Detection First derivative Second derivative Ramp edge corrupted by steadily increasing amounts of additive Gaussian noise Fundamental steps in edge detection: 1. Smoothing for noise reduction 2. Detection of all potential edge candidates 3. Localization select the real edge points

Line Detection f = f x f y = g x g y Strength and direction of an edge can be determined using the gradient Strength (magnitude) Direction M( x, y)= mag( f )= g 2 2 x + g y g ( x, y)= Tan 1 x g y

Line Detection f = f x f y = 1 1 Gray=0, white=1 The gradient vector is perpendicular to the actual edge.

Image Segmentation The Prewitt and Sobel are the most commonly used gradient masks The Sobel has better noise characteristics than the Prewitt

Image Segmentation Modified Prewitt and Sobel masks for detecting diagonal edges -45 +45

Image Segmentation 1200x1600 original image G x using 3x3 Sobel G y using 3x3 Sobel G x + G y gradient approximation

Image Segmentation Gradient angle plotted as an intensity. Areas of constant intensity have the same gradient vector (perpendicular to the edge). Black means the gradient vector is at 0 so the actual edge is vertical (at -90 )

Image Segmentation 1200x1600 original image smoothed with a 5x5 averaging filter G x using 3x3 Sobel G y using 3x3 Sobel G x + G y gradient approximation Averaging causes the edges to be weaker but cleaner. Note loss of brick edges

Image Segmentation -45 Sobel +45 Sobel Note that both can detect a horizontal or vertical edge, but with a weaker response than a horizontal or vertical operator

Image Segmentation Thresholded gradient image w/o smoothing Thresholded gradient image w/smoothing Threshold = 1/3 max_value

Image Segmentation The LoG is sometimes called the Mexican hat operator The Laplacian is NEVER used directly because of its strong noise sensitivity Combining the Laplacian with a Gaussian gives the LoG 2 hr ( )= r 2 2 4 e 2 2 r 2

Image Segmentation Marr-Hildereth algorithm: Filter image with a nxn Gaussian low-pass filter Compute the Laplacian of the filtered image using an appropriate mask Find the zero crossings of this image G( x, y)= e This operator is based upon a 2nd derivative operator and can be scaled using the parameter to fit a particular image or application, i.e., small operators for sharp detail and large operators for blurry edges x 2 + y 2 2 2