at
level <code>I(x)</code> which contains <code>x</code>. Such a pixel is
called <em>seed</em> of the region.</p>

<p>To demonstrate the usage of the MATLAB command <code>vl_mser</code>
we open MATLAB and load a test image</p>

<precode type='matlab'>
pfx = fullfile(vl_root,'data','spots.jpg') ;
I = imread(pfx) ;
image(I) ;
</precode>

<div class="figure">
<image src="%pathto:root;demo/mser_basic_0.jpg"/>
<div class="caption">
<span class="content">
A test image.
</span>
</div>
</div>

<p>We then convert th