8.7. Image Gradient

8.7.1. Общая информация

Рисунок 17.163. Applying example for the Image Gradient filter

Applying example for the Image Gradient filter

Исходное изображение

Applying example for the Image Gradient filter

Filter «Image Gradient» applied with default options.

Filter «Image Gradient» applied with Direction option.

This filter detects edges in one or two gradient directions.

8.7.2. Местонахождение

You can find this filter through FiltersEdge-DetectImage Gradient….

8.7.3. Параметры

Рисунок 17.164. Image Gradient filter options

Image Gradient filter options

Профили, предварительный просмотр, сравнение до/после
[Замечание] Замечание

These options are described in Раздел 2, «Common Features».

Output mode

Magnitude is default: it combines both directions. Direction: only one direction is used. Both is like Magnitude.

Рисунок 17.165. Output mode examples

Output mode examples

Original image, with abrupt luminosity change

Output mode examples

Option Magnitude is selected

Output mode examples

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.