Starting from:

$25

Computerization-Lab 3: Edge detection and Hough Transform Solved

The following items are the steps that you have to do in this lab session:

Write a MATLAB function that implements the Laplacian of Gaussian Operator:
o sample and display the Laplacian of Gaussian filter with different spatial supports and standard deviations (e.g. sd=1 and sd=3.5).

Convolve the test image jpg with the previous LoG filters   and display the results.
Test the edge detection algorithm based on LoG with the image jpg by varying the standard deviation of the kernel and the threshold (e.g. 0 and a significant value).
o First, to detect zerocrossings and display it. To detect zerocrossings:

scan along each row, record an edge point at the location of the zerocrossing; § then, do the same for each column.
o Then to apply a threshold on the slope of the zerocrossings and to display it. 

Compare your results with the ones obtained by using the MATLAB function edge(‘log’,…).
Detect straight lines in the test images (jpg and highway2.jpg). Suggestions: (i) you can use and modify the M-file we used during the lecture; (ii) for highway1.jpg to set 4 peaks in houghpeaks();for highway2.jpg to set 5 peaks and ‘NHoodSize', [21 21] in houghpeaks().
Notes: 

You have to write a report that describes your work and the obtained results (please include the figures). In the report you must indicate all the surnames of the participants (not other names, e.g. the teachers).
About the code:You have to use relative paths. o You have to write and use functions.
You have to provide us a main script to test your code.
The code must be uploaded as M-files. All the files (M-files, images, and report) have to be compressed in a single file named “surnames_labxx.zip/tgz” (all the surnames of the participants have to be indicated), and then the compressed file has to be uploaded.

More products