Professional Documents
Culture Documents
Display
Edge
Detection
Threshold :specifies the sensitivity
threshold for the Laplacian of Gaussian
method.
Sigma: is the standard deviation of the
LoG filter. The default sigma is 2; the size
of the filter is nXn, where n =
ceil(sigma*3)*2+1.
Threshold: specifies sensitivity thresholds for
the Canny method. thresh is a 2-element
vector in which the 1is the low threshold,
and the 2 is the high threshold. If you
specify a scalar for thresh, this value is used
for the high threshold and 0.4*thresh is used
for the low threshold.
Sigma: is the standard deviation of the
Gaussian filter. The default sigma is 1; the
size of the filter is chosen automatically,
based on sigma.
One test image was artificial and the
other was a real world photograph.
All color images were converted to
grayscale using Matlabs RBG2GRAY
function.
Various threshold, sigma, slope, etc.
values were chosen by hand.
High threshold for Canny = 0.15 and
lower threshold=0.4*0.15
Edge detection of all five types was
performed on wheel.jpg. Canny yielded the
best results.
Canny yields thin lines for its edges by using
non-maximal suppression. Canny also
utilizes hysteresis with thresholding.
Second order derivative tests yield better
results than first order derivatives
If hysteresis is used with LoG operator, results
would be close to Canny method.
edge_detection1.m
for Marr Hildreth Operator with
threshold=0: If a threshold of 0 is
specified, the output image has closed
contours, because it includes all the zero
crossings in the input image.
Cannys method is still preferred since it
produces single pixel thick, continuous
edges.
edge_detection2.m
Motion blur was applied to wheel.jpg
Four edge detection methods: Prewitt,
Sobel, Roberts and Canny were utilized.
No method appeared to be useful for
real world applications. However, Canny
produced the best the results out of the
set.
edge_detection3.m
Gaussian blur was applied to wheel.jpg
The edge detection methods previously
used were utilized again on this new image.
No method appeared to be useful for real
world applications. This was expected as
Gaussian noise corrupts edges and image
detail making it difficult to distinguish clear
regions in an image.
edge_detection4.m
Gaussian blur was applied to wheel.jpg. Then,
a 3x3 average filter was applied to this image.
No method appeared to be useful for real
world applications.
However, Prewitt and Sobel were the most
affective out of the set. This was because these
filters have a larger mask size than Roberts and
thus can show gradient information over a
larger area.
This is useful because image averaging spreads
each pixels information over an area larger
than one pixel, in this case a 3x3 area.
edge_detection5.m
We studied Canny, Marr Hildreth, Roberts, Sobel,
and Prewitt edge detection masks.
Noise can affect the results of these edge detection
algorithms. In environments where edge detection is used,
motion blur is often a problem.
For non noisy images, Canny appeared to work the best.
In noisy environments, Prewitt or Sobel yield best results
after an average filter is applied. However, these results
appeared to not be very useful in real-world applications.
In motion blurry environments, Canny seemed to be the
most affective of the four filters. However, the results it
produced would be hard to utilize in a real world
environment.
Canny algorithm is adaptable to various environments
- Real time implementations in DSPs or FPGAs
- Fast embedded PCs
Edge detection algorithms have been modified in
many ways to solve multiple problems like:
- Feature extraction: chin contour estimation.
A modified canny edge detector to detect the
potential chin edges, that is edges connected
together to form a continuous form.
- Removing facial blemishes.
The program would remove them and fill them in with
a value that would render the removed blemish
undetectable to the human eye
As a conclusion, we usually use the edge
detectors in some of these fields, which
are highly interrelated :
Computer vision
Digital image processing
Feature extraction
Edge detection
Scale space
[1] Canny, John, "A Computational Approach to Edge
Detection," IEEE Transactions on Pattern Analysis and
Machine Intelligence,Vol. PAMI-8, No. 6, 1986, pp. 679-698.
[2] Lim, Jae S., Two-Dimensional Signal and Image Processing,
Englewood Cliffs, NJ, Prentice Hall, 1990, pp. 478-488.
[3] Parker, James R., Algorithms for Image Processing and
Computer Vision, New York, John Wiley & Sons, Inc., 1997,
pp. 23-29.
[4] Gonzalez R.C., Woods R.E., Digital Image Processing, Third
Edition, Prentice Hall, 2009.
[5] W. E. Grimson and E. C. Hildreth. Comments on Digital
step edges from zero crossings of second directional
derivatives. IEEE Trans. Pattern Anal. Machine Intell., vol.
PAMI-7, no. 1, pp. 121-129, 1985
[6] Nadernejad E., Edge Detection Techniques:
Evaluations and Comparisons, Applied Mathematical
Sciences, Vol. 2, 2008, no. 31, 1507 1520
[7] R. Owens, "Lecture 6", Computer Vision IT412,
10/29/1997.
http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/OWENS/LE
CT6/node2.html
[8] S. Price, "Edges: The Canny Edge Detector", July 4, 1996.
http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MARBLE/lo
w/edges/canny.html
[9] Seventh International Conference on
Control,Automation, Robotics and Vision
(ICARCV02),Dec 2002, Singapore. Chin Contour
Estimation Using Modified Canny Edge Detector.