title: Extract centroids of connected components in EMGU
body: <p>I have the following piece of code in EMGU to extract connected components:
  Mat connected_array = new Mat();</p>
  
  <pre><code>            Mat stats = new Mat();
              Mat centroids = new Mat();
              Mat ImgMat = new Mat();
            CvInvoke.ConnectedComponentsWithStats(ImgThresh, connected_array, stats, centroids, LineType.EightConnected,DepthType.Cv32S);
  </code></pre>
  
  <p>I could not find any way to access the centroids. </p>