Sophie

Sophie

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

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

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
    <title>mmse2hmt</title>
    <link href="../tbxdok.css" rel="stylesheet">
  </head>
  <body>
    <table class="topNav">
      <tr>
        <td class="index">
                  [<a href="../morph/mmse2interval.html"><tt>mmse2interval</tt></a>]
              
                  [<a href="index.html">Up</a>]
                  
                  [<a href="../morph/mmthreshad.html"><tt>mmthreshad</tt></a>]
              </td>
        <td class="title">Intervals (hit-or-miss templates)</td>
      </tr>
    </table>
    <h1>mmse2hmt
      <br>
      <span class="subtitle">Create a Hit-or-Miss Template (or interval) from a pair of structuring elements.
</span>
    </h1>
    <div class="synopsis">
      <H2>Synopsis</H2>
      <div class="H2">
        <div class="prototype">Iab = 
          <span class="fun">mmse2hmt</span>(
                  
          <span class="par">A</span>, 
          <span class="par">Bc</span>
                  )
        </div>
        <p>Implemented in 
          <b>Python.</b>
        </p>
        <div class="input">
          <H3>Input</H3>
          <div class="H3">
            <table class="deflist">
              <tbody valign="baseline">
                <tr>
                  <td class="term"><span class="par">A</span></td>
                  <td class="def"><span class="type"><a href="../mmtypes/mmSe.html">Structuring Element</a></span><p>Left extremity.</p></td>
                </tr>
                <tr>
                  <td class="term"><span class="par">Bc</span></td>
                  <td class="def"><span class="type"><a href="../mmtypes/mmSe.html">Structuring Element</a></span><p>Complement of the right extremity.</p></td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <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">mmse2hmt</span> creates the Hit-or-Miss Template (HMT), also called interval 
          <code>[A,Bc]</code> from the structuring elements 
          <code>A</code> and 
          <code>Bc</code> such that 
          <code>A</code> is included in the complement of 
          <code>Bc</code>. The only difference between this function and 
          <span class="fun">mmse2interval</span> is that here the second structuring element is the complement of the one used in the other function. The advantage of this function over 
          <span class="fun">mmse2interval</span> is that this one is more flexible in the use of the structuring elements as they are not required to have the same size.
                  
        </p>
      </div>
    </div>
    <div class="equation">
      <H2>Equation</H2>
      <div class="H2">
        <p>
          <div class="bridge">Flat interval:</div>
          <div class="eqfig">
            <img src="../images/eq_mmse2hmt001.png">
          </div>
        </p>
      </div>
    </div>
    <div class="sourcecode">
      <H2>Source Code</H2>
      <div class="H2">
        <pre class="listing">
def mmse2hmt(A, Bc):
    Iab = (A,Bc)
    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/mmendpoints.html">mmendpoints</a></td>
              <td class="def">Interval to detect end-points.</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/mmhomothin.html">mmhomothin</a></td>
              <td class="def">Interval for homotopic thinning.</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/mmthick.html">mmthick</a></td>
              <td class="def">Image transformation by thickening.</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/mminfcanon.html">mminfcanon</a></td>
              <td class="def">Intersection of inf-generating operators.</td>
            </tr>
            <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/mmse2interval.html">mmse2interval</a></td>
              <td class="def">Create an interval from a pair of structuring elements.</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <center>
      <table class="botNav">
        <tr>
          <td class="index">
                    [<a href="../morph/mmse2interval.html"><tt>mmse2interval</tt></a>]
                
                    [<a href="index.html">Up</a>]
                    
                    [<a href="../morph/mmthreshad.html"><tt>mmthreshad</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>