Revision as of 15:42, 26 November 2016 by Bsarkar (Talk | contribs)

1. Introduction

The early phases of vision handling distinguish highlights in pictures that are important to assessing the structure and properties of items in a scene. Edges are one such component. Edges are huge nearby changes in the picture what's more, are vital components for investigating pictures. Edges commonly happen on the limit between two unique areas in a picture. Edge detection is every now and again the initial phase in recouping data from pictures. Because of its significance, edge detection keeps on being a dynamic research region.

2. Mathematics behind Edge Detection

Test.jpg


3. Gaussian Filter

Gaussian filtering g is used to blur images and remove noise and detail. In one dimension, the Gaussian function is:

Math.jpg


When working with images we need to use the two dimensional Gaussian function. This is simply the product of two 1D Gaussian functions (one for each direction) and is given by:

Math.jpg


The Gaussian filter works by utilizing the 2D conveyance as a point-spread capacity. This is accomplished by convolving the 2D Gaussian appropriation work with the picture. We have to deliver a discrete estimate to the Gaussian capacity. This hypothetically requires an endlessly extensive convolution portion, as the Gaussian appropriation is non-zero all over the place. Luckily, the dispersion has moved toward near zero at around three standard deviations from the mean. 99% of the circulation falls inside 3 standard deviations. This implies we can regularly confine the bit size to contain just values 23 This implies we can typically restrict the portion size to contain just values inside three standard deviations of the mean.

3. Edge Detection using Gaussian Filter


4. Sample MATLAB Code:

%Gaussian filter using MATLAB built_in function %Read an Image Img = imread('coins.png'); A = imnoise(Img,'Gaussian',0.04,0.003);

%Image with noise figure,imshow(A);

H = fspecial('Gaussian',[9 9],1.76); GaussF = imfilter(A,H); figure,imshow(GaussF)

%Sobel Edge Detection after Gaussian Filter BW1 = edge(GaussF,'sobel'); figure; imshow (BW1)


5. References:

EEVblog Electronics Community Forum. (n.d.). Retrieved November 26, 2016, from http://www.eevblog.com/forum/microcontrollers/machine-vision-(book)/

Patrice's Lectures: COMPSCI 373 Semester 1, City Campus. (n.d.). Retrieved November 26, 2016, from https://www.cs.auckland.ac.nz/courses/compsci373s1c/PatricesLectures

Angel, A. (n.d.). Gaussian Filter without using the MATLAB built_in function. Retrieved November 26, 2016, from http://angeljohnsy.blogspot.com/2014/04/gaussian-filter-without-using-matlab.html

Detect Edges in Images. (n.d.). Retrieved November 26, 2016, from https://www.mathworks.com/help/images/edge-detection.html#buh9ylp-13

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood