10.9. Predator
| 10. Artistiska filter |

### 10.9. Predator

#### 10.9.1. Översikt

Figur 17.195. Example for the ”Predator” filter

Ursprunglig bild

”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. Aktivera filtret

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

#### 10.9.3. Alternativ

Figur 17.196. ”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.

  Figur 17.197. ”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”:

  Figur 17.198. ”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:

Figur 17.199. 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. Photocopy |  | 10.10. Softglow

Report an error in Bugzilla