Function Index
EdgeOrientation
EdgeOrientation[
img
,
{
h
1
,
h
2
}]
returns the orientation of a gradient edge image resulting from the application of two directional edge operators to
img
.
The argument
img
may be a matrix or
ImageData
expression.
See also User's Guide
7.3
.
Modified in Version 2.
Example
This loads the package.
In[1]:=
This loads an example image.
In[2]:=
To obtain an edge orientation map, select an edge filter and apply it to the image. This calculates the edge directions using the Sobel filter.
In[3]:=
In[4]:=
Out[4]=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: