Code covered by the BSD License
22 Apr 2013
This is simple method of edge detection.
Watch this File
In this method when you run the .m file it will ask to select the image.
I have did this experiment and the output of that is shown in the figure.