title: Find area given a set of points
body: <p>Given a list of x,y coordinates and a known width &amp; height how can the <strong><em>NUMBER</em></strong> of the enclosed areas be determined (in C#)?</p>
  
  <p>For Example:</p>
  
  <blockquote>
    <p><img src="https://i.stack.imgur.com/tYAJ6.gif" alt="enter image description here"></p>
  </blockquote>
  
  <p>In this image 5 <strong><em>ENCLOSED AREAS</em></strong> are defined:</p>
  
  <ol>
  <li>Face (1)</li>
  <li>Eyes (2)</li>
  <li>Nose (1)</li>
  <li>Right of face (1)</li>
  </ol>
  
  <p>The list of x,y points would be any pixel in black, including the mouth.</p>