Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 4a71d9984febeb5a206904a5a379841a > files > 648

python-morph-0.8-7mdv2010.0.noarch.rpm

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
    <title>mmInterval</title>
    <link href="../tbxdok.css" rel="stylesheet">
  </head>
  <body>
    <table class="topNav">
      <tr>
        <td class="index">
                  [<a href="../mmtypes/mmSe.html"><tt>mmSe</tt></a>]
              
                  [<a href="index.html">Up</a>]
                  
                  [<a href="../mmtypes/mmBoolean.html"><tt>mmBoolean</tt></a>]
              </td>
        <td class="title">Data Types</td>
      </tr>
    </table>
    <h1>mmInterval
      <br>
      <span class="subtitle">Interval or hit-or-miss template
</span>
    </h1>
    <div class="descr">
      <H2>Description</H2>
      <div class="H2">
        <p>
                      The hit-or-miss template (also called interval) is defined by two structuring elements: one associated to the 'hit' template, and the other associated to the 'miss' template. A hit-or-miss template can be build with the function 
          <span class="fun">mmse2hmt</span> and can be visualized with 
          <span class="fun">mmintershow</span>.
                  
        </p>
      </div>
    </div>
    <div class="examples">
      <H2>Examples</H2>
      <div class="H2">
        <p>
          <div class="example">
            <div class="listing">
              <pre class="user">&gt;&gt;&gt; print mmintershow(mmhomothin())</pre>
              <pre class="computer">0 0 0 
. 1 . 
1 1 1</pre>
              <pre class="user">&gt;&gt;&gt; A  = mmbinary([[0,1,0],[1,0,1],[0,0,0]])</pre>
              <pre class="computer"></pre>
              <pre class="user">&gt;&gt;&gt; Bc = mmbinary([[0,0,0],[0,1,0],[0,0,0]])</pre>
              <pre class="computer"></pre>
              <pre class="user">&gt;&gt;&gt; T = mmse2hmt(A,Bc)</pre>
              <pre class="computer"></pre>
              <pre class="user">&gt;&gt;&gt; print mmintershow(T)</pre>
              <pre class="computer">. 1 . 
1 0 1 
. . .</pre>
            </div>
          </div>
        </p>
      </div>
    </div>
    <div class="seealso">
      <H2>See also</H2>
      <div class="H2">
        <table class="deflist">
          <tbody valign="baseline">
            <tr>
              <td class="term"><a href="../morph/mmintershow.html">mmintershow</a></td>
              <td class="def">Visualize an interval.</td>
            </tr>
            <tr>
              <td class="term"><a href="../morph/mmhomothin.html">mmhomothin</a></td>
              <td class="def">Interval for homotopic thinning.</td>
            </tr>
            <tr>
              <td class="term"><a href="../morph/mmse2hmt.html">mmse2hmt</a></td>
              <td class="def">Create a Hit-or-Miss Template (or interval) from a pair of structuring elements.</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <center>
      <table class="botNav">
        <tr>
          <td class="index">
                    [<a href="../mmtypes/mmSe.html"><tt>mmSe</tt></a>]
                
                    [<a href="index.html">Up</a>]
                    
                    [<a href="../mmtypes/mmBoolean.html"><tt>mmBoolean</tt></a>]
                </td>
          <td rowspan="2" class="xhtml"><a href="http://www.python.org"><img width="55" alt="Python" height="22" src="../PythonPoweredSmall.gif"></a></td>
        </tr>
        <tr>
          <td class="copyright">Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center.</td>
        </tr>
      </table>
    </center>
  </body>
</html>