ode>);</li>
<li>it is too similar to its parent MSER (see the
parameter <code/>MinDiversity</code>).</li>
</ul>

<p>By default, MSERs are extracted for both dark-on-bright regions and bright-on-dark regions. To control this, parmeters <code/>BrightOnDark</code> and <code/>DarkOnBright</code> which take values 0 or 1 to enable or disable the regions. For example:
</p>

<div class="highlight"><pre><span class="p">[</span><span class="n">r</span><span class="p">,</span><span class="n">f</span><span class="p">]