Sophie

Sophie

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

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

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
    <title>mmhomothin</title>
    <link href="../tbxdok.css" rel="stylesheet">
  </head>
  <body>
    <table class="topNav">
      <tr>
        <td class="index">
                  [<a href="../morph/mmhomothick.html"><tt>mmhomothick</tt></a>]
              
                  [<a href="index.html">Up</a>]
                  
                  [<a href="../morph/mminterot.html"><tt>mminterot</tt></a>]
              </td>
        <td class="title">Intervals (hit-or-miss templates)</td>
      </tr>
    </table>
    <h1>mmhomothin
      <br>
      <span class="subtitle">Interval for homotopic thinning.
</span>
    </h1>
    <div class="synopsis">
      <H2>Synopsis</H2>
      <div class="H2">
        <div class="prototype">Iab = 
          <span class="fun">mmhomothin</span>(
                  )
        </div>
        <p>Implemented in 
          <b>Python.</b>
        </p>
        <div class="output">
          <H3>Output</H3>
          <div class="H3">
            <table class="deflist">
              <tbody valign="baseline">
                <tr>
                  <td class="term"><span class="par">Iab</span></td>
                  <td class="def"><span class="type"><a href="../mmtypes/mmInterval.html">Interval</a></span></td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
    <div class="descr">
      <H2>Description</H2>
      <div class="H2">
        <p>
          <span class="fun">mmhomothin</span> creates an interval that is useful for the homotopic (i.e., that conserves the relation between objects and holes) thinning of binary images.
                  
        </p>
      </div>
    </div>
    <div class="equation">
      <H2>Equation</H2>
      <div class="H2">
        <p>
          <div class="eqfig">
            <img src="../images/eq_mmhomothin001.png">
          </div>
        </p>
      </div>
    </div>
    <div class="sourcecode">
      <H2>Source Code</H2>
      <div class="H2">
        <pre class="listing">
def mmhomothin():
    Iab = mmse2hmt(mmbinary([[0,0,0],
                             [0,1,0],
                             [1,1,1]]),
                   mmbinary([[1,1,1],
                             [0,0,0],
                             [0,0,0]]))
    return Iab
    </pre>
      </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/mmfreedom.html">mmfreedom</a></td>
              <td class="def">Control automatic data type conversion.</td>
            </tr>
            <tr>
              <td class="term"><a href="../morph/mmhomothick.html">mmhomothick</a></td>
              <td class="def">Interval for homotopic thickening.</td>
            </tr>
            <tr>
              <td class="term"><a href="../morph/mmendpoints.html">mmendpoints</a></td>
              <td class="def">Interval to detect end-points.</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>
            <tr>
              <td class="term"><a href="../morph/mmthin.html">mmthin</a></td>
              <td class="def">Image transformation by thinning.</td>
            </tr>
            <tr>
              <td class="term"><a href="../morph/mmsupcanon.html">mmsupcanon</a></td>
              <td class="def">Union of sup-generating or hit-miss operators.</td>
            </tr>
            <tr>
              <td class="term"><a href="../morph/mmsupgen.html">mmsupgen</a></td>
              <td class="def">Sup-generating (hit-miss).</td>
            </tr>
            <tr>
              <td class="term"><a href="../morph/mmintershow.html">mmintershow</a></td>
              <td class="def">Visualize an interval.</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <center>
      <table class="botNav">
        <tr>
          <td class="index">
                    [<a href="../morph/mmhomothick.html"><tt>mmhomothick</tt></a>]
                
                    [<a href="index.html">Up</a>]
                    
                    [<a href="../morph/mminterot.html"><tt>mminterot</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>