title: AForge.net edge detection - how to get the edge points?
body: <p>I am using Aforge to run edge detection on an image, how would I get the x,y for the detected edge(s) points? Other than the obvious way of looping through the image bitmaps.</p>
  
  <p>This is the code from the Aforge samples, but how can I get the edge points?</p>
  
  <pre><code>    // On Filters-&gt;Sobel edge detector
              private void sobelEdgesFiltersItem_Click( object sender, System.EventArgs e )
              {
                  // save original image
                  Bitmap originalImage = sourceImage;
                  // get grayscale image
                  sourceImage = Grayscale.CommonAlgorithms.RMY.Apply( sourceImage );
                  // apply edge filter
                  ApplyFilter( new SobelEdgeDetector( ) );
                  // delete grayscale image and restore original
                  sourceImage.Dispose( );
                  sourceImage = originalImage;
  
  // this is the part where the source image is now edge detected. How to get the x,y for //each point of the edge? 
  
                  sobelEdgesFiltersItem.Checked = true;
              }
  </code></pre>