« View all new features in
Mathematica
9
◄
previous
|
next
►
New in
Mathematica
9
›
Advanced Image Processing with Large Image Support
Visualize the Gradient Direction
Visualize gradient orientation weighted with the gradient magnitudes.
In[1]:=
In[2]:=
X
orientation = GradientOrientationFilter[i, 1] // ImageAdjust; magnitude = GradientFilter[i, 1] // ImageAdjust;
In[3]:=
X
ColorCombine[{orientation, magnitude, magnitude}, "HSB"]
Out[3]=