: <a href="https://github.com/nepem-ufsc/pliman/blob/HEAD/R/utils_segmentation.R" class="external-link"><code>R/utils_segmentation.R</code></a></small>
      <div class="d-none name"><code>object_label.Rd</code></div>
    </div>

    <div class="ref-description section level2">
    <p>All pixels for each connected set of foreground (non-zero) pixels in x are
set to an unique increasing integer, starting from 1. Hence, max(x) gives the
number of connected objects in x. This is a wrapper to <a href="https://r