### 8.7. Image Gradient

#### 8.7.1. Overview

Rysunek 17.179. 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.

#### 8.7.2. Activating the Filter

This filter is found in the main menu under Filters → Edge-Detect → Image Gradient….

#### 8.7.3. Options

Rysunek 17.180. Image Gradient filter options

Presets, „Input Type”, Clipping, Blending Options, Preview, Merge filter, Split view

  | Uwaga
  These options are described in Sekcja 2, „Common Features”.

Output mode

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

  Rysunek 17.181. 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.

8.6. Sobel |  | 9. Generic Filters

Report a bug in GIMP Report a documentation error