Function Index
CannyFilter
CannyFilter[
n
1
, n
2
]
returns a pair of Canny directional edge filters of dimensions n
1
×n
2
.
CannyFilter[n
1
, n
2
, ..., n
N
]
returns a list of Canny directional edge filters each of dimensions n
1
×n
2
×...×n
N
.
The 2D
CannyFilter
is a pair of filters, each formed from a discrete sampling of a derivative of Gaussian function [
Rom03
] in one dimension and samples of the Gaussian function in the other dimension.
The filters are used in the Canny edge detector, a gradient-based edge finding technique that combines filtering with directional derivative filters, nonmaximum suppression, and hysteresis thresholding to localize edges.
See also User's Guide
7.3
.
New in Version 2.
Example
Here we load the package.
In[1]:=
In[2]:=
Out[2]=
Here we plot the pair of 15 × 15 Canny edge detection filters.
In[3]:=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: