home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / plug-in-dilate.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  7.5 KB  |  195 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>6.3.¬† Dilate</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="filters-generic.html" title="6.¬† Generic Filters" />
  14.     <link rel="prev" href="plug-in-convmatrix.html" title="6.2.¬† Convolution Matrix" />
  15.     <link rel="next" href="plug-in-erode.html" title="6.4.¬† Erode" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">6.3.¬†
  22.     <span lang="en" xml:lang="en">Dilate</span>
  23.   </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="plug-in-convmatrix.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">6.¬†
  28.     <span lang="en" xml:lang="en">Generic Filters</span>
  29.   </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="plug-in-erode.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect2" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h3 class="title"><a id="plug-in-dilate"></a>6.3.¬†
  40.     <span lang="en" xml:lang="en">Dilate</span>
  41.   </h3>
  42.           </div>
  43.         </div>
  44.       </div>
  45.       <a id="id2740830" class="indexterm"></a>
  46.       <a id="id2740848" class="indexterm"></a>
  47.       <div class="sect3" lang="en" xml:lang="en">
  48.         <div class="titlepage">
  49.           <div>
  50.             <div>
  51.               <h4 class="title"><a id="id2740857"></a>6.3.1.¬†
  52.       <span lang="en" xml:lang="en">Overview</span>
  53.     </h4>
  54.             </div>
  55.           </div>
  56.         </div>
  57.         <div class="figure">
  58.           <a id="id2740868"></a>
  59.           <p class="title">
  60.             <b>Figure¬†16.61.¬†
  61.         <span lang="en" xml:lang="en">Applying example for the Dilate filter</span>
  62.       </b>
  63.           </p>
  64.           <div class="figure-contents">
  65.             <div class="mediaobject">
  66.               <img src="../images/filters/examples/taj_orig.jpg" alt="Applying example for the Dilate filter" />
  67.               <div class="caption">
  68.                 <p>Original image</p>
  69.               </div>
  70.             </div>
  71.             <div class="mediaobject">
  72.               <img src="../images/filters/examples/generic-taj-dilate.jpg" alt="Applying example for the Dilate filter" />
  73.               <div class="caption">
  74.                 <p>Filter ‚Äú<span class="quote">Dilate</span>‚Äù applied</p>
  75.               </div>
  76.             </div>
  77.           </div>
  78.         </div>
  79.         <br class="figure-break" />
  80.         <p>
  81.       You can find this filter through
  82.       <span class="guimenu">Filte<span class="accel">r</span>s</span> ‚Üí <span class="guisubmenu"><span class="accel">G</span>eneric</span> ‚Üí <span class="guimenuitem"><span class="accel">D</span>ilate</span>
  83.     </p>
  84.         <p>
  85.       This filter widens and enhances dark areas of the active layer or
  86.       selection.
  87.     </p>
  88.         <p>
  89.       For every image pixel, it brings the pixel Value (luminosity) into line
  90.       with the lowest Value (the darkest) of the 8 neighbouring pixels (3x3
  91.       matrix). So, a dark pixel is added around dark areas. An isolated pixel
  92.       on a brighter background will be changed to a big ‚Äú<span class="quote">pixel
  93.       </span>‚Äù, composed of 9 pixels, and that will create some noise in the
  94.       image.
  95.     </p>
  96.         <div class="mediaobject">
  97.           <img src="../images/filters/filters-dilate-pixel.png" />
  98.         </div>
  99.         <p>
  100.       In this image, the studied pixel has a red border and the studied
  101.       matrix has a green border. I hope you have understood how to go on
  102.       with the process and get a 3x3 pixel block: when the ‚Äú<span class="quote">I</span>‚Äù
  103.       pixel is inside the green border, the studied pixel turns to black.
  104.     </p>
  105.         <p>
  106.       A larger dark area will dilate by one pixel in all directions:
  107.     </p>
  108.         <div class="mediaobject">
  109.           <img src="../images/filters/filters-dilate-zone.png" />
  110.         </div>
  111.         <p>
  112.       The filter was applied 3 times.
  113.     </p>
  114.         <p>
  115.       On more complex images, dark areas are widened and enhanced the same,
  116.       and somewhat pixellated. Here, the filter was applied 3 times:
  117.     </p>
  118.         <div class="mediaobject">
  119.           <img src="../images/filters/filters-dilate-image.png" />
  120.         </div>
  121.         <p>
  122.       Of course, if background is darker than foreground, it will cover the
  123.       whole image.
  124.     </p>
  125.       </div>
  126.       <div class="sect3" lang="en" xml:lang="en">
  127.         <div class="titlepage">
  128.           <div>
  129.             <div>
  130.               <h4 class="title"><a id="id2741080"></a>6.3.2.¬†
  131.       <span lang="en" xml:lang="en">Examples</span>
  132.     </h4>
  133.             </div>
  134.           </div>
  135.         </div>
  136.         <div class="figure">
  137.           <a id="id2741093"></a>
  138.           <p class="title">
  139.             <b>Figure¬†16.62.¬†
  140.         <span lang="en" xml:lang="en">Dilate text</span>
  141.       </b>
  142.           </p>
  143.           <div class="figure-contents">
  144.             <div class="mediaobject">
  145.               <img src="../images/filters/examples/dilate-text.png" alt="Dilate text" />
  146.             </div>
  147.           </div>
  148.         </div>
  149.         <br class="figure-break" />
  150.         <div class="figure">
  151.           <a id="id2741120"></a>
  152.           <p class="title">
  153.             <b>Figure¬†16.63.¬†
  154.         <span lang="en" xml:lang="en">Dilate neon effect</span>
  155.       </b>
  156.           </p>
  157.           <div class="figure-contents">
  158.             <div class="mediaobject">
  159.               <img src="../images/filters/examples/dilate-neon.png" alt="Dilate neon effect" />
  160.             </div>
  161.           </div>
  162.         </div>
  163.         <br class="figure-break" />
  164.       </div>
  165.     </div>
  166.     <div class="navfooter">
  167.       <hr />
  168.       <table width="100%" summary="Navigation footer">
  169.         <tr>
  170.           <td width="40%" align="left"><a accesskey="p" href="plug-in-convmatrix.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  171.           <td width="20%" align="center">
  172.             <a accesskey="u" href="filters-generic.html">
  173.               <img src="../images/up.png" alt="Up" />
  174.             </a>
  175.           </td>
  176.           <td width="40%" align="right">¬†<a accesskey="n" href="plug-in-erode.html"><img src="../images/next.png" alt="Next" /></a></td>
  177.         </tr>
  178.         <tr>
  179.           <td width="40%" align="left" valign="top"><a accesskey="p" href="plug-in-convmatrix.html">6.2.¬†
  180.     <span lang="en" xml:lang="en">Convolution Matrix</span>
  181.   </a>¬†</td>
  182.           <td width="20%" align="center">
  183.             <a accesskey="h" href="index.html">
  184.               <img src="../images/home.png" alt="Home" />
  185.             </a>
  186.           </td>
  187.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="plug-in-erode.html">6.4.¬†
  188.     <span lang="en" xml:lang="en">Erode</span>
  189.   </a></td>
  190.         </tr>
  191.       </table>
  192.     </div>
  193.   </body>
  194. </html>
  195.