Figure 17.163. Applying example for the Image Gradient filter
Original image
Filter “Image Gradient” applied with default options.
Filter “Image Gradient” applied with Direction option.
This filter detects edges in one or two gradient directions.
![]() |
Note |
---|---|
These options are described in Section 2, “Common Features”. |
Magnitude is default: it combines both directions. Direction: only one direction is used. Both is like Magnitude.
Figure 17.165. Output mode examples
Original image, with abrupt luminosity change
Option Magnitude is selected
Option Direction is selected. In result, black is no edge detected, white is edge detected.
The result of this filter can be larger than the original image. With the default Adjust option, the layer will be automatically resized as necessary when the filter is applied. With the Clip option the result will be clipped to the layer boundary.