ss</span><span class="o">=</span><span class="n">thickness</span><span class="p">)</span>
    <span class="k">return</span> <span class="n">image</span></div>


<div class="viewcode-block" id="decode_segment_to_mask"><a class="viewcode-back" href="../../../argoverse.visualization.html#argoverse.visualization.vis_mask.decode_segment_to_mask">[docs]</a><span class="k">def</span> <span class="nf">decode_segment_to_mask</span><span class="p">(</span><span class="n">segm</span><span class="p">:</span> <span clas