10.9. Predator
| 10. Artistic Filters |

### 10.9. Predator

#### 10.9.1. Overview

Figure 16.188. Example for the “Predator” filter

Original image

“Predator” applied

This filter adds a “Predator” effect to the image. The predator effect makes the image/selection look something like the view the predator has in movies (kind of a thermogram and that type of thing). This will reduce the image to edges in a few basic colors on a dark background.

If there is an active selection, the filter effect will be applied to the selected region, otherwise to the alpha channel (the filter will add an alpha channel, if necessary). The filter works best on colorful RGB images.

#### 10.9.2. Activate the filter

This filter is found in the image window menu under Filters → Artistic → Predator.

#### 10.9.3. Options

Figure 16.189. “Predator” options

Edge amount

  The “predator” filter will detect edges using the Sobel edge detector. The specified “Edge amount” will be passed to the Sobel filter. A high value will result in detecting more edges.

  Figure 16.190. “Edge amount” examples

  4

  8

  16

Pixelize

  If checked, the filter will simplify the image into solid-colored squares using the Pixelise filter before the real predator effect will be applied. You can select the size of these squares with the option Pixel amount, which will heavily affect the result (see examples below).

Pixel amount

  “Pixel amount” is the size of the color blocks the image will be simplified to if Pixelize is checked. Actually you are decreasing the resolution with this option. In the examples below, you can see directly how increasing the pixel block size leads to something like “macro pixels”:

  Figure 16.191. “Pixelize” examples

  Disabled

  4

  8

  16

Keep selection

  If checked, the filter will be applied to the active selection. Else, it will be applied to the active layer.

Separate layer

  When this option is checked, a copy of the active layer will be created above the active layer and the filter will be applied to this copy, leaving the original layer untouched. If not checked, the filter will be applied to the active layer.

#### 10.9.4. Filter algorithm

Since this filter delegates the essential parts to two or three other filters the algorithm is very simple:

Figure 16.192. Making the “predator” effect

Original

Pixelize

Min RGB

Edge detection

1. The original image.

2. Optionally, the filter pixelizes the image: it renders the image by using color blocks instead of pixels, thus reducing the image resolution.

3. The colors will be reduced to pure red, green, blue (and possibly gray colors), using the minimal RGB channel for every pixel.

4. Applying the Sobel edge detecting filter, the image will be reduced further on to edges, usually on a black background, with very few colors.

10.8. Apply Canvas |  | 10.10. Van Gogh (LIC)