Quantcast
Viewing all articles
Browse latest Browse all 21

Marr-Hilderth Algorithm For Edge Detection in an Image Matlab Code

Edge Detection:

In most image processing applications we have to deal with the edges in an image. There are different algorithms for finding edges in the images every one has its own attributes and results. One of the edge detection algorithm is Marr-Hilderth Algorithm.

Marr-Hilderth Algorithm:

It is based on following steps.

1.Filter the input image with an nxn Gaussian lowpass filter. N is the smallest odd integer greater than or equal to 6
2.Compute the Laplacian of the image resulting from step1
3.Find the zero crossing of the image from step 2

The serious disadvantage of this algorithm is that it also detect some false edges.

Consider the input image:

Input Image:

 

 

Image may be NSFW.
Clik here to view.
Marr-Hilderth

 

Output:

For sigma=1

Image may be NSFW.
Clik here to view.
Marr-Hilderth

Matlab Code:


Viewing all articles
Browse latest Browse all 21

Trending Articles