.2,...
                'Delta',10,...
                'BrightOnDark',1,'DarkOnBright',0) ;
</precode>

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

<div class="figure">
<image src="%pathto:root;demo/mser_basic_contours_both.jpg"/>
<image src="%pathto:root;demo/mser_basic_frames_both.jpg"/>
<div class="caption">
<span class="content">
Extracted MSERs (left) and fitted ellipses (right) for both bright-on-dark
(green) and dark-on-bright (yellow).
</span>
</div>
</div>

<!-- ~~~~~~~~~~~~~~~~~~~~~~