urs</a></h2>
<p><img src="overlay/extract/matching_contours.svg" alt="Matching Contours" />
To match <span style="color:#1a8effff;"><strong>inner</strong></span> contours to their corresponding <span style="color:#ff3333ff;"><strong>outer</strong></span> contours:</p>
<ol>
<li>Draw a line <strong>downward</strong> from any point on the <span style="color:#1a8effff;"><strong>inner</strong></span> (<strong>target</strong>) contour.</li>
<li>Identify the first segment encountered along the line that does not b