title: AForge Hough Transform
body: <p>Im trying to do an experiment on how to use the <code>HoughTransformation</code> class of AForge. Im using this class to try to count the number of circles on an image. But I always got this error message: Unsupported pixel format of the source image.
  Here is my code:</p>
  
  <pre><code>private void CountCircles(Bitmap sourceImage)
  {
      HoughCircleTransformation circleTransform = new HoughCircleTransformation(15);
      circleTransform.ProcessImage(sourceImage);
      Bitmap houghCircleImage = circleTransform.ToBitmap();
      int numCircles = circleTransform.CirclesCount;
      MessageBox.Show("Number of circles found : "+numCircles.ToString());
  }
  </code></pre>