"Fossies" - the Fresh Open Source Software Archive

Member "sip-0.12.1/help/en_US/dilate.xml" (29 Feb 2012, 3603 Bytes) of package /linux/privat/sip-0.12.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "dilate.xml": 0.5.6_vs_0.12.1.

    1 <?xml version="1.0" encoding="ISO-8859-1"?><refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="dilate"><info><pubdate>February 2004</pubdate></info><refnamediv><refname>dilate</refname><refpurpose>Morphological dilation of binary images</refpurpose></refnamediv>
    2    
    3    
    4    
    5    
    6    
    7    
    8    
    9    
   10    
   11    
   12    
   13    <refsynopsisdiv><title>Calling Sequence</title><synopsis>E = dilate(Img, [SE, center])</synopsis></refsynopsisdiv>
   14    
   15    <refsection><title>Parameters</title>
   16    
   17       <variablelist>
   18       
   19          <varlistentry>
   20       
   21             <term>Img</term>
   22       
   23             <listitem>
   24        M x N Binary image to be dilated. (0 for background, 1 for object)
   25       </listitem>
   26       
   27          </varlistentry>
   28       
   29          <varlistentry>
   30       
   31             <term>SE</term>
   32       
   33             <listitem>
   34        Arbitrary structuring element represented as a binary array. Defaults to M x N Binary dilated image.
   35       </listitem>
   36       
   37          </varlistentry>
   38       
   39          <varlistentry>
   40       
   41             <term>center</term>
   42       
   43             <listitem>
   44        origin of structuring element. Shold be within image dimensions. Defaults to the center of the SE array.
   45       </listitem>
   46       
   47          </varlistentry>
   48    
   49       </variablelist>
   50    
   51    </refsection>
   52    
   53    <refsection><title>Parameters</title>
   54    
   55       <variablelist>
   56       
   57          <varlistentry>
   58       
   59             <term>E</term>
   60       
   61             <listitem>
   62        M x N Binary dilated image.
   63       </listitem>
   64       
   65          </varlistentry>
   66    
   67       </variablelist>
   68    
   69    </refsection>
   70    
   71    <refsection><title>Description</title>
   72    
   73       <para>
   74  Function dilate performs morphological dilation of a binary image <literal>Img</literal> using <literal>SE</literal> as the structuring element. If your <literal>SE</literal> is a perfect circle with large radius, consider using the much faster <link linkend="edilate">edilate</link> function.
   75  </para>
   76    
   77    </refsection>
   78 
   79    <refsection><title>Examples</title><programlisting role="example"><![CDATA[
   80    Img = imread(SIPDIR+'images/tru.jpg');
   81    Img = 1-im2bw(Img, 0.3);
   82    Img = thin(Img);
   83    clf
   84    imshow(Img, 2);
   85 
   86    e = dilate(Img);
   87    clf
   88    imshow(e, 2);
   89 
   90    SE = eye(10,10);
   91    e = dilate(Img, SE, [1,1]);
   92    clf
   93    imshow(e, 2);
   94 ]]></programlisting></refsection>
   95    
   96    <refsection><title>Authors</title><simplelist type="vert">
   97       
   98       <member> Ricardo Fabbri &lt;ricardofabbri (AT) users DOT sf DOT net&gt; </member>
   99    
  100    </simplelist></refsection>
  101 
  102 
  103    
  104 
  105 
  106    <refsection><title>Bibliography</title>
  107 
  108       <para>
  109 "Morphological Algorithms", Luc Vincent, in
  110 "Mathematical Morphology in Image Processing", 
  111 Ed. Marcel Dekker, 1993.
  112 </para>
  113 
  114    </refsection>
  115 
  116 
  117    <refsection><title>Availability</title>
  118 The latest version of the Scilab Image Processing toolbox can be found at
  119 <para>
  120          http://siptoolbox.sourceforge.net
  121       </para>
  122 
  123    </refsection>
  124 
  125    
  126    <refsection><title>See Also</title><simplelist type="inline">
  127       
  128       <member> 
  129          <link linkend="erode">erode</link> 
  130       </member>
  131       
  132       <member> 
  133          <link linkend="edilate">edilate</link> 
  134       </member>
  135       
  136       <member> 
  137          <link linkend="bwdist">bwdist</link> 
  138       </member>
  139       
  140       <member> 
  141          <link linkend="watershed">watershed</link>(example)</member>
  142    
  143    </simplelist></refsection>
  144 
  145 </refentry>