p">,</span><span class="mi">10</span><span class="p">,</span><span class="c">...</span>
                <span class="s">&#39;BrightOnDark&#39;</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="s">&#39;DarkOnBright&#39;</span><span class="p">,</span><span class="mi">0</span><span class="p">)</span> <span class="p">;</span>
</pre></div>


<p>computes the regions in green in the figure below.</p>

<div class="figure">
<image src="../demo/mser_basic_contours_both.jpg"><