</span></span></span>
<span class="r-in"><span><span class="co"># segment the objects using the "B" (blue) band.</span></span></span>
<span class="r-in"><span><span class="fu">object_label</span><span class="op">(</span><span class="va">img</span>, index <span class="op">=</span> <span class="st">"B"</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="fu">object_label</span><span class="op">(</span><span class="va">img</span>, index <span class="op">=</span> <span class="st">