home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>9.9.  Predator</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="filters-artistic.html" title="9.  Artistic Filters" />
- <link rel="prev" href="plug-in-apply-canvas.html" title="9.8.  Apply Canvas" />
- <link rel="next" href="plug-in-lic.html" title="9.10.  Van Gogh (LIC)" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">9.9. 
- <span lang="en" xml:lang="en">Predator</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="plug-in-apply-canvas.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">9. 
- <span lang="en" xml:lang="en">Artistic Filters</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="plug-in-lic.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="script-fu-predator"></a>9.9. 
- <span lang="en" xml:lang="en">Predator</span>
- </h3>
- </div>
- <div>
- <div class="revhistory">
- <table border="1" width="100%" summary="Revision history">
- <tr>
- <th align="left" valign="top" colspan="3">
- <b>Revision History</b>
- </th>
- </tr>
- <tr>
- <td align="left">Revision $Revision: 2390 $</td>
- <td align="left">2008-01-03</td>
- <td align="left">ude</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2760897" class="indexterm"></a>
- <a id="id2760915" class="indexterm"></a>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2760924"></a>9.9.1. 
- <span lang="en" xml:lang="en">Overview</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2760935"></a>
- <p class="title">
- <b>Figure 16.177. 
- <span lang="en" xml:lang="en">
- Example for the “<span class="quote">Predator</span>” filter
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/filters/examples/taj_orig.jpg" alt="Example for the Predator filter" />
- <div class="caption">
- <p>Original image</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/artistic-taj-predator.jpg" alt="Example for the Predator filter" />
- <div class="caption">
- <p>“<span class="quote">Predator</span>” applied</p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- This filter adds a “<span class="quote">Predator</span>” effect to the image. The
- predator effect makes the image/selection look sort of like the view
- the predator had in the 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.
- </p>
- <p>
- 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.
- </p>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2761024"></a>9.9.2. 
- <span lang="en" xml:lang="en">Activate the filter</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- This filter is found in the image window menu under
- <span class="guimenu"><span class="accel">F</span>ilters</span> ‚Üí <span class="guisubmenu"><span class="accel">A</span>rtistic</span> ‚Üí <span class="guimenuitem"><span class="accel">P</span>redator</span>.
- </p>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2761072"></a>9.9.3. 
- <span lang="en" xml:lang="en">Options</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2761083"></a>
- <p class="title">
- <b>Figure 16.178. 
- <span lang="en" xml:lang="en">“<span class="quote">Predator</span>” options</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/filters/options-artistic-predator.png" alt="Predator options" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Edge amount</span>
- </dt>
- <dd>
- <p>
- The “<span class="quote">predator</span>” filter will detect edges using the
- Sobel <a class="link" href="plug-in-edge.html" title="4.3.  Edge">edge detector</a>. The
- specified “<span class="quote">Edge amount</span>” will be passed to the Sobel
- filter. A high value will result in detecting more edges.
- </p>
- <div class="figure">
- <a id="id2761151"></a>
- <p class="title">
- <b>Figure 16.179. 
- <span lang="en" xml:lang="en">“<span class="quote">Edge amount</span>” examples</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-edge4.png" alt="Edge amount examples" />
- <div class="caption">
- <p>4</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-edge8.png" alt="Edge amount examples" />
- <div class="caption">
- <p>8</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-edge16.png" alt="Edge amount examples" />
- <div class="caption">
- <p>16</p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </dd>
- <dt>
- <span class="term">Pixelize</span>
- </dt>
- <dd>
- <p>
- If checked, the filter will simplify the image into solid-colored
- squares using the <a class="link" href="plug-in-pixelize.html" title="2.6.  Pixelise">Pixelise</a>
- filter before the real predator effect will be applied. You can
- select the size of these squares with the option <span class="guilabel">Pixel
- amount</span>, which will heavily affect the result (see
- examples below).
- </p>
- </dd>
- <dt>
- <span class="term">Pixel amount</span>
- </dt>
- <dd>
- <p>
- “<span class="quote">Pixel amount</span>” is the size of the color blocks the
- image will be simplified to if <span class="guilabel">Pixelize</span> 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
- “<span class="quote">macro pixels</span>”:
- </p>
- <div class="figure">
- <a id="id2761299"></a>
- <p class="title">
- <b>Figure 16.180. 
- <span lang="en" xml:lang="en">“<span class="quote">Pixelize</span>” examples</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-pixelize0.png" alt="Pixelize examples" />
- <div class="caption">
- <p>Disabled</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-pixelize4.png" alt="Pixelize examples" />
- <div class="caption">
- <p>4</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-pixelize8.png" alt="Pixelize examples" />
- <div class="caption">
- <p>8</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-pixelize16.png" alt="Pixelize examples" />
- <div class="caption">
- <p>16</p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </dd>
- <dt>
- <span class="term">Keep selection</span>
- </dt>
- <dd>
- <p>
- If checked, the filter will be applied to the active selection.
- Else, it will be applied to the active layer.
- </p>
- </dd>
- <dt>
- <span class="term">Separate layer</span>
- </dt>
- <dd>
- <p>
- 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.
- </p>
- </dd>
- </dl>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2761444"></a>9.9.4. 
- <span lang="en" xml:lang="en">Filter algorithm</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- Since this filter delegates the essential parts to two or three other
- filters the algorithm is very simple:
- </p>
- <div class="procedure">
- <div class="figure">
- <a id="id2761466"></a>
- <p class="title">
- <b>Figure 16.181. 
- <span lang="en" xml:lang="en">Making the “<span class="quote">predator</span>” effect</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-step0.jpg" alt="Making the predator effect" />
- <div class="caption">
- <p>Original</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-step1.jpg" alt="Making the predator effect" />
- <div class="caption">
- <p>Pixelize</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-step2.jpg" alt="Making the predator effect" />
- <div class="caption">
- <p>Min RGB</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/predator-step3.jpg" alt="Making the predator effect" />
- <div class="caption">
- <p>Edge detection</p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <ol type="1">
- <li>
- <p>The original image.</p>
- </li>
- <li>
- <p>
- Optionally, the filter
- <a class="link" href="plug-in-pixelize.html" title="2.6.  Pixelise">pixelizes</a> the image: it
- renders the image by using color blocks instead of pixels, thus
- reducing the image resolution.
- </p>
- </li>
- <li>
- <p>
- The colors will be reduced to pure red, green, blue (and possibly
- gray colors), using the <a class="link" href="plug-in-max-rgb.html" title="11.39.  Max RGB">minimal
- RGB</a> channel for every pixel.
- </p>
- </li>
- <li>
- <p>
- Applying the <a class="link" href="plug-in-edge.html" title="4.3.  Edge">Sobel edge
- detecting</a> filter, the image will be reduced further on to
- edges, usually on a black background, with very few colors.
- </p>
- </li>
- </ol>
- </div>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="plug-in-apply-canvas.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="filters-artistic.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="plug-in-lic.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="plug-in-apply-canvas.html">9.8. 
- <span lang="en" xml:lang="en">Apply Canvas</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="plug-in-lic.html">9.10. 
- <span lang="en" xml:lang="en">Van Gogh (LIC)</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-