/code>.</p></dd>


<dt id="arg-threshold">threshold<a class="anchor" aria-label="anchor" href="#arg-threshold"></a></dt>
<dd><p>The theshold method to be used.</p><ul><li><p>By default (<code>threshold = "Otsu"</code>), a threshold value based
on Otsu's method is used to reduce the grayscale image to a binary image. If
a numeric value is informed, this value will be used as a threshold.</p></li>
<li><p>If <code>threshold = "adaptive"</code>, adaptive thresholding (Shafait et al. 2008)
is used, and will depe