Mathematica 9 is now available
Previous section-----Next section

EdgeMagnitude

GradientType Automatic computes the gradient using the formula where i is a directional derivative. Typically, n=2 and the derivatives are taken along the rows and columns of the image (PrewittFilter[], SobelFilter[]). In the case of the Frei-Chen edge operator, n=4.
GradientType None returns a list of directional derivative images resulting from the application of each of the edge operators to the image img.
The option NonMaxSuppressTrue permits the elimination (i.e., suppression) of edge responses that are not locally maximum. In effect this causes the thinning of the edges in the gradient image by suppressing gradient values with larger neighbors in the direction of the gradient.

Example

In[1]:=
In[2]:=
In[3]:=
In[4]:=
Out[4]=Out[4]=
In[5]:=
Out[5]=Out[5]=


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.